|
|
|
Re: Scripts to find Indexes which are candidate for Rebuild [message #612580 is a reply to message #612579] |
Tue, 22 April 2014 03:46 |
Roachcoach
Messages: 1576 Registered: May 2010 Location: UK
|
Senior Member |
|
|
If you dont have any index stats and you dont have any idea of how to identify ones you may (or not) need to rebuild - how can you know they are your problem?
My advice is to post the actual problem up here (read the sticky first) and folks here will try to assist.
Indexes can run into problems needing the odd bit of work done, but better to prove that before you go off rebuilding things.
|
|
|
Re: Scripts to find Indexes which are candidate for Rebuild [message #612581 is a reply to message #612579] |
Tue, 22 April 2014 04:20 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
hitesh.bhatt wrote on Tue, 22 April 2014 09:42We are facing some performance issue, so I would also like to find the name of indexes so will deep dive into the same and check if it really wanted to rebuild or no performance post rebuild? In my experience, rebuilding indexes will usually cause performance to degrade for several days. The rebuild will remove all the free space, so all your inserts after a rebuild will cause block splits. It takes some time for the index to stabilize again with enough free space.
|
|
|
|
|
|
Re: Scripts to find Indexes which are candidate for Rebuild [message #612672 is a reply to message #612597] |
Wed, 23 April 2014 03:23 |
hitesh.bhatt
Messages: 84 Registered: February 2014 Location: INDIA
|
Member |
|
|
Sorry for the confusion here,
as per the analysis looking into physical writes, DB Block changes, Row lock waits, Buffer busy waits one of table and related indexes are top consumers.
Its mainly merge query.
So would just wanted to check initially that if any of the indexes are fragmented and will rebuild the indexes will help?
Also I am checking if NOLOGGING will help here.
Thanks for the reply.
Hitesh
|
|
|
|