Updating Column Statistics

Update table statistics on individual columns.

  1. In the Perspective Resources view, select the server on which the table resides, then click the drop-down arrow next to the server name and select Administration Console.
  2. In the left pane of the Administration Console, expand ASE Servers > Schema Objects > Tables, then choose one of the following:
    • User Tables
    • Proxy Tables
  3. Select a table that contains the column.
  4. Select Properties.
  5. Click Columns.
  6. Select the column for which to update statistics.
  7. (Optional) Click Use sampling, then enter the sampling percentage.
    The percentage to use when sampling depends on your needs. Test various percentages until you receive a result that reflects the most accurate information on a particular data set.
  8. (Optional) Click Use step number, then enter the step numbers.
    Increasing the number of steps beyond what is needed for good query optimization can affect performance, largely due to the amount of space that is required to store and use the statistics.
  9. (Optional) In the Automatic Update window, click on Update statistics only when datachange threshold is reached, and enter a threshold value.
    The datachange threshold determines when the amount of change in a table or partition has reached the predefined threshold.
  10. Click Finish to apply the update statistics option selections.
Related tasks
Updating Partition Statistics
Updating Index Statistics
Updating Table Statistics