analyze.result
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:1k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. create table t1 (a bigint);
  2. lock tables t1 write;
  3. insert into t1 values(0);
  4. analyze table t1;
  5. Table Op Msg_type Msg_text
  6. test.t1 analyze status OK
  7. unlock tables;
  8. check table t1;
  9. Table Op Msg_type Msg_text
  10. test.t1 check status OK
  11. drop table t1;
  12. create table t1 (a bigint);
  13. insert into t1 values(0);
  14. lock tables t1 write;
  15. delete from t1;
  16. analyze table t1;
  17. Table Op Msg_type Msg_text
  18. test.t1 analyze status OK
  19. unlock tables;
  20. check table t1;
  21. Table Op Msg_type Msg_text
  22. test.t1 check status OK
  23. drop table t1;
  24. create table t1 (a bigint);
  25. insert into t1 values(0);
  26. analyze table t1;
  27. Table Op Msg_type Msg_text
  28. test.t1 analyze status OK
  29. check table t1;
  30. Table Op Msg_type Msg_text
  31. test.t1 check status OK
  32. drop table t1;
  33. CREATE TABLE t1 (a int);
  34. prepare stmt1 from "SELECT * FROM t1 PROCEDURE ANALYSE()";
  35. execute stmt1;
  36. Field_name Min_value Max_value Min_length Max_length Empties_or_zeros Nulls Avg_value_or_avg_length Std Optimal_fieldtype
  37. execute stmt1;
  38. Field_name Min_value Max_value Min_length Max_length Empties_or_zeros Nulls Avg_value_or_avg_length Std Optimal_fieldtype
  39. deallocate prepare stmt1;