SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

bsethi24
Starting Member

India
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...

nigelrivett
Flowing Fount of Yak Knowledge

United Kingdom
3383 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

sodeep
Flowing Fount of Yak Knowledge

USA
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  
 New 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.05 seconds. Powered By: Snitz Forums 2000