If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > Massive index size

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-08-12, 04:36
Breako Breako is offline
Registered User
 
Join Date: Jan 2006
Posts: 119
Massive index size

Hi,
I have a table that is going very slow. The table has four indexes, three non clusterd.

EXEC sp_spaceused 'Tablename'

Yields something interesting...

The data size is pretty big: 2.5 Gig

But the index size is even bigger: 3.3 Gig.

I'm not a DBA but if the index size is bigger than the data size - this doesn't too good. Is this reasonable assumption?

And what would be example of how an index can end up goggbling memory?
Reply With Quote
  #2 (permalink)  
Old 02-08-12, 09:26
MCrowley MCrowley is offline
Wage drone 24601
 
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,899
Quote:
Originally Posted by Breako
I'm not a DBA but if the index size is bigger than the data size - this doesn't too good. Is this reasonable assumption?
Not necessarily.

The indexes could be highly fragmented, or the keys themselves could be very big. Try rebuilding the indexes, and see if that relieves any of the slowness. Remember to quantify what "slowness" means now, before you start trying things, so you can tell if you were at all successful.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On