mibuso.com

Microsoft Business Solutions online community
It is currently Sun May 19, 2013 5:51 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Indexed Views
PostPosted: Thu May 03, 2012 6:49 pm 
Offline

Joined: Wed May 09, 2001 7:01 am
Posts: 29
Location: Vienna
Country: Austria (at)
Hello together,

I have a question regarding the indexes views and the real usage of them. I found a script on the internet that determines the user_seeks, user_updates, etc. for each
index and also the VSIFT indexes of the indexed views.

In a few tables I see that for user_seeks and user_updates (sys.dm_db_index_usage_stats) are the same but the values user_lookups and user_scans are zero.
This seems to me a little bit fishy. Can maybe somebody explain to me if this really means that I can drop these indexed views, they are decreasing heavily the index performance in the tables.

Thanks in advance,
Dietmar


Top
 Profile E-mail  
 
 Post subject: Re: Indexed Views
PostPosted: Fri May 04, 2012 2:01 pm 
Offline
Moderator
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Wed Jul 02, 2003 10:13 am
Posts: 7493
Location: Milan
Country: Italy (it)
I also noticed that for indexed views.
I also never saw (server-restarts apart) that indexed views have 0 seeks and 0 scans but have updates.

My conclusion was that the seeks are done for the updates. So if you have that 1 to 1 for seeks and no scans, it just means that it is read to update the indexed view. So you can disable the maintenance for this SIFT.
Also if you have few seeks/scans but a lot of updates, it is best to not maintain the SIFT especially if the last time the seek/scan was a few days (or longer) ago.

_________________
Regards,Alain Krikilion
Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title! || Read Forum Rules before making a posting


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: