Examples: Maintaining Collections - MACROMEDIA COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX Manual

Hide thumbs Also See for COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX:
Table of Contents

Advertisement

Option
-persist
-sleeptime sec
-optimize spec
-noexit

Examples: maintaining collections

The following examples show the commands for maintaining a collection.
Repairing a collection
The following command automatically repairs a collection, or enables it after manual repairs:
mkvdk -repair -collection path
Backing up a collection
The following command backs up a collection to the specified directory:
mkvdk -backup path_1 -collection path_2
Deleting a collection
To delete a collection, use the appropriate command for your operating system. For example, to
remove the collection directory structure and control files on a UNIX system, use the following
command:
rm -r -collection_path
Purging a collection
The following command deletes all documents from a collection, but does not delete the
collection itself:
mkvdk -purge -collection path
Purging a collection in the background
The following command purges the specified collection in the background:
mkvdk -purge -purgeback -collection path
Specifying persistent service
The following command runs the mkvdk command as a persistent process, so that servicing is
performed repeatedly after num idle seconds:
mkvdk -persist -sleeptime num -collection path
98
Chapter 8: Managing Collections with the mkvdk Utility
Description
Services the collection repeatedly, at default intervals of 30 seconds. Use the
option to set a different interval.
-sleeptime
Specifies the interval between service calls when the mkvdk utility is run with the
option.
-persist
Performs various optimizations on the collection, depending on the value of
spec. The specifier, spec, is a string consisting of keywords separated by
hyphens, such as maxmerge-squeeze-readonly. For valid keywords, see
"Optimization keywords" on page
Windows only. Causes the I/O window to remain after the program is finished. By
default, the window closes and the program exits, so that scripts calling the
mkvdk utility do not hang.
99.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion mx

Table of Contents