Base on Resource Kit I read "dont maintain indexes that are only for sorting purpose because sql server just need the indexes for data-retrieval".
rec.setcurrentkey(A,B,C);
rec.setrange(A,1);
rec.setrange(B,2);
rec.setrange(C,3);
if rec.findset then repeat until....
for this key(A,B,C), I set MaintainSQLindex = No. from the statement above,if I do the right thing? and make system better performance?
rgds,
Angelo
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Base on Resource Kit, "Dont maintain SIFT indexes on small tables or on temporary tables". This is mean we have to maintain SIFT index in Ledger table because warehouse entry is not small table.Why MaintainSIFTIndex also FALSE?
Please advice....
rgds,
Angelo
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
The main problem was index hints. The SQLindex may work fine - they just don't know for sure because they dropped index hints and all SQLindex definitions at the same time.
Read the blog and then the comment chain.
http://blogs.msdn.com/microsoft_dynamic ... x#comments
My understanding of the order by clause in SQL Server 2005 is that by itself, it won't force an index scan if it does not match an existing index.
http://mibuso.com/blogs/davidmachanick/