Skip to content

fix reference to incorrect usage of collStats command #645

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 13, 2013
Merged

fix reference to incorrect usage of collStats command #645

merged 1 commit into from
Feb 13, 2013

Conversation

jrassi
Copy link
Contributor

@jrassi jrassi commented Feb 13, 2013

correct usage in http://docs.mongodb.org/manual/reference/collection-statistics/

example:

> db.runCommand({collStats:"foo"})
{
    "ns" : "test.foo",
    "count" : 8,
    "size" : 292,
    "avgObjSize" : 36.5,
    "storageSize" : 4096,
    "numExtents" : 1,
    "nindexes" : 1,
    "lastExtentSize" : 4096,
    "paddingFactor" : 1,
    "systemFlags" : 1,
    "userFlags" : 0,
    "totalIndexSize" : 8176,
    "indexSizes" : {
        "_id_" : 8176
    },
    "ok" : 1
}
> db.runCommand({collStats:"test.foo"})
{ "ok" : 0, "errmsg" : "ns not found" }
> 

@tychoish tychoish merged commit f7a2b28 into mongodb:master Feb 13, 2013
mongo-cr-bot pushed a commit that referenced this pull request Feb 15, 2022
* DOCS-14496-causal-consistency

* DOCS-14496-causal-consistency

Co-authored-by: jason-price-mongodb <[email protected]>

Co-authored-by: jason-price-mongodb <[email protected]>
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request May 22, 2025
* replace-outdated-blurb-w-link-to-versions-file

* shorter-text

* Update source/reference/mongosync.txt

Co-authored-by: Jeff Allen <[email protected]>

---------

Co-authored-by: Jeff Allen <[email protected]>
(cherry picked from commit cc495a9)
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 23, 2025
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 26, 2025
* Added spec.backup.members

* Included tech review from Nik

* Replaced refs to OM /rapid releases, added one more link, fixed a typo

* Final link cleanup
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 26, 2025
* Added spec.backup.members

* Included tech review from Nik

* Replaced refs to OM /rapid releases, added one more link, fixed a typo

* Final link cleanup
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants