~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
Drizzled Options
================

There are many different options one can use to configure Drizzle.

Config File Options
-------------------

.. option:: --help-extended
  Display this help and exit after initializing plugins.

.. option:: -?,--help
  Display this help and exit.

.. option:: --no-defaults
  Configuration file defaults are not used if no-defaults is set

.. option:: --defaults-file arg
  Configuration file to use

.. option:: --config-dir arg (=/etc/drizzle)
  Base location for config files

.. option:: --plugin-dir arg
  Directory for plugins

.. option:: --pid-file arg

  Pid file used by drizzled.

Plugin Loading Options
----------------------

.. option:: --plugin-add arg
  Optional comma separated list of plugins to load at startup in addition
  to the default list of plugins.
  
  for example: --plugin_add=crc32,console,pbxt

.. option:: --plugin-remove arg
  Optional comma separated list of plugins to not load at startup.
  Effectively removes a plugin from the list of plugins to be loaded.

  for example: --plugin_remove=syslog,md5

.. option:: --plugin-load arg (=version,uuid_function,user_function,transaction_log,syslog,substr_functions,sleep,show_schema_proto,rot13,reverse_function,rand_function,multi_thread,md5,logging_stats,length,hex_functions,hello_world,filtered_replicator,errmsg_stderr,default_replicator,database_function,crc32,connection_id,compression,charlength,benchmark,ascii,)

  Optional comma separated list of plugins to load at starup instead of 
  the default plugin load list. This completely replaces the whole list.

Kernel Options
--------------

.. option:: --auto-increment-increment arg (=1)
  
  Auto-increment columns are incremented by this

.. option:: --auto-increment-offset arg (=1)

  Offset added to Auto-increment columns.
  Used when auto-increment-increment != 1

.. option:: -b,--basedir arg

  Path to installation directory.
  All paths are usually resolved relative to this.

.. option:: -r,--chroot arg

  Chroot drizzled daemon during startup.

.. option:: --collation-server arg

  Set the default collation.

.. option:: --completion-type arg (=0)

  Default completion type.

.. option:: --core-file

  Write core on errors.

.. option:: --datadir arg

  Path to the database root.

.. option:: --default-storage-engine arg

  Set the default storage engine for tables.

.. option:: --default-time-zone arg

  Set the default time zone.

.. We should really remove --exit-info as an option
.. option:: -T,--exit-info arg

  Used for debugging;  Use at your own risk!

.. option:: --gdb

  Set up signals usable for debugging

.. option:: --lc-time-name arg

  Set the language used for the month names and the days of the week.

.. option:: -W [ --log-warnings ] arg

  Log some not critical warnings to the log file.

.. Why is this a core argument?
.. option:: --port-open-timeout arg (=0)

  Maximum time in seconds to wait for the port to become free.
  A value of 0 means not to wait.

.. option:: --secure-file-priv arg

  Limit LOAD DATA, SELECT ... OUTFILE, and LOAD_FILE() to files within
  specified directory

.. Why is this still here?
.. option:: --server-id arg (=0)

  Uniquely identifies the server instance in the community of replication
  partners.

.. option:: --skip-stack-trace

  Don't print a stack trace on failure.

.. option:: -s,--symbolic-links

  Enable symbolic link support.

.. option:: --timed-mutexes

  Specify whether to time mutexes (only InnoDB mutexes are currently supported)

.. option::  -t,--tmpdir arg

  Path for temporary files.

.. option:: --transaction-isolation arg

  Default transaction isolation level.

.. option:: -u,--user arg

  Run drizzled daemon as user.
  
.. option:: -V,--version

  Output version information and exit.

.. option:: --back-log arg (=50)

  The number of outstanding connection requests Drizzle can have. This comes
  into play when the main Drizzle thread gets very many connection requests in
  a very short time.

.. option:: --bulk-insert-buffer-size arg (=8388608)
  
  Size of tree cache used in bulk insert optimization. Note that this is a limit
  per thread!

.. option:: --div-precision-increment arg (=4)
  
  Precision of the result of '/' operator will be increased on that value.

.. option:: --group-concat-max-len arg (=1024)

  The maximum length of the result of function  group_concat.

.. option:: --join-buffer-size arg (=131072)

  The size of the buffer that is used for full joins.

.. Why is this a core arg?
.. option:: --max-allowed-packet arg (=1M)

  Max packetlength to send/receive from to server.

.. option:: --max-connect-errors arg (=10)

  If there is more than this number of interrupted connections from a host 
  this host will be blocked from further connections.

.. option:: --max-error-count arg (=64)

  Max number of errors/warnings to store for a statement.

.. option:: --max-heap-table-size arg (=16M)

  Don't allow creation of heap tables bigger than this.

.. option:: --max-join-size arg (=2147483647)

  Joins that are probably going to read more than max_join_size records return 
  an error.

.. option:: --max-length-for-sort-data arg (=1024)

  Max number of bytes in sorted records.
  
.. option:: --max-seeks-for-key arg (=18446744073709551615)

  Limit assumed max number of seeks when looking up rows based on a key

.. option:: --max-sort-length arg (=1024)

  The number of bytes to use when sorting BLOB or TEXT values (only the first 
  max_sort_length bytes of each value are used; the rest are ignored).

.. option:: --max-write-lock-count arg (=18446744073709551615)

  After this many write locks, allow some read locks to run in between.

.. option:: --min-examined-row-limit arg (=0)

  Don't log queries which examine less than min_examined_row_limit rows to file.

.. option:: --disable-optimizer-prune

  Do not apply any heuristic(s) during query optimization to prune, thus
  perform an exhaustive search from the optimizer search space.

.. option:: --optimizer-search-depth arg (=0)

  Maximum depth of search performed by the query optimizer. Values larger than
  the number of relations in a query result in better query plans, but take
  longer to compile a query. Smaller values than the number of tables in a
  relation result in faster optimization, but may produce very bad query plans. 
  If set to 0, the system will automatically pick a reasonable value; if set to
  MAX_TABLES+2, the optimizer will switch to the original find_best (used for
  testing/comparison).

.. option:: --preload-buffer-size arg (=32768)

  The size of the buffer that is allocated when preloading indexes

.. option:: --query-alloc-block-size arg (=8192)

  Allocation block size for query parsing and execution

.. option:: --query-prealloc-size arg (=8192)

  Persistent buffer for query parsing and execution

.. option:: --range-alloc-block-size arg (=4096)

  Allocation block size for storing ranges during optimization

.. option:: --read-buffer-size arg (=131072)

  Each thread that does a sequential scan allocates a buffer of this size for
  each table it scans. If you do many sequential scans, you may want to
  increase this value.

.. option:: --read-rnd-buffer-size arg (=262144)

  When reading rows in sorted order after a sort, the rows are read through
  this buffer to avoid a disk seeks. If not set, then it's set to the value of
  record_buffer.

.. option:: --scheduler arg (=multi-thread)

  Select scheduler to be used.

.. option:: --sort-buffer-size arg (=2097144)

  Each thread that needs to do a sort allocates a buffer of this size.

.. option:: --table-definition-cache arg (=128)

  The number of cached table definitions.

.. option:: --table-open-cache arg (=1024)

  The number of cached open tables.

.. option:: --table-lock-wait-timeout arg (=50)

  Timeout in seconds to wait for a table level lock before returning an error.
  Used only if the connection has active cursors.

.. option:: --thread-stack arg (=0)

  The stack size for each thread. 0 means use OS default.

.. option:: --tmp-table-size arg (=16M)

  If an internal in-memory temporary table exceeds this size, Drizzle will
  automatically convert it to an on-disk MyISAM table.