May 21, 2010 at 3:08 am
Please let me Know how to list the common systemtables in each user databases in sql 2005
Apart from system tables i need to tune all the tables in user database
& Please provide the methods to tune the User databases
i need to do this task in one of our production sql2005 server
Thanks in advance
May 21, 2010 at 6:22 am
select * from sys.all_objects where type_desc = 'SYSTEM_TABLE' --all sys tables
select * from sys.all_objects where type_desc = 'USER_TABLE' and is_ms_shipped = 0 --all user tables
aside from that, you do not tune tables, you tune queries, so you need to identify underperforming queries to do any tuning.
Lowell
May 21, 2010 at 8:09 am
You can defragment (rebuild or reorg) the indexes on tables for better performance.
There are lots of posts and articles about this topic you can search for.
May 21, 2010 at 5:28 pm
Also, make sure that you update databases statistics regularly.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply