Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Maintaining large views

Posted on 2008-11-03
5
Medium Priority
?
201 Views
Last Modified: 2013-11-16
Hi,

I need to maintain 1 million rows that contain calculations (Data in TableA x Data in TableB) .  If it was a smaller amount of rows I would most probably just use a view so if the data in TableA changed the view would automatically be maintained.

As the amount of rows in the view would be around a million I would guess this is not the most efficient way of doing things?

Question is what is the best way to maintain this amount of calculations.  The data in TableA and/or TableB will change frequently and the view (or what ever someone proposes??) will need to be updated to reflect the changes to TableA & B.

Thanks

nutnut

Andrew
0
Comment
Question by:nutnut
  • 3
  • 2
5 Comments
 
LVL 22

Expert Comment

by:PedroCGD
ID: 22866609
Processing the OLAP Cube from a view could take more time but will automatizate more...
If you have too many rows and the process is taking to mutch time, create a temp table with all the calculation made on it...

Fo example you can create a SSIS package to create some calculations and increment the results into the temp table and process the cube based on this temp table. all done inside a SSIS package.

Helped?
regards!
Pedro

www.pedrocgd.blogspot.com
0
 

Author Comment

by:nutnut
ID: 22866647
Hi Pedro,

Is there a better way than using a view.  The view will have 1,000,000+ rows.  If one row calculation changes the whole view will need to be refreshed which doesn't seem very efficient to me?
0
 
LVL 22

Expert Comment

by:PedroCGD
ID: 22866669
The only problem is the process time of the cube, after that the performance is not affected... you take time to process data, but to visualize it is fast.. depend in your requirements.
On million rows for your view take mutch time?

In spite of creating a view you can do that using a SSIS package...
Regards
0
 

Author Comment

by:nutnut
ID: 22868662
What would I do in an SSIS package.   I understand SSIS but what would the steps be please
0
 
LVL 22

Accepted Solution

by:
PedroCGD earned 2000 total points
ID: 22868847
depend on the calculations you do in your view... but the goal to minimize the calculations...
Try to use a temp table...
but with one million rows in the view are you having problems?!
regards
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question