How do I determine the current value of the following sa_server_option settings?

DropBadStatistics YES, NO
Allows automatic statistics management to drop statistics that return bad estimates from the database.

DropUnusedStatistics YES, NO
Allows automatic statistics management to drop statistics that have not been used for 90 consecutive days from the database.

StatisticsCleaner ON, OFF
The statistics cleaner fixes statistics that give bad estimates by performing scans on tables. By default the statistics cleaner runs in the background and has a minimal impact on performance. Turning off the statistics cleaner does not disable the statistic governor, but when the statistics cleaner is turned off, statistics are only created or fixed when a query is run.

asked 23 Apr, 14:24

Breck%20Carter's gravatar image

Breck Carter
accept rate: 20%


I do not think there is currently a way to get this information. If that is the case, I will investigate getting this added to a future EBF.

(27 Apr, 10:01) Chris Keating

This has been fixed in SQL Anywhere 17.0 Build 6307 or newer as Engineering Case #824639.

(10 hours ago) Chris Keating
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 23 Apr, 14:24

question was seen: 65 times

last updated: 10 hours ago

Related questions