diff options
| author | David Hows <david.hows@mongodb.com> | 2017-01-06 12:12:50 +1100 |
|---|---|---|
| committer | David Hows <david.hows@mongodb.com> | 2017-01-06 12:12:50 +1100 |
| commit | d48181f6f4db08761ed7b80b0332908b272ad0d0 (patch) | |
| tree | 38929fdcc5415ee7b001b6f1a406bd5bd777b737 /src/docs/command-line.dox | |
| parent | 040e3d6f764c0fb626cb47fede54469f57d0c6e0 (diff) | |
| parent | 8d2324943364286056ae399043f70b8a937de312 (diff) | |
Merge branch 'mongodb-3.6' into mongodb-3.2mongodb-3.2.12
Diffstat (limited to 'src/docs/command-line.dox')
| -rw-r--r-- | src/docs/command-line.dox | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/docs/command-line.dox b/src/docs/command-line.dox index 0f5c56d25ce..5726a1d19a1 100644 --- a/src/docs/command-line.dox +++ b/src/docs/command-line.dox @@ -37,6 +37,39 @@ In general, commands that modify the database or tables will run recovery by default and commands that only read data will not run recovery. <hr> +@section util_alter wt alter +Alter a table. + +@subsection util_alter_synopsis Synopsis +<code>wt [-RVv] [-C config] [-E secretkey ] [-h directory] alter uri configuration ...</code> + +The \c uri and \c configuration pairs may be specified to the +\c alter command. These configuration pairs can be used to modify the +configuration values from those passed to the WT_SESSION::create +call. + +The \c uri part of the configuration pair should match only one of the +objects being altered, but may be a prefix of the object being matched. +For example, the following two sets of configuration pairs are +equivalent in the case of altering a single table named \c xxx. + +@code +table access_pattern_hint=sequential +table:xxx access_pattern_hint=sequential +@endcode + +It's an error, however, to specify a matching prefix that matches more +than a single object being altered. + +Multiple \c configuration arguments may be specified. For example, the +following two sets of configuration pairs are equivalent: + +@code +table:xxx access_pattern_hint=random,cache_resident=false +table:xxx access_pattern_hint=random table:xxx cache_resident=false +@endcode + +<hr> @section util_backup wt backup Perform a backup of a database or set of data sources. |
