(caped? db-namespace)
Runs the coll-stats command,and from the returned results keeps only the capped field
Runs the coll-stats command,and from the returned results keeps only the capped field
(coll-data-size db-namespace & options)
Runs the coll-stats command,and from the returned results keeps only the size field
Runs the coll-stats command,and from the returned results keeps only the size field
(coll-stats db-namespace & args)
command = collStats Takes 1 argument = {'scale' number} optional ,sizes are returned in bytes default=1 => bytes or :b :kb :mg :gb (to avoid writing {'scale' 1024} etc)
command = collStats Takes 1 argument = {'scale' number} optional ,sizes are returned in bytes default=1 => bytes or :b :kb :mg :gb (to avoid writing {'scale' 1024} etc)
(server-status & args)
for fields excluded by default use :field or {:field 1} for fields included by default use :!field or {:field 0} information about what is happening/now or in past, in the server alot of this information is for internal usage from mongodb processes Info topics instance information asserts/connection/network/locking operation stats/security/replication stats/storage engine stats/metrics see serverStatuc command in docs for details
for fields excluded by default use :field or {:field 1} for fields included by default use :!field or {:field 0} information about what is happening/now or in past, in the server alot of this information is for internal usage from mongodb processes Info topics instance information asserts/connection/network/locking operation stats/security/replication stats/storage engine stats/metrics see serverStatuc command in docs for details
(storage-size db-namespace)
Runs the coll-stats command,and from the returned results keeps only the storageSize field
Runs the coll-stats command,and from the returned results keeps only the storageSize field
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close