Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Improve performance for fetching records from Data
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

25 Posts

Posted - 12/06/2012 :  12:08:04  Show Profile  Reply with Quote
Dear All,

Hi! I recently worked on a Data warehouse server which has performance issues. When I dig up the DB wise tables then found that frequently used tables have more than 5 billion records.
Now, what steps should I take so that the fetching of records from such tables will be optimized? All such tables already have Indexes & the statistics is also getting update on a daily basis.

Please guide...

Flowing Fount of Yak Knowledge

United Kingdom
3385 Posts

Posted - 12/06/2012 :  12:25:26  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
Look at archiving data and splitting up the queries into separate steps.
Also look at creating aggregate tables
If they are indexed well then the performance should depend more on the data that needs to be retrieved rather than tha size of the table and you should never need to return thousands of rows.

Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

Flowing Fount of Yak Knowledge

7174 Posts

Posted - 12/06/2012 :  13:14:46  Show Profile  Reply with Quote
Have you considered using Table Partitioning?
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000