• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
 The update statistics commandgathers information about thedistribution of key values in specifiedindexes, for all columns in an index,table, or partition. ‘Statistics’ help theASE optimizer make decisions aboutwhich indexes to use during queryprocessing. Typically, We have to useupdate statistics when data profile of atable changes.
*
 
update statistics
updates/creates tablestatistics stored in
systabstats
andsysstatistics.If you run the command for a specific datapartition, statistics are generated andupdated only for that data partition and forany local index partitions.If you run
update statistics
for a specificindex partition, only the statistics for thatindex partition are updated.*** Permission to issue the
updatestatistics
command defaults to the tableowner.
Sybase Update Statistics
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...