:: DEVELOPER ZONE
analyse([
max_elements,[max_memory]])
This procedure is defined in the
sql/sql_analyse.cc. This examines the result
from your query and returns an analysis of the results:
max_elements (default 256) is the
maximum number of distinct values analyse does
notice per column. This is used by analyse to
check whether the optimal column type should be of type
ENUM.
max_memory (default 8192) is the maximum
amount of memory that analyse should allocate
per column while trying to find all distinct values.
SELECT ... FROM ... WHERE ... PROCEDURE ANALYSE([max_elements,[max_memory]])
© 1995-2005 MySQL AB. All rights reserved.

User Comments
Warning: query failed: Unknown column 'user.firstname' in 'field list' in /data0/sites/live/web-main/lib/mysql-cxn.php on line 69
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /data0/sites/live/web-main/lib/docbook.php on line 245
Add your own comment.