Skip to content

The countDocument() command with skey scan should not lookup base table #427

@xiexiaoy

Description

@xiexiaoy
> db.sbtest1.countDocuments({}, { hint: { _id: 1 } })
4000000
> db.sbtest1.countDocuments({}, { hint: { k1: 1 } })

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions