September 29, 2008 at 6:26 pm
Not "ShowConfig"... DBCC SHOWCONTIG
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2008 at 7:28 am
yes I did SHOWCONTIG - sorry - but I still don't see example E... found some other examples ie SELECT TOP 10 ObjectName, IndexName,MaxRecSize - so something like that or Row Count to limit the number of tables?
September 30, 2008 at 7:59 am
Hmmm....BOL and DBCC ShowCONTIG yields this:
E. Use DBCC SHOWCONTIG and DBCC INDEXDEFRAG to defragment the indexes in a database
Seems to be what Jeff is/was pointing to...
-- You can't be late until you show up.
September 30, 2008 at 9:04 am
If the database (or at least the tables of concern) can be unavailable for a while I would recommend a drop/create cycle since it seems you have never done index maintenance before and have very bad frag.
Oh, and if you don't have a lot of free space in the db, add sufficient size to the db before doing this so the indexes will have contiguous space to lay down in. Otherwise you will wind up with fragmented indexes right off the bat.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 30, 2008 at 9:43 am
Found 'example E' - thanks for your help.
September 30, 2008 at 7:43 pm
You bet. Thanks for the feedback. Just curious because other folks have had the problem of finding "Example E" and I'd like to be able to better direct them, what were you doing where you couldn't find the example?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2008 at 7:54 am
Well I wasn't actually smart enough to go look at BOL. I ran the SHOWCONTIG and was looking in that output. See I learned a lesson too! Beginner DBA's need a push in the right direction. And, I've found you really learn this stuff through forums and trial and error. Thank you for you patience - I've come to really appreciate peoples posts - it's a lifeline!
October 3, 2008 at 1:31 am
Somebody has recomemded lower fillfactor value to grow the data pages faster.
I am fully aggried that this settings should follow for OLTP but would like to know whether it would be better for VLDB too as each datapage contain 30% free space if fillfactor is 70 or 20% in case of fillfactor 80. Hence lead to more space for database and increase in Hardware cost?
---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
October 3, 2008 at 5:06 pm
Yep... but with "VLDB's", hardware costs should be the least of your worries.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 8:27 am
Jeff Moden (10/3/2008)
Yep... but with "VLDB's", hardware costs should be the least of your worries.
Certainly from a storage perspective, although a GOOD SAN can be a tad pricey.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
October 4, 2008 at 12:51 pm
As well as the degree of fragmentation you should consider the sort of queries run against the tables. If these result in mostly index seeks with no or almost no scans then you may be able to live with the fragmentation. There is the space issue to consider amongst others but this scenario is not unknown.
Nigel Moore
======================
Viewing 11 posts - 16 through 25 (of 25 total)
You must be logged in to reply to this topic. Login to reply