~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/flush.rst

  • Committer: Monty Taylor
  • Date: 2010-12-26 03:15:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226031544-1cf3raipu53fnmyj
Through page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    flush_option [, flush_option] ...
8
8
 
9
9
flush_option:
10
 
 
11
 
* TABLES table_name [, table_name]
12
 
        
13
 
(closes all specified tables, forces those tables in use to be closed, and flushes the query cache for the named tables)
14
 
 
15
 
* TABLES WITH READ LOCK
16
 
        
17
 
(closes all open tables and locks all tables for all databases with a global read lock*)
18
 
 
19
 
* LOGS
20
 
        
21
 
(closes and reopens all log files--if binary logging is enabled, the sequence number of the binary log file is incremented by one relative to the previous file)
22
 
 
23
 
* STATUS
24
 
        
25
 
(adds the current thread's session status variable values to the global values and resets the session values to zero)
 
10
    | TABLES table_name [, table_name] ...
 
11
    (closes all specified tables, forces those tables in use to be closed, and flushes the query cache for the named tables)
 
12
    | TABLES WITH READ LOCK
 
13
    (closes all open tables and locks all tables for all databases with a global read lock*)
 
14
    | LOGS
 
15
    (closes and reopens all log files--if binary logging is enabled, the sequence number of the binary log file is incremented by one relative to the previous file)
 
16
    | STATUS
 
17
    (adds the current thread's session status variable values to the global values and resets the session values to zero)
26
18
    
27
 
To release a FLUSH TABLES WITH READ LOCK, you must issue an UNLOCK TABLES.
 
19
*To release a FLUSH TABLES WITH READ LOCK, you must issue an UNLOCK TABLES.