|
vgr.raju
Yak Posting Veteran
95 Posts |
Posted - 2006-06-27 : 03:59:45
|
| Thanks for your reply.Basically I am using the staging tables to update/insert the records into the Base Table.I was thinking the Perfomance would improve because of the Indexes(Comapraing the data in staging table and Base Table for updates).Should I go ahead without the Indexes or with indexes?Thanks in advance for the Help!Statics without Index:Table 'Table1'. Scan count 1, logical reads 5152, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.Table 'Worktable'. Scan count 10000, logical reads 79999, physical reads 0, read-ahead reads 0, lob logical reads 89, lob physical reads 0, lob read-ahead reads 0.Table 'Table2'. Scan count 1, logical reads 10228, physical reads 2, read-ahead reads 10216, lob logical reads 4960, lob physical reads 29, lob read-ahead reads 0.After the Index:Table 'Table1'. Scan count 1, logical reads 5224, physical reads 1, read-ahead reads 5221, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.Table 'Worktable'. Scan count 10000, logical reads 79999, physical reads 0, read-ahead reads 0, lob logical reads 89, lob physical reads 0, lob read-ahead reads 0.Table 'Table2'. Scan count 1, logical reads 10227, physical reads 2, read-ahead reads 6053, lob logical reads 5060, lob physical reads 22, lob read-ahead reads 0.Thanks!Raju |
 |
|