~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ANALYZE
=======

ANALYZE TABLE table_name [, table_name] ...

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

.. todo::

   is read lock always true?

.. todo::
   
   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.