~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
ANALYZE
=======

ANALYZE TABLE table_name [, table_name] ...

ANALYZE TABLE read locks a table, and then analyzes and stores the key distribution for a table.

FIXME: is read lock always true?

FIXME: some engines don't perform an explicit gathering of statistics when
you type ANALYZE. e.g. innobase (which only copies it's current estimate).
Only recently did I add this to HailDB so that it does go and do the index
dives on ANALYZE.