~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/analyze.rst

  • Committer: lbieber
  • Date: 2010-10-05 22:23:12 UTC
  • mfrom: (1813.1.4 build)
  • Revision ID: lbieber@orisndriz08-20101005222312-weuq0ardk3gcryau
Merge Travis - 621861 - convert structs to classes
Merge Billy - 621331 - Replace use of stringstream with boost::lexical_cast
Merge Travis - 621861 = To change C structs to C++ classes in Drizzle
Merge Andrew - fix bug 653300 - Syntax error on inport of a SQL file produced by drizzledump

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
ANALYZE
2
 
=======
3
 
 
4
 
ANALYZE TABLE table_name [, table_name] ...
5
 
 
6
 
ANALYZE TABLE read locks a table, and then analyzes and stores the key distribution for a table.
7
 
 
8
 
FIXME: is read lock always true?
9
 
 
10
 
FIXME: some engines don't perform an explicit gathering of statistics when
11
 
you type ANALYZE. e.g. innobase (which only copies it's current estimate).
12
 
Only recently did I add this to HailDB so that it does go and do the index
13
 
dives on ANALYZE.