>>>>>>> cn
翻译或纠错本页面

journalLatencyTest

journalLatencyTest

journalLatencyTest is an administrative command that tests the length of time required to write and perform a file system sync (e.g. fsync) for a file in the journal directory. You must issue the journalLatencyTest command against the admin database in the form:

{ journalLatencyTest: 1 }

The value (i.e. 1 above), does not affect the operation of the command.

注解

journalLatencyTest is an internal command that is not enabled by default. journalLatencyTest must be enabled by using --setParameter enableTestCommands=1 on the mongod command line. journalLatencyTest cannot be enabled during run-time.

←   _hashBSONElement sleep  →