Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eccf1d6f34 | ||
|
|
711b8cf20d | ||
|
|
e653a2f9a8 | ||
|
|
b322c043eb | ||
|
|
27cf3e042e | ||
|
|
f8bc6391fd | ||
|
|
6486dfdbb6 | ||
|
|
be0241629e | ||
|
|
7d32a2d6b1 | ||
|
|
7a6a03060b | ||
|
|
ffe55caba5 | ||
|
|
e94a292ed8 | ||
|
|
fe7245b196 | ||
|
|
d5e9d58bc3 | ||
|
|
31e9e5ddaf | ||
|
|
1bda66fa50 | ||
|
|
9dae7c89b7 | ||
|
|
c26523df06 | ||
|
|
df69233f0a | ||
|
|
7566a2fe21 | ||
|
|
dd7b1f909f |
@ -61,8 +61,8 @@ def generate_version_expansions():
|
||||
raise ValueError("Unable to parse version from stdin and no version.json provided")
|
||||
|
||||
if version_parts[0]:
|
||||
expansions["suffix"] = "latest"
|
||||
expansions["src_suffix"] = "latest"
|
||||
expansions["suffix"] = "v8.3-latest"
|
||||
expansions["src_suffix"] = "v8.3-latest"
|
||||
expansions["is_release"] = "false"
|
||||
else:
|
||||
expansions["suffix"] = version_line
|
||||
|
||||
@ -6,6 +6,7 @@ selector:
|
||||
|
||||
executor:
|
||||
config: {}
|
||||
hooks:
|
||||
- class: GenerateAndCheckPerfResults
|
||||
check_result: True
|
||||
# TODO SERVER-122547 Re-enable GenerateAndCheckPerfResults on benchmarks_sep on release branches
|
||||
# hooks:
|
||||
# - class: GenerateAndCheckPerfResults
|
||||
# check_result: True
|
||||
|
||||
@ -417,8 +417,11 @@ class CheckPerfResultTestCase(interface.DynamicTestCase):
|
||||
)
|
||||
|
||||
if any_metric_has_failed:
|
||||
# If this in the merge queue, check to see if an override comment was made by an authorized user.
|
||||
if _config.EVERGREEN_REQUESTER == "github_merge_queue":
|
||||
# Check to see if an override comment was made by an authorized user.
|
||||
if (
|
||||
_config.EVERGREEN_REQUESTER == "github_pr"
|
||||
or _config.EVERGREEN_REQUESTER == "github_merge_queue"
|
||||
):
|
||||
github_pr_number = int(get_expansion("github_pr_number", 0))
|
||||
if not github_pr_number:
|
||||
raise ServerFailure(
|
||||
|
||||
@ -724,7 +724,7 @@ def main():
|
||||
print("ERROR: prod workflow should not be run in patch builds!")
|
||||
sys.exit(1)
|
||||
test_args = []
|
||||
branch = "master"
|
||||
branch = "v8.3"
|
||||
config_file = get_prod_copybara_config_from_master(current_dir)
|
||||
else:
|
||||
raise Exception(f"invalid workflow {args.workflow}")
|
||||
|
||||
@ -20,7 +20,7 @@ DEFAULT_EVG_PROJECT_CONFIG = "etc/evergreen.yml"
|
||||
DEFAULT_EVG_NIGHTLY_PROJECT_CONFIG = "etc/evergreen_nightly.yml"
|
||||
|
||||
# SET TO TRUE IN RAPID RELEASE BRANCHES - see docs/branching/README.md
|
||||
RELEASE_BRANCH = False
|
||||
RELEASE_BRANCH = True
|
||||
|
||||
UNMATCHED_REGEXES = [
|
||||
re.compile(r".*buildvariant .+ has unmatched selector: .+"),
|
||||
@ -88,6 +88,8 @@ def main(
|
||||
DEFAULT_EVG_NIGHTLY_PROJECT_NAME: DEFAULT_EVG_NIGHTLY_PROJECT_CONFIG,
|
||||
}
|
||||
|
||||
evergreen_bin = find_evergreen_binary("evergreen")
|
||||
|
||||
if RELEASE_BRANCH:
|
||||
for _, project_config in evg_project_config_map.items():
|
||||
cmd = [
|
||||
@ -110,7 +112,6 @@ def main(
|
||||
|
||||
exit_code = 0
|
||||
num_of_projects = len(evg_project_config_map)
|
||||
evergreen_bin = find_evergreen_binary("evergreen")
|
||||
for project, project_config in evg_project_config_map.items():
|
||||
cmd = [
|
||||
evergreen_bin,
|
||||
|
||||
@ -5,7 +5,7 @@ sourceUrl = "https://github.com/10gen/mongo.git"
|
||||
prodUrl = "https://github.com/mongodb/mongo.git"
|
||||
testUrl = "https://github.com/10gen/mongo-copybara.git"
|
||||
testBranch = "copybara_test_branch"
|
||||
prodRefForPinnedSourceCommit = "master"
|
||||
prodRefForPinnedSourceCommit = "v8.3"
|
||||
|
||||
def make_workflow(workflow_name, destination_url, source_ref, destination_ref):
|
||||
|
||||
@ -81,7 +81,7 @@ def make_workflow(workflow_name, destination_url, source_ref, destination_ref):
|
||||
)
|
||||
|
||||
# push to the public repo
|
||||
make_workflow("prod", prodUrl, prodRefForPinnedSourceCommit, "master")
|
||||
make_workflow("prod", prodUrl, prodRefForPinnedSourceCommit, "v8.3")
|
||||
|
||||
# push to private test repo to validate configs
|
||||
make_workflow("test", testUrl, testBranch, testBranch)
|
||||
|
||||
@ -21,6 +21,8 @@
|
||||
#
|
||||
last-continuous:
|
||||
all:
|
||||
- test_file: jstests/core/administrative/filemd5.js
|
||||
ticket: SERVER-119317
|
||||
- test_file: jstests/core/index/elemmatch_index.js
|
||||
ticket: SERVER-108945
|
||||
- test_file: jstests/concurrency/fsm_workloads/ddl/collMod/collMod_options_with_index_ops.js
|
||||
@ -164,6 +166,8 @@ last-continuous:
|
||||
suites: null
|
||||
last-lts:
|
||||
all:
|
||||
- test_file: jstests/core/administrative/filemd5.js
|
||||
ticket: SERVER-119317
|
||||
- test_file: jstests/core/index/elemmatch_index.js
|
||||
ticket: SERVER-108945
|
||||
- test_file: jstests/replsets/malformed_heartbeat_request.js
|
||||
|
||||
@ -55,5 +55,5 @@ analyze:
|
||||
|
||||
commit:
|
||||
connect:
|
||||
stream: mongo.master
|
||||
stream: mongo.v8.3
|
||||
project: "MongoDB master"
|
||||
|
||||
@ -12,14 +12,15 @@ include:
|
||||
- filename: etc/evergreen_yml_components/tasks/compile_tasks_shared.yml
|
||||
- filename: etc/evergreen_yml_components/tasks/compile_tasks_nightly.yml
|
||||
- filename: etc/evergreen_yml_components/tasks/misc_tasks.yml
|
||||
- filename: etc/evergreen_yml_components/tasks/devcontainer_tasks.yml
|
||||
|
||||
- filename: etc/evergreen_yml_components/variants/misc/task_generation.yml
|
||||
### Uncomment when using this file for a LTS or Rapid release branch. ###
|
||||
# - filename: etc/evergreen_yml_components/variants/misc/misc.yml
|
||||
- filename: etc/evergreen_yml_components/variants/misc/misc.yml
|
||||
|
||||
- filename: etc/evergreen_yml_components/variants/amazon/test_release.yml
|
||||
### Uncomment when using this file for a LTS or Rapid release branch. ###
|
||||
# - filename: etc/evergreen_yml_components/variants/amazon/test_dev.yml
|
||||
- filename: etc/evergreen_yml_components/variants/amazon/test_dev.yml
|
||||
|
||||
- filename: etc/evergreen_yml_components/variants/debian/test_release.yml
|
||||
|
||||
@ -30,33 +31,33 @@ include:
|
||||
|
||||
- filename: etc/evergreen_yml_components/variants/rhel/test_release.yml
|
||||
### Uncomment when using this file for a LTS or Rapid release branch. ###
|
||||
# - filename: etc/evergreen_yml_components/variants/rhel/test_dev.yml
|
||||
- filename: etc/evergreen_yml_components/variants/rhel/test_dev.yml
|
||||
### Uncomment when using this file for a LTS release branch. ###
|
||||
# - filename: etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
|
||||
- filename: etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
|
||||
|
||||
### Uncomment when using this file for a LTS or Rapid release branch. ###
|
||||
# - filename: etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
|
||||
- filename: etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
|
||||
|
||||
### Uncomment when using this file for a LTS or Rapid release branch. ###
|
||||
# - filename: etc/evergreen_yml_components/variants/mongot/test_dev.yml
|
||||
- filename: etc/evergreen_yml_components/variants/mongot/test_dev.yml
|
||||
|
||||
- filename: etc/evergreen_yml_components/variants/suse/test_release.yml
|
||||
|
||||
- filename: etc/evergreen_yml_components/variants/ubuntu/test_release.yml
|
||||
### Uncomment when using this file for a LTS release branch. ###
|
||||
# - filename: etc/evergreen_yml_components/variants/ubuntu/test_dev_master_and_lts_branches_only.yml
|
||||
- filename: etc/evergreen_yml_components/variants/ubuntu/test_dev_master_and_lts_branches_only.yml
|
||||
|
||||
- filename: etc/evergreen_yml_components/variants/windows/test_release.yml
|
||||
### Uncomment when using this file for a LTS or Rapid release branch. ###
|
||||
# - filename: etc/evergreen_yml_components/variants/windows/test_dev.yml
|
||||
- filename: etc/evergreen_yml_components/variants/windows/test_dev.yml
|
||||
### Uncomment when using this file for a LTS release branch. ###
|
||||
# - filename: etc/evergreen_yml_components/variants/windows/test_dev_master_and_lts_branches_only.yml
|
||||
- filename: etc/evergreen_yml_components/variants/windows/test_dev_master_and_lts_branches_only.yml
|
||||
|
||||
- filename: etc/evergreen_yml_components/tasks/coverity_tasks.yml
|
||||
- filename: etc/evergreen_yml_components/variants/coverity.yml
|
||||
- filename: etc/evergreen_yml_components/tasks/release_tasks.yml
|
||||
### Uncomment when using this file for a LTS or Rapid release branch. ###
|
||||
# - filename: etc/evergreen_yml_components/variants/release/release.yml
|
||||
- filename: etc/evergreen_yml_components/variants/release/release.yml
|
||||
|
||||
- filename: src/mongo/db/modules/atlas/atlas_release.yml
|
||||
- filename: etc/evergreen_yml_components/variants/amazon/streams/streams_release.yml
|
||||
@ -65,8 +66,64 @@ parameters:
|
||||
- key: evergreen_config_file_path
|
||||
value: "etc/evergreen_nightly.yml"
|
||||
description: "path to this file"
|
||||
- key: enable_evergreen_api_test_selection
|
||||
value: true
|
||||
description: "Enable test selection using Evergreen API"
|
||||
- key: test_selection_strategies_array
|
||||
description: "Array of test selection strategies"
|
||||
|
||||
commit_queue_aliases:
|
||||
- variant: "^(commit-queue)$"
|
||||
task: "^(bazel_.*|run_.*|unit_test.*|compile_.*|lint_.*|resmoke_tests|check_for_noexcept|version_gen_validation|validate_commit_message|resmoke_validation_tests|buildscripts_test)$"
|
||||
variant_tags: []
|
||||
task_tags: []
|
||||
- variant: "^(amazon-linux2023-arm64-static-compile)$"
|
||||
variant_tags: []
|
||||
task_tags: ["clang_tidy"]
|
||||
- variant: "^(commit-queue-monorepo)$"
|
||||
task: ".*"
|
||||
variant_tags: []
|
||||
task_tags: []
|
||||
# Monguard
|
||||
- variant: "^(amazon-linux2023-arm|Lint)$"
|
||||
task: "^(.*)$"
|
||||
variant_tags: []
|
||||
task_tags: []
|
||||
|
||||
github_pr_aliases:
|
||||
- variant: "^(commit-queue)$"
|
||||
task: "^(bazel_.*|run_.*|unit_test.*|compile_.*|lint_.*|resmoke_tests|check_for_noexcept|version_gen_validation|validate_commit_message|resmoke_validation_tests|buildscripts_test)$"
|
||||
variant_tags: []
|
||||
task_tags: []
|
||||
- variant: "^(amazon-linux2023-arm64-static-compile)$"
|
||||
variant_tags: []
|
||||
task_tags: ["clang_tidy"]
|
||||
- variant: "^(al2023-arm64-sep-benchmark)$"
|
||||
variant_tags: []
|
||||
task_tags: ["benchmarks_sep"]
|
||||
- variant: "^(commit-queue-monorepo)$"
|
||||
task: ".*"
|
||||
variant_tags: []
|
||||
task_tags: []
|
||||
# Monguard
|
||||
- variant: "^(amazon-linux2023-arm|Lint)$"
|
||||
task: "^(.*)$"
|
||||
variant_tags: []
|
||||
task_tags: []
|
||||
|
||||
patch_aliases:
|
||||
- alias: required
|
||||
variant_tags: ["required"]
|
||||
task: ".*"
|
||||
- alias: query
|
||||
variant: "^(.*query-patch-only|amazon-linux2023-arm64-static-compile)$"
|
||||
task: ".*"
|
||||
- alias: query-quick
|
||||
variant: "^(.*query-quick-patch-only|linux-x86-dynamic-compile)$"
|
||||
task: ".*"
|
||||
- alias: security
|
||||
variant: "^(.*security-patch-only|linux-x86-dynamic-compile|windows-compile-required)$"
|
||||
task: ".*"
|
||||
- alias: bazel
|
||||
description: "Runs bazel build system tests"
|
||||
variant_tags: ["bazel_check"]
|
||||
@ -75,6 +132,36 @@ patch_aliases:
|
||||
description: "Runs bazel build system tests"
|
||||
variant_tags: ["bazel_check"]
|
||||
task: ".*"
|
||||
- alias: search
|
||||
description: "Runs all $search, $vectorSearch tests"
|
||||
variant: ".*"
|
||||
task: "^.*search*"
|
||||
- alias: required-and-mongot-e2e-tests
|
||||
description: >
|
||||
This alias selects all tasks in all required variants and all tasks in variants that use a real mongot.
|
||||
Once more e2e tests have been contributed and thus our coverage is better, this alias can be refined
|
||||
to only select tests that use a real mongot.
|
||||
variant_tags: ["required", "mongot_e2e"]
|
||||
task: ".*"
|
||||
- alias: codecoverage
|
||||
description: "Run tests and report code coverage"
|
||||
variant: ".*-coverage"
|
||||
task: ".*"
|
||||
- alias: unittestcoverage
|
||||
description: "Run unit tests and report code coverage"
|
||||
variant: ".*-coverage"
|
||||
task: "^(unit_test_group.*|bazel_coverage)$"
|
||||
- alias: cluster_scalability
|
||||
variant_tags: ["cluster_scalability_only"]
|
||||
task_tags: ["cluster_scalability_only"]
|
||||
- alias: blocking-emergency-atlas-release-tasks
|
||||
description: "Run variants that would potentially block an emergency release"
|
||||
variant_tags: ["emergency_release"]
|
||||
task: ".*"
|
||||
- alias: streams
|
||||
description: "Runs all streams variants"
|
||||
variant: "^(enterprise-amazon2023-streams|enterprise-rhel8-streams-tsan|enterprise-rhel8-streams-aubsan)$"
|
||||
task: ".*"
|
||||
- alias: coverity_scan
|
||||
variant: bv_coverity_analysis
|
||||
task: run_coverity
|
||||
|
||||
@ -1355,19 +1355,6 @@ functions:
|
||||
ignore_missing_file: true
|
||||
- *f_expansions_write
|
||||
|
||||
"assume ECR role": &assume_ecr_role
|
||||
command: ec2.assume_role
|
||||
params:
|
||||
role_arn: "${disagg_storage_ecr_arn}"
|
||||
|
||||
"fetch module images": &fetch_module_images
|
||||
command: subprocess.exec
|
||||
params:
|
||||
binary: bash
|
||||
add_expansions_to_env: true # needed to get the AWS secrets from ec2.assume_role
|
||||
args:
|
||||
- "./src/evergreen/fetch_module_images.sh"
|
||||
|
||||
"retrieve generated test configuration":
|
||||
&retrieve_generated_test_configuration
|
||||
command: s3.get
|
||||
@ -1623,8 +1610,6 @@ functions:
|
||||
- *f_expansions_write
|
||||
- *sign_macos_dev_binaries
|
||||
- *multiversion_exclude_tags_generate
|
||||
- *assume_ecr_role
|
||||
- *fetch_module_images
|
||||
- *execute_resmoke_tests
|
||||
# The existence of the "run_tests_infrastructure_failure" file indicates this failure isn't
|
||||
# directly actionable. We use type=setup rather than type=system or type=test for this command
|
||||
@ -1674,8 +1659,6 @@ functions:
|
||||
- *configure_evergreen_api_credentials
|
||||
- *sign_macos_dev_binaries
|
||||
- *multiversion_exclude_tags_generate
|
||||
- *assume_ecr_role
|
||||
- *fetch_module_images
|
||||
- *execute_resmoke_tests
|
||||
# The existence of the "run_tests_infrastructure_failure" file indicates this failure isn't
|
||||
# directly actionable. We use type=setup rather than type=system or type=test for this command
|
||||
@ -1781,8 +1764,6 @@ functions:
|
||||
- *configure_evergreen_api_credentials
|
||||
- *sign_macos_dev_binaries
|
||||
- *multiversion_exclude_tags_generate
|
||||
- *assume_ecr_role
|
||||
- *fetch_module_images
|
||||
- *execute_resmoke_tests_with_asp_js_engine_token
|
||||
# The existence of the "run_tests_infrastructure_failure" file indicates this failure isn't
|
||||
# directly actionable. We use type=setup rather than type=system or type=test for this command
|
||||
|
||||
@ -751,57 +751,6 @@ tasks:
|
||||
target: >-
|
||||
//:format -- --check --all
|
||||
|
||||
- name: bazel_run_codeowners
|
||||
tags:
|
||||
[
|
||||
"assigned_to_jira_team_devprod_build",
|
||||
"development_critical_single_variant",
|
||||
"lint",
|
||||
"bazel_check",
|
||||
"monorepo-commit-queue",
|
||||
]
|
||||
depends_on:
|
||||
- name: version_expansions_gen
|
||||
variant: generate-tasks-for-version
|
||||
commands:
|
||||
- command: timeout.update
|
||||
params:
|
||||
# 40 minutes
|
||||
exec_timeout_secs: 2400
|
||||
- func: "f_expansions_write"
|
||||
- command: manifest.load
|
||||
- func: "git get project and add git tag"
|
||||
- func: "f_expansions_write"
|
||||
- func: "kill processes"
|
||||
- func: "cleanup environment"
|
||||
- func: "set up venv"
|
||||
- func: "upload pip requirements"
|
||||
- func: "get engflow creds"
|
||||
- command: github.generate_token
|
||||
params:
|
||||
owner: ${github_org}
|
||||
repo: ${github_repo}
|
||||
expansion_name: github_token_temp
|
||||
- command: subprocess.exec
|
||||
params:
|
||||
binary: "bash"
|
||||
args:
|
||||
- "-c"
|
||||
- |
|
||||
echo "github_token: ${github_token_temp}" >> github_expansions.yml
|
||||
- command: expansions.update
|
||||
params:
|
||||
file: github_expansions.yml
|
||||
- func: "f_expansions_write"
|
||||
- func: "bazel run"
|
||||
vars:
|
||||
target: >-
|
||||
//:codeowners -- --check --expansions-file ../expansions.yml
|
||||
- func: "bazel run"
|
||||
vars:
|
||||
target: >-
|
||||
@bazel_rules_mongo//codeowners:check_github_codeowner_errors -- --expansions-file ../expansions.yml
|
||||
|
||||
- name: bazel_run_lint
|
||||
tags:
|
||||
[
|
||||
|
||||
@ -222,8 +222,8 @@ buildvariants:
|
||||
- &enterprise-amazon-linux2023-arm64-template
|
||||
<<: *amazon_linux2023_arm64_static_compile_variant_dependency
|
||||
name: enterprise-amazon-linux2023-arm64
|
||||
display_name: "* Amazon Linux 2023 arm64 Enterprise"
|
||||
tags: ["suggested", "forbid_tasks_tagged_with_experimental"]
|
||||
display_name: "! Amazon Linux 2023 arm64 Enterprise"
|
||||
tags: ["required", "forbid_tasks_tagged_with_experimental"]
|
||||
cron: "0 1,5,9,13,17,21 * * *" # From the ${project_required_suggested_cron} parameter
|
||||
run_on:
|
||||
- amazon2023-arm64-atlas-latest-m8g-xlarge
|
||||
|
||||
@ -18,11 +18,7 @@ buildvariants:
|
||||
burn_in_tag_exclude_build_variants: >-
|
||||
macos-debug-suggested
|
||||
ubuntu2204-arm64-bazel-compile
|
||||
burn_in_tag_include_build_variants: >-
|
||||
enterprise-rhel-8-64-bit-inmem
|
||||
enterprise-rhel-8-64-bit-multiversion
|
||||
amazon-linux2023-arm64-try-sbe-engine
|
||||
amazon_linux2023_arm64_static-classic-engine-query-patch-only
|
||||
burn_in_tag_include_build_variants:
|
||||
burn_in_tag_compile_task_dependency: archive_dist_test
|
||||
compile_variant: &amazon_linux2023_arm64_static_compile_variant_name amazon-linux2023-arm64-static-compile
|
||||
depends_on:
|
||||
|
||||
@ -460,8 +460,8 @@ buildvariants:
|
||||
variant: generate-tasks-for-version
|
||||
|
||||
- <<: *linux_debug_aubsan_compile_variant_dependency
|
||||
name: linux-debug-aubsan-lite-all-feature-flags-required
|
||||
display_name: "! Amazon Linux 2023 arm64 {A,UB}SAN Enterprise DEBUG (all feature flags)"
|
||||
name: linux-debug-aubsan-lite-required
|
||||
display_name: "! Amazon Linux 2023 arm64 {A,UB}SAN Enterprise DEBUG"
|
||||
tags: ["required"]
|
||||
cron: "0 1,5,9,13,17,21 * * *" # From the ${project_required_suggested_cron} parameter
|
||||
run_on:
|
||||
@ -474,7 +474,6 @@ buildvariants:
|
||||
# fcv_upgrade_downgrade tests, when concurrent FCV upgrade/downgrades can keep batch write
|
||||
# operations from making progress on slow sanitizer variants.
|
||||
test_flags: >-
|
||||
--runAllFeatureFlagTests
|
||||
--excludeWithAnyTags=incompatible_aubsan
|
||||
--mongosSetParameters="{findShardsOnConfigTimeoutMS: 30000, maxRoundsWithoutProgressParameter: 20}"
|
||||
tasks:
|
||||
@ -572,20 +571,20 @@ buildvariants:
|
||||
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true, fassertOnLockTimeoutForStepUpDown: 180}"
|
||||
--mongosSetParameters="{findShardsOnConfigTimeoutMS: 30000}"
|
||||
tasks:
|
||||
- name: .development_critical !.requires_extra_system_deps !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .development_critical !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .development_critical !.requires_extra_system_deps !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .development_critical !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
distros:
|
||||
- rhel8.8-large
|
||||
- name: .release_critical !.requires_extra_system_deps !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .release_critical !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .release_critical !.requires_extra_system_deps !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .release_critical !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
distros:
|
||||
- rhel8.8-large
|
||||
- name: .default !.requires_extra_system_deps !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .default !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .default !.requires_extra_system_deps !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .default !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
distros:
|
||||
- rhel8.8-large
|
||||
- name: .non_deterministic !.requires_extra_system_deps !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .non_deterministic !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .non_deterministic !.requires_extra_system_deps !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .non_deterministic !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
distros:
|
||||
- rhel8.8-large
|
||||
|
||||
@ -830,32 +829,32 @@ buildvariants:
|
||||
--excludeWithAnyTags=tsan_incompatible
|
||||
--disableUnreleasedIFRFlags
|
||||
tasks:
|
||||
- name: .development_critical !.requires_extra_system_deps !.requires_large_host !.requires_compile_variant !.requires_large_host_tsan !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .development_critical !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .development_critical !.requires_extra_system_deps !.requires_large_host !.requires_compile_variant !.requires_large_host_tsan !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .development_critical !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
distros:
|
||||
- *enterprise-rhel8-debug-tsan-large-distro-name
|
||||
- name: .development_critical !.requires_extra_system_deps .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .development_critical !.requires_extra_system_deps .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
distros:
|
||||
- *enterprise-rhel8-debug-tsan-large-distro-name
|
||||
- name: .release_critical !.requires_extra_system_deps !.requires_large_host .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .release_critical !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .release_critical !.requires_extra_system_deps !.requires_large_host .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .release_critical !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
distros:
|
||||
- *enterprise-rhel8-debug-tsan-large-distro-name
|
||||
- name: .release_critical !.requires_extra_system_deps .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .release_critical !.requires_extra_system_deps .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
distros:
|
||||
- *enterprise-rhel8-debug-tsan-large-distro-name
|
||||
- name: .default !.requires_extra_system_deps !.requires_large_host !.requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .default !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .default !.requires_extra_system_deps !.requires_large_host !.requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .default !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
distros:
|
||||
- *enterprise-rhel8-debug-tsan-large-distro-name
|
||||
- name: .default !.requires_extra_system_deps .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .default !.requires_extra_system_deps .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
distros:
|
||||
- *enterprise-rhel8-debug-tsan-large-distro-name
|
||||
- name: .non_deterministic !.requires_extra_system_deps !.requires_large_host !.requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .non_deterministic !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .non_deterministic !.requires_extra_system_deps !.requires_large_host !.requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .non_deterministic !.requires_extra_system_deps .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
distros:
|
||||
- *enterprise-rhel8-debug-tsan-large-distro-name
|
||||
- name: .non_deterministic !.requires_extra_system_deps .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags !.requires_all_feature_flags
|
||||
- name: .non_deterministic !.requires_extra_system_deps .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags !.requires_all_feature_flags
|
||||
distros:
|
||||
- *enterprise-rhel8-debug-tsan-large-distro-name
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ variables:
|
||||
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
|
||||
- &windows_expansions
|
||||
compile_variant: *windows_compile_variant_name
|
||||
burn_in_tests_build_variant: enterprise-windows-all-feature-flags-required
|
||||
burn_in_tests_build_variant: enterprise-windows-required
|
||||
exe: ".exe"
|
||||
content_type: application/zip
|
||||
python: "/cygdrive/c/python/python313/python.exe"
|
||||
@ -118,15 +118,15 @@ buildvariants:
|
||||
- windows-2022-xxxlarge-compile
|
||||
|
||||
- <<: *windows_compile_variant_dependency
|
||||
name: enterprise-windows-all-feature-flags-required
|
||||
display_name: "! Enterprise Windows Server 2022 (all feature flags) essential tasks"
|
||||
name: enterprise-windows-required
|
||||
display_name: "! Enterprise Windows Server 2022 essential tasks"
|
||||
tags: ["required", "forbid_tasks_tagged_with_experimental"]
|
||||
cron: "0 1,5,9,13,17,21 * * *" # From the ${project_required_suggested_cron} parameter
|
||||
run_on:
|
||||
- windows-2022-small
|
||||
expansions: &windows_essential_expansions
|
||||
<<: *windows_expansions
|
||||
burn_in_tests_build_variant: enterprise-windows-all-feature-flags-required
|
||||
burn_in_tests_build_variant: enterprise-windows-required
|
||||
exe: ".exe"
|
||||
content_type: application/zip
|
||||
python: "/cygdrive/c/python/python313/python.exe"
|
||||
@ -140,37 +140,36 @@ buildvariants:
|
||||
# To force disable feature flags even on the all feature flags variant, please use this file:
|
||||
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
|
||||
test_flags: >-
|
||||
--runAllFeatureFlagTests
|
||||
--excludeWithAnyTags=incompatible_with_windows_tls,requires_otel_build
|
||||
external_auth_jobs_max: 1
|
||||
tasks:
|
||||
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.incompatible_all_feature_flags .requires_execution_on_windows_patch_build
|
||||
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.incompatible_all_feature_flags .requires_execution_on_windows_patch_build
|
||||
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags .requires_execution_on_windows_patch_build
|
||||
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags .requires_execution_on_windows_patch_build
|
||||
distros:
|
||||
- windows-2022-expandedports-xlarge
|
||||
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.incompatible_all_feature_flags .requires_execution_on_windows_patch_build
|
||||
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.incompatible_all_feature_flags .requires_execution_on_windows_patch_build
|
||||
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags .requires_execution_on_windows_patch_build
|
||||
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags .requires_execution_on_windows_patch_build
|
||||
distros:
|
||||
- windows-2022-expandedports-xlarge
|
||||
|
||||
# This Windows build variant exists to run all tasks that have been excluded from running on the required Windows build variant.
|
||||
# See SERVER-79037 for how the essential set of tasks was computed.
|
||||
- <<: *windows_compile_variant_dependency
|
||||
name: enterprise-windows-all-feature-flags-non-essential
|
||||
display_name: "* Enterprise Windows Server 2022 (all feature flags) non-essential tasks"
|
||||
name: enterprise-windows-non-essential
|
||||
display_name: "* Enterprise Windows Server 2022 non-essential tasks"
|
||||
tags: ["suggested"]
|
||||
cron: "0 1,5,9,13,17,21 * * *" # From the ${project_required_suggested_cron} parameter
|
||||
run_on:
|
||||
- windows-2022-small
|
||||
expansions:
|
||||
<<: *windows_essential_expansions
|
||||
burn_in_tests_build_variant: enterprise-windows-all-feature-flags-non-essential
|
||||
burn_in_tests_build_variant: enterprise-windows-non-essential
|
||||
tasks:
|
||||
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.incompatible_all_feature_flags
|
||||
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.incompatible_all_feature_flags
|
||||
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags
|
||||
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags
|
||||
distros:
|
||||
- windows-2022-expandedports-xlarge
|
||||
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.incompatible_all_feature_flags
|
||||
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.incompatible_all_feature_flags
|
||||
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags
|
||||
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags
|
||||
distros:
|
||||
- windows-2022-expandedports-xlarge
|
||||
|
||||
@ -21,18 +21,18 @@ extensions:
|
||||
mongot_extension:
|
||||
base_url: https://mongot-extension.s3.amazonaws.com/release/
|
||||
name: mongot-extension
|
||||
version: 0.0.0
|
||||
version: 1.0.1
|
||||
variants:
|
||||
amazon2-x86_64: 6abaef106a4cddb14023e74b6806f50962042e48e4540f96a1df37eaf62ca2a3
|
||||
amazon2-aarch64: ee8a40f84b96d75af7304817ac221bf672d18ab427a5a9f9374da0556fc56b0a
|
||||
amazon2023-x86_64: 0755418443d1a069ff328c63ca0fd22aee52ef3b7757ee2fa9a84f55ad98ab25
|
||||
amazon2023-aarch64: 41364b9c87b087f55b9272bf124fe172fd51e1fa806c415d1162f350e0eb15a9
|
||||
amazon2-x86_64: 1d5108b6d18b1fa755d722fa7a32f746af5c65324002d46c3b14e6b3ea7f6f5a
|
||||
amazon2-aarch64: bb7d4824afdbe8733d3d60205ecdc056a2954fdb603c3a9c7e630ab8236a55c0
|
||||
amazon2023-x86_64: 99a80d50c01095436bc99b59954e20b778d686a15b444ab1f246960b51c50c58
|
||||
amazon2023-aarch64: c5dab730ded6c3cbc90c48b35f266abbc0ac0009aef7d7441e3e48de161d724f
|
||||
rerank_extension:
|
||||
base_url: https://mongot-extension.s3.amazonaws.com/release/
|
||||
name: rerank-extension
|
||||
version: 0.0.0
|
||||
version: 1.0.1
|
||||
variants:
|
||||
amazon2-x86_64: 8103cede35bca027eb53059efae65f79e10fdf9a441658cb0866904efdcf594d
|
||||
amazon2-aarch64: 54365e10e23995a864e12e35dbcebcd9e4cfbee285ad1ddc4f2caadaa353ceae
|
||||
amazon2023-x86_64: f2b87efaab686ab19f631385e3044616f22cc90101be55ac0f03cb40d8a3f82b
|
||||
amazon2023-aarch64: e7d923ca8b231ff03a45684a70eeeacda4a23fa2622c88e16a5a48f550daa53b
|
||||
amazon2-x86_64: 8f3b4061a5e5f36125e36e3e697e66688f8f8b591d4688cf01549f011f3aa355
|
||||
amazon2-aarch64: c8c684cf7071ae93080413bbc6b34960e9429689e20176842817c5cdd95ec026
|
||||
amazon2023-x86_64: 78f759a6fde51c2aa70abb843cafb3c76ec1dfd116203b29c59642ee0863ec4b
|
||||
amazon2023-aarch64: 2b138a5f19718d11ab39cc34f0dbf9c22c6427dbf479528325338e11fcc8275d
|
||||
|
||||
@ -24,9 +24,11 @@ leak:mongo::transport::AsioReactor::run()
|
||||
leak:mongo::transport::AsioReactor::drain()
|
||||
leak:UnitTest_SuiteNameTaskExecutorCursorFixtureTestNamePinnedExecutorDestroyedOnUnderlying
|
||||
|
||||
# Allocations from this function in libresolv are stored in thread-locals.
|
||||
# Allocations from these functions in libresolv are stored in thread-locals.
|
||||
# Threads that are not joined by the time the leak-detector runs (like those spawned by ASIO) may
|
||||
# still have pointers to these allocated objects but LSAN isn't able to identify them and add them
|
||||
# to do the root-set, resulting in false-positive leak reports.
|
||||
# to do the root-set, resulting in false-positive leak reports. LSAN may report different functions
|
||||
# leaking depending on the version of libresolv.
|
||||
# TODO SERVER-65936: Re-evaluate if this is needed with a clean shutdown that joins all threads.
|
||||
leak:__res_context_send
|
||||
leak:__res_context_query
|
||||
|
||||
@ -13,11 +13,9 @@ include:
|
||||
#
|
||||
- filename: evergreen/system_perf/master/base.yml
|
||||
module: dsi
|
||||
- filename: evergreen/system_perf/master/compiles.yml
|
||||
- filename: evergreen/system_perf/8.3/compiles.yml
|
||||
module: dsi
|
||||
- filename: evergreen/system_perf/master/variants.yml
|
||||
module: dsi
|
||||
- filename: evergreen/system_perf/master/master_variants.yml
|
||||
- filename: evergreen/system_perf/8.3/variants.yml
|
||||
module: dsi
|
||||
- filename: evergreen/system_perf/shared_tasks.yml
|
||||
module: dsi
|
||||
|
||||
@ -3,6 +3,11 @@
|
||||
|
||||
set -eu
|
||||
|
||||
if [ ! -f "src/cedar_report.json" ]; then
|
||||
echo "src/cedar_report.json not found, skipping perf data submission."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "${requester}" == "commit" ]; then
|
||||
is_mainline=true
|
||||
else
|
||||
|
||||
@ -27,24 +27,16 @@ admin.logout();
|
||||
function assertStats() {
|
||||
// Need to be authenticated to run serverStatus.
|
||||
assert(admin.auth("admin", "pwd"));
|
||||
++expected["SCRAM-SHA-256"].ingress.authenticate.successful;
|
||||
++expected["SCRAM-SHA-256"].ingress.authenticate.total;
|
||||
++expected["SCRAM-SHA-256"].authenticate.successful;
|
||||
++expected["SCRAM-SHA-256"].authenticate.received;
|
||||
|
||||
const mechStats = assert.commandWorked(admin.runCommand({serverStatus: 1})).security.authentication.mechanisms;
|
||||
Object.keys(expected).forEach(function (mech) {
|
||||
try {
|
||||
assert.eq(mechStats[mech].ingress.authenticate.total, expected[mech].ingress.authenticate.total);
|
||||
assert.eq(mechStats[mech].ingress.authenticate.successful, expected[mech].ingress.authenticate.successful);
|
||||
assert.eq(
|
||||
mechStats[mech].ingress.clusterAuthenticate.total,
|
||||
expected[mech].ingress.clusterAuthenticate.total,
|
||||
);
|
||||
assert.eq(
|
||||
mechStats[mech].ingress.clusterAuthenticate.successful,
|
||||
expected[mech].ingress.clusterAuthenticate.successful,
|
||||
);
|
||||
assert.eq(mechStats[mech].egress.authenticate.total, expected[mech].egress.authenticate.total);
|
||||
assert.eq(mechStats[mech].egress.authenticate.successful, expected[mech].egress.authenticate.successful);
|
||||
assert.eq(mechStats[mech].authenticate.received, expected[mech].authenticate.received);
|
||||
assert.eq(mechStats[mech].authenticate.successful, expected[mech].authenticate.successful);
|
||||
assert.eq(mechStats[mech].clusterAuthenticate.received, expected[mech].clusterAuthenticate.received);
|
||||
assert.eq(mechStats[mech].clusterAuthenticate.successful, expected[mech].clusterAuthenticate.successful);
|
||||
} catch (e) {
|
||||
print("Mechanism: " + mech);
|
||||
print("mechStats: " + tojson(mechStats));
|
||||
@ -59,14 +51,14 @@ function assertStats() {
|
||||
function assertSuccess(creds, mech, db = test) {
|
||||
assert.eq(db.auth(creds), true);
|
||||
db.logout();
|
||||
++expected[mech].ingress.authenticate.total;
|
||||
++expected[mech].ingress.authenticate.successful;
|
||||
++expected[mech].authenticate.received;
|
||||
++expected[mech].authenticate.successful;
|
||||
assertStats();
|
||||
}
|
||||
|
||||
function assertFailure(creds, mech, db = test) {
|
||||
assert.eq(db.auth(creds), false);
|
||||
++expected[mech].ingress.authenticate.total;
|
||||
++expected[mech].authenticate.received;
|
||||
assertStats();
|
||||
}
|
||||
|
||||
@ -77,10 +69,10 @@ function assertSuccessInternal() {
|
||||
authutil.asCluster(replTest.nodes, keyfile, () => true),
|
||||
true,
|
||||
);
|
||||
++expected[mech].ingress.authenticate.total;
|
||||
++expected[mech].ingress.authenticate.successful;
|
||||
++expected[mech].ingress.clusterAuthenticate.total;
|
||||
++expected[mech].ingress.clusterAuthenticate.successful;
|
||||
++expected[mech].authenticate.received;
|
||||
++expected[mech].authenticate.successful;
|
||||
++expected[mech].clusterAuthenticate.received;
|
||||
++expected[mech].clusterAuthenticate.successful;
|
||||
// we have to re-auth as admin to get stats, which are validated at the end of assertSuccess
|
||||
assertSuccess({user: "admin", pwd: "pwd"}, "SCRAM-SHA-256", admin);
|
||||
}
|
||||
@ -92,8 +84,8 @@ function assertFailureInternal() {
|
||||
const mech = "SCRAM-SHA-256";
|
||||
// If asCluster fails, it explodes.
|
||||
assert.throws(authutil.asCluster, [replTest.nodes, badKeyfile, () => true]);
|
||||
++expected[mech].ingress.authenticate.total;
|
||||
++expected[mech].ingress.clusterAuthenticate.total;
|
||||
++expected[mech].authenticate.received;
|
||||
++expected[mech].clusterAuthenticate.received;
|
||||
// we have to re-auth as admin to get stats, which are validated at the end of assertSuccess
|
||||
assertSuccess({user: "admin", pwd: "pwd"}, "SCRAM-SHA-256", admin);
|
||||
assertStats();
|
||||
|
||||
@ -12,7 +12,7 @@ function authnSuccessIncrementsServerStatusTotalAuthTime(mongodRunner) {
|
||||
admin.auth("admin", "pwd");
|
||||
|
||||
const expected = assert.commandWorked(admin.runCommand({serverStatus: 1})).security.authentication
|
||||
.totalIngressAuthenticationTimeMicros;
|
||||
.totalAuthenticationTimeMicros;
|
||||
|
||||
assert.gte(expected, 0);
|
||||
|
||||
@ -21,7 +21,7 @@ function authnSuccessIncrementsServerStatusTotalAuthTime(mongodRunner) {
|
||||
admin.auth("admin", "pwd");
|
||||
|
||||
const nextExpected = assert.commandWorked(admin.runCommand({serverStatus: 1})).security.authentication
|
||||
.totalIngressAuthenticationTimeMicros;
|
||||
.totalAuthenticationTimeMicros;
|
||||
|
||||
assert.gt(nextExpected, expected);
|
||||
|
||||
@ -38,14 +38,14 @@ function authnFailureIncrementsServerStatusTotalAuthTime(mongodRunner) {
|
||||
|
||||
// Count the number of authentications performed during setup
|
||||
const expected = assert.commandWorked(admin.runCommand({serverStatus: 1})).security.authentication
|
||||
.totalIngressAuthenticationTimeMicros;
|
||||
.totalAuthenticationTimeMicros;
|
||||
|
||||
assert.gte(expected, 0);
|
||||
|
||||
admin.auth("admin", "wrong");
|
||||
|
||||
const nextExpected = assert.commandWorked(admin.runCommand({serverStatus: 1})).security.authentication
|
||||
.totalIngressAuthenticationTimeMicros;
|
||||
.totalAuthenticationTimeMicros;
|
||||
|
||||
assert.gt(nextExpected, expected);
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Tests that client-side SASL authentication using SCRAM-SHA-256 produces the expected connection
|
||||
* health log lines and increments the auth counter as expected.
|
||||
* health log lines.
|
||||
*/
|
||||
|
||||
import {ShardingTest} from "jstests/libs/shardingtest.js";
|
||||
@ -19,153 +19,69 @@ const st = new ShardingTest({
|
||||
},
|
||||
});
|
||||
|
||||
// Make admin user so we can fetch server status
|
||||
const admin = st.s.getDB("admin");
|
||||
admin.createUser({
|
||||
user: "root",
|
||||
pwd: "pass",
|
||||
roles: ["root"],
|
||||
});
|
||||
assert.eq(1, admin.auth("root", "pass"), "Authentication for root user failed");
|
||||
|
||||
jsTest.log.info("Check secondary config servers for authentication logs");
|
||||
st.configRS.getSecondaries().forEach((conn) => {
|
||||
// Get per-mech auth counter stats from serverStatus
|
||||
const admin = conn.getDB("admin");
|
||||
assert.soon(() => admin.auth("root", "pass"), "Authentication for root user failed on " + conn.host);
|
||||
const stats = assert.commandWorked(admin.runCommand({serverStatus: 1})).security.authentication;
|
||||
jsTest.log.info("Authn stats: " + tojson(stats));
|
||||
assert.gt(stats.totalEgressAuthenticationTimeMicros, 0);
|
||||
|
||||
const mechStats = stats.mechanisms;
|
||||
let egressAuthSuccesses, egressSpecAuthSuccesses;
|
||||
// We should see egress SCRAM-SHA-256 auths and speculative auths, and no other egress auths
|
||||
for (const [mech, stats] of Object.entries(mechStats)) {
|
||||
if (mech === "SCRAM-SHA-256") {
|
||||
egressAuthSuccesses = stats.egress.authenticate.successful;
|
||||
egressSpecAuthSuccesses = stats.egress.speculativeAuthenticate.successful;
|
||||
assert.gte(
|
||||
egressAuthSuccesses,
|
||||
1,
|
||||
"Expected at least one egress SCRAM-SHA-256 authenticate success on " + conn.host,
|
||||
);
|
||||
assert.gte(
|
||||
egressSpecAuthSuccesses,
|
||||
1,
|
||||
"Expected at least one egress SCRAM-SHA-256 speculativeAuthenticate success on " + conn.host,
|
||||
);
|
||||
assert.eq(
|
||||
egressAuthSuccesses,
|
||||
stats.egress.authenticate.total,
|
||||
"SCRAM-SHA-256 egress authenticate successful count should equal total on " + conn.host,
|
||||
);
|
||||
assert.eq(
|
||||
egressSpecAuthSuccesses,
|
||||
stats.egress.speculativeAuthenticate.total,
|
||||
"SCRAM-SHA-256 egress speculativeAuthenticate successful count should equal total on " + conn.host,
|
||||
);
|
||||
} else {
|
||||
assert.eq(
|
||||
stats.egress.authenticate.total,
|
||||
0,
|
||||
"Mechanism " + mech + " should have no egress authenticate attempts on " + conn.host,
|
||||
);
|
||||
assert.eq(
|
||||
stats.egress.speculativeAuthenticate.total,
|
||||
0,
|
||||
"Mechanism " + mech + " should have no egress speculativeAuthenticate attempts on " + conn.host,
|
||||
);
|
||||
assert.eq(
|
||||
stats.ingress.authenticate.total,
|
||||
0,
|
||||
"Mechanism " + mech + " should have no ingress authenticate attempts on " + conn.host,
|
||||
);
|
||||
assert.eq(
|
||||
stats.ingress.speculativeAuthenticate.total,
|
||||
0,
|
||||
"Mechanism " + mech + " should have no ingress speculativeAuthenticate attempts on " + conn.host,
|
||||
);
|
||||
assert.eq(
|
||||
stats.ingress.clusterAuthenticate.total,
|
||||
0,
|
||||
"Mechanism " + mech + " should have no ingress clusterAuthenticate attempts on " + conn.host,
|
||||
);
|
||||
}
|
||||
}
|
||||
// Check that egress speculative/normal auths are all logged, and that the counts match those
|
||||
// returned by serverStatus.
|
||||
// getLog pulls a maximum of 1024 entries, which is sometimes not enough to find intra-cluster
|
||||
// auth logs because startup is noisy. Instead, we search the log file directly.
|
||||
const specSuccessMessages = checkLog.getFilteredLogMessages(
|
||||
conn.fullOptions.logFile,
|
||||
kClientSaslSpeculativeSuccessLogId,
|
||||
{
|
||||
"username": "__system",
|
||||
"targetDatabase": "local",
|
||||
"mechanism": "SCRAM-SHA-256",
|
||||
"result": 0,
|
||||
"metrics": {
|
||||
"conversation_duration": {
|
||||
// Speculative auth doesn't record steps
|
||||
"summary": {},
|
||||
},
|
||||
},
|
||||
},
|
||||
null /* severity */,
|
||||
true /* isRelaxed */,
|
||||
);
|
||||
assert.gte(
|
||||
specSuccessMessages.length,
|
||||
1,
|
||||
`Did not find SASL speculative success log for __system@local on secondary config server ${conn.host}`,
|
||||
);
|
||||
const successMessages = checkLog.getFilteredLogMessages(
|
||||
conn.fullOptions.logFile,
|
||||
kClientSaslSuccessLogId,
|
||||
{
|
||||
"username": "__system",
|
||||
"targetDatabase": "local",
|
||||
"mechanism": "SCRAM-SHA-256",
|
||||
"result": 0,
|
||||
"metrics": {
|
||||
"conversation_duration": {
|
||||
"summary": {
|
||||
// Validate that SCRAM-SHA-256 has 3 steps
|
||||
"0": {
|
||||
"step": 1,
|
||||
"step_total": 3,
|
||||
},
|
||||
"1": {
|
||||
"step": 2,
|
||||
"step_total": 3,
|
||||
},
|
||||
"2": {
|
||||
"step": 3,
|
||||
"step_total": 3,
|
||||
assert.soon(
|
||||
() =>
|
||||
checkLog.checkContainsWithAtLeastCountJson(
|
||||
conn.fullOptions.logFile,
|
||||
kClientSaslSpeculativeSuccessLogId,
|
||||
{
|
||||
"username": "__system",
|
||||
"targetDatabase": "local",
|
||||
"mechanism": "SCRAM-SHA-256",
|
||||
"result": 0,
|
||||
"metrics": {
|
||||
"conversation_duration": {
|
||||
// Speculative auth doesn't record steps
|
||||
"summary": {},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
null /* severity */,
|
||||
true /* isRelaxed */,
|
||||
1 /* expectedCount */,
|
||||
null /* severity */,
|
||||
true /* isRelaxed */,
|
||||
),
|
||||
`Did not find SASL speculative success log for __system@local on secondary config server ${conn.host}`,
|
||||
);
|
||||
assert.gte(
|
||||
successMessages.length,
|
||||
1,
|
||||
assert.soon(
|
||||
() =>
|
||||
checkLog.checkContainsWithAtLeastCountJson(
|
||||
conn.fullOptions.logFile,
|
||||
kClientSaslSuccessLogId,
|
||||
{
|
||||
"username": "__system",
|
||||
"targetDatabase": "local",
|
||||
"mechanism": "SCRAM-SHA-256",
|
||||
"result": 0,
|
||||
"metrics": {
|
||||
"conversation_duration": {
|
||||
"summary": {
|
||||
// Validate that SCRAM-SHA-256 has 3 steps
|
||||
"0": {
|
||||
"step": 1,
|
||||
"step_total": 3,
|
||||
},
|
||||
"1": {
|
||||
"step": 2,
|
||||
"step_total": 3,
|
||||
},
|
||||
"2": {
|
||||
"step": 3,
|
||||
"step_total": 3,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
1 /* expectedCount */,
|
||||
null /* severity */,
|
||||
true /* isRelaxed */,
|
||||
),
|
||||
`Did not find SASL success log for __system@local on secondary config server ${conn.host}`,
|
||||
);
|
||||
|
||||
assert.lte(
|
||||
Math.abs(egressAuthSuccesses - (specSuccessMessages.length + successMessages.length)),
|
||||
2,
|
||||
"Egress auth success count should be roughly sum of speculative and normal auth log messages on " + conn.host,
|
||||
);
|
||||
assert.lte(
|
||||
Math.abs(egressSpecAuthSuccesses - specSuccessMessages.length),
|
||||
2,
|
||||
"Egress speculative auth success count should be roughly speculative success log message count on " + conn.host,
|
||||
);
|
||||
});
|
||||
|
||||
st.stop();
|
||||
|
||||
@ -4,11 +4,10 @@
|
||||
|
||||
import {ReplSetTest} from "jstests/libs/replsettest.js";
|
||||
|
||||
const kIngressAuthenticationSuccessfulLogId = 5286306;
|
||||
const kIngressAuthenticationFailedLogId = 5286307;
|
||||
const kEgressSpeculativeAuthenticationSuccessfulLogId = 10748710;
|
||||
const kAuthenticationSuccessfulLogId = 5286306;
|
||||
const kAuthenticationFailedLogId = 5286307;
|
||||
|
||||
function countIngressAuthInLog(conn) {
|
||||
function countAuthInLog(conn) {
|
||||
let logCounts = {speculative: 0, cluster: 0, speculativeCluster: 0};
|
||||
|
||||
cat(conn.fullOptions.logFile)
|
||||
@ -17,7 +16,7 @@ function countIngressAuthInLog(conn) {
|
||||
.forEach((line) => {
|
||||
// Iterate through the log and verify our auth.
|
||||
const entry = JSON.parse(line);
|
||||
if (entry.id === kIngressAuthenticationSuccessfulLogId) {
|
||||
if (entry.id === kAuthenticationSuccessfulLogId) {
|
||||
// Successful auth.
|
||||
if (entry.attr.isSpeculative) {
|
||||
logCounts.speculative += 1;
|
||||
@ -28,7 +27,7 @@ function countIngressAuthInLog(conn) {
|
||||
if (entry.attr.isSpeculative && entry.attr.isClusterMember) {
|
||||
logCounts.speculativeCluster += 1;
|
||||
}
|
||||
} else if (entry.id === kIngressAuthenticationFailedLogId) {
|
||||
} else if (entry.id === kAuthenticationFailedLogId) {
|
||||
// Authentication can fail legitimately because the secondary abandons the connection
|
||||
// during shutdown - if we do encounter an authentication failure in the log, make sure
|
||||
// that it is only of this type, fail anything else
|
||||
@ -43,24 +42,6 @@ function countIngressAuthInLog(conn) {
|
||||
return logCounts;
|
||||
}
|
||||
|
||||
function countEgressAuthInLog(conn) {
|
||||
let speculateLogCount = 0;
|
||||
|
||||
cat(conn.fullOptions.logFile)
|
||||
.trim()
|
||||
.split("\n")
|
||||
.forEach((line) => {
|
||||
const entry = JSON.parse(line);
|
||||
if (entry.id === kEgressSpeculativeAuthenticationSuccessfulLogId) {
|
||||
// Successful speculative auth.
|
||||
speculateLogCount += 1;
|
||||
}
|
||||
});
|
||||
|
||||
print(`Found ${speculateLogCount} log entries for egress speculative authentication`);
|
||||
return speculateLogCount;
|
||||
}
|
||||
|
||||
const rst = new ReplSetTest({
|
||||
nodes: 1,
|
||||
nodeOptions: {
|
||||
@ -101,18 +82,15 @@ assert(initialMechStats["SCRAM-SHA-256"] !== undefined);
|
||||
// because we authenticated as `admin` using the shell helpers.
|
||||
// Because of the simple cluster topology, we should have no intracluster authentication attempts.
|
||||
Object.keys(initialMechStats).forEach(function (mech) {
|
||||
const specIngressStats = initialMechStats[mech].ingress.speculativeAuthenticate;
|
||||
const specEgressStats = initialMechStats[mech].egress.speculativeAuthenticate;
|
||||
const clusterStats = initialMechStats[mech].ingress.clusterAuthenticate;
|
||||
const specStats = initialMechStats[mech].speculativeAuthenticate;
|
||||
const clusterStats = initialMechStats[mech].clusterAuthenticate;
|
||||
|
||||
// No speculation has occured
|
||||
assert.eq(specIngressStats.total, 0);
|
||||
assert.eq(specEgressStats.total, 0);
|
||||
assert.eq(specStats.received, 0);
|
||||
|
||||
// Statistics should be consistent for all mechanisms
|
||||
assert.eq(specIngressStats.total, specIngressStats.successful);
|
||||
assert.eq(specEgressStats.total, specEgressStats.successful);
|
||||
assert.eq(clusterStats.total, clusterStats.successful);
|
||||
assert.eq(specStats.received, specStats.successful);
|
||||
assert.eq(clusterStats.received, clusterStats.successful);
|
||||
});
|
||||
|
||||
{
|
||||
@ -135,54 +113,32 @@ Object.keys(initialMechStats).forEach(function (mech) {
|
||||
}
|
||||
|
||||
{
|
||||
// Speculative and cluster auth counts should align with the authentication
|
||||
// events in the server log.
|
||||
let ingressLogCounts = countIngressAuthInLog(admin.getMongo());
|
||||
let egressSpecLogCount = countEgressAuthInLog(admin.getMongo());
|
||||
|
||||
// Capture new statistics, and assert that they're consistent.
|
||||
let newMechStats = getMechStats(admin);
|
||||
printjson(newMechStats);
|
||||
|
||||
// Speculative and cluster statistics should be incremented by intracluster auth.
|
||||
assert.gt(
|
||||
newMechStats["SCRAM-SHA-256"].ingress.speculativeAuthenticate.successful,
|
||||
initialMechStats["SCRAM-SHA-256"].ingress.speculativeAuthenticate.successful,
|
||||
newMechStats["SCRAM-SHA-256"].speculativeAuthenticate.successful,
|
||||
initialMechStats["SCRAM-SHA-256"].speculativeAuthenticate.successful,
|
||||
);
|
||||
assert.gt(
|
||||
newMechStats["SCRAM-SHA-256"].egress.speculativeAuthenticate.successful,
|
||||
initialMechStats["SCRAM-SHA-256"].egress.speculativeAuthenticate.successful,
|
||||
);
|
||||
assert.gt(
|
||||
newMechStats["SCRAM-SHA-256"].ingress.clusterAuthenticate.successful,
|
||||
initialMechStats["SCRAM-SHA-256"].ingress.clusterAuthenticate.successful,
|
||||
);
|
||||
assert.gt(
|
||||
newMechStats["SCRAM-SHA-256"].egress.authenticate.successful,
|
||||
initialMechStats["SCRAM-SHA-256"].egress.authenticate.successful,
|
||||
newMechStats["SCRAM-SHA-256"].clusterAuthenticate.successful,
|
||||
initialMechStats["SCRAM-SHA-256"].clusterAuthenticate.successful,
|
||||
);
|
||||
|
||||
// Assert that the number of authentication logs is roughly equal to what the stats report. We are not strict with this because of the inevitable race between when we read the log and when we get server stats.
|
||||
assert.lte(
|
||||
Math.abs(
|
||||
ingressLogCounts.speculative -
|
||||
(newMechStats["SCRAM-SHA-256"].ingress.speculativeAuthenticate.successful -
|
||||
initialMechStats["SCRAM-SHA-256"].ingress.speculativeAuthenticate.successful),
|
||||
),
|
||||
2,
|
||||
);
|
||||
// Speculative and cluster auth counts should align with the authentication
|
||||
// events in the server log.
|
||||
let logCounts = countAuthInLog(admin.getMongo());
|
||||
|
||||
assert.lte(
|
||||
Math.abs(
|
||||
egressSpecLogCount -
|
||||
(newMechStats["SCRAM-SHA-256"].egress.speculativeAuthenticate.successful -
|
||||
initialMechStats["SCRAM-SHA-256"].egress.speculativeAuthenticate.successful),
|
||||
),
|
||||
2,
|
||||
assert.eq(
|
||||
logCounts.speculative,
|
||||
newMechStats["SCRAM-SHA-256"].speculativeAuthenticate.successful -
|
||||
initialMechStats["SCRAM-SHA-256"].speculativeAuthenticate.successful,
|
||||
);
|
||||
|
||||
assert.gt(
|
||||
ingressLogCounts.speculativeCluster,
|
||||
logCounts.speculativeCluster,
|
||||
0,
|
||||
"Expected to observe at least one speculative cluster authentication attempt",
|
||||
);
|
||||
@ -192,8 +148,8 @@ Object.keys(initialMechStats).forEach(function (mech) {
|
||||
const kClusterCountRetryIntervalMS = 5 * 1000;
|
||||
assert.retry(
|
||||
function () {
|
||||
const logCount = ingressLogCounts.cluster;
|
||||
const mechStatCount = newMechStats["SCRAM-SHA-256"].ingress.clusterAuthenticate.successful;
|
||||
const logCount = logCounts.cluster;
|
||||
const mechStatCount = newMechStats["SCRAM-SHA-256"].clusterAuthenticate.successful;
|
||||
if (logCount == mechStatCount) {
|
||||
return true;
|
||||
}
|
||||
@ -203,7 +159,7 @@ Object.keys(initialMechStats).forEach(function (mech) {
|
||||
// Repoll values for a retry.
|
||||
jsTest.log("Cluster counts mismatched: " + logCount + " != " + mechStatCount);
|
||||
newMechStats = getMechStats(admin);
|
||||
ingressLogCounts = countIngressAuthInLog(admin.getMongo());
|
||||
logCounts = countAuthInLog(admin.getMongo());
|
||||
return false;
|
||||
},
|
||||
"Cluster counts never stabilized",
|
||||
|
||||
@ -29,19 +29,19 @@ function test(uri, incrMech, isClusterAuth = false) {
|
||||
const inc = mech === incrMech ? 1 : 0;
|
||||
const clusterInc = mech === incrMech && isClusterAuth ? 1 : 0;
|
||||
|
||||
const specBefore = lastStats[mech].ingress.speculativeAuthenticate;
|
||||
const specAfter = stats[mech].ingress.speculativeAuthenticate;
|
||||
assert.eq(specAfter.total, specBefore.total + inc);
|
||||
const specBefore = lastStats[mech].speculativeAuthenticate;
|
||||
const specAfter = stats[mech].speculativeAuthenticate;
|
||||
assert.eq(specAfter.received, specBefore.received + inc);
|
||||
assert.eq(specAfter.successful, specBefore.successful + inc);
|
||||
|
||||
const clusterBefore = lastStats[mech].ingress.clusterAuthenticate;
|
||||
const clusterAfter = stats[mech].ingress.clusterAuthenticate;
|
||||
assert.eq(clusterAfter.total, clusterBefore.total + clusterInc);
|
||||
const clusterBefore = lastStats[mech].clusterAuthenticate;
|
||||
const clusterAfter = stats[mech].clusterAuthenticate;
|
||||
assert.eq(clusterAfter.received, clusterBefore.received + clusterInc);
|
||||
assert.eq(clusterAfter.successful, clusterBefore.successful + clusterInc);
|
||||
|
||||
const allBefore = lastStats[mech].ingress.authenticate;
|
||||
const allAfter = stats[mech].ingress.authenticate;
|
||||
assert.eq(allAfter.total, allBefore.total + inc);
|
||||
const allBefore = lastStats[mech].authenticate;
|
||||
const allAfter = stats[mech].authenticate;
|
||||
assert.eq(allAfter.received, allBefore.received + inc);
|
||||
assert.eq(allAfter.successful, allBefore.successful + inc);
|
||||
});
|
||||
} catch (e) {
|
||||
|
||||
@ -25,8 +25,8 @@ function assertStats(cb) {
|
||||
// No speculative auth attempts yet.
|
||||
assertStats(function (mechStats) {
|
||||
Object.keys(mechStats).forEach(function (mech) {
|
||||
const stats = mechStats[mech].ingress.speculativeAuthenticate;
|
||||
assert.eq(stats.total, 0);
|
||||
const stats = mechStats[mech].speculativeAuthenticate;
|
||||
assert.eq(stats.received, 0);
|
||||
assert.eq(stats.successful, 0);
|
||||
});
|
||||
});
|
||||
@ -34,18 +34,18 @@ assertStats(function (mechStats) {
|
||||
// No "intra-cluster" auth attempts yet.
|
||||
assertStats(function (mechStats) {
|
||||
Object.keys(mechStats).forEach(function (mech) {
|
||||
const stats = mechStats[mech].ingress.clusterAuthenticate;
|
||||
assert.eq(stats.total, 0);
|
||||
const stats = mechStats[mech].clusterAuthenticate;
|
||||
assert.eq(stats.received, 0);
|
||||
assert.eq(stats.successful, 0);
|
||||
});
|
||||
});
|
||||
|
||||
function expectN(mechStats, mech, N1, M1, N2 = 0, M2 = 0) {
|
||||
const specStats = mechStats[mech].ingress.speculativeAuthenticate;
|
||||
const clusterStats = mechStats[mech].ingress.clusterAuthenticate;
|
||||
assert.eq(N1, specStats.total);
|
||||
const specStats = mechStats[mech].speculativeAuthenticate;
|
||||
const clusterStats = mechStats[mech].clusterAuthenticate;
|
||||
assert.eq(N1, specStats.received);
|
||||
assert.eq(M1, specStats.successful);
|
||||
assert.eq(N2, clusterStats.total);
|
||||
assert.eq(N2, clusterStats.received);
|
||||
assert.eq(M2, clusterStats.successful);
|
||||
}
|
||||
|
||||
|
||||
@ -19,3 +19,23 @@ assert.commandWorked(db.fs.chunks.insert({files_id: 2, n: 0}));
|
||||
assert.commandFailedWithCode(db.runCommand({filemd5: 2, root: "fs"}), 50848);
|
||||
assert.commandWorked(db.fs.chunks.update({files_id: 2, n: 0}, {$set: {data: 5}}));
|
||||
assert.commandFailedWithCode(db.runCommand({filemd5: 2, root: "fs"}), 50849);
|
||||
|
||||
{
|
||||
const result = assert.commandWorked(
|
||||
db.runCommand({
|
||||
filemd5: ObjectId("000000000000000000000000"),
|
||||
root: "fs",
|
||||
partialOk: true,
|
||||
}),
|
||||
);
|
||||
|
||||
assert(result.md5state !== undefined, "Expected md5state in filemd5 response with partialOk: true");
|
||||
const hex = result.md5state.hex();
|
||||
const totalBytes = hex.length / 2;
|
||||
assert.gt(totalBytes, 100, "md5state expected to be larger than 100 bytes");
|
||||
|
||||
const checkFromByte = 100;
|
||||
const paddingHex = hex.substring(checkFromByte * 2);
|
||||
const allZeros = "0".repeat(paddingHex.length);
|
||||
assert.eq(paddingHex, allZeros, "md5state expected to be zero padded");
|
||||
}
|
||||
|
||||
@ -0,0 +1,34 @@
|
||||
/**
|
||||
* Ensure that replanning a rooted $or query does not trigger subplanning.
|
||||
* TODO SERVER-120492: Delete this test if the subplanning restriction can be lifted.
|
||||
* @tags: [requires_getmore]
|
||||
*/
|
||||
const collName = jsTestName();
|
||||
const coll = db[collName];
|
||||
coll.drop();
|
||||
coll.insert({a: 2, b: 3});
|
||||
|
||||
coll.createIndex({a: 1});
|
||||
coll.createIndex({b: 1});
|
||||
|
||||
function runQuery() {
|
||||
coll.find({$or: [{a: 2}, {b: 3}]})
|
||||
.sort({_id: 1})
|
||||
.toArray();
|
||||
}
|
||||
|
||||
// Cache the plan.
|
||||
runQuery();
|
||||
runQuery();
|
||||
|
||||
// Adding more documents will trigger replanning for the same query since
|
||||
// the number of works needed will drastically increase from the value
|
||||
// that's stored in the cache.
|
||||
const docs = [];
|
||||
for (let i = 0; i < 10000; i++) {
|
||||
docs.push({a: 2, b: 3});
|
||||
}
|
||||
coll.insertMany(docs);
|
||||
|
||||
// Trigger replanning, ensuring that it succeeds.
|
||||
runQuery();
|
||||
@ -136,14 +136,16 @@ function assertCollectionsQueryable(db) {
|
||||
}
|
||||
|
||||
testPerformReplSetRollingRestart({
|
||||
// support for $-prefixed timeField/metaField was removed in 8.3
|
||||
// Support for $-prefixed timeField/metaField was removed in v8.3.
|
||||
startingVersion: {binVersion: "last-lts"},
|
||||
setupFn: setUp,
|
||||
beforeRestart: () => {},
|
||||
afterSecondariesHaveRestarted: (primaryConnection, originalPrimary) => {
|
||||
// Create on the node that wasn't restarted (still on last-lts).
|
||||
assertCreateDollarCollectionsWorks(getDB(originalPrimary));
|
||||
assertCollectionsQueryable(getDB(primaryConnection));
|
||||
afterSecondariesHaveRestarted: (primaryConnection) => {
|
||||
// Check that collections can be created and queried while secondaries are on the new
|
||||
// version and primaries are on the old version.
|
||||
const db = getDB(primaryConnection);
|
||||
assertCreateDollarCollectionsWorks(db);
|
||||
assertCollectionsQueryable(db);
|
||||
},
|
||||
afterPrimariesHaveRestarted: (primaryConnection) => {
|
||||
const db = getDB(primaryConnection);
|
||||
|
||||
@ -5,7 +5,8 @@
|
||||
* TODO (SERVER-98118): Remove this test.
|
||||
*
|
||||
* @tags: [
|
||||
* requires_fcv_83,
|
||||
* featureFlagShardAuthoritativeDbMetadataCRUD,
|
||||
* featureFlagShardAuthoritativeDbMetadataDDL,
|
||||
* ]
|
||||
*/
|
||||
import {FeatureFlagUtil} from "jstests/libs/feature_flag_util.js";
|
||||
|
||||
@ -52,6 +52,9 @@ export function testPerformReplSetRollingRestart({
|
||||
{
|
||||
...startingVersion,
|
||||
},
|
||||
{
|
||||
...startingVersion,
|
||||
},
|
||||
],
|
||||
// Create a copy of the options since the callee may modify them.
|
||||
nodeOptions: copyJSON(startingNodeOptions),
|
||||
@ -76,15 +79,11 @@ export function testPerformReplSetRollingRestart({
|
||||
" and options " +
|
||||
tojsononeline(restartNodeOptions),
|
||||
);
|
||||
// Save a reference to the node that was primary before restarting secondaries. Pass it to the
|
||||
// callback so tests can run operations that only the old version supports; the current primary
|
||||
// after upgradeSecondaries() may be the restarted node in a 2-node set.
|
||||
const originalPrimary = primaryConnection;
|
||||
rst.upgradeSecondaries({...restartVersion, ...copyJSON(restartNodeOptions)});
|
||||
primaryConnection = rst.getPrimary();
|
||||
|
||||
jsTest.log.info("Calling the afterSecondariesHaveRestarted function");
|
||||
afterSecondariesHaveRestarted(primaryConnection, originalPrimary);
|
||||
afterSecondariesHaveRestarted(primaryConnection);
|
||||
|
||||
// TODO SERVER-109457 Try a scenario where you force election here so that the restarted
|
||||
// secondary could become primary while another active secondary has not restarted yet. This
|
||||
|
||||
@ -4,7 +4,8 @@
|
||||
* collection.
|
||||
*
|
||||
* @tags: [
|
||||
* requires_fcv_83,
|
||||
* featureFlagShardAuthoritativeDbMetadataCRUD,
|
||||
* featureFlagShardAuthoritativeDbMetadataDDL,
|
||||
* ]
|
||||
*/
|
||||
|
||||
|
||||
@ -8,7 +8,8 @@
|
||||
* upgrade procedure.
|
||||
*
|
||||
* @tags: [
|
||||
* requires_fcv_83,
|
||||
* featureFlagShardAuthoritativeDbMetadataCRUD,
|
||||
* featureFlagShardAuthoritativeDbMetadataDDL,
|
||||
* ]
|
||||
*/
|
||||
|
||||
|
||||
@ -5,7 +5,8 @@
|
||||
* because the restarted node relies on the replica set config persisted to disk to know that it
|
||||
* is initialized as part of a replica set and should run for election.
|
||||
* @tags: [
|
||||
* requires_fcv_83,
|
||||
* featureFlagShardAuthoritativeDbMetadataCRUD,
|
||||
* featureFlagShardAuthoritativeDbMetadataDDL,
|
||||
* requires_persistence,
|
||||
* ]
|
||||
*/
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
* Test getDatabaseVersion command after the effects of database DDLs.
|
||||
*
|
||||
* @tags: [
|
||||
* requires_fcv_83,
|
||||
* featureFlagShardAuthoritativeDbMetadataCRUD,
|
||||
* featureFlagShardAuthoritativeDbMetadataDDL,
|
||||
* ]
|
||||
*/
|
||||
|
||||
|
||||
@ -59,8 +59,15 @@ function getShardingStats(conn) {
|
||||
return conn.getDB("admin").serverStatus().shardingStatistics.shards[shardId];
|
||||
}
|
||||
|
||||
function runTestOnlyPrimaryFails(commandName, command, readPref, mongos, shard) {
|
||||
jsTestLog("Running primary-failure test with command '" + commandName + "' and read preference '" + readPref + "'");
|
||||
function runTestOnlyPrimaryFails(commandName, command, readPref, mongos, shard, overloadRetargeting) {
|
||||
jsTestLog(
|
||||
"Running primary-failure test with command '" +
|
||||
commandName +
|
||||
"', read preference '" +
|
||||
readPref +
|
||||
"', retargeting: " +
|
||||
overloadRetargeting,
|
||||
);
|
||||
|
||||
// Iniitial request must target the primary in these tests.
|
||||
assert(!readPref || ["primary", "primaryPreferred"].includes(readPref));
|
||||
@ -89,20 +96,26 @@ function runTestOnlyPrimaryFails(commandName, command, readPref, mongos, shard)
|
||||
assert.eq(shardStatsDiff.numOperationsRetriedAtLeastOnceDueToOverloadAndSucceeded, 1);
|
||||
assert.gt(shardStatsDiff.totalBackoffTimeMillis, 0);
|
||||
|
||||
if (!readPref || readPref == "primary") {
|
||||
// Without overloadRetargeting, all commands are routed to the primary.
|
||||
if (!readPref || readPref == "primary" || !overloadRetargeting) {
|
||||
assert.eq(shardStatsDiff.numRetriesDueToOverloadAttempted, kNumFailures);
|
||||
assert.eq(shardStatsDiff.numOverloadErrorsReceived, kNumFailures);
|
||||
assert.eq(shardStatsDiff.numRetriesRetargetedDueToOverload, 0);
|
||||
} else if (readPref == "primaryPreferred") {
|
||||
} else if (readPref == "primaryPreferred" && overloadRetargeting) {
|
||||
assert.eq(shardStatsDiff.numRetriesDueToOverloadAttempted, 1);
|
||||
assert.eq(shardStatsDiff.numOverloadErrorsReceived, 1);
|
||||
assert.eq(shardStatsDiff.numRetriesRetargetedDueToOverload, 1);
|
||||
}
|
||||
}
|
||||
|
||||
function runTestAllNodesFail(commandName, command, readPref, mongos, shard) {
|
||||
function runTestAllNodesFail(commandName, command, readPref, mongos, shard, overloadRetargeting) {
|
||||
jsTestLog(
|
||||
"Running all-nodes-failure test with command '" + commandName + "' and read preference '" + readPref + "'",
|
||||
"Running all-nodes-failure test with command '" +
|
||||
commandName +
|
||||
"', read preference '" +
|
||||
readPref +
|
||||
"', retargeting: " +
|
||||
overloadRetargeting,
|
||||
);
|
||||
const initialShardStats = getShardingStats(mongos);
|
||||
|
||||
@ -131,25 +144,30 @@ function runTestAllNodesFail(commandName, command, readPref, mongos, shard) {
|
||||
assert.eq(shardStatsDiff.numOperationsRetriedAtLeastOnceDueToOverload, 1);
|
||||
assert.eq(shardStatsDiff.numOperationsRetriedAtLeastOnceDueToOverloadAndSucceeded, 1);
|
||||
assert.gt(shardStatsDiff.totalBackoffTimeMillis, 0);
|
||||
// Each error should be associated with a retry.
|
||||
assert.eq(shardStatsDiff.numOverloadErrorsReceived, shardStatsDiff.numRetriesDueToOverloadAttempted);
|
||||
|
||||
if (!readPref || readPref === "primary") {
|
||||
if (!readPref || readPref === "primary" || (readPref === "primaryPreferred" && !overloadRetargeting)) {
|
||||
// All retries will be performed against the same primary.
|
||||
assert.eq(shardStatsDiff.numRetriesDueToOverloadAttempted, kNumFailures);
|
||||
assert.eq(shardStatsDiff.numRetriesRetargetedDueToOverload, 0);
|
||||
assert.eq(shardStatsDiff.numOverloadErrorsReceived, kNumFailures);
|
||||
} else if (readPref === "secondary") {
|
||||
} else if (readPref === "secondary" && overloadRetargeting) {
|
||||
// If we can only retry on secondaries, we retry on each secondary once.
|
||||
assert.eq(shardStatsDiff.numRetriesDueToOverloadAttempted, shard.nodes.length - 1);
|
||||
// One of these retries will be on a secondary we already attempted, since we will have run out of other secondaries to try.
|
||||
// One of these retries will be on a secondary we already attempted, since we will have run out of
|
||||
// other secondaries to try.
|
||||
assert.eq(shardStatsDiff.numRetriesRetargetedDueToOverload, shard.nodes.length - 1 - 1);
|
||||
// Each secondary will have returned an overloaded error exactly once.
|
||||
assert.eq(shardStatsDiff.numOverloadErrorsReceived, shard.nodes.length - 1);
|
||||
} else {
|
||||
// For all other read preferences, we retry once on each node.
|
||||
} else if (overloadRetargeting) {
|
||||
// All other read preferences can select all nodes, so with retargeting we retry once on each node.
|
||||
assert.eq(shardStatsDiff.numRetriesDueToOverloadAttempted, shard.nodes.length);
|
||||
// Each retry will avoid a previously selected server except for the last one, which must choose an already deprioritized secondary.
|
||||
// Each retry will avoid a previously selected server except for the last one, which must choose an already
|
||||
// deprioritized secondary.
|
||||
assert.eq(shardStatsDiff.numRetriesRetargetedDueToOverload, shard.nodes.length - 1);
|
||||
// Each node will have returned an overloaded error exactly once.
|
||||
assert.eq(shardStatsDiff.numOverloadErrorsReceived, shard.nodes.length);
|
||||
} else {
|
||||
// Without retargeting, we retry at least kNumFailures times, which only occurs if we happen to
|
||||
// reselect the same server.
|
||||
assert.gte(shardStatsDiff.numRetriesDueToOverloadAttempted, kNumFailures);
|
||||
assert.eq(shardStatsDiff.numRetriesRetargetedDueToOverload, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@ -198,7 +216,7 @@ function runTestSharded() {
|
||||
]),
|
||||
);
|
||||
|
||||
const readPrefs = [null, "primary", "secondary", "secondaryPreferred", "nearest"];
|
||||
const readPrefs = [null, "primary", "primaryPreferred", "secondary", "secondaryPreferred", "nearest"];
|
||||
|
||||
const readCommands = [
|
||||
["find", {find: kCollName, filter: {name: "test0"}}],
|
||||
@ -226,24 +244,29 @@ function runTestSharded() {
|
||||
],
|
||||
];
|
||||
|
||||
jsTestLog("Testing retry behavior when every node in the shard fails.");
|
||||
for (let readPref of readPrefs) {
|
||||
for (let readCommand of readCommands) {
|
||||
runTestAllNodesFail(readCommand[0], readCommand[1], readPref, st.s, shard);
|
||||
for (let overloadRetargeting of [false, true]) {
|
||||
jsTestLog(
|
||||
"Testing retry behavior when every node in the shard fails. (retargeting: " + overloadRetargeting + ")",
|
||||
);
|
||||
st.s.adminCommand({setParameter: 1, overloadAwareServerSelectionEnabled: overloadRetargeting});
|
||||
for (let readPref of readPrefs) {
|
||||
for (let readCommand of readCommands) {
|
||||
runTestAllNodesFail(readCommand[0], readCommand[1], readPref, st.s, shard, overloadRetargeting);
|
||||
}
|
||||
}
|
||||
for (let writeCommand of writeCommands) {
|
||||
runTestAllNodesFail(writeCommand[0], writeCommand[1], null, st.s, shard);
|
||||
}
|
||||
}
|
||||
for (let writeCommand of writeCommands) {
|
||||
runTestAllNodesFail(writeCommand[0], writeCommand[1], null, st.s, shard);
|
||||
}
|
||||
|
||||
jsTestLog("Testing retry behavior when only the primary fails");
|
||||
for (let readPref of [null, "primary", "primaryPreferred"]) {
|
||||
for (let readCommand of readCommands) {
|
||||
runTestOnlyPrimaryFails(readCommand[0], readCommand[1], readPref, st.s, shard);
|
||||
jsTestLog("Testing retry behavior when only the primary fails");
|
||||
for (let readPref of [null, "primary", "primaryPreferred"]) {
|
||||
for (let readCommand of readCommands) {
|
||||
runTestOnlyPrimaryFails(readCommand[0], readCommand[1], readPref, st.s, shard, overloadRetargeting);
|
||||
}
|
||||
}
|
||||
for (let writeCommand of writeCommands) {
|
||||
runTestOnlyPrimaryFails(writeCommand[0], writeCommand[1], null, st.s, shard, overloadRetargeting);
|
||||
}
|
||||
}
|
||||
for (let writeCommand of writeCommands) {
|
||||
runTestOnlyPrimaryFails(writeCommand[0], writeCommand[1], null, st.s, shard);
|
||||
}
|
||||
|
||||
st.stop();
|
||||
|
||||
@ -204,11 +204,12 @@ function preferShortestIndexWithComparisonsInFilter(indexPruningActive) {
|
||||
|
||||
// TODO(SERVER-121641): Switch this back to isPlanCosted() after fixing the winning plan
|
||||
// not having CBR estimates even if picked by CBR.
|
||||
if (getPlanRankerMode(conn) !== "multiPlanning" && !checkSbeFullyEnabled(db)) {
|
||||
assertIndexScan(false, filter, [{a: 1, b: 1}], explain);
|
||||
} else {
|
||||
assertIndexScan(false, filter, [{a: 1, b: 1, c: 1}], explain);
|
||||
}
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
// if (getPlanRankerMode(conn) !== "multiPlanning" && !checkSbeFullyEnabled(db)) {
|
||||
// assertIndexScan(false, filter, [{a: 1, b: 1}], explain);
|
||||
// } else {
|
||||
assertIndexScan(false, filter, [{a: 1, b: 1, c: 1}], explain);
|
||||
// }
|
||||
}
|
||||
assertIndexScan(true, filter, [{a: 1, b: 1}]);
|
||||
|
||||
|
||||
@ -119,60 +119,61 @@ describe("MultiPlanner exit condition metrics get updated correctly", function (
|
||||
|
||||
if (planRankerMode === "automaticCE" && !isSBEEnabled) {
|
||||
describe("automaticCE (CBR) mode", function () {
|
||||
describe("fallback to CBR", function () {
|
||||
it("does not update multi-planner metrics when plan cache is disabled", function () {
|
||||
// We do not measure works for the chosen CBR plan, so MP metrics must not change.
|
||||
assert.commandWorked(db.adminCommand({setParameter: 1, internalQueryDisablePlanCache: true}));
|
||||
|
||||
assert.docEq(
|
||||
{
|
||||
hitEof: 0,
|
||||
hitResultsLimit: 0,
|
||||
hitWorksLimit: 0,
|
||||
},
|
||||
getStoppingCondition(0.1),
|
||||
);
|
||||
|
||||
assert.docEq(
|
||||
{
|
||||
hitEof: 0,
|
||||
hitResultsLimit: 0,
|
||||
hitWorksLimit: 0,
|
||||
},
|
||||
getStoppingCondition(20.0),
|
||||
);
|
||||
});
|
||||
|
||||
it("records hitWorksLimit when CBR fallback is measured with low collFraction", function () {
|
||||
// With plan cache enabled, we measure works for the CBR-chosen plan.
|
||||
// At low collFraction, CBR evaluation stops due to works budget, so hitWorksLimit should increment.
|
||||
assert.commandWorked(db.adminCommand({setParameter: 1, internalQueryDisablePlanCache: false}));
|
||||
|
||||
assert.docEq(
|
||||
{
|
||||
hitEof: 0,
|
||||
hitResultsLimit: 0,
|
||||
hitWorksLimit: 0,
|
||||
},
|
||||
getStoppingCondition(0.1),
|
||||
);
|
||||
});
|
||||
|
||||
it("records hitEof when CBR fallback is measured with high collFraction", function () {
|
||||
// With a higher collFraction, CBR can run until EOF instead of hitting works limit.
|
||||
// With plan cache enabled, this should be reflected as hitEof.
|
||||
assert.commandWorked(db.adminCommand({setParameter: 1, internalQueryDisablePlanCache: false}));
|
||||
|
||||
assert.docEq(
|
||||
{
|
||||
hitEof: 0,
|
||||
hitResultsLimit: 0,
|
||||
hitWorksLimit: 0,
|
||||
},
|
||||
getStoppingCondition(20.0),
|
||||
);
|
||||
});
|
||||
});
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
// describe("fallback to CBR", function () {
|
||||
// it("does not update multi-planner metrics when plan cache is disabled", function () {
|
||||
// // We do not measure works for the chosen CBR plan, so MP metrics must not change.
|
||||
// assert.commandWorked(db.adminCommand({setParameter: 1, internalQueryDisablePlanCache: true}));
|
||||
//
|
||||
// assert.docEq(
|
||||
// {
|
||||
// hitEof: 0,
|
||||
// hitResultsLimit: 0,
|
||||
// hitWorksLimit: 0,
|
||||
// },
|
||||
// getStoppingCondition(0.1),
|
||||
// );
|
||||
//
|
||||
// assert.docEq(
|
||||
// {
|
||||
// hitEof: 0,
|
||||
// hitResultsLimit: 0,
|
||||
// hitWorksLimit: 0,
|
||||
// },
|
||||
// getStoppingCondition(20.0),
|
||||
// );
|
||||
// });
|
||||
//
|
||||
// it("records hitWorksLimit when CBR fallback is measured with low collFraction", function () {
|
||||
// // With plan cache enabled, we measure works for the CBR-chosen plan.
|
||||
// // At low collFraction, CBR evaluation stops due to works budget, so hitWorksLimit should increment.
|
||||
// assert.commandWorked(db.adminCommand({setParameter: 1, internalQueryDisablePlanCache: false}));
|
||||
//
|
||||
// assert.docEq(
|
||||
// {
|
||||
// hitEof: 0,
|
||||
// hitResultsLimit: 0,
|
||||
// hitWorksLimit: 0,
|
||||
// },
|
||||
// getStoppingCondition(0.1),
|
||||
// );
|
||||
// });
|
||||
//
|
||||
// it("records hitEof when CBR fallback is measured with high collFraction", function () {
|
||||
// // With a higher collFraction, CBR can run until EOF instead of hitting works limit.
|
||||
// // With plan cache enabled, this should be reflected as hitEof.
|
||||
// assert.commandWorked(db.adminCommand({setParameter: 1, internalQueryDisablePlanCache: false}));
|
||||
//
|
||||
// assert.docEq(
|
||||
// {
|
||||
// hitEof: 0,
|
||||
// hitResultsLimit: 0,
|
||||
// hitWorksLimit: 0,
|
||||
// },
|
||||
// getStoppingCondition(20.0),
|
||||
// );
|
||||
// });
|
||||
// });
|
||||
|
||||
describe("no fallback to CBR", function () {
|
||||
it("records EOF when multiplanning produces a result before exhausting works", function () {
|
||||
|
||||
@ -0,0 +1,107 @@
|
||||
/**
|
||||
* Regression test for BF-41937.
|
||||
*
|
||||
* Reproduces a race where movePrimary relocates system.views to a different shard while a
|
||||
* $lookup on a timeseries view is in flight. The recipient shard resolves the view but produces
|
||||
* a ResolvedView with timeseriesUsesExtendedRange=false (since the flag is per-node/in-memory
|
||||
* and that shard never received extended range inserts). This ResolvedView is sent back via
|
||||
* CommandOnShardedViewNotSupportedOnMongod to the executing shard, which rebuilds the
|
||||
* sub-pipeline with the incorrect flag, enabling BoundedSorter on out-of-range dates.
|
||||
*
|
||||
* The failpoint hangBeforeCreatingAggCatalogState widens the naturally tiny window between
|
||||
* command dispatch and catalog state creation so movePrimary can complete in between.
|
||||
*
|
||||
* @tags: [
|
||||
* requires_sharding,
|
||||
* requires_timeseries,
|
||||
* assumes_balancer_off,
|
||||
* requires_fcv_83,
|
||||
* ]
|
||||
*/
|
||||
import {areViewlessTimeseriesEnabled} from "jstests/core/timeseries/libs/viewless_timeseries_util.js";
|
||||
import {configureFailPoint} from "jstests/libs/fail_point_util.js";
|
||||
import {funWithArgs} from "jstests/libs/parallel_shell_helpers.js";
|
||||
import {ShardingTest} from "jstests/libs/shardingtest.js";
|
||||
|
||||
const st = new ShardingTest({mongos: 1, shards: 2, config: 1});
|
||||
const dbName = jsTestName();
|
||||
const testDB = st.getDB(dbName);
|
||||
|
||||
if (areViewlessTimeseriesEnabled(testDB)) {
|
||||
jsTestLog("Skipping: viewless timeseries bypasses the view-resolution path.");
|
||||
st.stop();
|
||||
quit();
|
||||
}
|
||||
|
||||
assert.commandWorked(st.s.adminCommand({enableSharding: dbName, primaryShard: st.shard0.shardName}));
|
||||
|
||||
const foreignCollName = "foreign_coll";
|
||||
const foreignViewName = "foreign_view";
|
||||
const localCollName = "local_coll";
|
||||
|
||||
// Sharded timeseries collection with extended-range data, all on shard0.
|
||||
assert.commandWorked(
|
||||
testDB.adminCommand({
|
||||
shardCollection: `${dbName}.${foreignCollName}`,
|
||||
key: {t: 1},
|
||||
timeseries: {timeField: "t"},
|
||||
}),
|
||||
);
|
||||
const allDocs = [
|
||||
{_id: 0, t: ISODate("1975-12-01")},
|
||||
{_id: 1, t: ISODate("1980-01-13")},
|
||||
{_id: 2, t: ISODate("2018-07-14")},
|
||||
{_id: 3, t: ISODate("2030-09-30")},
|
||||
{_id: 4, t: ISODate("1969-12-31T23:00:59.001Z")}, // pre-epoch
|
||||
{_id: 5, t: ISODate("1969-12-31T23:59:59.001Z")}, // pre-epoch
|
||||
{_id: 6, t: ISODate("2038-01-19T03:14:07.001Z")}, // post-2038
|
||||
{_id: 7, t: ISODate("2050-01-20T03:14:00.003Z")}, // post-2038
|
||||
];
|
||||
assert.commandWorked(testDB[foreignCollName].insert(allDocs));
|
||||
|
||||
// local_coll must be sharded so it stays on shard0 during movePrimary.
|
||||
const localColl = testDB[localCollName];
|
||||
assert.commandWorked(localColl.createIndex({a: 1}));
|
||||
assert.commandWorked(testDB.adminCommand({shardCollection: `${dbName}.${localCollName}`, key: {a: 1}}));
|
||||
assert.commandWorked(localColl.insert({_id: 0, a: 1}));
|
||||
|
||||
assert.commandWorked(testDB.createView(foreignViewName, foreignCollName, [{$set: {viewVal: 100}}]));
|
||||
|
||||
// Pause shard0 before it resolves namespaces / creates the ExpressionContext.
|
||||
// Filter by namespace so FTDC and other internal aggregates are not affected.
|
||||
const fp = configureFailPoint(st.shard0, "hangBeforeCreatingAggCatalogState", {ns: `${dbName}.${localCollName}`});
|
||||
|
||||
const awaitAggregate = startParallelShell(
|
||||
funWithArgs(
|
||||
function (dbName, localCollName, foreignViewName) {
|
||||
const res = db.getSiblingDB(dbName).runCommand({
|
||||
aggregate: localCollName,
|
||||
pipeline: [
|
||||
{
|
||||
$lookup: {
|
||||
from: foreignViewName,
|
||||
pipeline: [{$sort: {t: 1}}],
|
||||
as: "result",
|
||||
},
|
||||
},
|
||||
],
|
||||
cursor: {},
|
||||
});
|
||||
assert.commandWorked(res);
|
||||
},
|
||||
dbName,
|
||||
localCollName,
|
||||
foreignViewName,
|
||||
),
|
||||
st.s.port,
|
||||
);
|
||||
|
||||
fp.wait();
|
||||
|
||||
// Move system.views away from shard0 while the aggregate is paused.
|
||||
assert.commandWorked(testDB.adminCommand({movePrimary: dbName, to: st.shard1.shardName}));
|
||||
|
||||
fp.off();
|
||||
awaitAggregate();
|
||||
|
||||
st.stop();
|
||||
@ -3,7 +3,8 @@
|
||||
* # This test is incompatible with 'config shard' as it creates a cluster with 0 shards in order
|
||||
* # to be able to add shard with data on it (which is only allowed on the first shard).
|
||||
* config_shard_incompatible,
|
||||
* requires_fcv_83,
|
||||
* featureFlagShardAuthoritativeDbMetadataDDL,
|
||||
* featureFlagShardAuthoritativeDbMetadataCRUD,
|
||||
* # This test restarts the server and requires that data persists across restarts.
|
||||
* requires_persistence,
|
||||
* ]
|
||||
|
||||
@ -182,8 +182,9 @@ try {
|
||||
{query: {a: {$gt: 20, $lt: 40}}, expectedCE: 18.8},
|
||||
{query: {a: 20, b: 20}, expectedCE: 0.1},
|
||||
{query: {a: 20, b: {$gt: 20}}, expectedCE: 0.9},
|
||||
{query: {a: {$gt: 20}, b: 20}, expectedCE: 0.9},
|
||||
{query: {a: {$gt: 20}, b: {$gt: 20}}, expectedCE: 70.8},
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
// {query: {a: {$gt: 20}, b: 20}, expectedCE: 0.9},
|
||||
// {query: {a: {$gt: 20}, b: {$gt: 20}}, expectedCE: 70.8},
|
||||
];
|
||||
testCases.forEach((tc) => assertQueryUsesHistograms(tc));
|
||||
} finally {
|
||||
|
||||
@ -86,9 +86,10 @@ assert.commandWorked(coll.runCommand({analyze: collName, key: "bool_field", numb
|
||||
|
||||
// Test queries
|
||||
const queries = [
|
||||
{a: {$gt: 10}, b: {$eq: 99}},
|
||||
{a: {$in: [5, 1]}, b: {$in: [7, 99]}},
|
||||
{a: {$gt: 90}, b: {$eq: 99}, c: {$lt: 5}},
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
// {a: {$gt: 10}, b: {$eq: 99}},
|
||||
// {a: {$in: [5, 1]}, b: {$in: [7, 99]}},
|
||||
// {a: {$gt: 90}, b: {$eq: 99}, c: {$lt: 5}},
|
||||
/*
|
||||
The following query has 4 plans:
|
||||
1. Filter: a in (1,5) AND b in (7, 99)
|
||||
@ -118,15 +119,16 @@ const queries = [
|
||||
better. Therefore, instead of comparing plans the test compares the number of keys and documents
|
||||
scanned by a plan. CBR plans should scan no more than Classic plans.
|
||||
*/
|
||||
{
|
||||
$and: [{$or: [{a: 10}, {b: {$gt: 99}}]}, {$or: [{a: {$in: [5, 1]}}, {b: {$in: [7, 99]}}]}],
|
||||
},
|
||||
// {
|
||||
// $and: [{$or: [{a: 10}, {b: {$gt: 99}}]}, {$or: [{a: {$in: [5, 1]}}, {b: {$in: [7, 99]}}]}],
|
||||
// },
|
||||
{a: {$not: {$lt: 130}}},
|
||||
{missing_10_percent: {$exists: false}},
|
||||
{missing_10_percent: {$not: {$exists: false}}},
|
||||
{missing_90_percent: {$exists: false}},
|
||||
{missing_90_percent: {$not: {$exists: false}}},
|
||||
{a: {$not: {$lt: 130}}, b: 12, c: {$not: {$gt: 1200}}},
|
||||
// TODO SERVER-100611: re-enable this test.
|
||||
// {a: {$not: {$lt: 130}}, b: 12, c: {$not: {$gt: 1200}}},
|
||||
{a: {$not: {$in: [[100, 101, 102]]}}},
|
||||
{$nor: [{$and: [{a: {$lt: 10}}, {b: {$gt: 19}}]}]},
|
||||
{$nor: [{$or: [{a: {$lt: 10}}, {b: {$gt: 19}}]}]},
|
||||
@ -139,7 +141,8 @@ const queries = [
|
||||
{a: {$gt: 10}, b: {$in: []}},
|
||||
{$nor: [{a: 1}]},
|
||||
{$nor: [{a: 1}, {b: {$gt: 1000}}]},
|
||||
{$and: [{$nor: [{a: 1}, {a: {$gt: 1000}}]}, {b: {$lt: 100}}]},
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
// {$and: [{$nor: [{a: 1}, {a: {$gt: 1000}}]}, {b: {$lt: 100}}]},
|
||||
{$and: [{$or: [{$nor: [{a: {$gt: 100}}, {b: {$gt: 50}}]}, {a: 1}]}, {b: {$lt: 100}}]},
|
||||
// This query has an empty result, thus should estimate as 0
|
||||
{$and: [{$or: [{a: 0}, {a: 1}]}, {$or: [{a: {$gt: 3}}, {a: {$lt: 0}}]}]},
|
||||
@ -180,7 +183,8 @@ const queries = [
|
||||
// {$or: [{a: 3}, {b: {$size: 9}}]},
|
||||
];
|
||||
|
||||
queries.push({$or: [queries[0], queries[1]]});
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
// queries.push({$or: [queries[0], queries[1]]});
|
||||
|
||||
function assertCbrExplain(plan) {
|
||||
assert(plan.hasOwnProperty("cardinalityEstimate"), plan);
|
||||
|
||||
@ -115,7 +115,8 @@ try {
|
||||
// In the presence of a compound index, it is chosen regardless of the selectivity of the
|
||||
// predicates.
|
||||
assert.contains(winningIndex({unique1: 1, unique2: 1}), ["unique1_1_unique2_1", "unique2_1_unique1_1"]);
|
||||
assert.eq(winningIndex({unique1: {$gte: 0}, unique2: {$gte: 0}}), "unique1_1_unique2_1");
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
// assert.eq(winningIndex({unique1: {$gte: 0}, unique2: {$gte: 0}}), "unique1_1_unique2_1");
|
||||
assert.eq(winningIndex({unique1: 1, unique2: {$gte: 0}}), "unique1_1_unique2_1");
|
||||
|
||||
// TODO(SERVER-97933): assert.eq(winningIndex({unique1: {$lt: 0}, unique2: {$lt: 0}}),
|
||||
|
||||
@ -81,8 +81,9 @@ try {
|
||||
assert.commandWorked(coll.createIndex({b: 1}));
|
||||
assertAllPlansUseSampling({a: {$lt: 100}});
|
||||
assertAllPlansUseSampling({b: {$lt: 100}});
|
||||
assertAllPlansUseSampling({a: {$lt: 100}, b: {$lt: 500}});
|
||||
assertAllPlansUseSampling({a: {$lt: 100}, b: {$lt: 500}, c: {$exists: true}});
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
// assertAllPlansUseSampling({a: {$lt: 100}, b: {$lt: 500}});
|
||||
// assertAllPlansUseSampling({a: {$lt: 100}, b: {$lt: 500}, c: {$exists: true}});
|
||||
|
||||
// Test that invalid query does not error during Sampling CE. 0 ce is returned because the query
|
||||
// always fails.
|
||||
|
||||
@ -199,10 +199,11 @@ function runTest(planRankerMode) {
|
||||
|
||||
// IXSCAN with a single seek should have a lower cost than an index scan with skips.
|
||||
const predicateOverAandB = {a: 5, b: {$gt: 6}};
|
||||
assert.lt(
|
||||
ixscanCost({predicate: predicateOverAandB, hint: {a: 1, b: 1}}),
|
||||
ixscanCost({predicate: predicateOverAandB, hint: {b: 1, a: 1}}),
|
||||
);
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
// assert.lt(
|
||||
// ixscanCost({predicate: predicateOverAandB, hint: {a: 1, b: 1}}),
|
||||
// ixscanCost({predicate: predicateOverAandB, hint: {b: 1, a: 1}}),
|
||||
// );
|
||||
|
||||
// IXSCAN over an index that matches all predicates should produce a lower-cost
|
||||
// plan than any of the alternatives.
|
||||
|
||||
@ -129,6 +129,7 @@ for (const indexes of [[], [{a: 1}]]) {
|
||||
|
||||
// Multi-field predicates
|
||||
|
||||
for (const indexes of [[{a: 1, b: 1}], [{a: 1}, {b: 1}]]) {
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
for (const indexes of [/*[{a: 1, b: 1}], */ [{a: 1}, {b: 1}]]) {
|
||||
runOneTest({dataset: new TwoFieldDataset(), indexes: indexes, analyze: ["a", "b"]});
|
||||
}
|
||||
|
||||
@ -234,15 +234,16 @@ try {
|
||||
mpEndCond: mpEndConditions.kMaxWorks,
|
||||
ranker: rankerStrategies.kCBR,
|
||||
});
|
||||
checkRanker({
|
||||
qID: "3.2",
|
||||
cName: "20k",
|
||||
query: {f1: {$lt: 505}, f2: {$gt: 100}},
|
||||
order: {x1: 1},
|
||||
limit: batchSize + 1,
|
||||
mpEndCond: mpEndConditions.kMaxWorks,
|
||||
ranker: rankerStrategies.kCBR,
|
||||
});
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
// checkRanker({
|
||||
// qID: "3.2",
|
||||
// cName: "20k",
|
||||
// query: {f1: {$lt: 505}, f2: {$gt: 100}},
|
||||
// order: {x1: 1},
|
||||
// limit: batchSize + 1,
|
||||
// mpEndCond: mpEndConditions.kMaxWorks,
|
||||
// ranker: rankerStrategies.kCBR,
|
||||
// });
|
||||
// This is an interesting case with productivity = 0.0052 which is < 0.0101
|
||||
checkRanker({
|
||||
qID: "3.3",
|
||||
@ -286,15 +287,16 @@ try {
|
||||
mpEndCond: mpEndConditions.kMaxWorks,
|
||||
ranker: rankerStrategies.kCBR,
|
||||
});
|
||||
checkRanker({
|
||||
qID: "5.2",
|
||||
cName: "20k",
|
||||
query: {f1: {$lt: 505}, f2: {$gt: 100}},
|
||||
order: {f3: 1},
|
||||
limit: batchSize + 1,
|
||||
mpEndCond: mpEndConditions.kFullBatch,
|
||||
ranker: rankerStrategies.kCBR,
|
||||
});
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
// checkRanker({
|
||||
// qID: "5.2",
|
||||
// cName: "20k",
|
||||
// query: {f1: {$lt: 505}, f2: {$gt: 100}},
|
||||
// order: {f3: 1},
|
||||
// limit: batchSize + 1,
|
||||
// mpEndCond: mpEndConditions.kFullBatch,
|
||||
// ranker: rankerStrategies.kCBR,
|
||||
// });
|
||||
} finally {
|
||||
restoreCBRConfig(db, prevCBRConfig);
|
||||
}
|
||||
|
||||
@ -92,9 +92,9 @@
|
||||
"rows" : 138},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"d_noidx":{"$exists":true}},{"a_idx":{"$elemMatch":{"$exists":true}}},{"a_idx":{"$elemMatch":{"$nin":[9,8,6,4,4,18]}}},{"$nor":[{"a_compound":{"$all":[9,17,2]}},{"k_compound":{"$exists":false}}]}],"a_noidx":{"$gt":19}}},{"$sort":{"d_idx":-1,"h_idx":1}},{"$limit":19},{"$skip":6},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 9.0)","(9.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"]}}}]}}}}},
|
||||
"keys" : 927982,
|
||||
"docs" : 300000,
|
||||
"sorts": 394365,
|
||||
"plans": 14,
|
||||
"rows" : 13},
|
||||
@ -212,9 +212,9 @@
|
||||
"rows" : 200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$nor":[{"i_idx":{"$in":[2,11]}},{"a_compound":{"$all":[8,16]}}]},{"k_compound":{"$gt":9}}],"a_idx":{"$gt":16}}},{"$sort":{"c_idx":1,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["(9.0, inf]"]}}}},
|
||||
"keys" : 99000,
|
||||
"docs" : 99000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["(9.0, inf]"],"a_compound":["[MinKey, 8.0)","(8.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 16.0)","(16.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 924177,
|
||||
"docs" : 298999,
|
||||
"sorts": 1237677,
|
||||
"plans": 13,
|
||||
"rows" : 98992},
|
||||
@ -284,9 +284,9 @@
|
||||
"rows" : 44},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[8,16]}},{"a_idx":{"$gt":20}}],"i_noidx":{"$gte":20},"k_compound":{"$ne":9}}},{"$limit":9}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, MaxKey]"]}}}},
|
||||
"keys" : 99901,
|
||||
"docs" : 99900,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, MaxKey]"],"a_compound":["[MinKey, 8.0)","(8.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 16.0)","(16.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 926678,
|
||||
"docs" : 299899,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 1},
|
||||
@ -452,9 +452,9 @@
|
||||
"rows" : 240},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[19,20]}},{"k_compound":{"$exists":false}}],"i_idx":{"$gte":11}}},{"$sort":{"a_idx":1,"i_idx":1}},{"$skip":16},{"$project":{"_id":0,"h_noidx":1,"k_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_idx_1","indexBounds":{"i_idx":["[11.0, inf]"]}}}}}},
|
||||
"keys" : 99989,
|
||||
"docs" : 99989,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 19.0)","(19.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 20.0)","(20.0, MaxKey]"]}}}]}}}}},
|
||||
"keys" : 935893,
|
||||
"docs" : 300000,
|
||||
"sorts": 1251144,
|
||||
"plans": 12,
|
||||
"rows" : 99973},
|
||||
@ -748,9 +748,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$exists":false}},{"a_compound":{"$gte":8}},{"a_noidx":{"$elemMatch":{"$exists":false}}}],"$or":[{"z_idx":{"$exists":true}},{"a_compound":{"$elemMatch":{"$gt":11}}},{"a_compound":{"$elemMatch":{"$exists":true}}}],"d_compound":{"$nin":[18,2]}}},{"$limit":236}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1","indexBounds":{"d_compound":["[MinKey, 2.0)","(2.0, 18.0)","(18.0, MaxKey]"]}}}},
|
||||
"keys" : 90001,
|
||||
"docs" : 90000,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 8.0)","(inf, MaxKey]"]}}}},
|
||||
"keys" : 170836,
|
||||
"docs" : 99978,
|
||||
"sorts": 0,
|
||||
"plans": 15,
|
||||
"rows" : 7},
|
||||
@ -1052,8 +1052,8 @@
|
||||
"rows" : 158},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"i_compound":{"$nin":[8,18,13]}},{"a_compound":{"$exists":true}},{"$or":[{"z_noidx":{"$gt":1}},{"a_noidx":{"$elemMatch":{"$exists":true,"$in":[20,20],"$nin":[2,10]}}},{"a_compound":{"$exists":true}}]},{"$nor":[{"z_noidx":{"$gte":9}},{"a_compound":{"$all":[8,16,12,3,17]}},{"a_compound":{"$in":[5,15,12]}}]}]}},{"$sort":{"d_idx":1,"z_idx":1}},{"$limit":86}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[MinKey, 8.0)","(8.0, 13.0)","(13.0, 18.0)","(18.0, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"],"i_compound":["[MinKey, 8.0)","(8.0, 13.0)","(13.0, 18.0)","(18.0, MaxKey]"]}}}},
|
||||
"keys" : 468941,
|
||||
"docs" : 99997,
|
||||
"sorts": 471708,
|
||||
"plans": 16,
|
||||
@ -1140,9 +1140,9 @@
|
||||
"rows" : 97000},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"a_compound":{"$elemMatch":{"$lte":2}}},{"$and":[{"$nor":[{"a_noidx":{"$elemMatch":{"$exists":false}}},{"z_noidx":{"$exists":true}}]},{"a_idx":{"$elemMatch":{"$gte":10}}}]},{"a_idx":{"$elemMatch":{"$exists":true}}},{"i_compound":{"$exists":false}}]},{"k_compound":{"$gte":20}}],"a_compound":{"$eq":2},"d_noidx":{"$eq":8}}},{"$sort":{"d_idx":1,"z_idx":1}},{"$limit":86},{"$skip":5}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[2.0, 2.0]"]}}}}},
|
||||
"keys" : 38792,
|
||||
"docs" : 38792,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[10.0, inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[MinKey, MaxKey]"]}}},{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[20.0, inf]"],"a_compound":["[2.0, 2.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[2.0, 2.0]"],"i_compound":["[null, null]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[-inf, 2.0]"]}}}]}}}},
|
||||
"keys" : 881219,
|
||||
"docs" : 379312,
|
||||
"sorts": 17105,
|
||||
"plans": 12,
|
||||
"rows" : 81},
|
||||
@ -1348,9 +1348,9 @@
|
||||
"rows" : 254},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[19,2,19]}},{"i_noidx":{"$lte":6}},{"z_compound":{"$in":[19,4,8]}}],"a_compound":{"$nin":[20,20,7]},"k_compound":{"$ne":4}}},{"$sort":{"i_idx":1,"k_idx":-1}},{"$limit":70},{"$project":{"a_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 4.0)","(4.0, 8.0)","(8.0, 19.0)","(19.0, MaxKey]"]}}}}},
|
||||
"keys" : 92012,
|
||||
"docs" : 92010,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 4.0)","(4.0, MaxKey]"],"a_compound":["[MinKey, 7.0)","(7.0, 20.0)","(20.0, MaxKey]"]}}}}},
|
||||
"keys" : 457730,
|
||||
"docs" : 99900,
|
||||
"sorts": 426068,
|
||||
"plans": 15,
|
||||
"rows" : 70},
|
||||
@ -1476,9 +1476,9 @@
|
||||
"rows" : 15},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[9,12]}},{"a_compound":{"$exists":false}}],"k_compound":{"$exists":true}}},{"$sort":{"c_idx":1,"z_idx":-1}},{"$limit":51}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 9.0)","(9.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 12.0)","(12.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 926983,
|
||||
"docs" : 300000,
|
||||
"sorts": 493183,
|
||||
"plans": 13,
|
||||
"rows" : 51},
|
||||
@ -2068,9 +2068,9 @@
|
||||
"rows" : 84},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$in":[6,2]}},{"a_compound":{"$all":[15,16,2,3]}},{"c_idx":{"$gt":9}}],"a_idx":{"$elemMatch":{"$gt":8}},"z_compound":{"$nin":[7,19,18]}}},{"$sort":{"k_idx":1,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 7.0)","(7.0, 18.0)","(18.0, 19.0)","(19.0, MaxKey]"]}}}},
|
||||
"keys" : 99717,
|
||||
"docs" : 99716,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 6.0)","(6.0, MaxKey]"],"a_compound":["[MinKey, 15.0)","(15.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 936325,
|
||||
"docs" : 299800,
|
||||
"sorts": 1244672,
|
||||
"plans": 16,
|
||||
"rows" : 99510},
|
||||
@ -2172,8 +2172,8 @@
|
||||
"rows" : 1385},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"c_compound":{"$in":[5,11]}},{"$and":[{"h_noidx":{"$exists":false}},{"i_compound":{"$in":[14,12,13]}}]},{"z_compound":{"$nin":[7,2]}}],"a_compound":{"$nin":[9,2,17]}}},{"$sort":{"d_idx":-1,"i_idx":1,"k_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[12.0, 12.0]","[13.0, 13.0]","[14.0, 14.0]"]}}},{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 2.0)","(2.0, 7.0)","(7.0, MaxKey]"]}},{"stage":"IXSCAN","indexName":"c_compound_1","indexBounds":{"c_compound":["[5.0, 5.0]","[11.0, 11.0]"]}}]}}},
|
||||
"keys" : 67772,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"c_compound_1","indexBounds":{"c_compound":["[5.0, 5.0]","[11.0, 11.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, 2.0)","(2.0, 9.0)","(9.0, 17.0)","(17.0, MaxKey]"],"i_compound":["[12.0, 12.0]","[13.0, 13.0]","[14.0, 14.0]"]}}},{"stage":"IXSCAN","indexName":"z_compound_1_c_compound_1","indexBounds":{"z_compound":["[MinKey, 2.0)","(2.0, 7.0)","(7.0, MaxKey]"],"c_compound":["[MinKey, MaxKey]"]}}]}}},
|
||||
"keys" : 167783,
|
||||
"docs" : 67769,
|
||||
"sorts": 637512,
|
||||
"plans": 12,
|
||||
@ -2252,9 +2252,9 @@
|
||||
"rows" : 100000},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_compound":{"$ne":13}},{"$and":[{"a_compound":{"$all":[10,3,19]}},{"a_idx":{"$all":[4,12,5,19]}},{"i_compound":{"$ne":7}},{"a_noidx":{"$all":[2,11]}}]}],"a_compound":{"$elemMatch":{"$in":[6,3],"$lt":9,"$nin":[9,9]}},"a_noidx":{"$eq":5},"k_compound":{"$nin":[11,20]}}},{"$sort":{"k_idx":-1}},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[3.0, 3.0]","[6.0, 6.0]"]}}}}},
|
||||
"keys" : 36661,
|
||||
"docs" : 34764,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[4.0, 4.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 11.0)","(11.0, 20.0)","(20.0, MaxKey]"],"a_compound":["[MinKey, 13.0)","(13.0, MaxKey]"]}}}]}}}},
|
||||
"keys" : 484285,
|
||||
"docs" : 215694,
|
||||
"sorts": 20611,
|
||||
"plans": 15,
|
||||
"rows" : 2352},
|
||||
@ -2316,9 +2316,9 @@
|
||||
"rows" : 99985},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$and":[{"a_compound":{"$exists":false}},{"a_idx":{"$exists":false}}]},{"d_compound":{"$lte":18}}],"k_compound":{"$nin":[9,11,15]}}},{"$sort":{"d_idx":1,"z_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, 11.0)","(11.0, 15.0)","(15.0, MaxKey]"]}}}},
|
||||
"keys" : 99703,
|
||||
"docs" : 99700,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, 11.0)","(11.0, 15.0)","(15.0, MaxKey]"],"a_compound":["[null, null]"]}}},{"stage":"IXSCAN","indexName":"d_compound_1","indexBounds":{"d_compound":["[-inf, 18.0]"]}}]}}},
|
||||
"keys" : 101000,
|
||||
"docs" : 100000,
|
||||
"sorts": 1247239,
|
||||
"plans": 11,
|
||||
"rows" : 99700},
|
||||
@ -2364,9 +2364,9 @@
|
||||
"rows" : 86420},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[12,5,14]}},{"a_compound":{"$gte":6}},{"k_compound":{"$exists":false}}],"z_noidx":{"$nin":[5,18]}}},{"$sort":{"a_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 5.0)","(5.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 926306,
|
||||
"docs" : 300000,
|
||||
"sorts": 17,
|
||||
"plans": 15,
|
||||
"rows" : 6},
|
||||
@ -2996,9 +2996,9 @@
|
||||
"rows" : 200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_noidx":{"$elemMatch":{"$gt":13}}},{"$and":[{"c_compound":{"$lte":19}},{"a_compound":{"$elemMatch":{"$nin":[2,9]}}}]},{"$and":[{"z_noidx":{"$nin":[7,9]}},{"k_compound":{"$gte":1}}]}],"a_compound":{"$elemMatch":{"$gte":16}},"k_compound":{"$exists":true}}},{"$sort":{"a_idx":-1,"k_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[1.0, inf]"]}}}},
|
||||
"keys" : 99900,
|
||||
"docs" : 99900,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[1.0, inf]"],"a_compound":["[16.0, inf]"]}}}},
|
||||
"keys" : 273899,
|
||||
"docs" : 99885,
|
||||
"sorts": 1245726,
|
||||
"plans": 8,
|
||||
"rows" : 99588},
|
||||
@ -3140,9 +3140,9 @@
|
||||
"rows" : 95},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_noidx":{"$nin":[15,16,14,2]}},{"k_compound":{"$in":[14,16,19]}},{"a_compound":{"$all":[6,12,8]}}],"a_compound":{"$gt":12}}},{"$sort":{"c_idx":1,"k_idx":-1}},{"$limit":82},{"$skip":20}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 14.0)","(14.0, 16.0)","(16.0, 19.0)","(19.0, MaxKey]"]}}}}},
|
||||
"keys" : 99703,
|
||||
"docs" : 99700,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 14.0)","(14.0, 16.0)","(16.0, 19.0)","(19.0, MaxKey]"],"a_compound":["(12.0, inf]"]}}}}},
|
||||
"keys" : 276403,
|
||||
"docs" : 99687,
|
||||
"sorts": 219426,
|
||||
"plans": 14,
|
||||
"rows" : 62},
|
||||
@ -3204,9 +3204,9 @@
|
||||
"rows" : 86900},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"i_compound":{"$lte":7}},{"a_compound":{"$in":[20,12]}},{"a_idx":{"$exists":false}}],"a_compound":{"$in":[5,20]},"k_compound":{"$nin":[10,7,20]}}},{"$sort":{"c_idx":-1,"z_idx":1}},{"$limit":126}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[-inf, 7.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[null, null]"]}}},{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[12.0, 12.0]","[20.0, 20.0]"]}}]}}},
|
||||
"keys" : 2010,
|
||||
"docs" : 2008,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[5.0, 5.0]","[20.0, 20.0]"],"i_compound":["[-inf, 7.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[null, null]"]}}},{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[12.0, 12.0]","[20.0, 20.0]"],"i_compound":["[MinKey, MaxKey]"]}}]}}},
|
||||
"keys" : 2006,
|
||||
"docs" : 2001,
|
||||
"sorts": 5480,
|
||||
"plans": 13,
|
||||
"rows" : 126},
|
||||
@ -3420,17 +3420,17 @@
|
||||
"rows" : 97774},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$in":[19,10,8]}},{"a_noidx":{"$ne":18}}],"$or":[{"h_idx":{"$exists":false}},{"$nor":[{"i_compound":{"$eq":12}},{"z_idx":{"$exists":true}}]},{"a_compound":{"$all":[16,16]}},{"a_idx":{"$exists":true}}],"a_compound":{"$in":[1,4,12,14]}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[1.0, 1.0]","[4.0, 4.0]","[12.0, 12.0]","[14.0, 14.0]"]}}},
|
||||
"keys" : 63604,
|
||||
"docs" : 57524,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 8.0)","(8.0, 10.0)","(10.0, 19.0)","(19.0, MaxKey]"],"a_compound":["[1.0, 1.0]","[4.0, 4.0]","[12.0, 12.0]","[14.0, 14.0]"]}}},
|
||||
"keys" : 66550,
|
||||
"docs" : 57375,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 487},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_idx":{"$lte":10}},{"a_idx":{"$lte":2}},{"z_noidx":{"$exists":true}}],"$nor":[{"a_idx":{"$elemMatch":{"$exists":false,"$lte":4}}},{"$or":[{"a_idx":{"$elemMatch":{"$exists":false}}},{"a_noidx":{"$gte":17}}]},{"a_compound":{"$all":[11,1]}},{"k_compound":{"$lt":15}}]}},{"$limit":50}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[15.0, MaxKey]"],"a_compound":["[MinKey, 11.0)","(11.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[15.0, MaxKey]"],"a_compound":["[MinKey, 1.0)","(1.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 884580,
|
||||
"docs" : 294600,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[15.0, MaxKey]"],"a_compound":["[MinKey, 1.0)","(1.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 11.0)","(11.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 889257,
|
||||
"docs" : 297500,
|
||||
"sorts": 0,
|
||||
"plans": 13,
|
||||
"rows" : 0},
|
||||
@ -3748,9 +3748,9 @@
|
||||
"rows" : 55},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"k_compound":{"$nin":[5,15]}},{"$nor":[{"a_idx":{"$elemMatch":{"$exists":false}}},{"a_compound":{"$all":[20,4,16,10]}},{"$or":[{"a_noidx":{"$eq":7}},{"a_noidx":{"$elemMatch":{"$exists":false}}},{"a_idx":{"$all":[16,19,14]}}]}]}],"$or":[{"a_idx":{"$all":[17,3,17]}},{"a_compound":{"$elemMatch":{"$exists":true,"$lt":15}}}]}},{"$sort":{"d_idx":-1,"i_idx":1,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 5.0)","(5.0, 15.0)","(15.0, MaxKey]"]}}}},
|
||||
"keys" : 99802,
|
||||
"docs" : 99800,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[3.0, 3.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 5.0)","(5.0, 15.0)","(15.0, MaxKey]"],"a_compound":["[-inf, 15.0)"]}}}]}}},
|
||||
"keys" : 221333,
|
||||
"docs" : 225386,
|
||||
"sorts": 1110568,
|
||||
"plans": 12,
|
||||
"rows" : 89544},
|
||||
@ -3892,9 +3892,9 @@
|
||||
"rows" : 1200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_noidx":{"$lt":4}},{"$or":[{"c_noidx":{"$in":[9,11]}},{"a_compound":{"$all":[13,7,2,3]}}]},{"$or":[{"i_compound":{"$lt":4}},{"a_idx":{"$eq":7}},{"a_compound":{"$exists":false}}]}],"h_compound":{"$nin":[19,13,13]}}},{"$sort":{"i_idx":-1,"z_idx":1}},{"$limit":148}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"h_compound_1","indexBounds":{"h_compound":["[MinKey, 13.0)","(13.0, 19.0)","(19.0, MaxKey]"]}}}},
|
||||
"keys" : 98002,
|
||||
"docs" : 98000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"],"i_compound":["[MinKey, -inf)","[4.0, MaxKey]"]}}}},
|
||||
"keys" : 468937,
|
||||
"docs" : 99996,
|
||||
"sorts": 34784,
|
||||
"plans": 16,
|
||||
"rows" : 148},
|
||||
@ -4212,9 +4212,9 @@
|
||||
"rows" : 239},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_idx":{"$all":[3,20,14,8,3]}},{"$nor":[{"a_idx":{"$elemMatch":{"$nin":[19,8,6]}}},{"k_compound":{"$lt":10}}]},{"c_idx":{"$in":[6,3]}},{"d_compound":{"$lt":11}}],"a_compound":{"$gte":14}}},{"$sort":{"h_idx":1,"k_idx":1}},{"$limit":213},{"$project":{"_id":0,"k_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[14.0, inf]"]}}}}},
|
||||
"keys" : 275000,
|
||||
"docs" : 99986,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[14.0, 14.0]"]}}},{"stage":"IXSCAN","indexName":"c_idx_1","indexBounds":{"c_idx":["[3.0, 3.0]","[6.0, 6.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[10.0, MaxKey]"],"a_compound":["[14.0, inf]"]}}},{"stage":"IXSCAN","indexName":"d_compound_1_k_compound_1","indexBounds":{"d_compound":["[-inf, 11.0)"],"k_compound":["[MinKey, MaxKey]"]}}]}}}},
|
||||
"keys" : 376000,
|
||||
"docs" : 199996,
|
||||
"sorts": 636040,
|
||||
"plans": 12,
|
||||
"rows" : 213},
|
||||
@ -4244,9 +4244,9 @@
|
||||
"rows" : 90},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"k_compound":{"$exists":true}},{"k_idx":{"$exists":false}},{"c_compound":{"$nin":[9,14]}}],"a_compound":{"$gte":4},"a_noidx":{"$elemMatch":{"$eq":19,"$exists":true,"$gte":10}}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[4.0, inf]"]}}},
|
||||
"keys" : 349857,
|
||||
"docs" : 99996,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"c_compound_1","indexBounds":{"c_compound":["[MinKey, 9.0)","(9.0, 14.0)","(14.0, MaxKey]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[4.0, inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_idx_1","indexBounds":{"k_idx":["[null, null]"]}}}]}},
|
||||
"keys" : 450857,
|
||||
"docs" : 199996,
|
||||
"sorts": 0,
|
||||
"plans": 6,
|
||||
"rows" : 1000},
|
||||
@ -4372,8 +4372,8 @@
|
||||
"rows" : 221},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$exists":false}},{"a_compound":{"$all":[18,4]}}],"a_compound":{"$nin":[9,5,1]}}},{"$sort":{"c_idx":-1,"z_idx":1}},{"$limit":66}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 1.0)","(1.0, 5.0)","(5.0, 9.0)","(9.0, MaxKey]"]}}}},
|
||||
"keys" : 403959,
|
||||
"docs" : 100000,
|
||||
"sorts": 212760,
|
||||
"plans": 13,
|
||||
@ -5148,9 +5148,9 @@
|
||||
"rows" : 20841},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"a_idx":{"$all":[11,4,4]}},{"a_idx":{"$eq":15}}]},{"$and":[{"c_compound":{"$in":[13,1,20,15]}},{"$or":[{"c_noidx":{"$exists":true}},{"a_noidx":{"$all":[8,19]}}]}]},{"$nor":[{"$and":[{"a_compound":{"$elemMatch":{"$in":[12,12,20,1]}}},{"$or":[{"a_idx":{"$exists":true}},{"a_noidx":{"$elemMatch":{"$gte":15,"$in":[4,9]}}},{"k_noidx":{"$exists":true}}]}]},{"a_idx":{"$exists":true}},{"a_compound":{"$gt":6}}]}],"d_compound":{"$lte":2},"d_noidx":{"$ne":12}}},{"$sort":{"d_idx":1,"h_idx":-1,"z_idx":1}},{"$limit":58}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1","indexBounds":{"d_compound":["[-inf, 2.0]"]}}}},
|
||||
"keys" : 30000,
|
||||
"docs" : 30000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[4.0, 4.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 6.0]","(inf, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"c_compound_1_d_compound_1","indexBounds":{"c_compound":["[1.0, 1.0]","[13.0, 13.0]","[15.0, 15.0]","[20.0, 20.0]"],"d_compound":["[-inf, 2.0]"]}}},{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[15.0, 15.0]"]}}]}}},
|
||||
"keys" : 207675,
|
||||
"docs" : 177987,
|
||||
"sorts": 151813,
|
||||
"plans": 12,
|
||||
"rows" : 58},
|
||||
@ -5700,9 +5700,9 @@
|
||||
"rows" : 3759},
|
||||
|
||||
{">>>pipeline": [{"$match":{"a_compound":{"$elemMatch":{"$lt":20,"$nin":[11,7,8]}},"i_compound":{"$nin":[13,1,13]}}},{"$sort":{"a_idx":1,"h_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[MinKey, 1.0)","(1.0, 13.0)","(13.0, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 99998,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[-inf, 7.0)","(7.0, 8.0)","(8.0, 11.0)","(11.0, 20.0)"],"i_compound":["[MinKey, 1.0)","(1.0, 13.0)","(13.0, MaxKey]"]}}}},
|
||||
"keys" : 178603,
|
||||
"docs" : 99940,
|
||||
"sorts": 1250482,
|
||||
"plans": 4,
|
||||
"rows" : 99940},
|
||||
@ -5988,9 +5988,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"d_idx":{"$exists":true}},{"$or":[{"a_compound":{"$ne":3}},{"a_compound":{"$elemMatch":{"$in":[11,17]}}},{"a_idx":{"$all":[19,13,16]}}]}],"a_compound":{"$elemMatch":{"$gte":14}},"a_noidx":{"$elemMatch":{"$gte":12}},"k_compound":{"$nin":[10,2]}}},{"$sort":{"c_idx":1,"h_idx":-1}},{"$limit":142},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 10.0)","(10.0, MaxKey]"]}}}}},
|
||||
"keys" : 99802,
|
||||
"docs" : 99800,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 10.0)","(10.0, MaxKey]"],"a_compound":["[14.0, inf]"]}}}}},
|
||||
"keys" : 275802,
|
||||
"docs" : 99788,
|
||||
"sorts": 594320,
|
||||
"plans": 14,
|
||||
"rows" : 142},
|
||||
@ -6084,9 +6084,9 @@
|
||||
"rows" : 17093},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$or":[{"a_compound":{"$all":[20,6,17,5]}},{"z_compound":{"$lte":14}}]},{"z_idx":{"$lte":10}}],"c_compound":{"$in":[1,3,2]}}},{"$sort":{"h_idx":1,"i_idx":-1}},{"$limit":90},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_idx_1","indexBounds":{"z_idx":["[-inf, 10.0]"]}}}}},
|
||||
"keys" : 99996,
|
||||
"docs" : 99996,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[6.0, 6.0]"]}}},{"stage":"IXSCAN","indexName":"z_compound_1_c_compound_1","indexBounds":{"z_compound":["[-inf, 14.0]"],"c_compound":["[1.0, 1.0]","[2.0, 2.0]","[3.0, 3.0]"]}}]}}}},
|
||||
"keys" : 110873,
|
||||
"docs" : 110873,
|
||||
"sorts": 549959,
|
||||
"plans": 12,
|
||||
"rows" : 90},
|
||||
@ -7300,9 +7300,9 @@
|
||||
"rows" : 99900},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[16,10]}},{"h_idx":{"$exists":false}},{"a_compound":{"$elemMatch":{"$eq":19,"$lte":4}}}],"a_idx":{"$exists":true},"k_compound":{"$gte":18}}},{"$sort":{"d_idx":-1,"i_idx":1,"z_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[18.0, inf]"]}}}},
|
||||
"keys" : 98200,
|
||||
"docs" : 98200,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[18.0, inf]"],"a_compound":["[MinKey, 16.0)","(16.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 10.0)","(10.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 930002,
|
||||
"docs" : 298100,
|
||||
"sorts": 1226986,
|
||||
"plans": 13,
|
||||
"rows" : 98200},
|
||||
@ -7556,9 +7556,9 @@
|
||||
"rows" : 99991},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_compound":{"$in":[1,2,10]}},{"a_compound":{"$elemMatch":{"$nin":[17,2,11,6]}}}],"$nor":[{"h_noidx":{"$nin":[12,4,2,15]}},{"i_compound":{"$in":[4,13]}},{"d_idx":{"$in":[2,7,19]}}]}},{"$sort":{"d_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[1.0, 1.0]","[2.0, 2.0]","[10.0, 10.0]"]}}}},
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[1.0, 1.0]","[2.0, 2.0]","[10.0, 10.0]"],"i_compound":["[MinKey, 4.0)","(4.0, 13.0)","(13.0, MaxKey]"]}}}},
|
||||
"keys" : 84307,
|
||||
"docs" : 76578,
|
||||
"docs" : 76577,
|
||||
"sorts": 11496,
|
||||
"plans": 7,
|
||||
"rows" : 1395},
|
||||
@ -8380,7 +8380,7 @@
|
||||
"rows" : 20000}
|
||||
|
||||
],
|
||||
">>>totals": {"pipelines": 1043, "plans": 10404, "keys": 101344342, "docs": 55787815, "sorts": 69862036, "rows": 38020022, "errors": 0},
|
||||
">>>totals": {"pipelines": 1043, "plans": 10404, "keys": 111988632, "docs": 58416527, "sorts": 69862036, "rows": 38020022, "errors": 0},
|
||||
">>>parameters": {"featureFlagCostBasedRanker":{"value":true,"version":"8.3","fcv_gated":false,"currentlyEnabled":true},"internalQueryCBRCEMode":"automaticCE","samplingMarginOfError":5,"samplingConfidenceInterval":"95","internalQuerySamplingCEMethod":"chunk","internalQuerySamplingBySequentialScan":true,"automaticCEPlanRankingStrategy":"CBRCostBasedRankerChoice"}}
|
||||
|
||||
|
||||
|
||||
@ -276,9 +276,9 @@
|
||||
"rows" : 159},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field2_Timestamp_idx":{"$type":"timestamp"},"field7_str_idx":{"$ne":"ku"},"field35_int_idx":{"$ne":7803},"$or":[{"$or":[{"$or":[{"field24_mixed_idx":[166,557,910,148,196,348,416],"field6_mixed_idx":{"$elemMatch":{"$all":[true,false],"$size":13}}},{"field19_datetime_idx":{"$gte":"2024-03-10T00:00:00.000Z"},"field14_dict_idx":{"$gt":{"d":6}}},{"field43_str":{"$regex":{"$regex":"q","$options":""}},"field4_list_idx":{"$ne":64}}]},{"field21_Decimal128_idx":{"$lte":{"$numberDecimal":"1.16"}},"field42_mixed":{"$gt":true},"field10_datetime_idx":{"$lte":"2024-05-06T00:00:00.000Z"}},{"$or":[{"field39_Decimal128":{"$gte":{"$numberDecimal":"8.1"}},"field35_int_idx":{"$ne":6094},"field8_int_idx":{"$gt":771}},{"field12_Decimal128_idx":{"$eq":{"$numberDecimal":"35.1"}},"field31_list_idx":{"$size":20}}]},{"field25_str_idx":{"$gte":"E"},"field19_datetime_idx":{"$gt":"2024-03-24T00:00:00.000Z"}}]},{"$and":[{"field25_str_idx":{"$gte":"hD"},"field24_mixed_idx":{"$ne":416},"field34_str_idx":{"$type":"string"}},{"field31_list_idx":{"$size":5},"field1_datetime_idx":{"$ne":"2024-01-11T00:00:00.000Z"}},{"field40_list":{"$elemMatch":{"$in":[38,18,69,164,60,9],"$size":5}},"field7_str_idx":{"$regex":{"$regex":"^FTn","$options":""}}}]}]}},{"$skip":33},{"$project":{"field41_dict":1,"field38_Timestamp":1,"field28_datetime_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[MaxKey, 7803.0)","(7803.0, MinKey]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 99997,
|
||||
"docs" : 99996,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[MaxKey, 64.0)","(64.0, MinKey]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field12_Decimal128_idx_1","indexBounds":{"field12_Decimal128_idx":["[35.1, 35.1]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[new Date(1710028800000), new Date(9223372036854775807)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field21_Decimal128_idx_-1","indexBounds":{"field21_Decimal128_idx":["[1.16, -inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[[ 166.0, 557.0, 910.0, 148.0, 196.0, 348.0, 416.0 ], [ 166.0, 557.0, 910.0, 148.0, 196.0, 348.0, 416.0 ]]","[166.0, 166.0]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"E\", {})"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})"],"field25_str_idx":["({}, \"hD\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[MaxKey, 7803.0)","(7803.0, 6094.0)","(6094.0, MinKey]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}]}}}},
|
||||
"keys" : 400422,
|
||||
"docs" : 384142,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 11},
|
||||
@ -620,9 +620,9 @@
|
||||
"rows" : 1200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$regex":{"$regex":"c","$options":""}},"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1738587683,"i":0}}},"field32_dict_idx":{"$gt":{"b":1,"g":1}},"$nor":[{"field9_bool_idx":{"$ne":true},"field19_datetime_idx":{"$lte":"2024-01-21T00:00:00.000Z"},"field6_mixed_idx":false},{"field27_bool_idx":{"$lt":false}}]}},{"$sort":{"field1_datetime_idx":-1}},{"$skip":15}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[/c/, /c/]","({}, \"\"]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 24365,
|
||||
"docs" : 20948,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1738587683, 0)]"],"field4_list_idx":["[\"\", {})","[/c/, /c/]"]}}}}},
|
||||
"keys" : 15490,
|
||||
"docs" : 10708,
|
||||
"sorts": 2989,
|
||||
"plans": 7,
|
||||
"rows" : 409},
|
||||
@ -692,9 +692,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$nor":[{"$nor":[{"field2_Timestamp_idx":{"$gt":{"$timestamp":{"t":1717978667,"i":0}}},"field35_int_idx":{"$lte":5416}},{"field31_list_idx":30,"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1735480873,"i":0}}},"field15_mixed_idx":{"$gte":552}},{"field16_str_idx":{"$ne":"mP"},"field17_int_idx":{"$type":"int"},"field22_list_idx":[]},{"field6_mixed_idx":{"$lte":74816},"field24_mixed_idx":{"$all":[]}}]},{"field22_list_idx":[28,12,193,295,10,63,50,17,66],"field24_mixed_idx":{"$size":14},"field26_int_idx":{"$ne":60}}]},{"field10_datetime_idx":{"$ne":"2024-02-23T00:00:00.000Z"},"field13_list_idx":{"$type":"int"},"field31_list_idx":{"$lt":112}}],"field34_str_idx":{"$regex":{"$regex":"p","$options":""}},"field7_str_idx":{"$gt":"RhfV"},"field41_dict":{"$gt":{"b":1,"g":1}},"$or":[{"field24_mixed_idx":"k","field22_list_idx":{"$elemMatch":{"$in":[27,65,95,64,129],"$lte":731}}},{"field22_list_idx":{"$type":"int"},"field39_Decimal128":{"$type":"decimal"}},{"field39_Decimal128":{"$eq":{"$numberDecimal":"7.2"}},"field32_dict_idx":{"$eq":{"n":2}},"field19_datetime_idx":{"$ne":"2024-01-29T00:00:00.000Z"}}]}},{"$project":{"field18_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})","[/p/, /p/]"],"field25_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 1918,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(112.0, -inf]"],"field7_str_idx":["({}, \"RhfV\")"]}}}},
|
||||
"keys" : 75670,
|
||||
"docs" : 65452,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 264},
|
||||
@ -916,9 +916,9 @@
|
||||
"rows" : 8},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field29_Timestamp_idx":{"$exists":true},"field34_str_idx":{"$gt":"S"}},{"$or":[{"field16_str_idx":{"$lt":"zJ"},"field7_str_idx":{"$gte":"GOKk"}},{"field28_datetime_idx":{"$type":"date"},"field13_list_idx":[46,16,8,52,62,30,19],"field45_bool":{"$gte":true}},{"field5_dict_idx":{"$type":"objectId"},"field33_mixed_idx":{"$lte":20}}]},{"$and":[{"$and":[{"$nor":[{"field22_list_idx":[18,17,142,12,41,1,54,53,2],"field24_mixed_idx":[28,789,908,513],"field28_datetime_idx":{"$lt":"2024-01-13T00:00:00.000Z"}},{"field45_bool":{"$eq":false},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"21.2"}}},{"field41_dict":{"$lt":{"d":1,"b":1,"e":1}},"field31_list_idx":{"$in":[125,117,62,67,127]},"field37_datetime":{"$gt":"2024-01-09T00:00:00.000Z"}}]},{"field34_str_idx":{"$ne":"L"},"field46_datetime":{"$ne":"2024-02-28T00:00:00.000Z"}},{"field47_Timestamp":{"$gte":{"$timestamp":{"t":1756917908,"i":0}}},"field34_str_idx":{"$ne":"gC"}}]},{"$or":[{"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"100.3"}},"field26_int_idx":{"$ne":2624}},{"field28_datetime_idx":{"$lt":"2024-01-12T00:00:00.000Z"},"field33_mixed_idx":{"$ne":19}},{"field25_str_idx":{"$regex":{"$regex":"^Ld","$options":""}},"field6_mixed_idx":{"$size":17}}]}]}],"field16_str_idx":{"$gt":"cK"},"field8_int_idx":{"$lte":844}}},{"$skip":160}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field16_str_idx_-1","indexBounds":{"field16_str_idx":["({}, \"cK\")"]}}}},
|
||||
"keys" : 37820,
|
||||
"docs" : 37820,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field5_dict_idx_-1","indexBounds":{"field5_dict_idx":["[ObjectId('ffffffffffffffffffffffff'), ObjectId('000000000000000000000000')]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[46.0, 46.0]","[[ 46.0, 16.0, 8.0, 52.0, 62.0, 30.0, 19.0 ], [ 46.0, 16.0, 8.0, 52.0, 62.0, 30.0, 19.0 ]]"],"field28_datetime_idx":["[new Date(9223372036854775807), new Date(-9223372036854775808)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field16_str_idx_-1","indexBounds":{"field16_str_idx":["(\"zJ\", \"cK\")"]}}}]}}},
|
||||
"keys" : 37168,
|
||||
"docs" : 69576,
|
||||
"sorts": 0,
|
||||
"plans": 16,
|
||||
"rows" : 59},
|
||||
@ -1084,9 +1084,9 @@
|
||||
"rows" : 12},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field13_list_idx":{"$nin":[42,55,37,38,2,74]},"field15_mixed_idx":{"$ne":"2024-01-12T00:00:00.000Z"}},{"$and":[{"field28_datetime_idx":{"$lte":"2024-01-08T00:00:00.000Z"},"field7_str_idx":{"$gt":"x"},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"9.5"}}},{"$or":[{"field27_bool_idx":{"$gte":false},"field31_list_idx":{"$type":"int"}},{"field46_datetime":{"$ne":"2025-01-02T00:00:00.000Z"},"field10_datetime_idx":{"$gte":"2024-10-28T00:00:00.000Z"}},{"field31_list_idx":[24,23,61,255,91,56],"field46_datetime":{"$gt":"2024-02-11T00:00:00.000Z"}},{"field15_mixed_idx":{"$ne":{"$timestamp":{"t":1754479159,"i":0}}},"field47_Timestamp":{"$type":"timestamp"},"field25_str_idx":{"$regex":{"$regex":"^GV","$options":""}}},{"$and":[{"field6_mixed_idx":{"$in":["y","v","d","j","e","m"]},"field5_dict_idx":{"$eq":{"b":1,"g":2}},"field7_str_idx":{"$eq":"S"},"field43_str":{"$exists":true}},{"field30_Decimal128_idx":{"$gte":{"$numberDecimal":"1.1"}},"field24_mixed_idx":["p","x","f"],"field29_Timestamp_idx":{"$lt":{"$timestamp":{"t":1745964398,"i":0}}}}]}]}]}],"$or":[{"$nor":[{"field31_list_idx":21,"field6_mixed_idx":{"$gt":12075},"field13_list_idx":{"$elemMatch":{"$size":11,"$lte":3}}},{"field14_dict_idx":{"$lt":{"c":1,"d":1}},"field40_list":{"$gte":38}}]},{"$and":[{"field25_str_idx":{"$lte":"xB"},"field7_str_idx":{"$regex":{"$regex":"^w","$options":""}},"field9_bool_idx":{"$gte":true}},{"field18_bool_idx":{"$gt":true},"field7_str_idx":{"$lte":"y"}}]}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1704672000000)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 4616,
|
||||
"docs" : 4616,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[MinKey, 2.0)","(2.0, 37.0)","(37.0, 38.0)","(38.0, 42.0)","(42.0, 55.0)","(55.0, 74.0)","(74.0, MaxKey]"],"field28_datetime_idx":["[new Date(1704672000000), new Date(-9223372036854775808)]"]}}},
|
||||
"keys" : 4535,
|
||||
"docs" : 4114,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 202},
|
||||
@ -1220,9 +1220,9 @@
|
||||
"rows" : 7064},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"field13_list_idx":{"$size":18},"field8_int_idx":{"$gt":399}},{"field40_list":{"$regex":{"$regex":"c","$options":""}},"field6_mixed_idx":{"$in":["g","z","t","c","h","p"]},"field34_str_idx":{"$gte":"R"}},{"field24_mixed_idx":{"$elemMatch":{"$size":10}},"field26_int_idx":{"$type":"int"},"field45_bool":{"$ne":false}}]},{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1722111153,"i":0}}},"field34_str_idx":{"$eq":"Yo"},"field0_bool_idx":{"$gte":true}},{"field24_mixed_idx":{"$in":[{"$timestamp":{"t":1767139200,"i":0}}]},"field44_int":{"$eq":2761},"field12_Decimal128_idx":{"$eq":{"$numberDecimal":"4.3"}},"field9_bool_idx":{"$gte":true}},{"field0_bool_idx":{"$lte":false},"field4_list_idx":{"$nin":[24,50,49,75,53,120,2,32,6,43]}}],"field34_str_idx":{"$gte":"Fh"},"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1747753551,"i":0}}},"$and":[{"field40_list":[],"field22_list_idx":{"$lte":19}},{"field24_mixed_idx":{"$exists":true},"field7_str_idx":{"$lte":"s"}}]}},{"$sort":{"field27_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["(Timestamp(1747753551, 0), Timestamp(0, 0)]"]}}}},
|
||||
"keys" : 47811,
|
||||
"docs" : 47811,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"s\"]"],"field20_Timestamp_idx":["(Timestamp(1747753551, 0), Timestamp(0, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 64099,
|
||||
"docs" : 40792,
|
||||
"sorts": 386,
|
||||
"plans": 9,
|
||||
"rows" : 73},
|
||||
@ -2620,9 +2620,9 @@
|
||||
"rows" : 21},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field13_list_idx":{"$lt":84},"field40_list":"u"},{"field19_datetime_idx":{"$gte":"2024-01-11T00:00:00.000Z"},"field22_list_idx":{"$all":[115,6,68,295,40,34,52,5]}}],"field7_str_idx":{"$lte":"rxZ"},"field18_bool_idx":{"$lte":true}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"rxZ\"]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 86013,
|
||||
"docs" : 84714,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[-inf, 84.0)"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[true, false]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[115.0, 115.0]"]}}}]}},
|
||||
"keys" : 115007,
|
||||
"docs" : 99782,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 3},
|
||||
@ -2852,9 +2852,9 @@
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$nor":[{"field24_mixed_idx":{"$regex":{"$regex":"z","$options":""}},"field5_dict_idx":{"$gte":{"d":27}}},{"field40_list":["g","f","h","b","c","w","q","v","s"],"field7_str_idx":{"$lt":"ho"}}]},{"field2_Timestamp_idx":{"$gt":{"$timestamp":{"t":1760042412,"i":0}}},"field17_int_idx":{"$exists":true},"field0_bool_idx":{"$lte":false}},{"$and":[{"$or":[{"field25_str_idx":{"$lt":"yf"},"field6_mixed_idx":{"$lte":true}},{"field19_datetime_idx":{"$gt":"2024-04-04T00:00:00.000Z"},"field31_list_idx":{"$ne":23},"field25_str_idx":{"$eq":"vC"}}]},{"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1752124838,"i":0}}},"field36_bool":{"$gte":false},"field4_list_idx":{"$elemMatch":{"$ne":"l","$in":["m","i","z","c","g","b","u"]}}}]}],"$or":[{"field45_bool":{"$ne":false},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"14.1"}}},{"$and":[{"field24_mixed_idx":[],"field12_Decimal128_idx":{"$lte":{"$numberDecimal":"5.4"}}},{"field40_list":{"$all":[20,50]},"field13_list_idx":{"$nin":[]},"field4_list_idx":{"$regex":{"$regex":"^h","$options":""}}}]}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[\"z\", \"z\"]","[\"u\", \"u\"]","[\"m\", \"m\"]","[\"i\", \"i\"]","[\"g\", \"g\"]","[\"c\", \"c\"]","[\"b\", \"b\"]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 21255,
|
||||
"docs" : 19363,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1760042412, 0))"],"field4_list_idx":["[\"b\", \"b\"]","[\"c\", \"c\"]","[\"g\", \"g\"]","[\"i\", \"i\"]","[\"m\", \"m\"]","[\"u\", \"u\"]","[\"z\", \"z\"]"]}}},
|
||||
"keys" : 11376,
|
||||
"docs" : 9439,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 70},
|
||||
@ -3012,9 +3012,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field34_str_idx":{"$lt":"w"},"field29_Timestamp_idx":{"$lte":{"$timestamp":{"t":1756180545,"i":0}}},"$and":[{"field25_str_idx":{"$gte":"Bi"},"field9_bool_idx":{"$ne":true}},{"field1_datetime_idx":{"$lt":"2024-01-28T00:00:00.000Z"},"field16_str_idx":{"$regex":{"$regex":"IN","$options":""}}},{"$or":[{"field11_Timestamp_idx":{"$gte":{"$timestamp":{"t":1753376444,"i":0}}},"field31_list_idx":{"$lt":51}},{"field22_list_idx":[],"field39_Decimal128":{"$gte":{"$numberDecimal":"2.3"}},"field5_dict_idx":{"$ne":{"h":3}}},{"$or":[{"field40_list":{"$size":17},"field15_mixed_idx":{"$gte":"2024-02-03T00:00:00.000Z"}},{"field4_list_idx":{"$size":6},"field33_mixed_idx":{"$type":"int"},"field43_str":{"$lte":"x"}}]}]}]}},{"$project":{"field39_Decimal128":1,"field0_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field16_str_idx_-1","indexBounds":{"field16_str_idx":["[/IN/, /IN/]","({}, \"\"]"]}}}},
|
||||
"keys" : 83845,
|
||||
"docs" : 12,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", \"w\")"],"field25_str_idx":["({}, \"Bi\"]"]}}}},
|
||||
"keys" : 89010,
|
||||
"docs" : 88923,
|
||||
"sorts": 0,
|
||||
"plans": 10,
|
||||
"rows" : 3},
|
||||
@ -3748,9 +3748,9 @@
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field14_dict_idx":{"$gte":{"f":2,"c":1}},"field7_str_idx":{"$regex":{"$regex":"^O","$options":""}}},{"field29_Timestamp_idx":{"$ne":{"$timestamp":{"t":1732429607,"i":0}}},"field20_Timestamp_idx":{"$ne":{"$timestamp":{"t":1754810599,"i":0}}}},{"field31_list_idx":{"$nin":[51,77,56,16,75,111,149,9,59]},"field28_datetime_idx":{"$eq":null},"field40_list":{"$elemMatch":{"$ne":"d"}},"field34_str_idx":{"$regex":{"$regex":"U","$options":""}}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { f: 2.0, c: 1.0 }]"],"field34_str_idx":["[/U/, /U/]","({}, \"\"]"]}}},
|
||||
"keys" : 2893,
|
||||
"docs" : 56,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"O\", \"P\")","[/^O/, /^O/]"],"field20_Timestamp_idx":["[MaxKey, Timestamp(1754810599, 0))","(Timestamp(1754810599, 0), MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 1977,
|
||||
"docs" : 1938,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 1},
|
||||
@ -3772,9 +3772,9 @@
|
||||
"rows" : 74773},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field8_int_idx":{"$ne":694},"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"2.1"}},"$nor":[{"field24_mixed_idx":{"$nin":[10,417,754,170,19,395]},"field8_int_idx":{"$ne":465}},{"field47_Timestamp":{"$lt":{"$timestamp":{"t":1760200963,"i":0}}},"field31_list_idx":{"$elemMatch":{"$size":10,"$lte":53}}}],"field35_int_idx":{"$lte":6242},"field14_dict_idx":{"$lt":{"c":1,"b":1,"e":1}},"field34_str_idx":{"$gt":"nz"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["(\"nz\", {})"],"field25_str_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 23047,
|
||||
"docs" : 23047,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["({ c: 1.0, b: 1.0, e: 1.0 }, {}]"],"field34_str_idx":["({}, \"nz\")"]}}},
|
||||
"keys" : 20342,
|
||||
"docs" : 19550,
|
||||
"sorts": 0,
|
||||
"plans": 5,
|
||||
"rows" : 3},
|
||||
@ -3940,9 +3940,9 @@
|
||||
"rows" : 164},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field10_datetime_idx":{"$lte":"2024-02-19T00:00:00.000Z"},"field13_list_idx":{"$size":18}},{"field16_str_idx":{"$gte":"O"},"field4_list_idx":{"$size":2}},{"$or":[{"field31_list_idx":{"$ne":41},"field24_mixed_idx":{"$ne":{"$timestamp":{"t":1767139200,"i":0}}}},{"field22_list_idx":{"$size":10},"field6_mixed_idx":"q"}]},{"field41_dict":{"$ne":{"n":1}},"field31_list_idx":{"$size":7},"field34_str_idx":{"$eq":"h"}}],"field34_str_idx":{"$ne":"o"},"field31_list_idx":{"$lte":33},"field7_str_idx":{"$gte":"Pu"},"field40_list":{"$gte":"o"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"Pu\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 70143,
|
||||
"docs" : 69061,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[33.0, -inf]"],"field7_str_idx":["({}, \"Pu\"]"]}}},
|
||||
"keys" : 79545,
|
||||
"docs" : 68885,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 3},
|
||||
@ -3980,9 +3980,9 @@
|
||||
"rows" : 9},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$and":[{"field31_list_idx":{"$gte":46},"field19_datetime_idx":{"$ne":"2024-01-22T00:00:00.000Z"}},{"field0_bool_idx":{"$type":"bool"},"field6_mixed_idx":{"$regex":{"$regex":"^j","$options":""}},"field1_datetime_idx":{"$lte":"2024-02-23T00:00:00.000Z"}},{"field23_dict_idx":{"$gte":{"c":1,"b":3}},"field24_mixed_idx":{"$regex":{"$regex":"h","$options":""}},"field22_list_idx":13}]},{"field22_list_idx":{"$ne":68},"field6_mixed_idx":"h"},{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1746533890,"i":0}}},"field42_mixed":{"$lt":true},"field28_datetime_idx":{"$lt":"2024-01-20T00:00:00.000Z"}}],"field7_str_idx":{"$gt":"bO"},"field19_datetime_idx":{"$lt":"2024-01-28T00:00:00.000Z"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[\"j\", \"k\")","[/^j/, /^j/]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["(\"bO\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[\"h\", \"h\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705708800000))"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}]}},
|
||||
"keys" : 51644,
|
||||
"docs" : 4800,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["(\"bO\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[\"h\", \"h\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field22_list_idx_1","indexBounds":{"field22_list_idx":["[13.0, 13.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705708800000))"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}]}},
|
||||
"keys" : 51745,
|
||||
"docs" : 4902,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 38},
|
||||
@ -4044,9 +4044,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field17_int_idx":{"$type":"int"},"field28_datetime_idx":{"$ne":"2024-01-26T00:00:00.000Z"},"field13_list_idx":{"$lte":42},"field47_Timestamp":{"$gte":{"$timestamp":{"t":1734530134,"i":0}}},"field40_list":{"$gte":86},"$nor":[{"field24_mixed_idx":{"$size":18},"field35_int_idx":{"$lt":2267}},{"$nor":[{"field22_list_idx":{"$exists":true}},{"field24_mixed_idx":{"$timestamp":{"t":1767139200,"i":0}},"field40_list":35}]},{"field15_mixed_idx":{"$type":"date"},"field24_mixed_idx":{"$size":7},"field31_list_idx":{"$elemMatch":{"$lte":39}}},{"field31_list_idx":{"$lte":82},"field6_mixed_idx":"u","field21_Decimal128_idx":{"$exists":false},"field45_bool":{"$lte":false}}],"field1_datetime_idx":{"$lte":"2024-01-18T00:00:00.000Z"},"field35_int_idx":{"$lt":9815},"field26_int_idx":{"$lte":50}}},{"$project":{"field29_Timestamp_idx":1,"field23_dict_idx":1,"field39_Decimal128":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["[50.0, -inf]"],"field21_Decimal128_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 48085,
|
||||
"docs" : 48085,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[-inf, 42.0]"],"field28_datetime_idx":["[MaxKey, new Date(1706227200000))","(new Date(1706227200000), MinKey]"]}}}},
|
||||
"keys" : 114851,
|
||||
"docs" : 99749,
|
||||
"sorts": 0,
|
||||
"plans": 6,
|
||||
"rows" : 4},
|
||||
@ -4532,9 +4532,9 @@
|
||||
"rows" : 22},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field21_Decimal128_idx":{"$lte":{"$numberDecimal":"7.2"}},"field29_Timestamp_idx":{"$exists":true},"field39_Decimal128":{"$lt":{"$numberDecimal":"3.2"}},"$or":[{"field43_str":{"$exists":false},"field23_dict_idx":{"$eq":{"c":5,"b":2}}},{"field4_list_idx":{"$ne":3},"field9_bool_idx":{"$ne":true}}],"field26_int_idx":{"$ne":60},"field8_int_idx":{"$gte":105},"field32_dict_idx":{"$gte":{"c":1,"b":1,"h":1}},"$nor":[{"field26_int_idx":{"$lt":84},"field7_str_idx":{"$gte":"jyKI"}},{"field31_list_idx":{"$all":[]}}]}},{"$sort":{"field2_Timestamp_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field8_int_idx_1_field9_bool_idx_1","indexBounds":{"field8_int_idx":["[105.0, inf]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 8765,
|
||||
"docs" : 8765,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field8_int_idx_1_field9_bool_idx_1","indexBounds":{"field8_int_idx":["[105.0, inf]"],"field9_bool_idx":["[MinKey, true)","(true, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ c: 5.0, b: 2.0 }, { c: 5.0, b: 2.0 }]"]}}}]}}},
|
||||
"keys" : 8334,
|
||||
"docs" : 15414,
|
||||
"sorts": 6269,
|
||||
"plans": 9,
|
||||
"rows" : 814},
|
||||
@ -4740,9 +4740,9 @@
|
||||
"rows" : 175},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field27_bool_idx":{"$type":"bool"},"field47_Timestamp":{"$gt":{"$timestamp":{"t":1763930520,"i":0}}}},{"$and":[{"field6_mixed_idx":{"$size":6},"field41_dict":{"$gte":{}},"field29_Timestamp_idx":{"$ne":{"$timestamp":{"t":1748339863,"i":0}}}},{"field41_dict":{"$lte":{"c":1,"b":8}},"field25_str_idx":{"$lte":"Jk"}}]},{"field35_int_idx":{"$lte":2587},"field34_str_idx":{"$lt":"vA"},"field47_Timestamp":{"$gte":{"$timestamp":{"t":1736559935,"i":0}}},"field6_mixed_idx":{"$elemMatch":{"$ne":32322}},"field8_int_idx":{"$lte":4}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"\", \"Jk\"]"]}}},
|
||||
"keys" : 19196,
|
||||
"docs" : 19196,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", \"vA\")"],"field25_str_idx":["[\"Jk\", \"\"]"]}}},
|
||||
"keys" : 18428,
|
||||
"docs" : 17675,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 1},
|
||||
@ -4812,9 +4812,9 @@
|
||||
"rows" : 9127},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field2_Timestamp_idx":{"$lt":{"$timestamp":{"t":1754657408,"i":0}}},"field22_list_idx":{"$ne":39},"field28_datetime_idx":{"$lte":"2024-01-13T00:00:00.000Z"},"$or":[{"field20_Timestamp_idx":{"$eq":{"$timestamp":{"t":1737405407,"i":0}}},"field14_dict_idx":{"$gt":{"e":6}}},{"field7_str_idx":{"$regex":{"$regex":"^n","$options":""}},"field39_Decimal128":{"$type":"decimal"},"field6_mixed_idx":{"$nin":["o","n","z","b","u","c","p","m","q"]}},{"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1761263967,"i":0}}},"field26_int_idx":{"$lte":2726},"field24_mixed_idx":{"$regex":{"$regex":"^f","$options":""}},"field33_mixed_idx":{"$lte":93}}],"field17_int_idx":{"$ne":482},"$nor":[{"field5_dict_idx":{"$ne":{"h":4,"b":1}},"field40_list":[34,81]},{"field6_mixed_idx":{"$eq":"i"},"field15_mixed_idx":{"$lt":{"$timestamp":{"t":1741639405,"i":0}}}},{"field10_datetime_idx":{"$gt":"2024-02-12T00:00:00.000Z"},"field22_list_idx":{"$type":"int"},"field28_datetime_idx":{"$eq":"2024-01-21T00:00:00.000Z"},"field23_dict_idx":{"$lt":{"b":1,"d":1,"c":4}}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705104000000)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 4664,
|
||||
"docs" : 4664,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"n\", \"o\")","[/^n/, /^n/]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, \"z\")","(\"z\", \"u\")","(\"u\", \"q\")","(\"q\", \"p\")","(\"p\", \"o\")","(\"o\", \"n\")","(\"n\", \"m\")","(\"m\", \"c\")","(\"c\", \"b\")","(\"b\", MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["[Timestamp(1737405407, 0), Timestamp(1737405407, 0)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[/^f/, /^f/]","(\"g\", \"f\"]"],"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705104000000)]"]}}}]}},
|
||||
"keys" : 2029,
|
||||
"docs" : 3597,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 51},
|
||||
@ -4988,9 +4988,9 @@
|
||||
"rows" : 572},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1750130401,"i":0}}},"field44_int":{"$eq":56817},"$nor":[{"field7_str_idx":{"$lt":"rN"},"field32_dict_idx":{"$gt":{"c":1,"d":1}}},{"field24_mixed_idx":[931]}]}},{"$project":{"field12_Decimal128_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["(Timestamp(1750130401, 0), Timestamp(0, 0)]"]}}}},
|
||||
"keys" : 53024,
|
||||
"docs" : 53024,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[MinKey, \"\")","[\"rN\", MaxKey]"],"field20_Timestamp_idx":["(Timestamp(1750130401, 0), Timestamp(0, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}},{"stage":"IXSCAN","indexName":"field32_dict_idx_1","indexBounds":{"field32_dict_idx":["[MinKey, { c: 1.0, d: 1.0 }]","[[], MaxKey]"]}}]}}},
|
||||
"keys" : 98376,
|
||||
"docs" : 86746,
|
||||
"sorts": 0,
|
||||
"plans": 2,
|
||||
"rows" : 1},
|
||||
@ -5556,9 +5556,9 @@
|
||||
"rows" : 13384},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field23_dict_idx":{"$lte":{"b":12}},"field19_datetime_idx":{"$ne":"2024-05-09T00:00:00.000Z"},"field7_str_idx":{"$lt":"T"},"field13_list_idx":{"$elemMatch":{"$lt":38}},"field31_list_idx":{"$lt":54},"$and":[{"$or":[{"field40_list":{"$regex":{"$regex":"l","$options":""}},"field30_Decimal128_idx":{"$gt":{"$numberDecimal":"4.1"}},"field24_mixed_idx":{"$size":7}},{"field11_Timestamp_idx":{"$lt":{"$timestamp":{"t":1753749328,"i":0}}},"field19_datetime_idx":{"$gte":"2024-01-20T00:00:00.000Z"}},{"field10_datetime_idx":{"$lte":"2024-02-23T00:00:00.000Z"}},{"field3_Decimal128_idx":{"$lte":{"$numberDecimal":"5.1"}},"field6_mixed_idx":["v","s","l"],"field36_bool":{"$eq":false}}]},{"field40_list":{"$elemMatch":{"$eq":"w"}}}]}},{"$project":{"field5_dict_idx":1,"field1_datetime_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"T\")"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 37419,
|
||||
"docs" : 36866,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(54.0, -inf]"],"field7_str_idx":["(\"T\", \"\"]"]}}}},
|
||||
"keys" : 42466,
|
||||
"docs" : 36784,
|
||||
"sorts": 0,
|
||||
"plans": 10,
|
||||
"rows" : 2},
|
||||
@ -5876,9 +5876,9 @@
|
||||
"rows" : 65},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field7_str_idx":{"$regex":{"$regex":"^k","$options":""}},"field8_int_idx":{"$ne":6}},{"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"2.9"}},"field44_int":{"$eq":83792},"field31_list_idx":{"$size":2}},{"field35_int_idx":{"$lte":93},"field37_datetime":{"$exists":false}}],"$nor":[{"field31_list_idx":56,"field10_datetime_idx":{"$gt":"2024-05-08T00:00:00.000Z"}},{"$and":[{"field22_list_idx":{"$size":3},"field1_datetime_idx":{"$lte":"2024-02-11T00:00:00.000Z"},"field0_bool_idx":{"$ne":true},"field24_mixed_idx":{"$eq":865}},{"field31_list_idx":46,"field36_bool":{"$lte":false}}]}],"field4_list_idx":{"$size":6},"field26_int_idx":{"$lt":39}}},{"$project":{"field37_datetime":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["(39.0, -inf]"],"field21_Decimal128_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 39280,
|
||||
"docs" : 39280,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"k\", \"l\")","[/^k/, /^k/]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["(39.0, -inf]"],"field21_Decimal128_idx":["[inf, 2.9]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[93.0, -inf]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 88770,
|
||||
"docs" : 90444,
|
||||
"sorts": 0,
|
||||
"plans": 5,
|
||||
"rows" : 7},
|
||||
@ -6060,9 +6060,9 @@
|
||||
"rows" : 9089},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field31_list_idx":{"$lt":58},"field22_list_idx":{"$type":"int"},"field42_mixed":{"$lt":true}},{"$or":[{"field7_str_idx":{"$eq":"ku"},"field13_list_idx":{"$size":15},"field41_dict":{"$lt":{"b":1,"e":1}},"field46_datetime":{"$gte":"2024-02-16T00:00:00.000Z"}},{"field10_datetime_idx":{"$lt":"2024-02-05T00:00:00.000Z"},"field2_Timestamp_idx":{"$gt":{"$timestamp":{"t":1717655360,"i":0}}},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"8.4"}}}]},{"$nor":[{"field22_list_idx":{"$all":[67,115,18,55,62,54,193,69]},"field26_int_idx":{"$gt":64}},{"field25_str_idx":{"$eq":"N"},"field15_mixed_idx":{"$eq":"2024-02-09T00:00:00.000Z"}}]}],"field40_list":{"$size":2},"field23_dict_idx":{"$gte":{"b":6}}}},{"$sort":{"field19_datetime_idx":1,"field25_str_idx":-1}},{"$project":{"field19_datetime_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ b: 6.0 }, [])"]}}}}},
|
||||
"keys" : 27064,
|
||||
"docs" : 27064,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"ku\", \"ku\"]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field30_Decimal128_idx_-1_field23_dict_idx_1","indexBounds":{"field30_Decimal128_idx":["(8.4, -inf]"],"field23_dict_idx":["[{ b: 6.0 }, [])"]}}}]}}}},
|
||||
"keys" : 26942,
|
||||
"docs" : 40681,
|
||||
"sorts": 13648,
|
||||
"plans": 7,
|
||||
"rows" : 1626},
|
||||
@ -6404,9 +6404,9 @@
|
||||
"rows" : 89114},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field34_str_idx":{"$regex":{"$regex":"h","$options":""}},"field35_int_idx":{"$lte":726},"field19_datetime_idx":{"$ne":"2024-01-03T00:00:00.000Z"},"$or":[{"field43_str":{"$ne":"y"},"field21_Decimal128_idx":{"$exists":false}},{"field4_list_idx":37,"field18_bool_idx":{"$gte":true}},{"$and":[{"field4_list_idx":{"$all":[]},"field10_datetime_idx":{"$gt":"2024-01-04T00:00:00.000Z"},"field7_str_idx":{"$lt":"Hh"}},{"field4_list_idx":{"$elemMatch":{"$size":19}},"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"1.45"}}}]},{"field19_datetime_idx":{"$gt":"2024-01-23T00:00:00.000Z"},"field13_list_idx":{"$size":9},"field25_str_idx":{"$lte":"DW"},"field29_Timestamp_idx":{"$lte":{"$timestamp":{"t":1736169852,"i":0}}}},{"$and":[{"field7_str_idx":{"$gt":"JgeX"},"field27_bool_idx":{"$lte":false},"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"3.4"}}},{"field45_bool":{"$gt":false},"field18_bool_idx":{"$exists":true}}]}]}},{"$project":{"field18_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})","[/h/, /h/]"],"field25_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 2019,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[true, true]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[MaxKey, MinKey]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field21_Decimal128_idx_-1","indexBounds":{"field21_Decimal128_idx":["[null, null]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})","[/h/, /h/]"],"field25_str_idx":["[\"DW\", \"\"]"]}}}]}}},
|
||||
"keys" : 125119,
|
||||
"docs" : 102105,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 8},
|
||||
@ -6428,9 +6428,9 @@
|
||||
"rows" : 96624},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field30_Decimal128_idx":{"$gt":{"$numberDecimal":"4.5"}},"field46_datetime":{"$type":"date"},"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1765760699,"i":0}}},"field1_datetime_idx":{"$lte":"2024-03-05T00:00:00.000Z"},"field6_mixed_idx":{"$nin":["z"]},"field9_bool_idx":{"$gt":false},"field11_Timestamp_idx":{"$gte":{"$timestamp":{"t":1732683651,"i":0}}},"field29_Timestamp_idx":{"$type":"timestamp"},"$or":[{"field25_str_idx":{"$eq":"hI"},"field33_mixed_idx":{"$ne":35}},{"field39_Decimal128":{"$lt":{"$numberDecimal":"6.2"}},"field35_int_idx":{"$gte":314},"field40_list":{"$elemMatch":{"$in":["w","k","n","b","o","f","c","p"],"$nin":[66,94]}}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field30_Decimal128_idx_-1_field23_dict_idx_1","indexBounds":{"field30_Decimal128_idx":["[inf, 4.5)"],"field23_dict_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 3920,
|
||||
"docs" : 3920,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field9_bool_idx_-1_field35_int_idx_1","indexBounds":{"field9_bool_idx":["[true, false)"],"field35_int_idx":["[314.0, inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"hI\", \"hI\"]"]}}}]}},
|
||||
"keys" : 1996,
|
||||
"docs" : 2068,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 3},
|
||||
@ -6452,9 +6452,9 @@
|
||||
"rows" : 88},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field4_list_idx":{"$nin":[]},"field31_list_idx":91,"field18_bool_idx":{"$lt":false}},{"field31_list_idx":96,"field33_mixed_idx":{"$eq":65},"field6_mixed_idx":false}],"$or":[{"field43_str":{"$gte":"u"},"field40_list":{"$regex":{"$regex":"b","$options":""}},"field23_dict_idx":{"$gte":{"b":3}}},{"$and":[{"field31_list_idx":{"$elemMatch":{"$nin":[51,149,50,68,43,48,10]}},"field34_str_idx":{"$regex":{"$regex":"sp","$options":""}}},{"field37_datetime":{"$gte":"2024-01-09T00:00:00.000Z"},"field24_mixed_idx":864},{"field3_Decimal128_idx":{"$exists":false},"field25_str_idx":{"$ne":"mw"}}]},{"field31_list_idx":{"$gt":43},"field7_str_idx":{"$ne":"ooZG"}}],"field13_list_idx":{"$type":"int"},"field25_str_idx":{"$gt":"K"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ b: 3.0 }, [])"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[864.0, 864.0]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[inf, 43.0)"],"field7_str_idx":["[MaxKey, \"ooZG\")","(\"ooZG\", MinKey]"]}}]}},
|
||||
"keys" : 33461,
|
||||
"docs" : 33460,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["(\"K\", {})"]}}},
|
||||
"keys" : 79473,
|
||||
"docs" : 79473,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 65},
|
||||
@ -6524,9 +6524,9 @@
|
||||
"rows" : 10966},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field40_list":{"$gte":21}},{"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"8.1"}},"field27_bool_idx":{"$eq":false},"field19_datetime_idx":{"$ne":"2024-02-09T00:00:00.000Z"}}],"$or":[{"$and":[{"field9_bool_idx":{"$gt":true},"field22_list_idx":{"$exists":false}},{"field24_mixed_idx":{"$size":17},"field21_Decimal128_idx":{"$exists":false},"field22_list_idx":{"$size":8},"field13_list_idx":{"$all":[46]}}]},{"field27_bool_idx":{"$lte":false},"field23_dict_idx":{"$gt":{"c":2}}},{"field41_dict":{"$type":"objectId"},"field14_dict_idx":{"$gt":{"i":1,"b":1,"d":1}}}],"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"100.3"}},"field26_int_idx":{"$lt":7},"field35_int_idx":{"$ne":336}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["(7.0, -inf]"],"field21_Decimal128_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 15429,
|
||||
"docs" : 15429,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field9_bool_idx_-1_field35_int_idx_1","indexBounds":{"field9_bool_idx":[],"field35_int_idx":["[MinKey, 336.0)","(336.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { i: 1.0, b: 1.0, d: 1.0 })"],"field34_str_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["({ c: 2.0 }, [])"]}}}]}},
|
||||
"keys" : 14301,
|
||||
"docs" : 27302,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 2},
|
||||
@ -6540,9 +6540,9 @@
|
||||
"rows" : 126},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field45_bool":{"$lte":true},"field25_str_idx":{"$exists":true},"$or":[{"field33_mixed_idx":{"$ne":9},"field31_list_idx":{"$lt":20}},{"field19_datetime_idx":{"$type":"date"},"field27_bool_idx":{"$gt":false}},{"$or":[{"field44_int":{"$type":"int"},"field24_mixed_idx":{"$gt":205}},{"field13_list_idx":{"$type":"int"},"field47_Timestamp":{"$eq":{"$timestamp":{"t":1756993998,"i":0}}}}]},{"field22_list_idx":{"$nin":[21,69]},"field6_mixed_idx":{"$in":[23940,94274,1,79745,38712,5576]},"field9_bool_idx":{"$lt":true},"field4_list_idx":[53,2]},{"field6_mixed_idx":{"$ne":"x"},"field43_str":{"$gt":"f"}}]}},{"$sort":{"field5_dict_idx":-1,"field21_Decimal128_idx":-1,"field18_bool_idx":1}},{"$project":{"field27_bool_idx":1,"field34_str_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[[ 53.0, 2.0 ], [ 53.0, 2.0 ]]","[53.0, 53.0]"],"field9_bool_idx":["[false, true)"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[MinKey, \"x\")","(\"x\", MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[nan, inf]"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[new Date(-9223372036854775808), new Date(9223372036854775807)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[inf, 205.0)"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(20.0, -inf]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}]}}}},
|
||||
"keys" : 429192,
|
||||
"docs" : 495086,
|
||||
"sorts": 1221602,
|
||||
"plans": 5,
|
||||
"rows" : 97801},
|
||||
@ -6908,9 +6908,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"field24_mixed_idx":{"$regex":{"$regex":"b","$options":""}},"field42_mixed":{"$gt":{"b":7}}},{"field7_str_idx":{"$lt":"Wgd"},"field24_mixed_idx":{"$regex":{"$regex":"^x","$options":""}},"field14_dict_idx":{"$gte":{"c":1}},"field1_datetime_idx":{"$eq":"2024-05-29T00:00:00.000Z"}}]},{"field22_list_idx":[27,52,26,43],"field40_list":{"$eq":"o"}},{"field28_datetime_idx":{"$type":"date"},"field13_list_idx":{"$lte":11},"field11_Timestamp_idx":{"$lte":{"$timestamp":{"t":1762715599,"i":0}}}}],"field36_bool":{"$type":"bool"},"field14_dict_idx":{"$lt":{"b":4,"d":1}}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field1_datetime_idx_1","indexBounds":{"field1_datetime_idx":["[new Date(1716940800000), new Date(1716940800000)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field22_list_idx_1","indexBounds":{"field22_list_idx":["[27.0, 27.0]","[[ 27.0, 52.0, 26.0, 43.0 ], [ 27.0, 52.0, 26.0, 43.0 ]]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[/b/, /b/]","({}, \"\"]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(9223372036854775807)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}]}},
|
||||
"keys" : 24326,
|
||||
"docs" : 27228,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[-inf, 11.0]"],"field28_datetime_idx":["[new Date(9223372036854775807), new Date(-9223372036854775808)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":[],"field34_str_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field22_list_idx_1","indexBounds":{"field22_list_idx":["[27.0, 27.0]","[[ 27.0, 52.0, 26.0, 43.0 ], [ 27.0, 52.0, 26.0, 43.0 ]]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[/b/, /b/]","({}, \"\"]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}}]}},
|
||||
"keys" : 24993,
|
||||
"docs" : 27190,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 125},
|
||||
@ -7948,8 +7948,8 @@
|
||||
"rows" : 362},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$exists":true},"field9_bool_idx":{"$lte":false},"$or":[{"$or":[{"field40_list":{"$elemMatch":{"$in":["s"]}},"field7_str_idx":{"$ne":"oWO"}},{"field19_datetime_idx":{"$gte":"2024-01-17T00:00:00.000Z"},"field4_list_idx":{"$regex":{"$regex":"e","$options":""}},"field5_dict_idx":{"$exists":false}}]},{"$and":[{"field5_dict_idx":{"$type":"objectId"},"field28_datetime_idx":{"$lte":"2024-01-03T00:00:00.000Z"}},{"field1_datetime_idx":{"$type":"date"},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"7.5"}},"field45_bool":{"$lte":true}},{"field42_mixed":{"$type":"bool"},"field26_int_idx":{"$gt":70}}]},{"field14_dict_idx":{"$ne":{"f":6}},"field5_dict_idx":{"$exists":false},"field43_str":{"$ne":"b"},"field39_Decimal128":{"$gte":{"$numberDecimal":"9.2"}}}]}},{"$sort":{"field18_bool_idx":-1,"field23_dict_idx":1,"field3_Decimal128_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field9_bool_idx_-1_field35_int_idx_1","indexBounds":{"field9_bool_idx":["[false, false]"],"field35_int_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 88249,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[MaxKey, MinKey]"],"field9_bool_idx":["[false, false]"]}}}},
|
||||
"keys" : 102100,
|
||||
"docs" : 88249,
|
||||
"sorts": 3,
|
||||
"plans": 8,
|
||||
@ -8268,7 +8268,7 @@
|
||||
"rows" : 96224}
|
||||
|
||||
],
|
||||
">>>totals": {"pipelines": 1032, "plans": 7958, "keys": 29757303, "docs": 29312846, "sorts": 7646686, "rows": 10011323, "errors": 0},
|
||||
">>>totals": {"pipelines": 1032, "plans": 7958, "keys": 30644728, "docs": 30472201, "sorts": 7646686, "rows": 10011323, "errors": 0},
|
||||
">>>parameters": {"featureFlagCostBasedRanker":{"value":true,"version":"8.3","fcv_gated":false,"currentlyEnabled":true},"internalQueryCBRCEMode":"automaticCE","samplingMarginOfError":5,"samplingConfidenceInterval":"95","internalQuerySamplingCEMethod":"chunk","internalQuerySamplingBySequentialScan":true,"automaticCEPlanRankingStrategy":"CBRCostBasedRankerChoice"}}
|
||||
|
||||
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
"keys" : 1501,
|
||||
"docs" : 1500,
|
||||
"sorts": 561,
|
||||
"plans": 33,
|
||||
"plans": 34,
|
||||
"rows" : 100},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"i_idx":{"$exists":false}},{"a_compound":{"$all":[19,18,6,2]}}],"a_compound":{"$elemMatch":{"$exists":true}},"c_compound":{"$exists":true}}}],
|
||||
@ -92,11 +92,11 @@
|
||||
"rows" : 138},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"d_noidx":{"$exists":true}},{"a_idx":{"$elemMatch":{"$exists":true}}},{"a_idx":{"$elemMatch":{"$nin":[9,8,6,4,4,18]}}},{"$nor":[{"a_compound":{"$all":[9,17,2]}},{"k_compound":{"$exists":false}}]}],"a_noidx":{"$gt":19}}},{"$sort":{"d_idx":-1,"h_idx":1}},{"$limit":19},{"$skip":6},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}}}},
|
||||
"keys" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, MaxKey]"]}}}}}},
|
||||
"keys" : 468941,
|
||||
"docs" : 100000,
|
||||
"sorts": 394365,
|
||||
"plans": 27,
|
||||
"plans": 28,
|
||||
"rows" : 13},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"h_idx":{"$gt":1}},{"a_compound":{"$nin":[1,20,1]}},{"a_compound":{"$all":[15,14,11,10,17]}}],"i_idx":{"$nin":[14,20]}}},{"$sort":{"c_idx":1}},{"$project":{"a_noidx":1,"h_noidx":1}}],
|
||||
@ -180,11 +180,11 @@
|
||||
"rows" : 217},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$in":[3,1,19,17,1]}},{"i_idx":{"$in":[11,16,15]}},{"a_compound":{"$all":[8,12,13]}}],"a_compound":{"$elemMatch":{"$in":[17,4,17],"$lt":13}}}},{"$sort":{"d_idx":1,"h_idx":-1,"i_idx":-1}},{"$project":{"_id":0,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[4.0, 4.0]"]}}}}},
|
||||
"keys" : 17094,
|
||||
"docs" : 17094,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 1.0)","(1.0, 3.0)","(3.0, 17.0)","(17.0, 19.0)","(19.0, MaxKey]"],"a_compound":["[MinKey, 8.0)","(8.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 1.0)","(1.0, 3.0)","(3.0, 17.0)","(17.0, 19.0)","(19.0, MaxKey]"],"a_compound":["[MinKey, 12.0)","(12.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 1.0)","(1.0, 3.0)","(3.0, 17.0)","(17.0, 19.0)","(19.0, MaxKey]"],"a_compound":["[MinKey, 13.0)","(13.0, MaxKey]"]}}}]}}}},
|
||||
"keys" : 1390928,
|
||||
"docs" : 398400,
|
||||
"sorts": 183348,
|
||||
"plans": 29,
|
||||
"plans": 30,
|
||||
"rows" : 17064},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_idx":{"$all":[1,12,7,9]}},{"a_idx":{"$all":[19,3,2,7]}},{"a_compound":{"$gt":11}}],"i_compound":{"$gte":1}}},{"$sort":{"k_idx":1}},{"$limit":196},{"$skip":52}],
|
||||
@ -212,11 +212,11 @@
|
||||
"rows" : 200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$nor":[{"i_idx":{"$in":[2,11]}},{"a_compound":{"$all":[8,16]}}]},{"k_compound":{"$gt":9}}],"a_idx":{"$gt":16}}},{"$sort":{"c_idx":1,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["(9.0, inf]"]}}}},
|
||||
"keys" : 99000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["(9.0, inf]"],"a_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 466043,
|
||||
"docs" : 99000,
|
||||
"sorts": 1237677,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 98992},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_compound":{"$all":[15,8,3,9]}},{"k_idx":{"$gte":15}}],"c_compound":{"$gte":1}}},{"$sort":{"z_idx":1}},{"$skip":67},{"$project":{"a_noidx":1,"i_idx":1}}],
|
||||
@ -452,11 +452,11 @@
|
||||
"rows" : 240},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[19,20]}},{"k_compound":{"$exists":false}}],"i_idx":{"$gte":11}}},{"$sort":{"a_idx":1,"i_idx":1}},{"$skip":16},{"$project":{"_id":0,"h_noidx":1,"k_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_idx_1","indexBounds":{"i_idx":["[11.0, inf]"]}}}}}},
|
||||
"keys" : 99989,
|
||||
"docs" : 99989,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, MaxKey]"]}}}}}},
|
||||
"keys" : 468941,
|
||||
"docs" : 100000,
|
||||
"sorts": 1251144,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 99973},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"i_compound":{"$exists":true}},{"d_compound":{"$gt":12}},{"a_compound":{"$in":[16,10,18]}},{"k_idx":{"$in":[14,18]}},{"i_idx":{"$lt":19}}],"a_compound":{"$lt":16}}},{"$limit":168},{"$project":{"_id":0,"a_noidx":1}}],
|
||||
@ -524,11 +524,11 @@
|
||||
"rows" : 253},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"k_compound":{"$in":[11,7]}},{"a_idx":{"$ne":9}},{"a_compound":{"$all":[5,16,20,8]}}],"a_compound":{"$elemMatch":{"$nin":[3,16]}},"a_noidx":{"$nin":[14,11,17]},"k_idx":{"$nin":[7,15]}}},{"$sort":{"a_idx":1,"c_idx":1}},{"$limit":41},{"$project":{"_id":0,"h_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_idx_1","indexBounds":{"k_idx":["[MinKey, 7.0)","(7.0, 15.0)","(15.0, MaxKey]"]}}}}},
|
||||
"keys" : 99802,
|
||||
"docs" : 99800,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 3.0)","(3.0, 16.0)","(16.0, MaxKey]"]}}}}},
|
||||
"keys" : 442157,
|
||||
"docs" : 100000,
|
||||
"sorts": 409067,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 41},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"i_noidx":{"$gt":4}},{"a_compound":{"$gt":16}},{"a_compound":{"$all":[12,20,11]}}],"d_idx":{"$ne":1}}},{"$sort":{"h_idx":-1}},{"$limit":218}],
|
||||
@ -840,7 +840,7 @@
|
||||
"keys" : 10873,
|
||||
"docs" : 10873,
|
||||
"sorts": 111916,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 10872},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$exists":false}},{"a_idx":{"$nin":[11,15]}},{"a_idx":{"$elemMatch":{"$in":[12,16]}}}],"$or":[{"i_idx":{"$nin":[6,20,14]}},{"i_compound":{"$nin":[17,17,4]}},{"c_compound":{"$in":[16,5]}}]}},{"$sort":{"d_idx":-1}},{"$project":{"_id":0,"c_idx":1}}],
|
||||
@ -848,7 +848,7 @@
|
||||
"keys" : 2006,
|
||||
"docs" : 2004,
|
||||
"sorts": 17240,
|
||||
"plans": 19,
|
||||
"plans": 20,
|
||||
"rows" : 2004},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"d_compound":{"$lt":7}},{"i_idx":{"$eq":5}},{"$and":[{"a_compound":{"$all":[16,20]}},{"a_compound":{"$nin":[10,10,5,10]}}]}],"k_compound":{"$exists":true}}},{"$limit":197},{"$project":{"a_noidx":1}}],
|
||||
@ -888,7 +888,7 @@
|
||||
"keys" : 148706,
|
||||
"docs" : 99448,
|
||||
"sorts": 1243835,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 99448},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"z_compound":{"$gte":9}},{"c_noidx":{"$in":[5,17,20]}},{"$or":[{"a_compound":{"$all":[11,2,11,7]}},{"a_noidx":{"$elemMatch":{"$in":[15,4,13]}}}]},{"c_noidx":{"$in":[12,3,14,13]}}],"a_compound":{"$exists":true},"i_compound":{"$exists":true}}},{"$project":{"a_noidx":1,"k_compound":1}}],
|
||||
@ -1052,11 +1052,11 @@
|
||||
"rows" : 158},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"i_compound":{"$nin":[8,18,13]}},{"a_compound":{"$exists":true}},{"$or":[{"z_noidx":{"$gt":1}},{"a_noidx":{"$elemMatch":{"$exists":true,"$in":[20,20],"$nin":[2,10]}}},{"a_compound":{"$exists":true}}]},{"$nor":[{"z_noidx":{"$gte":9}},{"a_compound":{"$all":[8,16,12,3,17]}},{"a_compound":{"$in":[5,15,12]}}]}]}},{"$sort":{"d_idx":1,"z_idx":1}},{"$limit":86}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[MinKey, 8.0)","(8.0, 13.0)","(13.0, 18.0)","(18.0, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"],"i_compound":["[MinKey, 8.0)","(8.0, 13.0)","(13.0, 18.0)","(18.0, MaxKey]"]}}}},
|
||||
"keys" : 468941,
|
||||
"docs" : 99997,
|
||||
"sorts": 471708,
|
||||
"plans": 31,
|
||||
"plans": 32,
|
||||
"rows" : 86},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_idx":{"$elemMatch":{"$exists":false}}},{"$and":[{"a_compound":{"$exists":true}},{"d_idx":{"$exists":true}},{"c_compound":{"$lte":18}}]}],"d_idx":{"$lte":8}}},{"$limit":135}],
|
||||
@ -1140,11 +1140,11 @@
|
||||
"rows" : 97000},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"a_compound":{"$elemMatch":{"$lte":2}}},{"$and":[{"$nor":[{"a_noidx":{"$elemMatch":{"$exists":false}}},{"z_noidx":{"$exists":true}}]},{"a_idx":{"$elemMatch":{"$gte":10}}}]},{"a_idx":{"$elemMatch":{"$exists":true}}},{"i_compound":{"$exists":false}}]},{"k_compound":{"$gte":20}}],"a_compound":{"$eq":2},"d_noidx":{"$eq":8}}},{"$sort":{"d_idx":1,"z_idx":1}},{"$limit":86},{"$skip":5}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[2.0, 2.0]"]}}}}},
|
||||
"keys" : 38792,
|
||||
"docs" : 38792,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[null, null]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[10.0, inf]"]}}},{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[20.0, inf]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[-inf, 2.0]"]}}}]}}}},
|
||||
"keys" : 939250,
|
||||
"docs" : 379312,
|
||||
"sorts": 17105,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 81},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"c_compound":{"$nin":[16,2,9,15,16]}},{"$and":[{"c_compound":{"$exists":false}},{"a_idx":{"$exists":false}},{"a_idx":{"$all":[14,7,7,4]}}]}],"a_compound":{"$gt":15}}},{"$project":{"_id":0,"a_noidx":1,"c_idx":1,"z_noidx":1}}],
|
||||
@ -1344,15 +1344,15 @@
|
||||
"keys" : 10282,
|
||||
"docs" : 10282,
|
||||
"sorts": 0,
|
||||
"plans": 27,
|
||||
"plans": 28,
|
||||
"rows" : 254},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[19,2,19]}},{"i_noidx":{"$lte":6}},{"z_compound":{"$in":[19,4,8]}}],"a_compound":{"$nin":[20,20,7]},"k_compound":{"$ne":4}}},{"$sort":{"i_idx":1,"k_idx":-1}},{"$limit":70},{"$project":{"a_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 4.0)","(4.0, 8.0)","(8.0, 19.0)","(19.0, MaxKey]"]}}}}},
|
||||
"keys" : 92012,
|
||||
"docs" : 92010,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 4.0)","(4.0, MaxKey]"],"a_compound":["[MinKey, 7.0)","(7.0, 20.0)","(20.0, MaxKey]"]}}}}},
|
||||
"keys" : 457730,
|
||||
"docs" : 99900,
|
||||
"sorts": 426068,
|
||||
"plans": 29,
|
||||
"plans": 30,
|
||||
"rows" : 70},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$in":[11,11,16,14]}},{"a_noidx":{"$eq":3}},{"a_compound":{"$all":[20,2,8]}}],"a_compound":{"$in":[7,12]}}},{"$project":{"d_idx":1,"z_idx":1}}],
|
||||
@ -1384,7 +1384,7 @@
|
||||
"keys" : 17094,
|
||||
"docs" : 17094,
|
||||
"sorts": 22542,
|
||||
"plans": 29,
|
||||
"plans": 30,
|
||||
"rows" : 2549},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"a_compound":{"$all":[20,13,2,18]}},{"z_idx":{"$lt":4}}]},{"a_idx":{"$in":[11,14]}}],"i_compound":{"$lte":11}}},{"$sort":{"d_idx":-1}}],
|
||||
@ -1476,11 +1476,11 @@
|
||||
"rows" : 15},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[9,12]}},{"a_compound":{"$exists":false}}],"k_compound":{"$exists":true}}},{"$sort":{"c_idx":1,"z_idx":-1}},{"$limit":51}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 468941,
|
||||
"docs" : 100000,
|
||||
"sorts": 493183,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 51},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$in":[17,8]}},{"k_compound":{"$in":[17,1,8]}},{"i_idx":{"$in":[19,5]}},{"a_compound":{"$all":[1,8,12]}}],"h_compound":{"$in":[6,7,16]}}},{"$sort":{"k_idx":1,"z_idx":1}},{"$project":{"a_noidx":1}}],
|
||||
@ -1488,7 +1488,7 @@
|
||||
"keys" : 3002,
|
||||
"docs" : 3000,
|
||||
"sorts": 26999,
|
||||
"plans": 31,
|
||||
"plans": 32,
|
||||
"rows" : 2998},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"d_compound":{"$exists":true}},{"z_noidx":{"$exists":true}},{"h_idx":{"$nin":[17,10,2,18]}}],"$or":[{"k_compound":{"$gt":11}},{"a_idx":{"$all":[15,11,2]}},{"a_idx":{"$exists":true}}],"c_compound":{"$nin":[13,12]}}},{"$sort":{"i_idx":-1}},{"$limit":18},{"$project":{"a_compound":1,"a_noidx":1,"z_noidx":1}}],
|
||||
@ -1664,7 +1664,7 @@
|
||||
"keys" : 2002,
|
||||
"docs" : 2000,
|
||||
"sorts": 17202,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 2000},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$nor":[{"a_idx":{"$elemMatch":{"$exists":false,"$lte":10}}},{"a_compound":{"$exists":false}}]},{"a_compound":{"$in":[14,6,5]}},{"z_compound":{"$exists":true}}],"$or":[{"$and":[{"c_compound":{"$exists":false}},{"d_compound":{"$exists":false}}]},{"c_idx":{"$nin":[17,5]}},{"a_compound":{"$elemMatch":{"$exists":false,"$in":[17,9,5],"$nin":[10,1]}}}]}},{"$sort":{"a_idx":-1}},{"$limit":185},{"$project":{"a_idx":1,"a_noidx":1}}],
|
||||
@ -1696,7 +1696,7 @@
|
||||
"keys" : 800,
|
||||
"docs" : 800,
|
||||
"sorts": 2205,
|
||||
"plans": 27,
|
||||
"plans": 28,
|
||||
"rows" : 325},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"a_compound":{"$lt":16}},{"a_idx":{"$all":[9,8,12]}},{"c_idx":{"$nin":[1,5]}},{"k_idx":{"$lt":18}}]},{"a_compound":{"$nin":[20,5,13,14]}},{"a_idx":{"$nin":[2,1]}}]}},{"$sort":{"d_idx":-1}},{"$skip":76},{"$project":{"_id":0,"a_compound":1}}],
|
||||
@ -2068,11 +2068,11 @@
|
||||
"rows" : 84},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$in":[6,2]}},{"a_compound":{"$all":[15,16,2,3]}},{"c_idx":{"$gt":9}}],"a_idx":{"$elemMatch":{"$gt":8}},"z_compound":{"$nin":[7,19,18]}}},{"$sort":{"k_idx":1,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 7.0)","(7.0, 18.0)","(18.0, 19.0)","(19.0, MaxKey]"]}}}},
|
||||
"keys" : 99717,
|
||||
"docs" : 99716,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 6.0)","(6.0, MaxKey]"],"a_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 468374,
|
||||
"docs" : 99800,
|
||||
"sorts": 1244672,
|
||||
"plans": 31,
|
||||
"plans": 32,
|
||||
"rows" : 99510},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"h_compound":{"$exists":false}},{"a_idx":{"$elemMatch":{"$exists":false,"$nin":[7,10]}}}],"$or":[{"k_compound":{"$exists":true}},{"a_compound":{"$all":[16,10]}},{"a_idx":{"$elemMatch":{"$gt":13}}}],"a_idx":{"$nin":[7,14,15]},"d_compound":{"$in":[12,18,1]}}},{"$skip":2},{"$project":{"a_idx":1}}],
|
||||
@ -2172,11 +2172,11 @@
|
||||
"rows" : 1385},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"c_compound":{"$in":[5,11]}},{"$and":[{"h_noidx":{"$exists":false}},{"i_compound":{"$in":[14,12,13]}}]},{"z_compound":{"$nin":[7,2]}}],"a_compound":{"$nin":[9,2,17]}}},{"$sort":{"d_idx":-1,"i_idx":1,"k_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[12.0, 12.0]","[13.0, 13.0]","[14.0, 14.0]"]}}},{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 2.0)","(2.0, 7.0)","(7.0, MaxKey]"]}},{"stage":"IXSCAN","indexName":"c_compound_1","indexBounds":{"c_compound":["[5.0, 5.0]","[11.0, 11.0]"]}}]}}},
|
||||
"keys" : 67772,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"c_compound_1","indexBounds":{"c_compound":["[5.0, 5.0]","[11.0, 11.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, 2.0)","(2.0, 9.0)","(9.0, 17.0)","(17.0, MaxKey]"],"i_compound":["[12.0, 12.0]","[13.0, 13.0]","[14.0, 14.0]"]}}},{"stage":"IXSCAN","indexName":"z_compound_1_c_compound_1","indexBounds":{"z_compound":["[MinKey, 2.0)","(2.0, 7.0)","(7.0, MaxKey]"],"c_compound":["[MinKey, MaxKey]"]}}]}}},
|
||||
"keys" : 167783,
|
||||
"docs" : 67769,
|
||||
"sorts": 637512,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 53619},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_idx":{"$all":[7,19,17]}},{"i_compound":{"$exists":true}}],"a_compound":{"$lte":8}}},{"$sort":{"k_idx":1,"z_idx":-1}},{"$limit":168}],
|
||||
@ -2316,11 +2316,11 @@
|
||||
"rows" : 99985},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$and":[{"a_compound":{"$exists":false}},{"a_idx":{"$exists":false}}]},{"d_compound":{"$lte":18}}],"k_compound":{"$nin":[9,11,15]}}},{"$sort":{"d_idx":1,"z_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, 11.0)","(11.0, 15.0)","(15.0, MaxKey]"]}}}},
|
||||
"keys" : 99703,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, 11.0)","(11.0, 15.0)","(15.0, MaxKey]"],"a_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 467886,
|
||||
"docs" : 99700,
|
||||
"sorts": 1247239,
|
||||
"plans": 21,
|
||||
"plans": 22,
|
||||
"rows" : 99700},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"h_idx":{"$lt":11}},{"a_idx":{"$elemMatch":{"$exists":true,"$in":[9,5]}}},{"a_compound":{"$gt":3}}],"$or":[{"a_compound":{"$all":[4,15,10,12,19]}},{"a_compound":{"$all":[9,18,17,2]}},{"a_compound":{"$nin":[14,4,6]}}],"z_idx":{"$nin":[17,3,4,12,11]}}},{"$sort":{"k_idx":1}},{"$limit":114},{"$project":{"_id":0,"a_noidx":1}}],
|
||||
@ -2500,11 +2500,11 @@
|
||||
"rows" : 1032},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"k_compound":{"$nin":[10,7,9,19]}},{"a_compound":{"$all":[11,7]}}],"a_compound":{"$elemMatch":{"$in":[16,1],"$nin":[4,4]}},"c_noidx":{"$nin":[16,7,13]}}},{"$sort":{"a_idx":-1,"i_idx":1}},{"$limit":169},{"$project":{"_id":0,"i_noidx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[1.0, 1.0]","[16.0, 16.0]"]}}}}},
|
||||
"keys" : 45508,
|
||||
"docs" : 45113,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[11.0, 11.0]"]}}},{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 7.0)","(7.0, 9.0)","(9.0, 10.0)","(10.0, 19.0)","(19.0, MaxKey]"]}}]}}}},
|
||||
"keys" : 100608,
|
||||
"docs" : 100604,
|
||||
"sorts": 275606,
|
||||
"plans": 21,
|
||||
"plans": 22,
|
||||
"rows" : 169},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$and":[{"k_noidx":{"$gte":9}},{"a_idx":{"$all":[10,2]}},{"k_idx":{"$in":[18,14]}},{"c_idx":{"$exists":false}},{"k_idx":{"$ne":11}}]},{"$or":[{"c_idx":{"$gte":2}},{"a_idx":{"$all":[11,12]}},{"d_compound":{"$exists":true}}]}],"a_compound":{"$all":[2,5]}}},{"$sort":{"d_idx":-1}}],
|
||||
@ -2588,11 +2588,11 @@
|
||||
"rows" : 195},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"z_compound":{"$nin":[10,8]}},{"a_compound":{"$exists":true}},{"d_compound":{"$eq":20}}],"a_idx":{"$elemMatch":{"$lte":17}},"i_compound":{"$exists":true}}},{"$sort":{"c_idx":1,"d_idx":1}},{"$limit":100},{"$project":{"k_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[-inf, 17.0]"]}}}}},
|
||||
"keys" : 197941,
|
||||
"docs" : 100000,
|
||||
"sorts": 560517,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 100},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"h_noidx":{"$lte":8}},{"$nor":[{"k_idx":{"$exists":false}},{"c_idx":{"$exists":false}}]}],"$or":[{"a_compound":{"$nin":[4,19,19]}},{"a_idx":{"$all":[18,15,17,16]}}],"k_compound":{"$nin":[2,3,11]}}},{"$sort":{"i_idx":-1}}],
|
||||
@ -2612,11 +2612,11 @@
|
||||
"rows" : 2435},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_compound":{"$gte":9}},{"a_compound":{"$elemMatch":{"$in":[1,20,3],"$nin":[12,12,16]}}}],"a_compound":{"$elemMatch":{"$in":[12,4],"$lt":16}},"k_compound":{"$nin":[14,12,4,2]}}},{"$sort":{"d_idx":-1,"h_idx":1}},{"$limit":37}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[4.0, 4.0]","[12.0, 12.0]"]}}}},
|
||||
"keys" : 18096,
|
||||
"docs" : 18026,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 4.0)","(4.0, 12.0)","(12.0, 14.0)","(14.0, MaxKey]"],"a_compound":["[9.0, inf]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[1.0, 1.0]","[3.0, 3.0]","[20.0, 20.0]"]}}}]}}},
|
||||
"keys" : 360723,
|
||||
"docs" : 164898,
|
||||
"sorts": 81696,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 37},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[8,4]}},{"k_noidx":{"$ne":17}}],"a_idx":{"$lte":17}}},{"$sort":{"c_idx":-1}},{"$limit":83},{"$project":{"_id":0,"d_idx":1}}],
|
||||
@ -2680,7 +2680,7 @@
|
||||
"keys" : 39794,
|
||||
"docs" : 39477,
|
||||
"sorts": 457281,
|
||||
"plans": 19,
|
||||
"plans": 20,
|
||||
"rows" : 39477},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"d_noidx":{"$gte":4}},{"a_compound":{"$all":[15,9,18]}}],"i_idx":{"$exists":true}}},{"$sort":{"h_idx":1,"k_idx":-1}},{"$skip":3}],
|
||||
@ -2880,7 +2880,7 @@
|
||||
"keys" : 10000,
|
||||
"docs" : 10000,
|
||||
"sorts": 34713,
|
||||
"plans": 13,
|
||||
"plans": 14,
|
||||
"rows" : 3760},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_compound":{"$gte":7}},{"a_idx":{"$all":[17,17,16]}},{"a_idx":{"$all":[13,16,19]}}],"a_idx":{"$elemMatch":{"$nin":[14,2]}}}},{"$limit":174},{"$project":{"i_compound":1,"z_idx":1}}],
|
||||
@ -2996,11 +2996,11 @@
|
||||
"rows" : 200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_noidx":{"$elemMatch":{"$gt":13}}},{"$and":[{"c_compound":{"$lte":19}},{"a_compound":{"$elemMatch":{"$nin":[2,9]}}}]},{"$and":[{"z_noidx":{"$nin":[7,9]}},{"k_compound":{"$gte":1}}]}],"a_compound":{"$elemMatch":{"$gte":16}},"k_compound":{"$exists":true}}},{"$sort":{"a_idx":-1,"k_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[1.0, inf]"]}}}},
|
||||
"keys" : 99900,
|
||||
"docs" : 99900,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[1.0, inf]"],"a_compound":["[16.0, inf]"]}}}},
|
||||
"keys" : 273899,
|
||||
"docs" : 99885,
|
||||
"sorts": 1245726,
|
||||
"plans": 15,
|
||||
"plans": 16,
|
||||
"rows" : 99588},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"d_idx":{"$nin":[2,14]}},{"$or":[{"h_idx":{"$in":[19,11,8,10,5]}},{"a_compound":{"$all":[3,18]}},{"a_compound":{"$all":[16,1]}}]}],"i_compound":{"$ne":20}}},{"$sort":{"i_idx":1}},{"$limit":89}],
|
||||
@ -3140,11 +3140,11 @@
|
||||
"rows" : 95},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_noidx":{"$nin":[15,16,14,2]}},{"k_compound":{"$in":[14,16,19]}},{"a_compound":{"$all":[6,12,8]}}],"a_compound":{"$gt":12}}},{"$sort":{"c_idx":1,"k_idx":-1}},{"$limit":82},{"$skip":20}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 14.0)","(14.0, 16.0)","(16.0, 19.0)","(19.0, MaxKey]"]}}}}},
|
||||
"keys" : 99703,
|
||||
"docs" : 99700,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 14.0)","(14.0, 16.0)","(16.0, 19.0)","(19.0, MaxKey]"],"a_compound":["(12.0, inf]"]}}}}},
|
||||
"keys" : 276403,
|
||||
"docs" : 99687,
|
||||
"sorts": 219426,
|
||||
"plans": 27,
|
||||
"plans": 28,
|
||||
"rows" : 62},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[5,19,2]}},{"$or":[{"c_compound":{"$exists":false}},{"d_noidx":{"$eq":17}}]}],"a_compound":{"$nin":[5,13,5]}}},{"$sort":{"a_idx":1,"z_idx":1}},{"$limit":27},{"$skip":11}],
|
||||
@ -3204,11 +3204,11 @@
|
||||
"rows" : 86900},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"i_compound":{"$lte":7}},{"a_compound":{"$in":[20,12]}},{"a_idx":{"$exists":false}}],"a_compound":{"$in":[5,20]},"k_compound":{"$nin":[10,7,20]}}},{"$sort":{"c_idx":-1,"z_idx":1}},{"$limit":126}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[-inf, 7.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[null, null]"]}}},{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[12.0, 12.0]","[20.0, 20.0]"]}}]}}},
|
||||
"keys" : 2010,
|
||||
"docs" : 2008,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[5.0, 5.0]","[20.0, 20.0]"],"i_compound":["[-inf, 7.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[null, null]"]}}},{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[12.0, 12.0]","[20.0, 20.0]"],"i_compound":["[MinKey, MaxKey]"]}}]}}},
|
||||
"keys" : 2006,
|
||||
"docs" : 2001,
|
||||
"sorts": 5480,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 126},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"k_compound":{"$exists":true}},{"a_idx":{"$all":[7,9,13,10]}},{"c_compound":{"$nin":[17,13]}}],"a_compound":{"$lte":14}}},{"$sort":{"d_idx":1}},{"$skip":52}],
|
||||
@ -3308,11 +3308,11 @@
|
||||
"rows" : 3759},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_compound":{"$elemMatch":{"$in":[2,1,18]}}},{"a_idx":{"$all":[6,3,14,16]}},{"a_idx":{"$all":[12,3]}}],"k_compound":{"$exists":true}}},{"$sort":{"c_idx":-1,"k_idx":1}},{"$project":{"a_noidx":1,"k_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 468941,
|
||||
"docs" : 100000,
|
||||
"sorts": 937686,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 76571},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_compound":{"$eq":12}},{"d_compound":{"$lte":14}}],"h_compound":{"$lte":5},"h_idx":{"$exists":true}}},{"$sort":{"i_idx":1}}],
|
||||
@ -3428,11 +3428,11 @@
|
||||
"rows" : 487},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_idx":{"$lte":10}},{"a_idx":{"$lte":2}},{"z_noidx":{"$exists":true}}],"$nor":[{"a_idx":{"$elemMatch":{"$exists":false,"$lte":4}}},{"$or":[{"a_idx":{"$elemMatch":{"$exists":false}}},{"a_noidx":{"$gte":17}}]},{"a_compound":{"$all":[11,1]}},{"k_compound":{"$lt":15}}]}},{"$limit":50}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[15.0, MaxKey]"],"a_compound":["[MinKey, 11.0)","(11.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[15.0, MaxKey]"],"a_compound":["[MinKey, 1.0)","(1.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 884580,
|
||||
"docs" : 294600,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[15.0, MaxKey]"],"a_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 464152,
|
||||
"docs" : 98500,
|
||||
"sorts": 0,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 0},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"k_compound":{"$ne":15}},{"a_compound":{"$all":[16,9]}}],"a_compound":{"$elemMatch":{"$in":[16,19,5]}}}},{"$skip":9}],
|
||||
@ -3512,7 +3512,7 @@
|
||||
"keys" : 40030,
|
||||
"docs" : 40030,
|
||||
"sorts": 0,
|
||||
"plans": 31,
|
||||
"plans": 32,
|
||||
"rows" : 17},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_idx":{"$elemMatch":{"$exists":true}}},{"a_compound":{"$exists":true}}],"c_compound":{"$ne":3}}},{"$sort":{"h_idx":-1}},{"$limit":78}],
|
||||
@ -3720,7 +3720,7 @@
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"sorts": 0,
|
||||
"plans": 27,
|
||||
"plans": 28,
|
||||
"rows" : 93996},
|
||||
|
||||
{">>>pipeline": [{"$match":{"a_compound":{"$lt":19},"c_compound":{"$nin":[8,12,2,9]}}},{"$sort":{"h_idx":-1}}],
|
||||
@ -3748,11 +3748,11 @@
|
||||
"rows" : 55},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"k_compound":{"$nin":[5,15]}},{"$nor":[{"a_idx":{"$elemMatch":{"$exists":false}}},{"a_compound":{"$all":[20,4,16,10]}},{"$or":[{"a_noidx":{"$eq":7}},{"a_noidx":{"$elemMatch":{"$exists":false}}},{"a_idx":{"$all":[16,19,14]}}]}]}],"$or":[{"a_idx":{"$all":[17,3,17]}},{"a_compound":{"$elemMatch":{"$exists":true,"$lt":15}}}]}},{"$sort":{"d_idx":-1,"i_idx":1,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 5.0)","(5.0, 15.0)","(15.0, MaxKey]"]}}}},
|
||||
"keys" : 99802,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 5.0)","(5.0, 15.0)","(15.0, MaxKey]"],"a_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 468251,
|
||||
"docs" : 99800,
|
||||
"sorts": 1110568,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 89544},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"d_compound":{"$exists":true}},{"a_compound":{"$exists":true}},{"$or":[{"a_compound":{"$in":[15,2]}},{"h_idx":{"$exists":false}},{"a_idx":{"$all":[7,14]}}]}],"a_idx":{"$elemMatch":{"$exists":true,"$in":[9,10]}}}},{"$skip":3},{"$project":{"d_compound":1}}],
|
||||
@ -3892,11 +3892,11 @@
|
||||
"rows" : 1200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_noidx":{"$lt":4}},{"$or":[{"c_noidx":{"$in":[9,11]}},{"a_compound":{"$all":[13,7,2,3]}}]},{"$or":[{"i_compound":{"$lt":4}},{"a_idx":{"$eq":7}},{"a_compound":{"$exists":false}}]}],"h_compound":{"$nin":[19,13,13]}}},{"$sort":{"i_idx":-1,"z_idx":1}},{"$limit":148}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"h_compound_1","indexBounds":{"h_compound":["[MinKey, 13.0)","(13.0, 19.0)","(19.0, MaxKey]"]}}}},
|
||||
"keys" : 98002,
|
||||
"docs" : 98000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"],"i_compound":["[MinKey, -inf)","[4.0, MaxKey]"]}}}},
|
||||
"keys" : 468937,
|
||||
"docs" : 99996,
|
||||
"sorts": 34784,
|
||||
"plans": 31,
|
||||
"plans": 32,
|
||||
"rows" : 148},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"z_idx":{"$exists":true}},{"$nor":[{"$nor":[{"d_compound":{"$eq":5}},{"h_idx":{"$nin":[3,20]}}]},{"a_compound":{"$exists":false}}]},{"$and":[{"a_compound":{"$elemMatch":{"$nin":[13,18]}}},{"a_noidx":{"$lt":3}}]},{"i_compound":{"$in":[5,10,8,9]}}],"a_idx":{"$elemMatch":{"$nin":[10,11,8]}},"a_noidx":{"$exists":true}}},{"$sort":{"k_idx":1}},{"$limit":55}],
|
||||
@ -4024,7 +4024,7 @@
|
||||
"keys" : 13534,
|
||||
"docs" : 13510,
|
||||
"sorts": 96823,
|
||||
"plans": 27,
|
||||
"plans": 28,
|
||||
"rows" : 9528},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_compound":{"$nin":[15,14]}},{"a_idx":{"$all":[11,9,6]}}],"a_idx":{"$elemMatch":{"$eq":3}}}},{"$sort":{"a_idx":-1}}],
|
||||
@ -4048,7 +4048,7 @@
|
||||
"keys" : 974,
|
||||
"docs" : 973,
|
||||
"sorts": 7623,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 968},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"k_compound":{"$exists":true}},{"a_idx":{"$in":[10,13,17]}},{"a_idx":{"$all":[17,16,11,1]}}],"a_compound":{"$elemMatch":{"$eq":17,"$lte":17}}}},{"$sort":{"a_idx":1}}],
|
||||
@ -4056,7 +4056,7 @@
|
||||
"keys" : 1000,
|
||||
"docs" : 1000,
|
||||
"sorts": 7908,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 1000},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_compound":{"$elemMatch":{"$nin":[17,12,15,5]}}},{"a_compound":{"$lte":12}}],"$or":[{"a_compound":{"$all":[5,1,19,11,12]}},{"a_idx":{"$nin":[8,4]}},{"i_idx":{"$lte":19}},{"a_compound":{"$elemMatch":{"$gte":11,"$in":[6,12]}}}]}},{"$project":{"a_compound":1,"a_idx":1}}],
|
||||
@ -4212,11 +4212,11 @@
|
||||
"rows" : 239},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_idx":{"$all":[3,20,14,8,3]}},{"$nor":[{"a_idx":{"$elemMatch":{"$nin":[19,8,6]}}},{"k_compound":{"$lt":10}}]},{"c_idx":{"$in":[6,3]}},{"d_compound":{"$lt":11}}],"a_compound":{"$gte":14}}},{"$sort":{"h_idx":1,"k_idx":1}},{"$limit":213},{"$project":{"_id":0,"k_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[14.0, inf]"]}}}}},
|
||||
"keys" : 275000,
|
||||
"docs" : 99986,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[20.0, 20.0]"]}}},{"stage":"IXSCAN","indexName":"c_idx_1","indexBounds":{"c_idx":["[3.0, 3.0]","[6.0, 6.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[10.0, MaxKey]"],"a_compound":["[14.0, inf]"]}}},{"stage":"IXSCAN","indexName":"d_compound_1_k_compound_1","indexBounds":{"d_compound":["[-inf, 11.0)"],"k_compound":["[MinKey, MaxKey]"]}}]}}}},
|
||||
"keys" : 376000,
|
||||
"docs" : 199996,
|
||||
"sorts": 636040,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 213},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"$and":[{"a_compound":{"$nin":[7,12,18,4]}},{"a_compound":{"$nin":[7,14]}},{"z_compound":{"$exists":false}}]},{"i_compound":{"$nin":[11,18]}},{"a_compound":{"$exists":false}}],"a_idx":{"$ne":17}}},{"$project":{"a_compound":1}}],
|
||||
@ -4372,11 +4372,11 @@
|
||||
"rows" : 221},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$exists":false}},{"a_compound":{"$all":[18,4]}}],"a_compound":{"$nin":[9,5,1]}}},{"$sort":{"c_idx":-1,"z_idx":1}},{"$limit":66}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 1.0)","(1.0, 5.0)","(5.0, 9.0)","(9.0, MaxKey]"]}}}},
|
||||
"keys" : 403959,
|
||||
"docs" : 100000,
|
||||
"sorts": 212760,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 66},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_idx":{"$all":[17,4]}},{"a_idx":{"$nin":[9,11,11,2]}}],"a_compound":{"$exists":true}}},{"$project":{"a_idx":1,"i_idx":1}}],
|
||||
@ -4464,7 +4464,7 @@
|
||||
"keys" : 10198,
|
||||
"docs" : 10198,
|
||||
"sorts": 0,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 118},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"$and":[{"a_compound":{"$in":[19,11,11]}},{"$or":[{"a_noidx":{"$in":[1,17]}},{"a_compound":{"$gte":4}},{"c_compound":{"$in":[3,8]}}]}]},{"h_idx":{"$eq":7}},{"a_idx":{"$in":[10,1]}}],"a_compound":{"$elemMatch":{"$in":[3,4]}}}}],
|
||||
@ -4528,7 +4528,7 @@
|
||||
"keys" : 276000,
|
||||
"docs" : 99987,
|
||||
"sorts": 1251117,
|
||||
"plans": 7,
|
||||
"plans": 8,
|
||||
"rows" : 99987},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_idx":{"$gte":18}},{"a_idx":{"$all":[1,11,20]}}],"$or":[{"$and":[{"a_noidx":{"$all":[8,9]}},{"a_idx":{"$elemMatch":{"$nin":[13,4,12]}}}]},{"$or":[{"a_idx":{"$all":[4,14]}},{"a_compound":{"$all":[20,5,17,14,20]}}]},{"a_compound":{"$elemMatch":{"$in":[10,15,11]}}}]}},{"$sort":{"c_idx":-1}}],
|
||||
@ -4660,11 +4660,11 @@
|
||||
"rows" : 70000},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"z_idx":{"$gte":3}},{"$nor":[{"z_compound":{"$in":[5,20]}},{"c_compound":{"$in":[17,14]}},{"a_compound":{"$gt":15}}]}]}},{"$sort":{"i_idx":-1}},{"$project":{"a_compound":1,"k_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_idx_1","indexBounds":{"z_idx":["[3.0, inf]"]}}}}},
|
||||
"keys" : 29626,
|
||||
"docs" : 29626,
|
||||
"sorts": 17,
|
||||
"plans": 15,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_idx_1","indexBounds":{"i_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"sorts": 0,
|
||||
"plans": 16,
|
||||
"rows" : 6},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_noidx":{"$all":[11,8]}},{"a_compound":{"$all":[10,3,8,17]}},{"$nor":[{"i_idx":{"$exists":true}},{"a_idx":{"$ne":7}},{"a_compound":{"$exists":true}}]}],"$or":[{"$or":[{"z_idx":{"$exists":true}},{"i_compound":{"$eq":9}},{"a_idx":{"$all":[13,20,4]}}]},{"a_idx":{"$all":[5,20]}},{"a_compound":{"$exists":false}}],"c_compound":{"$exists":true}}}],
|
||||
@ -5148,11 +5148,11 @@
|
||||
"rows" : 20841},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"a_idx":{"$all":[11,4,4]}},{"a_idx":{"$eq":15}}]},{"$and":[{"c_compound":{"$in":[13,1,20,15]}},{"$or":[{"c_noidx":{"$exists":true}},{"a_noidx":{"$all":[8,19]}}]}]},{"$nor":[{"$and":[{"a_compound":{"$elemMatch":{"$in":[12,12,20,1]}}},{"$or":[{"a_idx":{"$exists":true}},{"a_noidx":{"$elemMatch":{"$gte":15,"$in":[4,9]}}},{"k_noidx":{"$exists":true}}]}]},{"a_idx":{"$exists":true}},{"a_compound":{"$gt":6}}]}],"d_compound":{"$lte":2},"d_noidx":{"$ne":12}}},{"$sort":{"d_idx":1,"h_idx":-1,"z_idx":1}},{"$limit":58}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1","indexBounds":{"d_compound":["[-inf, 2.0]"]}}}},
|
||||
"keys" : 30000,
|
||||
"docs" : 30000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"c_compound_1","indexBounds":{"c_compound":["[1.0, 1.0]","[13.0, 13.0]","[15.0, 15.0]","[20.0, 20.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[11.0, 11.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 6.0]","(inf, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"c_compound_1_d_compound_1","indexBounds":{"c_compound":["[1.0, 1.0]","[13.0, 13.0]","[15.0, 15.0]","[20.0, 20.0]"],"d_compound":["[-inf, 2.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, 6.0]","(inf, MaxKey]"],"i_compound":["[MinKey, MaxKey]"]}}},{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[15.0, 15.0]"]}}]}}},
|
||||
"keys" : 451165,
|
||||
"docs" : 361789,
|
||||
"sorts": 151813,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 58},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_idx":{"$all":[13,16,1]}},{"k_compound":{"$gt":16}},{"a_compound":{"$elemMatch":{"$eq":19,"$exists":true}}}],"a_compound":{"$gt":7}}},{"$sort":{"d_idx":1}},{"$project":{"_id":0,"k_idx":1}}],
|
||||
@ -5700,11 +5700,11 @@
|
||||
"rows" : 3759},
|
||||
|
||||
{">>>pipeline": [{"$match":{"a_compound":{"$elemMatch":{"$lt":20,"$nin":[11,7,8]}},"i_compound":{"$nin":[13,1,13]}}},{"$sort":{"a_idx":1,"h_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[MinKey, 1.0)","(1.0, 13.0)","(13.0, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 99998,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[-inf, 7.0)","(7.0, 8.0)","(8.0, 11.0)","(11.0, 20.0)"],"i_compound":["[MinKey, 1.0)","(1.0, 13.0)","(13.0, MaxKey]"]}}}},
|
||||
"keys" : 178603,
|
||||
"docs" : 99940,
|
||||
"sorts": 1250482,
|
||||
"plans": 7,
|
||||
"plans": 8,
|
||||
"rows" : 99940},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_idx":{"$lte":8}},{"k_idx":{"$ne":8}},{"d_compound":{"$gte":17}},{"a_compound":{"$all":[10,8]}}],"a_noidx":{"$elemMatch":{"$gt":3,"$lte":20,"$nin":[15,1,9]}}}},{"$sort":{"a_idx":1}}],
|
||||
@ -5944,7 +5944,7 @@
|
||||
"keys" : 99980,
|
||||
"docs" : 99980,
|
||||
"sorts": 1251022,
|
||||
"plans": 7,
|
||||
"plans": 8,
|
||||
"rows" : 99980},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"i_idx":{"$lt":13}},{"$or":[{"a_idx":{"$lte":8}},{"h_idx":{"$exists":false}},{"a_compound":{"$all":[16,5,20]}}]},{"k_idx":{"$nin":[9,3,7]}}],"d_noidx":{"$lt":13},"k_idx":{"$in":[20,3]}}}],
|
||||
@ -5988,11 +5988,11 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"d_idx":{"$exists":true}},{"$or":[{"a_compound":{"$ne":3}},{"a_compound":{"$elemMatch":{"$in":[11,17]}}},{"a_idx":{"$all":[19,13,16]}}]}],"a_compound":{"$elemMatch":{"$gte":14}},"a_noidx":{"$elemMatch":{"$gte":12}},"k_compound":{"$nin":[10,2]}}},{"$sort":{"c_idx":1,"h_idx":-1}},{"$limit":142},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 10.0)","(10.0, MaxKey]"]}}}}},
|
||||
"keys" : 99802,
|
||||
"docs" : 99800,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[13.0, 13.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 10.0)","(10.0, MaxKey]"],"a_compound":["[MinKey, 3.0)","(3.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 10.0)","(10.0, MaxKey]"],"a_compound":["[11.0, 11.0]","[17.0, 17.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_idx_1","indexBounds":{"d_idx":["[MinKey, MaxKey]"]}}}]}}}},
|
||||
"keys" : 548567,
|
||||
"docs" : 302804,
|
||||
"sorts": 594320,
|
||||
"plans": 27,
|
||||
"plans": 28,
|
||||
"rows" : 142},
|
||||
|
||||
{">>>pipeline": [{"$match":{"a_compound":{"$elemMatch":{"$lte":2}},"z_compound":{"$exists":true}}},{"$project":{"k_idx":1}}],
|
||||
@ -6084,11 +6084,11 @@
|
||||
"rows" : 17093},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$or":[{"a_compound":{"$all":[20,6,17,5]}},{"z_compound":{"$lte":14}}]},{"z_idx":{"$lte":10}}],"c_compound":{"$in":[1,3,2]}}},{"$sort":{"h_idx":1,"i_idx":-1}},{"$limit":90},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_idx_1","indexBounds":{"z_idx":["[-inf, 10.0]"]}}}}},
|
||||
"keys" : 99996,
|
||||
"docs" : 99996,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[20.0, 20.0]"]}}},{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[-inf, 14.0]"]}}]}}}},
|
||||
"keys" : 101000,
|
||||
"docs" : 101000,
|
||||
"sorts": 549959,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 90},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"k_idx":{"$nin":[11,18]}},{"z_compound":{"$nin":[12,1]}},{"a_compound":{"$exists":false}},{"a_compound":{"$elemMatch":{"$exists":false}}}],"a_compound":{"$elemMatch":{"$gt":2}}}},{"$sort":{"k_idx":-1}}],
|
||||
@ -7224,7 +7224,7 @@
|
||||
"keys" : 1000,
|
||||
"docs" : 1000,
|
||||
"sorts": 735,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 126},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"c_compound":{"$nin":[14,12,5]}},{"a_compound":{"$gt":17}}],"a_idx":{"$nin":[6,9]},"h_compound":{"$gte":11},"z_compound":{"$ne":9}}},{"$sort":{"a_idx":-1}},{"$project":{"_id":0,"h_compound":1}}],
|
||||
@ -7300,11 +7300,11 @@
|
||||
"rows" : 99900},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[16,10]}},{"h_idx":{"$exists":false}},{"a_compound":{"$elemMatch":{"$eq":19,"$lte":4}}}],"a_idx":{"$exists":true},"k_compound":{"$gte":18}}},{"$sort":{"d_idx":-1,"i_idx":1,"z_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[18.0, inf]"]}}}},
|
||||
"keys" : 98200,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[18.0, inf]"],"a_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 462958,
|
||||
"docs" : 98200,
|
||||
"sorts": 1226986,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 98200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"d_noidx":{"$gt":6}},{"a_compound":{"$all":[14,20,7,8]}}],"h_idx":{"$nin":[20,1,18,15]}}},{"$sort":{"z_idx":1}},{"$project":{"a_compound":1}}],
|
||||
@ -7376,7 +7376,7 @@
|
||||
"keys" : 12111,
|
||||
"docs" : 12111,
|
||||
"sorts": 125977,
|
||||
"plans": 15,
|
||||
"plans": 16,
|
||||
"rows" : 12111},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"d_noidx":{"$gt":6}},{"k_idx":{"$exists":true}},{"d_idx":{"$lt":10}},{"$or":[{"a_idx":{"$nin":[5,12]}},{"a_idx":{"$exists":false}},{"i_compound":{"$exists":false}}]}],"a_noidx":{"$nin":[17,3,6]},"c_idx":{"$nin":[8,18]}}},{"$sort":{"a_idx":1}}],
|
||||
@ -7556,11 +7556,11 @@
|
||||
"rows" : 99991},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_compound":{"$in":[1,2,10]}},{"a_compound":{"$elemMatch":{"$nin":[17,2,11,6]}}}],"$nor":[{"h_noidx":{"$nin":[12,4,2,15]}},{"i_compound":{"$in":[4,13]}},{"d_idx":{"$in":[2,7,19]}}]}},{"$sort":{"d_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[1.0, 1.0]","[2.0, 2.0]","[10.0, 10.0]"]}}}},
|
||||
"keys" : 84307,
|
||||
"docs" : 76578,
|
||||
"sorts": 11496,
|
||||
"plans": 13,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_idx_1","indexBounds":{"d_idx":["[MaxKey, 19.0)","(19.0, 7.0)","(7.0, 2.0)","(2.0, MinKey]"]}}},
|
||||
"keys" : 80002,
|
||||
"docs" : 80000,
|
||||
"sorts": 0,
|
||||
"plans": 14,
|
||||
"rows" : 1395},
|
||||
|
||||
{">>>pipeline": [{"$match":{"a_compound":{"$lte":20},"a_noidx":{"$elemMatch":{"$in":[13,16,20,5]}}}},{"$sort":{"k_idx":-1}}],
|
||||
@ -7920,7 +7920,7 @@
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"plans": 12,
|
||||
"rows" : 56506},
|
||||
|
||||
{">>>pipeline": [{"$match":{"a_compound":{"$gt":4},"h_noidx":{"$nin":[13,11,19]},"z_idx":{"$in":[11,1,2,3]}}},{"$project":{"a_idx":1}}],
|
||||
@ -8380,7 +8380,7 @@
|
||||
"rows" : 20000}
|
||||
|
||||
],
|
||||
">>>totals": {"pipelines": 1043, "plans": 12165, "keys": 106515287, "docs": 57501059, "sorts": 69313647, "rows": 38020022, "errors": 0},
|
||||
">>>totals": {"pipelines": 1043, "plans": 12218, "keys": 115496904, "docs": 58948839, "sorts": 69302134, "rows": 38020022, "errors": 0},
|
||||
">>>parameters": {"featureFlagCostBasedRanker":{"value":true,"version":"8.3","fcv_gated":false,"currentlyEnabled":true},"internalQueryCBRCEMode":"automaticCE","samplingMarginOfError":5,"samplingConfidenceInterval":"95","internalQuerySamplingCEMethod":"chunk","internalQuerySamplingBySequentialScan":true,"automaticCEPlanRankingStrategy":"CBRForNoMultiplanningResults"}}
|
||||
|
||||
|
||||
|
||||
@ -60,11 +60,11 @@
|
||||
"rows" : 7134},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field8_int_idx":{"$ne":353},"field45_bool":{"$type":"bool"}},{"$or":[{"field31_list_idx":{"$lte":220},"field25_str_idx":{"$eq":"Gl"}},{"field19_datetime_idx":{"$gte":"2024-01-27T00:00:00.000Z"},"field24_mixed_idx":{"$all":[]}},{"field8_int_idx":{"$lt":831},"field28_datetime_idx":{"$eq":"2024-01-10T00:00:00.000Z"},"field23_dict_idx":{"$gte":{"c":1,"b":3}},"field6_mixed_idx":{"$in":[6,99562]}},{"field17_int_idx":{"$lte":239},"field44_int":{"$lte":7}}]},{"$or":[{"$or":[{"field16_str_idx":{"$ne":"Z"},"field5_dict_idx":{"$eq":{"b":1,"e":1}}},{"field45_bool":{"$lte":false},"field16_str_idx":{"$gte":"hS"}}]},{"field4_list_idx":{"$ne":21},"field35_int_idx":{"$eq":4539}}]}],"field21_Decimal128_idx":{"$type":"decimal"},"field26_int_idx":{"$lt":9043},"field19_datetime_idx":{"$ne":"2024-01-05T00:00:00.000Z"},"$nor":[{"field24_mixed_idx":["k","r","l","p"],"field31_list_idx":{"$ne":50}},{"field4_list_idx":["t","i","g","y","v"],"field18_bool_idx":{"$exists":true},"field47_Timestamp":{"$eq":{"$timestamp":{"t":1755595335,"i":0}}}}]}},{"$skip":52},{"$project":{"field38_Timestamp":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[6.0, 6.0]","[99562.0, 99562.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field17_int_idx_-1","indexBounds":{"field17_int_idx":["[239.0, -inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"Gl\", \"Gl\"]"]}}}]}}}},
|
||||
"keys" : 37454,
|
||||
"docs" : 42396,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field17_int_idx_-1","indexBounds":{"field17_int_idx":["[239.0, -inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"Gl\", \"Gl\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(1704844800000), new Date(1704844800000)]"],"field23_dict_idx":["[{ c: 1.0, b: 3.0 }, [])"]}}}]}}}},
|
||||
"keys" : 37315,
|
||||
"docs" : 42259,
|
||||
"sorts": 0,
|
||||
"plans": 27,
|
||||
"plans": 28,
|
||||
"rows" : 817},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field46_datetime":{"$ne":"2024-02-21T00:00:00.000Z"},"field26_int_idx":{"$lt":1278},"field7_str_idx":{"$lt":"N"},"field8_int_idx":{"$lt":404},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"5.2"}},"field20_Timestamp_idx":{"$type":"timestamp"},"field37_datetime":{"$gt":"2024-01-13T00:00:00.000Z"},"$or":[{"field7_str_idx":{"$ne":"mXea"},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"1.56"}},"field22_list_idx":{"$nin":[]}},{"field47_Timestamp":{"$gt":{"$timestamp":{"t":1747862529,"i":0}}},"field4_list_idx":91},{"field24_mixed_idx":{"$ne":{"$timestamp":{"t":1767139200,"i":0}}},"field13_list_idx":60}]}},{"$skip":15},{"$project":{"field12_Decimal128_idx":1,"_id":0}}],
|
||||
@ -72,7 +72,7 @@
|
||||
"keys" : 25743,
|
||||
"docs" : 25365,
|
||||
"sorts": 0,
|
||||
"plans": 17,
|
||||
"plans": 18,
|
||||
"rows" : 116},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field16_str_idx":{"$lt":"M"},"field1_datetime_idx":{"$lte":"2024-03-01T00:00:00.000Z"},"field9_bool_idx":{"$lte":false}},{"$and":[{"field17_int_idx":{"$gte":225},"field16_str_idx":{"$lt":"rT"},"field46_datetime":{"$ne":"2024-02-07T00:00:00.000Z"}},{"field26_int_idx":{"$lt":1278},"field12_Decimal128_idx":{"$type":"decimal"}},{"$or":[{"field21_Decimal128_idx":{"$exists":true},"field33_mixed_idx":{"$type":"int"}},{"field4_list_idx":{"$regex":{"$regex":"^w","$options":""}}},{"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"21.2"}},"field5_dict_idx":{"$ne":{"b":13}}}]}]}],"$or":[{"$and":[{"field40_list":{"$all":[66,30,13,22,16,46,143,81,203]},"field2_Timestamp_idx":{"$eq":{"$timestamp":{"t":1751425154,"i":0}}},"field16_str_idx":{"$regex":{"$regex":"J","$options":""}},"field18_bool_idx":{"$eq":false}},{"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1763949797,"i":0}}},"field25_str_idx":{"$regex":{"$regex":"x","$options":""}}},{"field12_Decimal128_idx":{"$gte":{"$numberDecimal":"1.27"}},"field24_mixed_idx":{"$size":13}}]},{"field14_dict_idx":{"$lt":{"b":4,"c":1}},"field0_bool_idx":{"$gt":false}}]}}],
|
||||
@ -136,7 +136,7 @@
|
||||
"keys" : 13443,
|
||||
"docs" : 13242,
|
||||
"sorts": 0,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 232},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field16_str_idx":{"$lte":"v"},"field34_str_idx":{"$regex":{"$regex":"s","$options":""}},"field33_mixed_idx":{"$ne":6},"field26_int_idx":{"$lt":6},"field6_mixed_idx":{"$in":["c","u","y","q"]},"field19_datetime_idx":{"$ne":"2024-08-16T00:00:00.000Z"},"field2_Timestamp_idx":{"$ne":{"$timestamp":{"t":1758003753,"i":0}}},"field23_dict_idx":{"$lte":{"c":3}}}},{"$project":{"field13_list_idx":1,"field42_mixed":1,"field4_list_idx":1}}],
|
||||
@ -188,11 +188,11 @@
|
||||
"rows" : 27934},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field1_datetime_idx":{"$ne":"2024-01-31T00:00:00.000Z"},"field4_list_idx":{"$size":4},"field13_list_idx":{"$ne":65},"field27_bool_idx":{"$gte":false},"$nor":[{"field17_int_idx":{"$lte":782},"field29_Timestamp_idx":{"$lt":{"$timestamp":{"t":1739733735,"i":0}}},"field13_list_idx":{"$lt":28},"field28_datetime_idx":{"$ne":"2024-02-13T00:00:00.000Z"}},{"field1_datetime_idx":{"$ne":"2024-01-31T00:00:00.000Z"},"field43_str":{"$ne":"h"}}],"field41_dict":{"$lte":{"c":5}},"field29_Timestamp_idx":{"$ne":{"$timestamp":{"t":1765753819,"i":0}}}}},{"$sort":{"field35_int_idx":-1}},{"$project":{"field3_Decimal128_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[MinKey, -inf)","[28.0, MaxKey]"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"IXSCAN","indexName":"field17_int_idx_-1","indexBounds":{"field17_int_idx":["[MaxKey, 782.0)","(-inf, MinKey]"]}},{"stage":"IXSCAN","indexName":"field29_Timestamp_idx_1","indexBounds":{"field29_Timestamp_idx":["[MinKey, Timestamp(0, 0))","[Timestamp(1739733735, 0), Timestamp(1765753819, 0))","(Timestamp(1765753819, 0), MaxKey]"]}},{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(1707782400000), new Date(1707782400000)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}]}}}},
|
||||
"keys" : 86505,
|
||||
"docs" : 74373,
|
||||
"sorts": 1,
|
||||
"plans": 13,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[MaxKey, MinKey]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"sorts": 0,
|
||||
"plans": 14,
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"field17_int_idx":{"$type":"int"},"field34_str_idx":{"$exists":false}},{"field13_list_idx":{"$elemMatch":{"$nin":[34,6,27,54],"$gte":38}},"field24_mixed_idx":{"$elemMatch":{"$size":14,"$in":[],"$lt":{"$timestamp":{"t":1767139200,"i":0}}}}},{"field14_dict_idx":{"$exists":true},"field28_datetime_idx":{"$lt":"2024-01-22T00:00:00.000Z"},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"2.79"}}}]},{"field28_datetime_idx":{"$gte":"2024-01-18T00:00:00.000Z"},"field43_str":{"$gte":"k"}}],"field2_Timestamp_idx":{"$ne":{"$timestamp":{"t":1765838910,"i":0}}},"field14_dict_idx":{"$gt":{"f":2}},"field33_mixed_idx":{"$gte":5},"field35_int_idx":{"$lte":6961},"field7_str_idx":{"$gt":"KXeh"}}},{"$project":{"field18_bool_idx":1,"field31_list_idx":1}}],
|
||||
@ -216,7 +216,7 @@
|
||||
"keys" : 19292,
|
||||
"docs" : 19292,
|
||||
"sorts": 6,
|
||||
"plans": 7,
|
||||
"plans": 8,
|
||||
"rows" : 3},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$or":[{"field14_dict_idx":{"$gt":{"e":2,"b":1}}},{"field31_list_idx":{"$gt":163},"field7_str_idx":{"$gte":"mXea"},"field6_mixed_idx":{"$in":["n","r","g","v","u","c","i","j"]},"field16_str_idx":{"$gt":"Hn"}},{"field26_int_idx":{"$lte":98},"field10_datetime_idx":{"$type":"date"}}]},{"field13_list_idx":{"$size":1},"field30_Decimal128_idx":{"$gt":{"$numberDecimal":"4.3"}}},{"field23_dict_idx":{"$lt":{"b":1,"d":1,"c":4}},"field16_str_idx":{"$gt":"Bi"}}],"field17_int_idx":{"$lt":633},"field34_str_idx":{"$gte":"Wn"},"field24_mixed_idx":{"$lt":"s"}}},{"$sort":{"field35_int_idx":1}},{"$project":{"field5_dict_idx":1,"field2_Timestamp_idx":1,"_id":0}}],
|
||||
@ -276,11 +276,11 @@
|
||||
"rows" : 159},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field2_Timestamp_idx":{"$type":"timestamp"},"field7_str_idx":{"$ne":"ku"},"field35_int_idx":{"$ne":7803},"$or":[{"$or":[{"$or":[{"field24_mixed_idx":[166,557,910,148,196,348,416],"field6_mixed_idx":{"$elemMatch":{"$all":[true,false],"$size":13}}},{"field19_datetime_idx":{"$gte":"2024-03-10T00:00:00.000Z"},"field14_dict_idx":{"$gt":{"d":6}}},{"field43_str":{"$regex":{"$regex":"q","$options":""}},"field4_list_idx":{"$ne":64}}]},{"field21_Decimal128_idx":{"$lte":{"$numberDecimal":"1.16"}},"field42_mixed":{"$gt":true},"field10_datetime_idx":{"$lte":"2024-05-06T00:00:00.000Z"}},{"$or":[{"field39_Decimal128":{"$gte":{"$numberDecimal":"8.1"}},"field35_int_idx":{"$ne":6094},"field8_int_idx":{"$gt":771}},{"field12_Decimal128_idx":{"$eq":{"$numberDecimal":"35.1"}},"field31_list_idx":{"$size":20}}]},{"field25_str_idx":{"$gte":"E"},"field19_datetime_idx":{"$gt":"2024-03-24T00:00:00.000Z"}}]},{"$and":[{"field25_str_idx":{"$gte":"hD"},"field24_mixed_idx":{"$ne":416},"field34_str_idx":{"$type":"string"}},{"field31_list_idx":{"$size":5},"field1_datetime_idx":{"$ne":"2024-01-11T00:00:00.000Z"}},{"field40_list":{"$elemMatch":{"$in":[38,18,69,164,60,9],"$size":5}},"field7_str_idx":{"$regex":{"$regex":"^FTn","$options":""}}}]}]}},{"$skip":33},{"$project":{"field41_dict":1,"field38_Timestamp":1,"field28_datetime_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[MaxKey, 7803.0)","(7803.0, MinKey]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 99997,
|
||||
"docs" : 99996,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[MaxKey, 64.0)","(64.0, MinKey]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"FTn\", \"FTo\")","[/^FTn/, /^FTn/]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field12_Decimal128_idx_1","indexBounds":{"field12_Decimal128_idx":["[35.1, 35.1]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[new Date(1710028800000), new Date(9223372036854775807)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field21_Decimal128_idx_-1","indexBounds":{"field21_Decimal128_idx":["[1.16, -inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[[ 166.0, 557.0, 910.0, 148.0, 196.0, 348.0, 416.0 ], [ 166.0, 557.0, 910.0, 148.0, 196.0, 348.0, 416.0 ]]","[166.0, 166.0]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"E\", {})"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[MaxKey, 7803.0)","(7803.0, 6094.0)","(6094.0, MinKey]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}]}}}},
|
||||
"keys" : 364405,
|
||||
"docs" : 348786,
|
||||
"sorts": 0,
|
||||
"plans": 17,
|
||||
"plans": 18,
|
||||
"rows" : 11},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field7_str_idx":{"$eq":"z"},"field22_list_idx":{"$size":19}},{"$or":[{"field5_dict_idx":{"$ne":{"b":13}},"field34_str_idx":{"$lte":"oH"}},{"field20_Timestamp_idx":{"$ne":{"$timestamp":{"t":1763090090,"i":0}}},"field26_int_idx":{"$eq":70},"field40_list":["b","n","l","v","c","f"],"field5_dict_idx":{"$type":"objectId"}}]}],"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1751815463,"i":0}}},"field8_int_idx":{"$lt":353},"field34_str_idx":{"$regex":{"$regex":"^J","$options":""}},"field17_int_idx":{"$lte":775}}},{"$sort":{"field25_str_idx":1,"field23_dict_idx":1}},{"$project":{"field1_datetime_idx":1,"field5_dict_idx":1}}],
|
||||
@ -312,7 +312,7 @@
|
||||
"keys" : 17375,
|
||||
"docs" : 16461,
|
||||
"sorts": 44471,
|
||||
"plans": 21,
|
||||
"plans": 22,
|
||||
"rows" : 4593},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field17_int_idx":{"$gt":854},"field32_dict_idx":{"$ne":{"b":2,"h":1}}},{"$or":[{"field40_list":{"$ne":"n"},"field5_dict_idx":{"$gte":{"i":1}}},{"field10_datetime_idx":{"$lt":"2024-01-20T00:00:00.000Z"},"field24_mixed_idx":{"$timestamp":{"t":1767139200,"i":0}}},{"field1_datetime_idx":{"$lte":"2024-01-03T00:00:00.000Z"},"field9_bool_idx":{"$lt":true}},{"field25_str_idx":{"$ne":"i"},"field41_dict":{"$gte":{"h":3}}}]}],"field11_Timestamp_idx":{"$lt":{"$timestamp":{"t":1762130372,"i":0}}},"field14_dict_idx":{"$ne":{"c":1,"b":1,"g":1}},"field8_int_idx":{"$gt":559},"$or":[{"field28_datetime_idx":{"$exists":true},"field41_dict":{"$lte":{"d":8}},"field5_dict_idx":{"$ne":{"e":14}}},{"field21_Decimal128_idx":{"$ne":{"$numberDecimal":"2.8"}},"field31_list_idx":[117,44]}]}}],
|
||||
@ -448,7 +448,7 @@
|
||||
"keys" : 56193,
|
||||
"docs" : 35670,
|
||||
"sorts": 37,
|
||||
"plans": 15,
|
||||
"plans": 16,
|
||||
"rows" : 11},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field34_str_idx":{"$gte":"a"},"field13_list_idx":{"$lt":22}},{"field7_str_idx":{"$lt":"b"},"field6_mixed_idx":{"$lt":6}}],"field5_dict_idx":{"$ne":{"c":1,"b":1}},"field30_Decimal128_idx":{"$gte":{"$numberDecimal":"1.5"}}}},{"$project":{"field18_bool_idx":1,"field3_Decimal128_idx":1,"field5_dict_idx":1}}],
|
||||
@ -508,11 +508,11 @@
|
||||
"rows" : 154},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field46_datetime":{"$ne":"2024-02-20T00:00:00.000Z"},"field8_int_idx":{"$lte":254}},{"field24_mixed_idx":{"$type":"timestamp"},"field18_bool_idx":{"$gte":false}}],"field6_mixed_idx":{"$ne":48922},"field20_Timestamp_idx":{"$ne":{"$timestamp":{"t":1725014979,"i":0}}},"field32_dict_idx":{"$gt":{"b":1,"d":11}},"$and":[{"field15_mixed_idx":{"$ne":{"$timestamp":{"t":1756172925,"i":0}}},"field13_list_idx":{"$size":7},"field1_datetime_idx":{"$lt":"2024-05-13T00:00:00.000Z"}},{"$and":[{"$or":[{"$nor":[{"field24_mixed_idx":351,"field40_list":{"$exists":true}},{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1754219182,"i":0}}},"field40_list":["d","k"]}]},{"field13_list_idx":{"$ne":62},"field4_list_idx":{"$exists":true},"field1_datetime_idx":{"$lte":"2024-01-29T00:00:00.000Z"}}]},{"field33_mixed_idx":{"$type":"int"},"field31_list_idx":{"$lte":18}}]},{"$or":[{"field33_mixed_idx":{"$gt":79},"field9_bool_idx":{"$type":"bool"}},{"field32_dict_idx":{"$eq":{"h":3}},"field45_bool":{"$type":"bool"}}]},{"field39_Decimal128":{"$lte":{"$numberDecimal":"9.2"}},"field31_list_idx":{"$nin":[36]},"field41_dict":{"$lte":{"b":5}}}]}},{"$sort":{"field15_mixed_idx":-1,"field18_bool_idx":1,"field9_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field32_dict_idx_1","indexBounds":{"field32_dict_idx":["[{ h: 3.0 }, { h: 3.0 }]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field33_mixed_idx_-1","indexBounds":{"field33_mixed_idx":["[inf, 79.0)"]}}}]}}},
|
||||
"keys" : 17530,
|
||||
"docs" : 35056,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[18.0, -inf]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 114812,
|
||||
"docs" : 99603,
|
||||
"sorts": 51,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 14},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field22_list_idx":{"$all":[50,59]},"field15_mixed_idx":{"$ne":966}},{"field5_dict_idx":{"$lte":{"h":6,"e":1}},"field41_dict":{"$gt":{"d":2,"c":1,"b":1}}}],"$and":[{"field1_datetime_idx":{"$lt":"2024-02-13T00:00:00.000Z"},"field23_dict_idx":{"$gt":{"b":4}}},{"field35_int_idx":{"$lt":9133},"field24_mixed_idx":{"$regex":{"$regex":"^k","$options":""}}}]}},{"$project":{"field2_Timestamp_idx":1}}],
|
||||
@ -620,11 +620,11 @@
|
||||
"rows" : 1200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$regex":{"$regex":"c","$options":""}},"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1738587683,"i":0}}},"field32_dict_idx":{"$gt":{"b":1,"g":1}},"$nor":[{"field9_bool_idx":{"$ne":true},"field19_datetime_idx":{"$lte":"2024-01-21T00:00:00.000Z"},"field6_mixed_idx":false},{"field27_bool_idx":{"$lt":false}}]}},{"$sort":{"field1_datetime_idx":-1}},{"$skip":15}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[/c/, /c/]","({}, \"\"]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 24365,
|
||||
"docs" : 20948,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1738587683, 0)]"],"field4_list_idx":["[\"\", {})","[/c/, /c/]"]}}}}},
|
||||
"keys" : 15490,
|
||||
"docs" : 10708,
|
||||
"sorts": 2989,
|
||||
"plans": 13,
|
||||
"plans": 14,
|
||||
"rows" : 409},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field9_bool_idx":{"$eq":false},"field17_int_idx":{"$ne":81},"field24_mixed_idx":{"$lt":930},"field14_dict_idx":{"$lt":{"b":4}},"field21_Decimal128_idx":{"$gt":{"$numberDecimal":"13.5"}},"field7_str_idx":{"$gt":"MUU"},"field34_str_idx":{"$ne":"a"}}}],
|
||||
@ -888,7 +888,7 @@
|
||||
"keys" : 76383,
|
||||
"docs" : 76383,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"plans": 12,
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"$nor":[{"field4_list_idx":{"$lt":"a"},"field22_list_idx":{"$all":[27,7,32,63,104]},"field28_datetime_idx":{"$lte":"2024-01-28T00:00:00.000Z"}},{"field4_list_idx":{"$nin":["u","c","q","d"]},"field44_int":{"$gte":83}},{"field31_list_idx":{"$gte":77},"field47_Timestamp":{"$ne":{"$timestamp":{"t":1753878233,"i":0}}}},{"field13_list_idx":{"$all":[24,17,21,37,75,23]},"field33_mixed_idx":{"$eq":80}}]},{"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1730621402,"i":0}}}}],"field6_mixed_idx":{"$size":3},"field37_datetime":{"$type":"date"}}}],
|
||||
@ -896,7 +896,7 @@
|
||||
"keys" : 55715,
|
||||
"docs" : 48284,
|
||||
"sorts": 0,
|
||||
"plans": 19,
|
||||
"plans": 20,
|
||||
"rows" : 53},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field35_int_idx":{"$lte":5998},"field46_datetime":{"$ne":"2024-02-14T00:00:00.000Z"},"field2_Timestamp_idx":{"$ne":{"$timestamp":{"t":1752922061,"i":0}}},"field22_list_idx":{"$nin":[55,37,66]},"field14_dict_idx":{"$ne":{"b":1,"h":1}},"$or":[{"field47_Timestamp":{"$lt":{"$timestamp":{"t":1757657253,"i":0}}},"field29_Timestamp_idx":{"$ne":{"$timestamp":{"t":1736169852,"i":0}}},"field6_mixed_idx":{"$eq":false}},{"$or":[{"field4_list_idx":{"$eq":49},"field7_str_idx":{"$lt":"EtVS"},"field6_mixed_idx":"j"},{"$or":[{"field24_mixed_idx":{"$gt":"w"},"field36_bool":{"$exists":false}},{"field22_list_idx":{"$lt":220},"field18_bool_idx":{"$exists":true}},{"field0_bool_idx":{"$lt":true},"field31_list_idx":{"$lt":39},"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1765730341,"i":0}}}}]}]},{"field44_int":{"$ne":24330},"field18_bool_idx":{"$exists":false},"field13_list_idx":{"$size":19}},{"$and":[{"field16_str_idx":{"$gt":"j"},"field13_list_idx":{"$elemMatch":{"$size":6}}},{"field34_str_idx":{"$regex":{"$regex":"^N","$options":""}},"field6_mixed_idx":true},{"$nor":[{"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1752124838,"i":0}}},"field4_list_idx":{"$all":[57,108,56,91,44]}},{"$nor":[{"field22_list_idx":{"$elemMatch":{"$lte":34}},"field19_datetime_idx":{"$gt":"2024-01-16T00:00:00.000Z"},"field13_list_idx":{"$in":[485,33,65,23,42,41,55,9,74]},"field11_Timestamp_idx":{"$exists":true}},{"field14_dict_idx":{"$gte":{"g":1}},"field31_list_idx":{"$size":9},"field32_dict_idx":{"$lt":{"b":27,"d":1}},"field19_datetime_idx":{"$eq":"2024-01-27T00:00:00.000Z"}},{"field37_datetime":{"$lt":"2024-01-16T00:00:00.000Z"},"field6_mixed_idx":[false],"field25_str_idx":{"$type":"string"},"field5_dict_idx":{"$eq":{"b":2,"h":1}}}]},{"field31_list_idx":[],"field44_int":{"$gte":66}}]}]},{"field3_Decimal128_idx":{"$lt":{"$numberDecimal":"2.13"}},"field22_list_idx":{"$elemMatch":{"$size":1}}}]}},{"$project":{"field15_mixed_idx":1}}],
|
||||
@ -916,11 +916,11 @@
|
||||
"rows" : 8},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field29_Timestamp_idx":{"$exists":true},"field34_str_idx":{"$gt":"S"}},{"$or":[{"field16_str_idx":{"$lt":"zJ"},"field7_str_idx":{"$gte":"GOKk"}},{"field28_datetime_idx":{"$type":"date"},"field13_list_idx":[46,16,8,52,62,30,19],"field45_bool":{"$gte":true}},{"field5_dict_idx":{"$type":"objectId"},"field33_mixed_idx":{"$lte":20}}]},{"$and":[{"$and":[{"$nor":[{"field22_list_idx":[18,17,142,12,41,1,54,53,2],"field24_mixed_idx":[28,789,908,513],"field28_datetime_idx":{"$lt":"2024-01-13T00:00:00.000Z"}},{"field45_bool":{"$eq":false},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"21.2"}}},{"field41_dict":{"$lt":{"d":1,"b":1,"e":1}},"field31_list_idx":{"$in":[125,117,62,67,127]},"field37_datetime":{"$gt":"2024-01-09T00:00:00.000Z"}}]},{"field34_str_idx":{"$ne":"L"},"field46_datetime":{"$ne":"2024-02-28T00:00:00.000Z"}},{"field47_Timestamp":{"$gte":{"$timestamp":{"t":1756917908,"i":0}}},"field34_str_idx":{"$ne":"gC"}}]},{"$or":[{"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"100.3"}},"field26_int_idx":{"$ne":2624}},{"field28_datetime_idx":{"$lt":"2024-01-12T00:00:00.000Z"},"field33_mixed_idx":{"$ne":19}},{"field25_str_idx":{"$regex":{"$regex":"^Ld","$options":""}},"field6_mixed_idx":{"$size":17}}]}]}],"field16_str_idx":{"$gt":"cK"},"field8_int_idx":{"$lte":844}}},{"$skip":160}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field16_str_idx_-1","indexBounds":{"field16_str_idx":["({}, \"cK\")"]}}}},
|
||||
"keys" : 37820,
|
||||
"docs" : 37820,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field8_int_idx_1_field9_bool_idx_1","indexBounds":{"field8_int_idx":["[-inf, 844.0]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 98408,
|
||||
"docs" : 98408,
|
||||
"sorts": 0,
|
||||
"plans": 31,
|
||||
"plans": 32,
|
||||
"rows" : 59},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$and":[{"field8_int_idx":{"$lt":771},"field24_mixed_idx":{"$regex":{"$regex":"^z","$options":""}}},{"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"3.28"}},"field25_str_idx":{"$ne":"v"}},{"$and":[{"$and":[{"field22_list_idx":{"$lt":31},"field8_int_idx":{"$gte":476},"field24_mixed_idx":"v"},{"field24_mixed_idx":{"$gte":{"$timestamp":{"t":1767139200,"i":0}}},"field39_Decimal128":{"$lte":{"$numberDecimal":"1.13"}}}]},{"field43_str":{"$eq":"h"},"field47_Timestamp":{"$gte":{"$timestamp":{"t":1713770379,"i":0}}},"field24_mixed_idx":"u","field9_bool_idx":{"$lt":true}},{"field40_list":{"$in":[8,51,29,10]},"field31_list_idx":{"$size":4}},{"field24_mixed_idx":{"$nin":[]},"field44_int":{"$lt":91}}]}]},{"field47_Timestamp":{"$lte":{"$timestamp":{"t":1715250325,"i":0}}},"field7_str_idx":{"$lte":"peh"}}],"$and":[{"field23_dict_idx":{"$gt":{"c":12}},"field19_datetime_idx":{"$lt":"2024-03-10T00:00:00.000Z"}},{"$or":[{"field42_mixed":{"$ne":false},"field46_datetime":{"$lt":"2024-03-01T00:00:00.000Z"}},{"field17_int_idx":{"$exists":true},"field24_mixed_idx":{"$all":[{"$timestamp":{"t":1704067200,"i":0}},{"$timestamp":{"t":1767139200,"i":0}}]},"field27_bool_idx":{"$gte":false}},{"field47_Timestamp":{"$lt":{"$timestamp":{"t":1749938896,"i":0}}},"field36_bool":{"$lt":false}}]},{"$or":[{"field11_Timestamp_idx":{"$gte":{"$timestamp":{"t":1729058418,"i":0}}},"field41_dict":{"$eq":{"e":3}},"field5_dict_idx":{"$gte":{"b":14}}},{"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1755313593,"i":0}}},"field42_mixed":{"$ne":{"b":1,"d":1}},"field4_list_idx":{"$all":[]}},{"$or":[{"field23_dict_idx":{"$gte":{"b":15}},"field31_list_idx":[41,8,53,46,15]},{"field46_datetime":{"$gte":"2024-01-15T00:00:00.000Z"},"field11_Timestamp_idx":{"$gte":{"$timestamp":{"t":1760168870,"i":0}}}}]},{"field31_list_idx":{"$all":[8]},"field0_bool_idx":{"$lt":true},"field4_list_idx":{"$in":["d","h","y"]},"field17_int_idx":{"$ne":205}}]}]}}],
|
||||
@ -928,7 +928,7 @@
|
||||
"keys" : 11144,
|
||||
"docs" : 11144,
|
||||
"sorts": 0,
|
||||
"plans": 29,
|
||||
"plans": 30,
|
||||
"rows" : 3},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field40_list":["e","p","g","k","h","c","b"],"field35_int_idx":{"$eq":95}},{"field22_list_idx":8,"field7_str_idx":{"$ne":"Eufj"},"field26_int_idx":{"$type":"int"}},{"$or":[{"$or":[{"field2_Timestamp_idx":{"$eq":{"$timestamp":{"t":1731498418,"i":0}}},"field22_list_idx":{"$ne":6}},{"field24_mixed_idx":[823,754,946,409,648],"field18_bool_idx":{"$lte":true}}]},{"field35_int_idx":{"$lt":6242},"field41_dict":{"$eq":{"d":4}}},{"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"7.5"}},"field22_list_idx":77,"field16_str_idx":{"$regex":{"$regex":"F","$options":""}},"field13_list_idx":{"$ne":109}}]},{"field6_mixed_idx":{"$regex":{"$regex":"s","$options":""}},"field31_list_idx":{"$eq":220},"field11_Timestamp_idx":{"$type":"timestamp"}}],"field31_list_idx":2,"field17_int_idx":{"$type":"int"},"field46_datetime":{"$lte":"2024-01-24T00:00:00.000Z"},"field26_int_idx":{"$gt":82},"field7_str_idx":{"$ne":"GOKk"},"field33_mixed_idx":{"$gte":52}}}],
|
||||
@ -1220,11 +1220,11 @@
|
||||
"rows" : 7064},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"field13_list_idx":{"$size":18},"field8_int_idx":{"$gt":399}},{"field40_list":{"$regex":{"$regex":"c","$options":""}},"field6_mixed_idx":{"$in":["g","z","t","c","h","p"]},"field34_str_idx":{"$gte":"R"}},{"field24_mixed_idx":{"$elemMatch":{"$size":10}},"field26_int_idx":{"$type":"int"},"field45_bool":{"$ne":false}}]},{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1722111153,"i":0}}},"field34_str_idx":{"$eq":"Yo"},"field0_bool_idx":{"$gte":true}},{"field24_mixed_idx":{"$in":[{"$timestamp":{"t":1767139200,"i":0}}]},"field44_int":{"$eq":2761},"field12_Decimal128_idx":{"$eq":{"$numberDecimal":"4.3"}},"field9_bool_idx":{"$gte":true}},{"field0_bool_idx":{"$lte":false},"field4_list_idx":{"$nin":[24,50,49,75,53,120,2,32,6,43]}}],"field34_str_idx":{"$gte":"Fh"},"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1747753551,"i":0}}},"$and":[{"field40_list":[],"field22_list_idx":{"$lte":19}},{"field24_mixed_idx":{"$exists":true},"field7_str_idx":{"$lte":"s"}}]}},{"$sort":{"field27_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["(Timestamp(1747753551, 0), Timestamp(0, 0)]"]}}}},
|
||||
"keys" : 47811,
|
||||
"docs" : 47811,
|
||||
"sorts": 386,
|
||||
"plans": 17,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field27_bool_idx_1","indexBounds":{"field27_bool_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"sorts": 0,
|
||||
"plans": 18,
|
||||
"rows" : 73},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field22_list_idx":{"$exists":true},"$or":[{"field38_Timestamp":{"$gte":{"$timestamp":{"t":1767139200,"i":0}}},"field1_datetime_idx":{"$lte":"2024-01-15T00:00:00.000Z"}},{"$and":[{"$and":[{"$and":[{"field22_list_idx":[40,24,206,10,13,81,52],"field8_int_idx":{"$ne":962},"field19_datetime_idx":{"$eq":"2024-02-24T00:00:00.000Z"}},{"field14_dict_idx":{"$gte":{"c":27,"b":1,"d":1}},"field6_mixed_idx":{"$elemMatch":{"$all":["r","h"],"$size":10}},"field10_datetime_idx":{"$gte":"2024-01-04T00:00:00.000Z"}}]},{"field18_bool_idx":{"$gt":false},"field16_str_idx":{"$regex":{"$regex":"Ld","$options":""}},"field24_mixed_idx":{"$size":4}},{"field16_str_idx":{"$ne":"Dv"},"field40_list":{"$elemMatch":{"$lte":"u"}},"field35_int_idx":{"$eq":2455}}]},{"field12_Decimal128_idx":{"$exists":true},"field2_Timestamp_idx":{"$ne":{"$timestamp":{"t":1758003753,"i":0}}}}]},{"field32_dict_idx":{"$lt":{"b":1,"g":1}},"field3_Decimal128_idx":{"$ne":{"$numberDecimal":"1.8"}},"field24_mixed_idx":{"$lte":{"$timestamp":{"t":1704067200,"i":0}}}}]}},{"$sort":{"field21_Decimal128_idx":1}},{"$skip":1}],
|
||||
@ -1716,11 +1716,11 @@
|
||||
"rows" : 12},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field22_list_idx":{"$elemMatch":{"$nin":[33,51]}},"field31_list_idx":{"$lt":58},"field2_Timestamp_idx":{"$gt":{"$timestamp":{"t":1734813169,"i":0}}},"field13_list_idx":{"$exists":true}},{"field11_Timestamp_idx":{"$lte":{"$timestamp":{"t":1766632967,"i":0}}},"field19_datetime_idx":{"$lte":"2024-02-17T00:00:00.000Z"}},{"$or":[{"field2_Timestamp_idx":{"$ne":{"$timestamp":{"t":1748689088,"i":0}}},"field14_dict_idx":{"$gte":{"b":1}}},{"field6_mixed_idx":{"$elemMatch":{"$lte":"z"}},"field27_bool_idx":{"$gte":false}},{"field40_list":{"$in":[25]},"field18_bool_idx":{"$lt":true},"field6_mixed_idx":{"$gt":false},"field4_list_idx":{"$gt":11}}]},{"field29_Timestamp_idx":{"$gt":{"$timestamp":{"t":1755716125,"i":0}}},"field21_Decimal128_idx":{"$ne":{"$numberDecimal":"2.4"}},"field10_datetime_idx":{"$lte":"2024-01-30T00:00:00.000Z"}}],"$nor":[{"field5_dict_idx":{"$gte":{"c":2}},"field6_mixed_idx":{"$size":17},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"4.5"}},"field4_list_idx":{"$size":20}},{"$and":[{"field20_Timestamp_idx":{"$gte":{"$timestamp":{"t":1750556930,"i":0}}},"field40_list":"h","field7_str_idx":{"$lte":"KY"}},{"field27_bool_idx":{"$lt":false},"field22_list_idx":{"$size":15},"field40_list":{"$in":[50,11,45,14,84]}}]}]}},{"$sort":{"field30_Decimal128_idx":-1,"field9_bool_idx":-1,"field25_str_idx":-1}},{"$limit":43}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field29_Timestamp_idx_1","indexBounds":{"field29_Timestamp_idx":["(Timestamp(1755716125, 0), Timestamp(4294967295, 4294967295)]"]}}}},
|
||||
"keys" : 33271,
|
||||
"docs" : 33271,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(58.0, -inf]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 115155,
|
||||
"docs" : 99779,
|
||||
"sorts": 71180,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 43},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$nor":[{"field7_str_idx":{"$gt":"y"}},{"field24_mixed_idx":{"$gte":{"$timestamp":{"t":1704067200,"i":0}}},"field3_Decimal128_idx":{"$exists":false}}]},{"field35_int_idx":{"$gte":95},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"38.1"}}},{"field39_Decimal128":{"$gte":{"$numberDecimal":"1.1"}},"field24_mixed_idx":{"$nin":["q"]},"field7_str_idx":{"$ne":"rh"}}],"field31_list_idx":{"$lte":74},"field22_list_idx":{"$size":4}}},{"$project":{"field16_str_idx":1}}],
|
||||
@ -1840,7 +1840,7 @@
|
||||
"keys" : 2821,
|
||||
"docs" : 2821,
|
||||
"sorts": 0,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 4},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field27_bool_idx":{"$gte":false},"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"1.13"}},"field40_list":{"$regex":{"$regex":"^c","$options":""}},"field5_dict_idx":{"$exists":true},"field22_list_idx":{"$lte":16},"field23_dict_idx":{"$gte":{"b":12}},"field1_datetime_idx":{"$lte":"2026-04-17T00:00:00.000Z"}}},{"$project":{"field15_mixed_idx":1,"field37_datetime":1,"field21_Decimal128_idx":1,"_id":0}}],
|
||||
@ -1896,7 +1896,7 @@
|
||||
"keys" : 3086,
|
||||
"docs" : 4073,
|
||||
"sorts": 211,
|
||||
"plans": 15,
|
||||
"plans": 16,
|
||||
"rows" : 44},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field17_int_idx":{"$ne":890},"field35_int_idx":{"$ne":7721},"field40_list":55,"field46_datetime":{"$gt":"2024-03-22T00:00:00.000Z"}},{"field40_list":{"$lte":68},"field31_list_idx":{"$ne":43}},{"field11_Timestamp_idx":{"$eq":{"$timestamp":{"t":1763603994,"i":0}}},"field24_mixed_idx":348,"field35_int_idx":{"$lt":9931}},{"field9_bool_idx":{"$lt":false},"field25_str_idx":{"$gt":"Y"},"field43_str":{"$ne":"s"}}],"$and":[{"$nor":[{"field31_list_idx":{"$nin":[61]},"field6_mixed_idx":{"$size":2}},{"field7_str_idx":{"$exists":true},"field45_bool":{"$ne":false},"field4_list_idx":{"$size":18}}]},{"$or":[{"field46_datetime":{"$ne":"2024-01-31T00:00:00.000Z"},"field14_dict_idx":{"$gte":{"e":1}}},{"field8_int_idx":{"$gte":396},"field23_dict_idx":{"$ne":{"t":2}},"field41_dict":{"$gte":{"b":2,"d":1}},"field22_list_idx":{"$nin":[25,38,59]}}]},{"field40_list":{"$nin":[203]},"field1_datetime_idx":{"$eq":"2024-02-03T00:00:00.000Z"}}],"field8_int_idx":{"$lt":771},"field14_dict_idx":{"$lte":{"g":1}}}},{"$project":{"field15_mixed_idx":1,"field12_Decimal128_idx":1}}],
|
||||
@ -1912,7 +1912,7 @@
|
||||
"keys" : 3242,
|
||||
"docs" : 3242,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"plans": 12,
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field18_bool_idx":{"$lt":true},"field40_list":{"$lt":40},"field38_Timestamp":{"$eq":{"$timestamp":{"t":1767139200,"i":0}}},"field8_int_idx":{"$exists":true},"$nor":[{"field6_mixed_idx":[false]},{"field25_str_idx":{"$lte":"Bj"},"field16_str_idx":{"$regex":{"$regex":"^eo","$options":""}},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"1.8"}}}],"$or":[{"field40_list":{"$ne":"i"},"field13_list_idx":{"$ne":12}},{"field17_int_idx":{"$eq":696},"field24_mixed_idx":{"$all":[395,930]},"field2_Timestamp_idx":{"$lte":{"$timestamp":{"t":1718701413,"i":0}}}}]}},{"$project":{"field22_list_idx":1}}],
|
||||
@ -1932,11 +1932,11 @@
|
||||
"rows" : 20},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$and":[{"field28_datetime_idx":{"$lt":"2024-01-16T00:00:00.000Z"},"field21_Decimal128_idx":{"$lt":{"$numberDecimal":"1.22"}}},{"field7_str_idx":{"$lt":"KV"},"field5_dict_idx":{"$gt":{"f":1}}}]},{"$nor":[{"field13_list_idx":{"$elemMatch":{"$eq":3}},"field39_Decimal128":{"$ne":{"$numberDecimal":"7.2"}}},{"field42_mixed":{"$lt":{"b":1,"c":3}},"field31_list_idx":[62,17,4,69,45,82,37,13]}]},{"field13_list_idx":{"$elemMatch":{"$nin":[46,85,94,74,44,59]}},"field4_list_idx":{"$nin":["g","p","i"]},"field36_bool":{"$ne":false}}],"field35_int_idx":{"$ne":977},"field20_Timestamp_idx":{"$gte":{"$timestamp":{"t":1709789868,"i":0}}},"field42_mixed":{"$lte":{"b":1,"g":1,"d":1}}}},{"$sort":{"field18_bool_idx":1,"field16_str_idx":1,"field7_str_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705363200000))"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 4673,
|
||||
"docs" : 4673,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field5_dict_idx_-1","indexBounds":{"field5_dict_idx":["([], { f: 1.0 })"]}}}},
|
||||
"keys" : 3240,
|
||||
"docs" : 3240,
|
||||
"sorts": 1,
|
||||
"plans": 15,
|
||||
"plans": 16,
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field34_str_idx":{"$regex":{"$regex":"a","$options":""}},"field14_dict_idx":{"$ne":{"c":7,"b":1}},"field0_bool_idx":{"$lte":true},"field28_datetime_idx":{"$lt":"2024-01-22T00:00:00.000Z"}},{"field27_bool_idx":{"$lte":false},"field19_datetime_idx":{"$lt":"2024-01-31T00:00:00.000Z"}},{"field33_mixed_idx":{"$lt":81},"field12_Decimal128_idx":{"$gt":{"$numberDecimal":"2.3"}},"field1_datetime_idx":{"$lt":"2024-02-03T00:00:00.000Z"}}],"$nor":[{"field15_mixed_idx":{"$ne":408},"field32_dict_idx":{"$gte":{"j":1}},"field40_list":"i"},{"field41_dict":{"$gt":{"d":1,"b":1,"e":1}},"field19_datetime_idx":{"$ne":"2024-03-04T00:00:00.000Z"},"field45_bool":{"$gt":false}}]}}],
|
||||
@ -2164,11 +2164,11 @@
|
||||
"rows" : 67297},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$and":[{"$or":[{"$or":[{"field24_mixed_idx":{"$elemMatch":{"$gte":"l"}},"field4_list_idx":{"$size":13}},{"$and":[{"field13_list_idx":{"$elemMatch":{"$eq":184}},"field19_datetime_idx":{"$gt":"2024-03-02T00:00:00.000Z"},"field24_mixed_idx":"i"},{"field31_list_idx":{"$elemMatch":{"$in":[111,14,41,69],"$size":5}},"field10_datetime_idx":{"$lte":"2024-08-01T00:00:00.000Z"},"field7_str_idx":{"$gte":"K"}}]},{"field31_list_idx":{"$lte":47},"field44_int":{"$gt":15},"field36_bool":{"$lt":false}}]},{"field4_list_idx":{"$lt":10},"field8_int_idx":{"$lte":3},"field12_Decimal128_idx":{"$gte":{"$numberDecimal":"6.4"}}},{"field47_Timestamp":{"$gt":{"$timestamp":{"t":1754575040,"i":0}}},"field41_dict":{"$lte":{"i":1}},"field34_str_idx":{"$lte":"ms"}}]},{"$nor":[{"field4_list_idx":[],"field3_Decimal128_idx":{"$ne":{"$numberDecimal":"1.12"}}},{"$and":[{"field0_bool_idx":{"$lt":true},"field31_list_idx":{"$elemMatch":{"$gte":7}},"field32_dict_idx":{"$eq":{"c":6,"b":1}}},{"field20_Timestamp_idx":{"$ne":{"$timestamp":{"t":1756899717,"i":0}}},"field25_str_idx":{"$gte":"c"},"field34_str_idx":{"$ne":"dn"},"field45_bool":{"$type":"bool"}}]},{"field13_list_idx":{"$elemMatch":{"$lt":199}},"field31_list_idx":{"$lt":96},"field10_datetime_idx":{"$lte":"2024-02-25T00:00:00.000Z"}},{"$or":[{"field31_list_idx":{"$ne":125},"field15_mixed_idx":{"$lte":{"$timestamp":{"t":1735381653,"i":0}}},"field23_dict_idx":{"$gt":{"b":1,"c":3}}},{"field32_dict_idx":{"$gt":{"e":3}},"field33_mixed_idx":{"$ne":39},"field7_str_idx":{"$regex":{"$regex":"b","$options":""}}},{"field17_int_idx":{"$ne":890},"field24_mixed_idx":{"$nin":[196]},"field10_datetime_idx":{"$eq":"2024-02-10T00:00:00.000Z"}}]}]}]},{"field42_mixed":{"$ne":{"e":1,"c":1,"b":2,"d":1}},"field7_str_idx":{"$type":"string"},"field44_int":{"$lt":19}}],"field12_Decimal128_idx":{"$lte":{"$numberDecimal":"2.1"}},"field17_int_idx":{"$lte":783}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field12_Decimal128_idx_1","indexBounds":{"field12_Decimal128_idx":["[-inf, 2.1]"]}}},
|
||||
"keys" : 85581,
|
||||
"docs" : 85581,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field17_int_idx_-1","indexBounds":{"field17_int_idx":["[783.0, -inf]"]}}},
|
||||
"keys" : 82032,
|
||||
"docs" : 82032,
|
||||
"sorts": 0,
|
||||
"plans": 17,
|
||||
"plans": 18,
|
||||
"rows" : 8},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field2_Timestamp_idx":{"$ne":{"$timestamp":{"t":1728150211,"i":0}}},"field44_int":{"$lte":72303},"field30_Decimal128_idx":{"$exists":true},"field34_str_idx":{"$type":"string"},"field14_dict_idx":{"$lte":{"e":1}},"field27_bool_idx":{"$type":"bool"},"field4_list_idx":{"$size":1},"field32_dict_idx":{"$lt":{"y":1}}}},{"$project":{"field29_Timestamp_idx":1,"field21_Decimal128_idx":1,"field10_datetime_idx":1,"_id":0}}],
|
||||
@ -2200,7 +2200,7 @@
|
||||
"keys" : 11799,
|
||||
"docs" : 11799,
|
||||
"sorts": 0,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 108},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field38_Timestamp":{"$lt":{"$timestamp":{"t":1704067200,"i":0}}},"field34_str_idx":{"$lte":"CM"}},{"field40_list":{"$gte":"d"},"field33_mixed_idx":{"$ne":35}},{"$and":[{"$and":[{"field4_list_idx":43,"field7_str_idx":{"$eq":"ooZG"},"field15_mixed_idx":{"$gte":"2024-03-06T00:00:00.000Z"}},{"field31_list_idx":{"$eq":27},"field15_mixed_idx":{"$gt":{"$timestamp":{"t":1753715750,"i":0}}}},{"$and":[{"field13_list_idx":{"$lte":146},"field5_dict_idx":{"$ne":{"d":2,"l":1,"b":1,"g":1}}},{"$and":[{"$nor":[{"field6_mixed_idx":{"$gte":"n"},"field11_Timestamp_idx":{"$ne":{"$timestamp":{"t":1715794473,"i":0}}},"field40_list":{"$size":14}},{"field22_list_idx":{"$elemMatch":{"$size":13,"$in":[115,15,220,193,38,20,64,104,120,731],"$nin":[]}},"field44_int":{"$gte":53}},{"field30_Decimal128_idx":{"$gt":{"$numberDecimal":"2.4"}},"field22_list_idx":{"$size":16}}]},{"field6_mixed_idx":{"$regex":{"$regex":"f","$options":""}},"field32_dict_idx":{"$lt":{"g":1}}},{"field22_list_idx":33,"field38_Timestamp":{"$gte":{"$timestamp":{"t":1767139200,"i":0}}},"field31_list_idx":47,"field6_mixed_idx":"y"}]},{"field45_bool":{"$lt":false},"field13_list_idx":{"$size":12},"field31_list_idx":{"$size":6}}]},{"field4_list_idx":{"$size":20},"field6_mixed_idx":{"$size":4},"field31_list_idx":{"$eq":164}}]},{"field3_Decimal128_idx":{"$lte":{"$numberDecimal":"1.2"}},"field40_list":171,"field22_list_idx":{"$elemMatch":{"$eq":49}},"field36_bool":{"$ne":false}}]}],"field23_dict_idx":{"$gte":{"b":2}},"field2_Timestamp_idx":{"$lt":{"$timestamp":{"t":1755097809,"i":0}}}}}],
|
||||
@ -2256,7 +2256,7 @@
|
||||
"keys" : 20303,
|
||||
"docs" : 20303,
|
||||
"sorts": 0,
|
||||
"plans": 21,
|
||||
"plans": 22,
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field17_int_idx":{"$ne":603},"field30_Decimal128_idx":{"$type":"decimal"}},{"field44_int":{"$ne":71},"field22_list_idx":{"$nin":[]},"field24_mixed_idx":864,"field0_bool_idx":{"$eq":false}}],"field20_Timestamp_idx":{"$gte":{"$timestamp":{"t":1747753551,"i":0}}},"field9_bool_idx":{"$lte":true},"field17_int_idx":{"$ne":164},"field6_mixed_idx":{"$gte":false},"field10_datetime_idx":{"$gte":"2024-02-14T00:00:00.000Z"}}}],
|
||||
@ -2464,7 +2464,7 @@
|
||||
"keys" : 19602,
|
||||
"docs" : 18067,
|
||||
"sorts": 0,
|
||||
"plans": 19,
|
||||
"plans": 20,
|
||||
"rows" : 6},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field24_mixed_idx":[625,395,264],"field41_dict":{"$ne":{"b":4,"c":2,"d":1}}},{"field41_dict":{"$gte":{"b":1,"d":1}},"field35_int_idx":{"$ne":2603}},{"field39_Decimal128":{"$gt":{"$numberDecimal":"1.3"}},"field24_mixed_idx":{"$all":[883,587,351,908,414]}}],"field10_datetime_idx":{"$gt":"2024-02-08T00:00:00.000Z"},"field7_str_idx":{"$regex":{"$regex":"^p","$options":""}},"field39_Decimal128":{"$gte":{"$numberDecimal":"1.16"}}}},{"$project":{"field9_bool_idx":1,"field0_bool_idx":1}}],
|
||||
@ -2624,7 +2624,7 @@
|
||||
"keys" : 86013,
|
||||
"docs" : 84714,
|
||||
"sorts": 0,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 3},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$size":4},"field5_dict_idx":{"$ne":{"f":1,"b":1,"e":1}},"$and":[{"field34_str_idx":{"$ne":"J"},"field7_str_idx":{"$lt":"ML"}},{"field3_Decimal128_idx":{"$exists":false},"field21_Decimal128_idx":{"$ne":{"$numberDecimal":"3.5"}},"field22_list_idx":{"$lt":67},"field42_mixed":{"$lte":false}},{"$and":[{"field26_int_idx":{"$gte":64},"field37_datetime":{"$lte":"2024-01-28T00:00:00.000Z"},"field22_list_idx":{"$ne":95}},{"field1_datetime_idx":{"$type":"date"},"field32_dict_idx":{"$ne":{}}}]}],"$nor":[{"$and":[{"field27_bool_idx":{"$ne":false},"field25_str_idx":{"$lte":"M"}},{"field22_list_idx":[37,85],"field11_Timestamp_idx":{"$gte":{"$timestamp":{"t":1766701555,"i":0}}}}]},{"field2_Timestamp_idx":{"$lt":{"$timestamp":{"t":1729569064,"i":0}}},"field28_datetime_idx":{"$lt":"2024-02-02T00:00:00.000Z"},"field0_bool_idx":{"$lte":false}},{"field31_list_idx":{"$in":[64]},"field28_datetime_idx":{"$lte":"2024-01-15T00:00:00.000Z"}},{"$or":[{"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"9.3"}},"field13_list_idx":[66,145,25]},{"field20_Timestamp_idx":{"$ne":{"$timestamp":{"t":1734865976,"i":0}}},"field0_bool_idx":{"$gt":false}}]}]}},{"$project":{"field7_str_idx":1,"field36_bool":1,"field44_int":1,"_id":0}}],
|
||||
@ -2640,7 +2640,7 @@
|
||||
"keys" : 10085,
|
||||
"docs" : 10085,
|
||||
"sorts": 0,
|
||||
"plans": 19,
|
||||
"plans": 20,
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field37_datetime":{"$lte":"2024-01-31T00:00:00.000Z"},"field9_bool_idx":{"$ne":true}},{"$and":[{"field14_dict_idx":{"$lt":{"e":4,"b":2}},"field29_Timestamp_idx":{"$lte":{"$timestamp":{"t":1751113510,"i":0}}},"field28_datetime_idx":{"$lte":"2024-01-11T00:00:00.000Z"}},{"field4_list_idx":{"$in":[36,56,18]},"field25_str_idx":{"$gte":"Ld"},"field0_bool_idx":{"$type":"bool"},"field43_str":{"$ne":"z"}},{"field20_Timestamp_idx":{"$gt":{"$timestamp":{"t":1760557830,"i":0}}},"field17_int_idx":{"$lt":239}}]}],"field42_mixed":{"$ne":{"f":1,"b":1,"e":1}},"field34_str_idx":{"$gte":"Q"}}},{"$sort":{"field31_list_idx":-1}},{"$project":{"field26_int_idx":1,"field18_bool_idx":1,"field3_Decimal128_idx":1}}],
|
||||
@ -2832,7 +2832,7 @@
|
||||
"keys" : 2020,
|
||||
"docs" : 2020,
|
||||
"sorts": 534,
|
||||
"plans": 19,
|
||||
"plans": 20,
|
||||
"rows" : 96},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field13_list_idx":{"$lte":27},"field4_list_idx":{"$gte":"e"},"$or":[{"field37_datetime":{"$exists":true},"field16_str_idx":{"$ne":"zJ"}},{"$and":[{"field38_Timestamp":{"$gte":{"$timestamp":{"t":1704067200,"i":0}}},"field18_bool_idx":{"$lt":true}},{"field35_int_idx":{"$gt":359},"field32_dict_idx":{"$gt":{"b":1,"g":2}},"field22_list_idx":[129],"field29_Timestamp_idx":{"$exists":true}}]},{"$or":[{"$and":[{"field2_Timestamp_idx":{"$exists":false},"field6_mixed_idx":{"$eq":1},"field12_Decimal128_idx":{"$lt":{"$numberDecimal":"60.2"}},"field39_Decimal128":{"$ne":{"$numberDecimal":"4.11"}},"field32_dict_idx":{"$ne":{"b":1,"c":2}}},{"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"14.1"}},"field22_list_idx":{"$type":"int"}},{"field19_datetime_idx":{"$lt":"2024-02-23T00:00:00.000Z"},"field4_list_idx":{"$elemMatch":{"$nin":[11,1,76],"$gte":25}}},{"$nor":[{"$nor":[{"field13_list_idx":{"$size":5},"field32_dict_idx":{"$eq":{"d":4}}},{"field42_mixed":{"$type":"objectId"},"field32_dict_idx":{"$gte":{"d":1,"b":1,"e":1}},"field46_datetime":{"$ne":"2024-01-31T00:00:00.000Z"}}]},{"field12_Decimal128_idx":{"$gt":{"$numberDecimal":"12.1"}},"field42_mixed":{"$lte":true},"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1740280565,"i":0}}},"field25_str_idx":{"$type":"string"}},{"field40_list":{"$elemMatch":{"$all":[20,3,14],"$size":4,"$nin":[27]}},"field26_int_idx":{"$gt":10}}]}]},{"field11_Timestamp_idx":{"$gte":{"$timestamp":{"t":1766897673,"i":0}}},"field31_list_idx":[111]}]}]}}],
|
||||
@ -2900,11 +2900,11 @@
|
||||
"rows" : 14631},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field20_Timestamp_idx":{"$type":"timestamp"},"field43_str":{"$regex":{"$regex":"^p","$options":""}},"field17_int_idx":{"$lte":819}},{"$or":[{"$and":[{"$and":[{"field12_Decimal128_idx":{"$gte":{"$numberDecimal":"6.5"}},"field0_bool_idx":{"$lt":true}},{"field31_list_idx":{"$elemMatch":{"$size":11}}}]},{"field18_bool_idx":{"$lte":false},"field9_bool_idx":{"$lt":false},"field47_Timestamp":{"$lte":{"$timestamp":{"t":1762305040,"i":0}}},"field16_str_idx":{"$lte":"ho"}},{"field9_bool_idx":{"$gte":true},"field47_Timestamp":{"$lt":{"$timestamp":{"t":1744706949,"i":0}}},"field13_list_idx":{"$size":12},"field40_list":["e","k","w","q","h","o","c","s"]}]},{"field28_datetime_idx":{"$eq":"2024-01-14T00:00:00.000Z"},"field22_list_idx":{"$elemMatch":{"$all":[77,44,220,221,8,20,106,50],"$gte":9}}},{"field32_dict_idx":{"$eq":{"g":1}}}]},{"field31_list_idx":[64,21,41,82,5],"field11_Timestamp_idx":{"$gt":{"$timestamp":{"t":1715290189,"i":0}}},"field45_bool":{"$lt":false},"field7_str_idx":{"$lte":"mmf"}}],"field17_int_idx":{"$gt":530},"field19_datetime_idx":{"$ne":"2024-03-08T00:00:00.000Z"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field17_int_idx_-1","indexBounds":{"field17_int_idx":["[inf, 530.0)"]}}},
|
||||
"keys" : 38872,
|
||||
"docs" : 38872,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[MinKey, new Date(1709856000000))","(new Date(1709856000000), MaxKey]"]}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 99999,
|
||||
"sorts": 0,
|
||||
"plans": 15,
|
||||
"plans": 16,
|
||||
"rows" : 88},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field20_Timestamp_idx":{"$gte":{"$timestamp":{"t":1737222452,"i":0}}},"field27_bool_idx":{"$gte":false},"$or":[{"field9_bool_idx":{"$exists":true},"field1_datetime_idx":{"$ne":"2024-02-08T00:00:00.000Z"}},{"field4_list_idx":{"$size":11},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"2.3"}}}]}}],
|
||||
@ -3144,7 +3144,7 @@
|
||||
"keys" : 8474,
|
||||
"docs" : 8474,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"plans": 12,
|
||||
"rows" : 12},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field11_Timestamp_idx":{"$gt":{"$timestamp":{"t":1766632967,"i":0}}},"field34_str_idx":{"$lt":"yC"},"field15_mixed_idx":{"$gt":"2024-01-19T00:00:00.000Z"},"field37_datetime":{"$lte":"2024-03-10T00:00:00.000Z"},"field31_list_idx":{"$lt":447},"field24_mixed_idx":{"$ne":{"$timestamp":{"t":1704067200,"i":0}}},"field27_bool_idx":{"$eq":false}}}],
|
||||
@ -3160,7 +3160,7 @@
|
||||
"keys" : 7562,
|
||||
"docs" : 7562,
|
||||
"sorts": 0,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 94},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$ne":20},"field0_bool_idx":{"$ne":true},"$or":[{"field45_bool":{"$exists":false},"field35_int_idx":{"$ne":2603},"field25_str_idx":{"$gte":"hI"}},{"field34_str_idx":{"$regex":{"$regex":"bT","$options":""}},"field1_datetime_idx":{"$lte":"2024-01-28T00:00:00.000Z"}}],"field16_str_idx":{"$lt":"tX"},"field7_str_idx":{"$lt":"n"},"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1755716125,"i":0}}},"field14_dict_idx":{"$lte":{"e":2}}}},{"$project":{"field45_bool":1,"_id":0}}],
|
||||
@ -3272,7 +3272,7 @@
|
||||
"keys" : 11538,
|
||||
"docs" : 9996,
|
||||
"sorts": 0,
|
||||
"plans": 15,
|
||||
"plans": 16,
|
||||
"rows" : 8},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field23_dict_idx":{"$lt":{"b":26,"c":1,"e":2}},"field31_list_idx":{"$nin":[56,447,21,65,34]},"field43_str":{"$lte":"k"},"field26_int_idx":{"$type":"int"}},{"field0_bool_idx":{"$lt":true},"field6_mixed_idx":{"$all":[false]}}],"field38_Timestamp":{"$eq":{"$timestamp":{"t":1767139200,"i":0}}},"field28_datetime_idx":{"$gte":"2024-01-08T00:00:00.000Z"},"$nor":[{"$and":[{"$nor":[{"field0_bool_idx":{"$gt":true},"field9_bool_idx":{"$eq":true}},{"field35_int_idx":{"$type":"int"},"field44_int":{"$gt":2761}}]},{"field6_mixed_idx":[true],"field10_datetime_idx":{"$lt":"2024-04-26T00:00:00.000Z"}}]},{"field7_str_idx":{"$gte":"y"},"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1741274041,"i":0}}}},{"field6_mixed_idx":{"$gte":70408},"field44_int":{"$eq":82},"field1_datetime_idx":{"$lt":"2024-02-24T00:00:00.000Z"}}]}},{"$project":{"field33_mixed_idx":1,"field2_Timestamp_idx":1}}],
|
||||
@ -3416,7 +3416,7 @@
|
||||
"keys" : 95904,
|
||||
"docs" : 95900,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"plans": 10,
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field16_str_idx":{"$lt":"q"},"field40_list":{"$nin":[45,41]}},{"field35_int_idx":{"$lte":5646},"field15_mixed_idx":{"$ne":37},"field19_datetime_idx":{"$ne":"2024-01-13T00:00:00.000Z"}},{"$nor":[{"field17_int_idx":{"$type":"int"},"field24_mixed_idx":{"$gte":"r"},"field14_dict_idx":{"$exists":true}},{"field23_dict_idx":{"$lt":{"d":5,"b":1}},"field0_bool_idx":{"$eq":true}}]}],"field11_Timestamp_idx":{"$gt":{"$timestamp":{"t":1753807922,"i":0}}},"field32_dict_idx":{"$ne":{"b":1,"d":11}},"field6_mixed_idx":true}}],
|
||||
@ -3940,11 +3940,11 @@
|
||||
"rows" : 164},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field10_datetime_idx":{"$lte":"2024-02-19T00:00:00.000Z"},"field13_list_idx":{"$size":18}},{"field16_str_idx":{"$gte":"O"},"field4_list_idx":{"$size":2}},{"$or":[{"field31_list_idx":{"$ne":41},"field24_mixed_idx":{"$ne":{"$timestamp":{"t":1767139200,"i":0}}}},{"field22_list_idx":{"$size":10},"field6_mixed_idx":"q"}]},{"field41_dict":{"$ne":{"n":1}},"field31_list_idx":{"$size":7},"field34_str_idx":{"$eq":"h"}}],"field34_str_idx":{"$ne":"o"},"field31_list_idx":{"$lte":33},"field7_str_idx":{"$gte":"Pu"},"field40_list":{"$gte":"o"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"Pu\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 70143,
|
||||
"docs" : 69061,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[MinKey, \"o\")","(\"o\", MaxKey]"],"field25_str_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 98150,
|
||||
"docs" : 98149,
|
||||
"sorts": 0,
|
||||
"plans": 13,
|
||||
"plans": 14,
|
||||
"rows" : 3},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field18_bool_idx":{"$gte":true},"field28_datetime_idx":{"$exists":true},"$and":[{"field22_list_idx":{"$lte":46},"field3_Decimal128_idx":{"$ne":{"$numberDecimal":"1.2"}}},{"$or":[{"field17_int_idx":{"$lt":644},"field16_str_idx":{"$ne":"CT"},"field25_str_idx":{"$gt":"Lv"}},{"field2_Timestamp_idx":{"$type":"timestamp"},"field16_str_idx":{"$eq":"h"}}]}]}}],
|
||||
@ -4044,11 +4044,11 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field17_int_idx":{"$type":"int"},"field28_datetime_idx":{"$ne":"2024-01-26T00:00:00.000Z"},"field13_list_idx":{"$lte":42},"field47_Timestamp":{"$gte":{"$timestamp":{"t":1734530134,"i":0}}},"field40_list":{"$gte":86},"$nor":[{"field24_mixed_idx":{"$size":18},"field35_int_idx":{"$lt":2267}},{"$nor":[{"field22_list_idx":{"$exists":true}},{"field24_mixed_idx":{"$timestamp":{"t":1767139200,"i":0}},"field40_list":35}]},{"field15_mixed_idx":{"$type":"date"},"field24_mixed_idx":{"$size":7},"field31_list_idx":{"$elemMatch":{"$lte":39}}},{"field31_list_idx":{"$lte":82},"field6_mixed_idx":"u","field21_Decimal128_idx":{"$exists":false},"field45_bool":{"$lte":false}}],"field1_datetime_idx":{"$lte":"2024-01-18T00:00:00.000Z"},"field35_int_idx":{"$lt":9815},"field26_int_idx":{"$lte":50}}},{"$project":{"field29_Timestamp_idx":1,"field23_dict_idx":1,"field39_Decimal128":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["[50.0, -inf]"],"field21_Decimal128_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 48085,
|
||||
"docs" : 48085,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[-inf, 42.0]"],"field28_datetime_idx":["[MaxKey, new Date(1706227200000))","(new Date(1706227200000), MinKey]"]}}}},
|
||||
"keys" : 114851,
|
||||
"docs" : 99749,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"plans": 12,
|
||||
"rows" : 4},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field2_Timestamp_idx":{"$ne":{"$timestamp":{"t":1747921563,"i":0}}},"field47_Timestamp":{"$lt":{"$timestamp":{"t":1760200963,"i":0}}},"field4_list_idx":{"$nin":[36,28,6]},"$or":[{"field20_Timestamp_idx":{"$gt":{"$timestamp":{"t":1740885110,"i":0}}},"field40_list":{"$lt":15}},{"$and":[{"field38_Timestamp":{"$exists":true},"field4_list_idx":{"$ne":21},"field16_str_idx":{"$ne":"Hn"}},{"$nor":[{"field6_mixed_idx":{"$size":15},"field23_dict_idx":{"$eq":{"d":2,"b":1}}},{"field13_list_idx":[38,42,19,84,35,485],"field38_Timestamp":{"$gt":{"$timestamp":{"t":1704067200,"i":0}}},"field44_int":{"$ne":26715}},{"field16_str_idx":{"$gt":"C"},"field46_datetime":{"$gt":"2024-05-12T00:00:00.000Z"}}]}]}]}}],
|
||||
@ -4184,7 +4184,7 @@
|
||||
"keys" : 12712,
|
||||
"docs" : 12712,
|
||||
"sorts": 0,
|
||||
"plans": 21,
|
||||
"plans": 22,
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$lt":42},"field27_bool_idx":{"$lte":false},"field32_dict_idx":{"$gt":{"n":1}},"field31_list_idx":{"$size":4},"$or":[{"field11_Timestamp_idx":{"$lte":{"$timestamp":{"t":1739473584,"i":0}}},"field13_list_idx":{"$lte":105}},{"$or":[{"field20_Timestamp_idx":{"$ne":{"$timestamp":{"t":1757229652,"i":0}}},"field15_mixed_idx":{"$ne":{"$timestamp":{"t":1741942901,"i":0}}}},{"$or":[{"field40_list":{"$elemMatch":{"$eq":208}},"field14_dict_idx":{"$gt":{"b":7}}},{"field6_mixed_idx":[32322,65610,58286,77256],"field13_list_idx":[],"field33_mixed_idx":{"$lte":70}}]},{"field20_Timestamp_idx":{"$eq":{"$timestamp":{"t":1767076052,"i":0}}},"field5_dict_idx":{"$lt":{"c":5,"f":1,"b":4}}}]},{"field26_int_idx":{"$lt":76},"field16_str_idx":{"$regex":{"$regex":"^N","$options":""}}},{"field22_list_idx":{"$elemMatch":{"$size":13}},"field47_Timestamp":{"$eq":{"$timestamp":{"t":1715250325,"i":0}}},"field6_mixed_idx":{"$nin":["h","q","k","t"]}}]}}],
|
||||
@ -4228,11 +4228,11 @@
|
||||
"rows" : 380},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field33_mixed_idx":{"$ne":20},"field34_str_idx":{"$gt":"CM"},"field18_bool_idx":{"$ne":true},"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1753654832,"i":0}}}},{"field14_dict_idx":{"$lt":{"f":2}},"field24_mixed_idx":{"$all":[{"$timestamp":{"t":1704067200,"i":0}}]}},{"field23_dict_idx":{"$lte":{"h":1}},"field35_int_idx":{"$lte":8123}}],"$or":[{"$or":[{"field14_dict_idx":{"$eq":{"b":1,"c":3}},"field39_Decimal128":{"$gte":{"$numberDecimal":"1.56"}}},{"field9_bool_idx":{"$gt":true},"field32_dict_idx":{"$lte":{"c":1,"h":1}}},{"field42_mixed":{"$lt":true},"field16_str_idx":{"$regex":{"$regex":"rT","$options":""}},"field13_list_idx":{"$all":[48,148]}}]},{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1719111403,"i":0}}},"field9_bool_idx":{"$gte":false}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[Timestamp(1704067200, 0), Timestamp(1704067200, 0)]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 35450,
|
||||
"docs" : 35450,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["({ f: 2.0 }, {}]"],"field34_str_idx":["({}, \"CM\")"]}}},
|
||||
"keys" : 91787,
|
||||
"docs" : 91512,
|
||||
"sorts": 0,
|
||||
"plans": 25,
|
||||
"plans": 26,
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field29_Timestamp_idx":{"$lt":{"$timestamp":{"t":1756437547,"i":0}}},"field14_dict_idx":{"$ne":{"c":1,"b":2,"d":1}},"field22_list_idx":{"$gte":206},"$and":[{"field38_Timestamp":{"$eq":{"$timestamp":{"t":1704067200,"i":0}}},"field21_Decimal128_idx":{"$lte":{"$numberDecimal":"24.1"}},"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"7.2"}}},{"$or":[{"field2_Timestamp_idx":{"$lte":{"$timestamp":{"t":1740280565,"i":0}}},"field14_dict_idx":{"$ne":{"b":1}}},{"field31_list_idx":{"$lt":82},"field33_mixed_idx":{"$ne":28},"field42_mixed":{"$type":"bool"}}]},{"$nor":[{"field43_str":{"$exists":true},"field31_list_idx":{"$in":[112,92,99,39,220,202,41,6]}},{"$and":[{"field11_Timestamp_idx":{"$gt":{"$timestamp":{"t":1746289122,"i":0}}},"field22_list_idx":{"$ne":4}},{"field15_mixed_idx":{"$gte":61},"field30_Decimal128_idx":{"$gte":{"$numberDecimal":"7.2"}}},{"field22_list_idx":[85,65,37,4,22,115,15,34],"field3_Decimal128_idx":{"$eq":{"$numberDecimal":"5.1"}}}]}]},{"field33_mixed_idx":{"$exists":true},"field35_int_idx":{"$lte":8159}}]}}],
|
||||
@ -4304,7 +4304,7 @@
|
||||
"keys" : 11751,
|
||||
"docs" : 11751,
|
||||
"sorts": 0,
|
||||
"plans": 19,
|
||||
"plans": 20,
|
||||
"rows" : 5},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field35_int_idx":{"$lt":1832},"field6_mixed_idx":{"$nin":["u","z","y","m","v","d","g"]}},{"field14_dict_idx":{"$eq":{"f":1,"b":1,"d":1}},"field13_list_idx":{"$size":17},"field24_mixed_idx":["m","h","n","j"]}],"$and":[{"field16_str_idx":{"$gte":"Cq"},"field24_mixed_idx":{"$lt":19}},{"$or":[{"field32_dict_idx":{"$lt":{"n":2}},"field23_dict_idx":{"$lte":{"e":5}},"field39_Decimal128":{"$eq":{"$numberDecimal":"4.3"}},"field31_list_idx":{"$lte":26}},{"field7_str_idx":{"$regex":{"$regex":"^we","$options":""}},"field18_bool_idx":{"$lt":false},"field25_str_idx":{"$regex":{"$regex":"pT","$options":""}}}]}],"field3_Decimal128_idx":{"$exists":false},"field2_Timestamp_idx":{"$ne":{"$timestamp":{"t":1749454826,"i":0}}}}},{"$project":{"field37_datetime":1,"field3_Decimal128_idx":1}}],
|
||||
@ -4400,7 +4400,7 @@
|
||||
"keys" : 1798,
|
||||
"docs" : 1797,
|
||||
"sorts": 0,
|
||||
"plans": 21,
|
||||
"plans": 22,
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field22_list_idx":{"$elemMatch":{"$gt":11}},"field4_list_idx":{"$lt":69},"field42_mixed":{"$type":"bool"},"field15_mixed_idx":{"$lte":"2024-01-29T00:00:00.000Z"},"field0_bool_idx":{"$lt":true},"$or":[{"$or":[{"field4_list_idx":{"$in":["g","y","p","l"]},"field6_mixed_idx":{"$nin":[]}},{"field31_list_idx":{"$nin":[10,202,26,77]},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"9.5"}}},{"field46_datetime":{"$gte":"2024-02-28T00:00:00.000Z"},"field4_list_idx":[],"field43_str":{"$regex":{"$regex":"i","$options":""}}}]},{"$or":[{"field22_list_idx":{"$all":[731,19]},"field29_Timestamp_idx":{"$eq":{"$timestamp":{"t":1754507512,"i":0}}},"field2_Timestamp_idx":{"$type":"timestamp"}},{"field22_list_idx":{"$all":[69,25,40,62]},"field40_list":[]}]}]}},{"$skip":8}],
|
||||
@ -4456,7 +4456,7 @@
|
||||
"keys" : 68872,
|
||||
"docs" : 68872,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"plans": 12,
|
||||
"rows" : 43},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field45_bool":{"$eq":true},"field19_datetime_idx":{"$lt":"2024-02-21T00:00:00.000Z"}},{"field10_datetime_idx":{"$lt":"2024-01-14T00:00:00.000Z"},"field27_bool_idx":{"$gte":false}}],"field24_mixed_idx":{"$eq":{"$timestamp":{"t":1704067200,"i":0}}},"field25_str_idx":{"$lt":"E"},"field16_str_idx":{"$ne":"X"},"$nor":[{"$or":[{"field44_int":{"$eq":12},"field6_mixed_idx":{"$elemMatch":{"$gt":48922,"$nin":[56214,58286,47899,74816,23565]}}},{"field47_Timestamp":{"$gte":{"$timestamp":{"t":1728017947,"i":0}}},"field23_dict_idx":{"$ne":{"d":5,"b":1}}},{"$nor":[{"field22_list_idx":63,"field16_str_idx":{"$lte":"Bj"}},{"field29_Timestamp_idx":{"$gte":{"$timestamp":{"t":1741274041,"i":0}}},"field6_mixed_idx":{"$lte":9708}}]}]},{"field46_datetime":{"$ne":"2024-03-10T00:00:00.000Z"},"field31_list_idx":{"$gt":71}},{"field22_list_idx":{"$nin":[95,106,28,37,12,27]},"field9_bool_idx":{"$ne":false}},{"field26_int_idx":{"$gte":42},"field11_Timestamp_idx":{"$lte":{"$timestamp":{"t":1754326337,"i":0}}},"field25_str_idx":{"$eq":"eo"},"field16_str_idx":{"$regex":{"$regex":"eo","$options":""}}}]}},{"$project":{"field1_datetime_idx":1}}],
|
||||
@ -4784,7 +4784,7 @@
|
||||
"keys" : 8304,
|
||||
"docs" : 8304,
|
||||
"sorts": 0,
|
||||
"plans": 17,
|
||||
"plans": 18,
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field27_bool_idx":{"$gte":false},"field33_mixed_idx":{"$ne":96}},{"$and":[{"field31_list_idx":[34,24,30,7,58,65,81,77,138],"field0_bool_idx":{"$lt":true}},{"field23_dict_idx":{"$type":"objectId"},"field24_mixed_idx":{"$nin":[506,539,186,738]},"field33_mixed_idx":{"$exists":false}},{"field40_list":32,"field27_bool_idx":{"$gte":false},"field4_list_idx":"h"},{"field24_mixed_idx":{"$elemMatch":{"$gte":264}},"field27_bool_idx":{"$lte":false}}]}],"field17_int_idx":{"$gte":915},"field31_list_idx":[],"field23_dict_idx":{"$lte":{"b":5,"c":2}}}}],
|
||||
@ -4896,7 +4896,7 @@
|
||||
"keys" : 17661,
|
||||
"docs" : 17661,
|
||||
"sorts": 0,
|
||||
"plans": 17,
|
||||
"plans": 18,
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field26_int_idx":{"$lt":71},"field9_bool_idx":{"$eq":true},"field17_int_idx":{"$gte":551},"field43_str":{"$lt":"z"},"field5_dict_idx":{"$exists":true},"field6_mixed_idx":{"$gt":18752}}}],
|
||||
@ -4944,7 +4944,7 @@
|
||||
"keys" : 20292,
|
||||
"docs" : 20292,
|
||||
"sorts": 0,
|
||||
"plans": 15,
|
||||
"plans": 16,
|
||||
"rows" : 283},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field9_bool_idx":{"$lte":true},"field31_list_idx":[2],"field44_int":{"$gt":24}},{"$or":[{"field22_list_idx":56,"field6_mixed_idx":65908,"field34_str_idx":{"$regex":{"$regex":"^H","$options":""}}},{"field20_Timestamp_idx":{"$ne":{"$timestamp":{"t":1735480873,"i":0}}},"field46_datetime":{"$lte":"2024-02-08T00:00:00.000Z"},"field31_list_idx":{"$elemMatch":{"$size":14,"$in":[329,64,24]}},"field47_Timestamp":{"$gt":{"$timestamp":{"t":1758812187,"i":0}}}}]},{"field24_mixed_idx":{"$elemMatch":{"$gte":506}},"field6_mixed_idx":{"$size":1}}],"field13_list_idx":{"$ne":26},"field1_datetime_idx":{"$lt":"2024-01-07T00:00:00.000Z"}}},{"$project":{"field46_datetime":1,"field39_Decimal128":1,"field2_Timestamp_idx":1,"_id":0}}],
|
||||
@ -5556,11 +5556,11 @@
|
||||
"rows" : 13384},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field23_dict_idx":{"$lte":{"b":12}},"field19_datetime_idx":{"$ne":"2024-05-09T00:00:00.000Z"},"field7_str_idx":{"$lt":"T"},"field13_list_idx":{"$elemMatch":{"$lt":38}},"field31_list_idx":{"$lt":54},"$and":[{"$or":[{"field40_list":{"$regex":{"$regex":"l","$options":""}},"field30_Decimal128_idx":{"$gt":{"$numberDecimal":"4.1"}},"field24_mixed_idx":{"$size":7}},{"field11_Timestamp_idx":{"$lt":{"$timestamp":{"t":1753749328,"i":0}}},"field19_datetime_idx":{"$gte":"2024-01-20T00:00:00.000Z"}},{"field10_datetime_idx":{"$lte":"2024-02-23T00:00:00.000Z"}},{"field3_Decimal128_idx":{"$lte":{"$numberDecimal":"5.1"}},"field6_mixed_idx":["v","s","l"],"field36_bool":{"$eq":false}}]},{"field40_list":{"$elemMatch":{"$eq":"w"}}}]}},{"$project":{"field5_dict_idx":1,"field1_datetime_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"T\")"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 37419,
|
||||
"docs" : 36866,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(54.0, -inf]"],"field7_str_idx":["(\"T\", \"\"]"]}}}},
|
||||
"keys" : 42466,
|
||||
"docs" : 36784,
|
||||
"sorts": 0,
|
||||
"plans": 19,
|
||||
"plans": 20,
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field7_str_idx":{"$gte":"OX"},"field33_mixed_idx":{"$eq":62}},{"field6_mixed_idx":{"$lte":"g"},"field40_list":[]}],"field24_mixed_idx":{"$lte":{"$timestamp":{"t":1767139200,"i":0}}},"field26_int_idx":{"$lt":57},"field23_dict_idx":{"$lt":{"d":8,"b":1}},"field2_Timestamp_idx":{"$lt":{"$timestamp":{"t":1766024041,"i":0}}},"field35_int_idx":{"$gte":7960},"$or":[{"$and":[{"field20_Timestamp_idx":{"$gt":{"$timestamp":{"t":1754024899,"i":0}}},"field2_Timestamp_idx":{"$gt":{"$timestamp":{"t":1718701413,"i":0}}},"field28_datetime_idx":{"$eq":"2024-01-25T00:00:00.000Z"}},{"field29_Timestamp_idx":{"$eq":{"$timestamp":{"t":1763949797,"i":0}}},"field21_Decimal128_idx":{"$lt":{"$numberDecimal":"2.2"}}},{"field8_int_idx":{"$eq":3},"field13_list_idx":{"$gte":42}}]},{"field39_Decimal128":{"$gte":{"$numberDecimal":"18.1"}},"field10_datetime_idx":{"$ne":"2024-01-24T00:00:00.000Z"}},{"$or":[{"field25_str_idx":{"$gt":"m"},"field31_list_idx":{"$nin":[41,42]}},{"field24_mixed_idx":{"$size":1},"field9_bool_idx":{"$eq":false}},{"$or":[{"field22_list_idx":{"$lte":64},"field27_bool_idx":{"$gt":false},"field36_bool":{"$lte":false}},{"field21_Decimal128_idx":{"$lt":{"$numberDecimal":"2.9"}},"field24_mixed_idx":{"$size":19}}]},{"field24_mixed_idx":{"$all":[]},"field44_int":{"$eq":93906},"field36_bool":{"$lte":false},"field23_dict_idx":{"$gte":{"e":10}},"field12_Decimal128_idx":{"$exists":true}}]}]}},{"$project":{"field0_bool_idx":1}}],
|
||||
@ -5712,7 +5712,7 @@
|
||||
"keys" : 11751,
|
||||
"docs" : 11751,
|
||||
"sorts": 0,
|
||||
"plans": 19,
|
||||
"plans": 20,
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field20_Timestamp_idx":{"$ne":{"$timestamp":{"t":1760149983,"i":0}}},"field34_str_idx":{"$eq":"h"},"field35_int_idx":{"$ne":752},"field39_Decimal128":{"$gt":{"$numberDecimal":"3.3"}},"field12_Decimal128_idx":{"$lte":{"$numberDecimal":"64.7"}},"field16_str_idx":{"$lt":"hD"},"$or":[{"field13_list_idx":45,"field29_Timestamp_idx":{"$eq":{"$timestamp":{"t":1743534449,"i":0}}}},{"field39_Decimal128":{"$exists":true},"field8_int_idx":{"$gte":457}}]}}],
|
||||
@ -5896,7 +5896,7 @@
|
||||
"keys" : 894,
|
||||
"docs" : 862,
|
||||
"sorts": 0,
|
||||
"plans": 33,
|
||||
"plans": 34,
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"field46_datetime":{"$lte":"2024-03-22T00:00:00.000Z"},"field33_mixed_idx":{"$exists":false}},{"field31_list_idx":{"$size":1},"field4_list_idx":{"$all":["h","y","c","n","g"]},"field9_bool_idx":{"$lte":false}},{"field23_dict_idx":{"$gt":{"b":13}},"field9_bool_idx":{"$eq":true}},{"field7_str_idx":{"$gt":"FTn"},"field22_list_idx":{"$size":5}},{"field36_bool":{"$ne":false},"field43_str":{"$regex":{"$regex":"y","$options":""}},"field0_bool_idx":{"$gt":false},"field31_list_idx":{"$gt":17},"field16_str_idx":{"$ne":"O"}},{"field34_str_idx":{"$regex":{"$regex":"e","$options":""}},"field36_bool":{"$eq":false}}]},{"field13_list_idx":[35],"field44_int":{"$gte":52}}],"field44_int":{"$type":"int"},"field42_mixed":{"$type":"bool"},"field43_str":{"$exists":true},"field31_list_idx":{"$gte":44},"field14_dict_idx":{"$gt":{"b":2,"e":1}}}}],
|
||||
@ -5928,7 +5928,7 @@
|
||||
"keys" : 1521,
|
||||
"docs" : 788,
|
||||
"sorts": 6,
|
||||
"plans": 15,
|
||||
"plans": 16,
|
||||
"rows" : 3},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"$or":[{"$nor":[{"field19_datetime_idx":{"$gt":"2024-01-23T00:00:00.000Z"},"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"8.3"}}},{"field47_Timestamp":{"$lt":{"$timestamp":{"t":1760770637,"i":0}}},"field46_datetime":{"$ne":"2024-02-13T00:00:00.000Z"}}]},{"field32_dict_idx":{"$eq":{"t":1,"b":1}},"field26_int_idx":{"$eq":60},"field19_datetime_idx":{"$lte":"2024-02-07T00:00:00.000Z"}}]},{"field22_list_idx":{"$gte":41},"field4_list_idx":{"$size":3}},{"field36_bool":{"$eq":false},"field14_dict_idx":{"$gte":{"b":4}},"field24_mixed_idx":["p"]}],"$or":[{"field39_Decimal128":{"$gt":{"$numberDecimal":"1.14"}},"field29_Timestamp_idx":{"$lte":{"$timestamp":{"t":1763020414,"i":0}}},"field41_dict":{"$gte":{"b":2}}},{"$and":[{"field29_Timestamp_idx":{"$eq":{"$timestamp":{"t":1754520259,"i":0}}},"field24_mixed_idx":[]},{"field36_bool":{"$lte":false},"field40_list":{"$size":12}}]},{"$and":[{"$or":[{"field25_str_idx":{"$eq":"UC"},"field10_datetime_idx":{"$eq":"2025-03-20T00:00:00.000Z"}},{"field28_datetime_idx":{"$lt":"2024-01-11T00:00:00.000Z"},"field6_mixed_idx":{"$lte":1}}]},{"field35_int_idx":{"$lt":5416},"field15_mixed_idx":{"$eq":{"$timestamp":{"t":1765866987,"i":0}}},"field6_mixed_idx":[]},{"field6_mixed_idx":"s","field25_str_idx":{"$gt":"Dz"}}]},{"field11_Timestamp_idx":{"$gt":{"$timestamp":{"t":1721762051,"i":0}}},"field24_mixed_idx":{"$size":4}}]}},{"$sort":{"field8_int_idx":-1}},{"$project":{"field2_Timestamp_idx":1,"field24_mixed_idx":1,"_id":0}}],
|
||||
@ -6060,11 +6060,11 @@
|
||||
"rows" : 9089},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field31_list_idx":{"$lt":58},"field22_list_idx":{"$type":"int"},"field42_mixed":{"$lt":true}},{"$or":[{"field7_str_idx":{"$eq":"ku"},"field13_list_idx":{"$size":15},"field41_dict":{"$lt":{"b":1,"e":1}},"field46_datetime":{"$gte":"2024-02-16T00:00:00.000Z"}},{"field10_datetime_idx":{"$lt":"2024-02-05T00:00:00.000Z"},"field2_Timestamp_idx":{"$gt":{"$timestamp":{"t":1717655360,"i":0}}},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"8.4"}}}]},{"$nor":[{"field22_list_idx":{"$all":[67,115,18,55,62,54,193,69]},"field26_int_idx":{"$gt":64}},{"field25_str_idx":{"$eq":"N"},"field15_mixed_idx":{"$eq":"2024-02-09T00:00:00.000Z"}}]}],"field40_list":{"$size":2},"field23_dict_idx":{"$gte":{"b":6}}}},{"$sort":{"field19_datetime_idx":1,"field25_str_idx":-1}},{"$project":{"field19_datetime_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ b: 6.0 }, [])"]}}}}},
|
||||
"keys" : 27064,
|
||||
"docs" : 27064,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"ku\", \"ku\"]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field30_Decimal128_idx_-1_field23_dict_idx_1","indexBounds":{"field30_Decimal128_idx":["(8.4, -inf]"],"field23_dict_idx":["[{ b: 6.0 }, [])"]}}}]}}}},
|
||||
"keys" : 26942,
|
||||
"docs" : 40681,
|
||||
"sorts": 13648,
|
||||
"plans": 13,
|
||||
"plans": 14,
|
||||
"rows" : 1626},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field29_Timestamp_idx":{"$lt":{"$timestamp":{"t":1745876085,"i":0}}},"field7_str_idx":{"$gte":"sCG"},"$or":[{"field2_Timestamp_idx":{"$lte":{"$timestamp":{"t":1758467136,"i":0}}},"field23_dict_idx":{"$lt":{"e":2,"b":1}},"field24_mixed_idx":{"$regex":{"$regex":"^m","$options":""}},"field19_datetime_idx":{"$ne":"2024-02-23T00:00:00.000Z"}},{"field23_dict_idx":{"$lt":{"b":6}},"field13_list_idx":{"$size":3}}]}},{"$project":{"field4_list_idx":1,"field11_Timestamp_idx":1}}],
|
||||
@ -6404,11 +6404,11 @@
|
||||
"rows" : 89114},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field34_str_idx":{"$regex":{"$regex":"h","$options":""}},"field35_int_idx":{"$lte":726},"field19_datetime_idx":{"$ne":"2024-01-03T00:00:00.000Z"},"$or":[{"field43_str":{"$ne":"y"},"field21_Decimal128_idx":{"$exists":false}},{"field4_list_idx":37,"field18_bool_idx":{"$gte":true}},{"$and":[{"field4_list_idx":{"$all":[]},"field10_datetime_idx":{"$gt":"2024-01-04T00:00:00.000Z"},"field7_str_idx":{"$lt":"Hh"}},{"field4_list_idx":{"$elemMatch":{"$size":19}},"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"1.45"}}}]},{"field19_datetime_idx":{"$gt":"2024-01-23T00:00:00.000Z"},"field13_list_idx":{"$size":9},"field25_str_idx":{"$lte":"DW"},"field29_Timestamp_idx":{"$lte":{"$timestamp":{"t":1736169852,"i":0}}}},{"$and":[{"field7_str_idx":{"$gt":"JgeX"},"field27_bool_idx":{"$lte":false},"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"3.4"}}},{"field45_bool":{"$gt":false},"field18_bool_idx":{"$exists":true}}]}]}},{"$project":{"field18_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})","[/h/, /h/]"],"field25_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 2019,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[726.0, -inf]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 85171,
|
||||
"docs" : 85171,
|
||||
"sorts": 0,
|
||||
"plans": 13,
|
||||
"plans": 14,
|
||||
"rows" : 8},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field22_list_idx":{"$ne":57},"field7_str_idx":{"$ne":"KXeh"},"field1_datetime_idx":{"$lte":"2024-02-24T00:00:00.000Z"},"field29_Timestamp_idx":{"$lte":{"$timestamp":{"t":1765760699,"i":0}}},"field13_list_idx":{"$ne":39},"$or":[{"field14_dict_idx":{"$lte":{"c":1,"b":1,"g":1}},"field24_mixed_idx":{"$all":[101]}},{"$nor":[{"field10_datetime_idx":{"$lt":"2024-01-27T00:00:00.000Z"},"field40_list":{"$regex":{"$regex":"^e","$options":""}}},{"field40_list":{"$elemMatch":{"$in":[17,43,25,28,39]}},"field25_str_idx":{"$ne":"rT"},"field24_mixed_idx":578,"field38_Timestamp":{"$gt":{"$timestamp":{"t":1767139200,"i":0}}}},{"field40_list":{"$elemMatch":{"$size":11}},"field10_datetime_idx":{"$lt":"2024-01-17T00:00:00.000Z"},"field7_str_idx":{"$exists":false}}]},{"field17_int_idx":{"$gte":571},"field6_mixed_idx":{"$size":13},"field31_list_idx":{"$size":9}}]}}],
|
||||
@ -6512,7 +6512,7 @@
|
||||
"keys" : 1676,
|
||||
"docs" : 1676,
|
||||
"sorts": 0,
|
||||
"plans": 17,
|
||||
"plans": 18,
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field30_Decimal128_idx":{"$gte":{"$numberDecimal":"2.8"}},"field6_mixed_idx":{"$elemMatch":{"$nin":["h","s","g","m","t","p"],"$gt":99562}}},{"field33_mixed_idx":{"$lt":63},"field13_list_idx":{"$ne":109}},{"field1_datetime_idx":{"$eq":"2024-03-01T00:00:00.000Z"},"field39_Decimal128":{"$lte":{"$numberDecimal":"1.29"}},"field33_mixed_idx":{"$exists":false}}],"field23_dict_idx":{"$ne":{"b":4}},"field47_Timestamp":{"$gte":{"$timestamp":{"t":1759799705,"i":0}}},"field42_mixed":{"$lte":false},"field19_datetime_idx":{"$type":"date"}}},{"$sort":{"field7_str_idx":-1}},{"$project":{"field25_str_idx":1,"_id":0}}],
|
||||
@ -6540,11 +6540,11 @@
|
||||
"rows" : 126},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field45_bool":{"$lte":true},"field25_str_idx":{"$exists":true},"$or":[{"field33_mixed_idx":{"$ne":9},"field31_list_idx":{"$lt":20}},{"field19_datetime_idx":{"$type":"date"},"field27_bool_idx":{"$gt":false}},{"$or":[{"field44_int":{"$type":"int"},"field24_mixed_idx":{"$gt":205}},{"field13_list_idx":{"$type":"int"},"field47_Timestamp":{"$eq":{"$timestamp":{"t":1756993998,"i":0}}}}]},{"field22_list_idx":{"$nin":[21,69]},"field6_mixed_idx":{"$in":[23940,94274,1,79745,38712,5576]},"field9_bool_idx":{"$lt":true},"field4_list_idx":[53,2]},{"field6_mixed_idx":{"$ne":"x"},"field43_str":{"$gt":"f"}}]}},{"$sort":{"field5_dict_idx":-1,"field21_Decimal128_idx":-1,"field18_bool_idx":1}},{"$project":{"field27_bool_idx":1,"field34_str_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[[ 53.0, 2.0 ], [ 53.0, 2.0 ]]","[53.0, 53.0]"],"field9_bool_idx":["[false, true)"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[MinKey, \"x\")","(\"x\", MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[nan, inf]"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[new Date(-9223372036854775808), new Date(9223372036854775807)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[inf, 205.0)"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(20.0, -inf]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}]}}}},
|
||||
"keys" : 429192,
|
||||
"docs" : 495086,
|
||||
"sorts": 1221602,
|
||||
"plans": 9,
|
||||
"plans": 10,
|
||||
"rows" : 97801},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field40_list":{"$ne":7},"field7_str_idx":{"$lt":"T"},"field8_int_idx":{"$eq":484},"$or":[{"$or":[{"field31_list_idx":{"$in":[11,45,23,70,83]},"field45_bool":{"$gt":false}},{"$and":[{"field41_dict":{"$lt":{"t":1,"b":1}},"field23_dict_idx":{"$ne":{"e":3,"c":1,"b":1}},"field14_dict_idx":{"$ne":{"c":1,"b":2}}},{"field12_Decimal128_idx":{"$lt":{"$numberDecimal":"10.1"}},"field44_int":{"$lt":83792},"field23_dict_idx":{"$type":"objectId"}},{"field16_str_idx":{"$gte":"V"},"field31_list_idx":33,"field4_list_idx":{"$all":["r","w","u"]},"field15_mixed_idx":{"$lte":313}}]}]},{"field44_int":{"$lte":30},"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"13.1"}}}]}},{"$project":{"field3_Decimal128_idx":1,"field19_datetime_idx":1,"field21_Decimal128_idx":1}}],
|
||||
@ -6848,7 +6848,7 @@
|
||||
"keys" : 11180,
|
||||
"docs" : 11180,
|
||||
"sorts": 0,
|
||||
"plans": 17,
|
||||
"plans": 18,
|
||||
"rows" : 4},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field2_Timestamp_idx":{"$lte":{"$timestamp":{"t":1747921563,"i":0}}},"field40_list":{"$lte":15},"field29_Timestamp_idx":{"$gt":{"$timestamp":{"t":1745876085,"i":0}}},"$or":[{"$and":[{"$and":[{"field40_list":{"$elemMatch":{"$gte":"o","$in":[],"$ne":171}},"field29_Timestamp_idx":{"$gt":{"$timestamp":{"t":1731563459,"i":0}}},"field0_bool_idx":{"$gte":true},"field11_Timestamp_idx":{"$ne":{"$timestamp":{"t":1730980801,"i":0}}}},{"field40_list":["s","i"],"field26_int_idx":{"$gt":96},"field47_Timestamp":{"$gt":{"$timestamp":{"t":1735189051,"i":0}}}}]},{"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1758086631,"i":0}}},"field19_datetime_idx":{"$gt":"2024-02-13T00:00:00.000Z"}},{"field22_list_idx":{"$ne":15},"field13_list_idx":{"$lte":54},"field31_list_idx":{"$all":[82,81,61,65,64]}}]},{"field40_list":{"$lte":"m"},"field21_Decimal128_idx":{"$lte":{"$numberDecimal":"13.5"}},"field10_datetime_idx":{"$exists":false}},{"field42_mixed":{"$lte":{"d":2,"b":1}},"field19_datetime_idx":{"$ne":"2024-02-08T00:00:00.000Z"}}],"field13_list_idx":{"$type":"int"},"field4_list_idx":{"$lte":28},"field15_mixed_idx":{"$lt":"2024-02-23T00:00:00.000Z"}}},{"$project":{"field9_bool_idx":1,"field35_int_idx":1,"field17_int_idx":1}}],
|
||||
@ -6940,11 +6940,11 @@
|
||||
"rows" : 70293},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$or":[{"field19_datetime_idx":{"$ne":"2024-01-15T00:00:00.000Z"},"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1736584750,"i":0}}}},{"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1751815463,"i":0}}},"field5_dict_idx":{"$exists":true},"field25_str_idx":{"$lt":"cK"}}]},{"field33_mixed_idx":{"$lte":63},"field6_mixed_idx":{"$size":8}}],"field26_int_idx":{"$lte":43},"field34_str_idx":{"$lte":"gC"},"$or":[{"$nor":[{"$or":[{"field10_datetime_idx":{"$ne":"2024-03-20T00:00:00.000Z"},"field32_dict_idx":{"$type":"objectId"}},{"field25_str_idx":{"$eq":"CC"},"field0_bool_idx":{"$gte":true}},{"field40_list":60,"field16_str_idx":{"$gte":"rv"},"field13_list_idx":{"$lte":184},"field35_int_idx":{"$gt":4307}},{"field4_list_idx":163,"field16_str_idx":{"$lt":"fD"}}]},{"field31_list_idx":{"$eq":20},"field6_mixed_idx":{"$size":6}}]},{"field20_Timestamp_idx":{"$eq":{"$timestamp":{"t":1727426630,"i":0}}},"field5_dict_idx":{"$ne":{"c":1,"b":1,"g":1}}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["[43.0, -inf]"],"field21_Decimal128_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 42914,
|
||||
"docs" : 42914,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field33_mixed_idx_-1","indexBounds":{"field33_mixed_idx":["[63.0, -inf]"]}}},
|
||||
"keys" : 69244,
|
||||
"docs" : 69244,
|
||||
"sorts": 0,
|
||||
"plans": 13,
|
||||
"plans": 14,
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field16_str_idx":{"$regex":{"$regex":"X","$options":""}},"field17_int_idx":{"$eq":466},"field47_Timestamp":{"$lt":{"$timestamp":{"t":1739865152,"i":0}}}},{"field8_int_idx":{"$gte":619},"field24_mixed_idx":{"$nin":[]}}],"field13_list_idx":{"$gt":34},"field16_str_idx":{"$gte":"Rx"},"$or":[{"field25_str_idx":{"$gte":"AZ"},"field32_dict_idx":{"$lt":{"d":2,"c":1,"b":1}},"field34_str_idx":{"$gt":"NM"},"field31_list_idx":{"$elemMatch":{"$lt":142}}},{"field36_bool":{"$lte":false},"field4_list_idx":"x"}]}},{"$project":{"field14_dict_idx":1,"field24_mixed_idx":1}}],
|
||||
@ -7024,7 +7024,7 @@
|
||||
"keys" : 75014,
|
||||
"docs" : 75014,
|
||||
"sorts": 0,
|
||||
"plans": 15,
|
||||
"plans": 16,
|
||||
"rows" : 9},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field38_Timestamp":{"$lte":{"$timestamp":{"t":1767139200,"i":0}}},"field35_int_idx":{"$eq":6911}},{"field44_int":{"$ne":19},"field25_str_idx":{"$gt":"g"},"field39_Decimal128":{"$gte":{"$numberDecimal":"1.16"}},"field24_mixed_idx":["y","v","e","b","w","i"]},{"field4_list_idx":{"$size":8},"field37_datetime":{"$ne":"2024-02-22T00:00:00.000Z"},"field5_dict_idx":{"$lt":{"e":1,"b":3}}}],"field6_mixed_idx":{"$gte":false},"field38_Timestamp":{"$eq":{"$timestamp":{"t":1704067200,"i":0}}},"$nor":[{"field40_list":93,"field8_int_idx":{"$lt":775}},{"field22_list_idx":{"$size":14},"field6_mixed_idx":["c","l","p"],"field26_int_idx":{"$exists":true},"field40_list":[]},{"field29_Timestamp_idx":{"$gt":{"$timestamp":{"t":1760557830,"i":0}}},"field24_mixed_idx":{"$elemMatch":{"$size":1}}},{"$and":[{"field31_list_idx":[62,149,125],"field6_mixed_idx":{"$lt":false}},{"field19_datetime_idx":{"$lte":"2024-03-17T00:00:00.000Z"},"field5_dict_idx":{"$ne":{"c":3,"b":2,"e":1}}}]},{"field36_bool":{"$lt":false},"field34_str_idx":{"$ne":"U"}}]}}],
|
||||
@ -7616,7 +7616,7 @@
|
||||
"keys" : 8280,
|
||||
"docs" : 8280,
|
||||
"sorts": 0,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field13_list_idx":{"$size":5},"field40_list":{"$size":8},"field29_Timestamp_idx":{"$gte":{"$timestamp":{"t":1753388555,"i":0}}}},{"field27_bool_idx":{"$gte":false},"field7_str_idx":{"$lte":"rN"},"field17_int_idx":{"$lt":983}}],"field2_Timestamp_idx":{"$lte":{"$timestamp":{"t":1762732238,"i":0}}},"field30_Decimal128_idx":{"$gte":{"$numberDecimal":"8.4"}}}}],
|
||||
@ -7648,7 +7648,7 @@
|
||||
"keys" : 11515,
|
||||
"docs" : 9983,
|
||||
"sorts": 0,
|
||||
"plans": 23,
|
||||
"plans": 24,
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$nor":[{"field23_dict_idx":{"$lte":{"h":1}},"field22_list_idx":{"$gte":17}},{"field15_mixed_idx":{"$gte":{"$timestamp":{"t":1765563083,"i":0}}},"field5_dict_idx":{"$ne":{"b":3}},"field22_list_idx":{"$size":17}},{"field23_dict_idx":{"$gt":{"c":1,"b":2,"d":1}},"field10_datetime_idx":{"$lte":"2024-04-26T00:00:00.000Z"}}]},{"field10_datetime_idx":{"$type":"date"},"field31_list_idx":{"$size":15}}],"$and":[{"field29_Timestamp_idx":{"$exists":true},"field13_list_idx":{"$nin":[85,45,9,127,15,25,17]},"field9_bool_idx":{"$lte":true}},{"field24_mixed_idx":{"$timestamp":{"t":1704067200,"i":0}},"field35_int_idx":{"$type":"int"}}]}}],
|
||||
@ -7716,11 +7716,11 @@
|
||||
"rows" : 45},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field41_dict":{"$gt":{"f":1,"b":2}},"field13_list_idx":{"$lt":68}},{"$and":[{"$or":[{"field39_Decimal128":{"$lte":{"$numberDecimal":"2.15"}},"field10_datetime_idx":{"$lt":"2024-02-23T00:00:00.000Z"},"field11_Timestamp_idx":{"$lte":{"$timestamp":{"t":1741600532,"i":0}}},"field7_str_idx":{"$lte":"jyKI"}},{"$or":[{"field15_mixed_idx":{"$gte":"2024-02-03T00:00:00.000Z"},"field45_bool":{"$gte":true},"field38_Timestamp":{"$lte":{"$timestamp":{"t":1704067200,"i":0}}}},{"field9_bool_idx":{"$eq":true},"field34_str_idx":{"$type":"string"}}]},{"field24_mixed_idx":{"$gte":{"$timestamp":{"t":1767139200,"i":0}}},"field7_str_idx":{"$gte":"vZuw"}},{"field40_list":{"$gt":"j"},"field35_int_idx":{"$exists":true}},{"field4_list_idx":{"$elemMatch":{"$size":19}},"field9_bool_idx":{"$lt":false}},{"field13_list_idx":{"$size":1},"field35_int_idx":{"$gt":68}}]},{"field39_Decimal128":{"$gte":{"$numberDecimal":"4.11"}},"field17_int_idx":{"$lte":281},"field8_int_idx":{"$ne":144}}]}]}},{"$sort":{"field1_datetime_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field17_int_idx_-1","indexBounds":{"field17_int_idx":["[281.0, -inf]"]}}}},
|
||||
"keys" : 40721,
|
||||
"docs" : 40721,
|
||||
"sorts": 42,
|
||||
"plans": 23,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field1_datetime_idx_1","indexBounds":{"field1_datetime_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"sorts": 0,
|
||||
"plans": 24,
|
||||
"rows" : 12},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field3_Decimal128_idx":{"$type":"decimal"},"field28_datetime_idx":{"$gt":"2024-03-12T00:00:00.000Z"}},{"field30_Decimal128_idx":{"$gte":{"$numberDecimal":"71.1"}},"field4_list_idx":["j","v"],"field43_str":{"$regex":{"$regex":"o","$options":""}}},{"field21_Decimal128_idx":{"$ne":{"$numberDecimal":"14.1"}},"field8_int_idx":{"$lt":60},"field20_Timestamp_idx":{"$eq":{"$timestamp":{"t":1763020414,"i":0}}},"field13_list_idx":{"$ne":30},"field6_mixed_idx":{"$size":3}}],"field23_dict_idx":{"$gte":{"b":1,"e":1}},"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1750810100,"i":0}}},"field32_dict_idx":{"$lt":{"n":1}},"field37_datetime":{"$gte":"2024-02-26T00:00:00.000Z"},"field17_int_idx":{"$gte":737},"field30_Decimal128_idx":{"$gte":{"$numberDecimal":"7.5"}}}},{"$project":{"field36_bool":1,"field12_Decimal128_idx":1,"_id":0}}],
|
||||
@ -7880,7 +7880,7 @@
|
||||
"keys" : 11440,
|
||||
"docs" : 11307,
|
||||
"sorts": 10,
|
||||
"plans": 19,
|
||||
"plans": 20,
|
||||
"rows" : 4},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$gte":43},"field18_bool_idx":{"$eq":false},"$or":[{"field36_bool":{"$ne":false},"field16_str_idx":{"$regex":{"$regex":"Jk","$options":""}}},{"field24_mixed_idx":{"$in":[532,928,401,101,771,34,628]},"field46_datetime":{"$ne":"2024-02-01T00:00:00.000Z"}},{"field31_list_idx":{"$elemMatch":{"$ne":30}},"field13_list_idx":{"$nin":[42]},"field1_datetime_idx":{"$lte":"2024-01-23T00:00:00.000Z"}}]}}],
|
||||
@ -7948,11 +7948,11 @@
|
||||
"rows" : 362},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$exists":true},"field9_bool_idx":{"$lte":false},"$or":[{"$or":[{"field40_list":{"$elemMatch":{"$in":["s"]}},"field7_str_idx":{"$ne":"oWO"}},{"field19_datetime_idx":{"$gte":"2024-01-17T00:00:00.000Z"},"field4_list_idx":{"$regex":{"$regex":"e","$options":""}},"field5_dict_idx":{"$exists":false}}]},{"$and":[{"field5_dict_idx":{"$type":"objectId"},"field28_datetime_idx":{"$lte":"2024-01-03T00:00:00.000Z"}},{"field1_datetime_idx":{"$type":"date"},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"7.5"}},"field45_bool":{"$lte":true}},{"field42_mixed":{"$type":"bool"},"field26_int_idx":{"$gt":70}}]},{"field14_dict_idx":{"$ne":{"f":6}},"field5_dict_idx":{"$exists":false},"field43_str":{"$ne":"b"},"field39_Decimal128":{"$gte":{"$numberDecimal":"9.2"}}}]}},{"$sort":{"field18_bool_idx":-1,"field23_dict_idx":1,"field3_Decimal128_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field9_bool_idx_-1_field35_int_idx_1","indexBounds":{"field9_bool_idx":["[false, false]"],"field35_int_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 88249,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[MaxKey, MinKey]"],"field9_bool_idx":["[false, false]"]}}}},
|
||||
"keys" : 102100,
|
||||
"docs" : 88249,
|
||||
"sorts": 3,
|
||||
"plans": 15,
|
||||
"plans": 16,
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field13_list_idx":{"$size":15},"field36_bool":{"$eq":false}},{"$and":[{"field37_datetime":{"$gte":"2024-02-11T00:00:00.000Z"},"field42_mixed":{"$gte":{"q":1}}},{"field36_bool":{"$lte":false}},{"field11_Timestamp_idx":{"$gte":{"$timestamp":{"t":1754364691,"i":0}}},"field10_datetime_idx":{"$gt":"2024-01-28T00:00:00.000Z"}}]}],"field25_str_idx":{"$type":"string"},"field31_list_idx":4,"field4_list_idx":{"$elemMatch":{"$nin":[47]}}}},{"$project":{"field33_mixed_idx":1,"field44_int":1,"field0_bool_idx":1,"_id":0}}],
|
||||
@ -8268,7 +8268,7 @@
|
||||
"rows" : 96224}
|
||||
|
||||
],
|
||||
">>>totals": {"pipelines": 1032, "plans": 8774, "keys": 32136026, "docs": 31852885, "sorts": 7325762, "rows": 10011323, "errors": 0},
|
||||
">>>totals": {"pipelines": 1032, "plans": 8832, "keys": 33322862, "docs": 33131098, "sorts": 7325333, "rows": 10011323, "errors": 0},
|
||||
">>>parameters": {"featureFlagCostBasedRanker":{"value":true,"version":"8.3","fcv_gated":false,"currentlyEnabled":true},"internalQueryCBRCEMode":"automaticCE","samplingMarginOfError":5,"samplingConfidenceInterval":"95","internalQuerySamplingCEMethod":"chunk","internalQuerySamplingBySequentialScan":true,"automaticCEPlanRankingStrategy":"CBRForNoMultiplanningResults"}}
|
||||
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
{">>>pipelines":[
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"d_compound":{"$exists":false}},{"d_idx":{"$gte":19}},{"a_compound":{"$all":[13,19,6]}}],"i_compound":{"$in":[2,7]},"z_compound":{"$nin":[5,14]}}},{"$limit":31}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[2.0, 2.0]","[7.0, 7.0]"]}}}},
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1_z_compound_1","indexBounds":{"i_compound":["[2.0, 2.0]","[7.0, 7.0]"],"z_compound":["[MinKey, 5.0)","(5.0, 14.0)","(14.0, MaxKey]"]}}}},
|
||||
"keys" : 4,
|
||||
"docs" : 2,
|
||||
"sorts": 0,
|
||||
@ -92,9 +92,9 @@
|
||||
"rows" : 138},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"d_noidx":{"$exists":true}},{"a_idx":{"$elemMatch":{"$exists":true}}},{"a_idx":{"$elemMatch":{"$nin":[9,8,6,4,4,18]}}},{"$nor":[{"a_compound":{"$all":[9,17,2]}},{"k_compound":{"$exists":false}}]}],"a_noidx":{"$gt":19}}},{"$sort":{"d_idx":-1,"h_idx":1}},{"$limit":19},{"$skip":6},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[MinKey, 4.0)","(4.0, 6.0)","(6.0, 8.0)","(8.0, 9.0)","(9.0, 18.0)","(18.0, MaxKey]"]}}}}}},
|
||||
"keys" : 419885,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 9.0)","(9.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"]}}}]}}}}},
|
||||
"keys" : 927982,
|
||||
"docs" : 300000,
|
||||
"sorts": 394365,
|
||||
"plans": 14,
|
||||
"rows" : 13},
|
||||
@ -212,9 +212,9 @@
|
||||
"rows" : 200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$nor":[{"i_idx":{"$in":[2,11]}},{"a_compound":{"$all":[8,16]}}]},{"k_compound":{"$gt":9}}],"a_idx":{"$gt":16}}},{"$sort":{"c_idx":1,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["(9.0, inf]"]}}}},
|
||||
"keys" : 99000,
|
||||
"docs" : 99000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["(9.0, inf]"],"a_compound":["[MinKey, 8.0)","(8.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 16.0)","(16.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 924177,
|
||||
"docs" : 298999,
|
||||
"sorts": 1237677,
|
||||
"plans": 13,
|
||||
"rows" : 98992},
|
||||
@ -284,9 +284,9 @@
|
||||
"rows" : 44},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[8,16]}},{"a_idx":{"$gt":20}}],"i_noidx":{"$gte":20},"k_compound":{"$ne":9}}},{"$limit":9}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[MinKey, 20.0]","(inf, MaxKey]"]}}}},
|
||||
"keys" : 200942,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, MaxKey]"],"a_compound":["[MinKey, 8.0)","(8.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 16.0)","(16.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 926678,
|
||||
"docs" : 299899,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 1},
|
||||
@ -452,9 +452,9 @@
|
||||
"rows" : 240},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[19,20]}},{"k_compound":{"$exists":false}}],"i_idx":{"$gte":11}}},{"$sort":{"a_idx":1,"i_idx":1}},{"$skip":16},{"$project":{"_id":0,"h_noidx":1,"k_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_idx_1","indexBounds":{"i_idx":["[11.0, inf]"]}}}}}},
|
||||
"keys" : 99989,
|
||||
"docs" : 99989,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 19.0)","(19.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 20.0)","(20.0, MaxKey]"]}}}]}}}}},
|
||||
"keys" : 935893,
|
||||
"docs" : 300000,
|
||||
"sorts": 1251144,
|
||||
"plans": 12,
|
||||
"rows" : 99973},
|
||||
@ -748,8 +748,8 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$exists":false}},{"a_compound":{"$gte":8}},{"a_noidx":{"$elemMatch":{"$exists":false}}}],"$or":[{"z_idx":{"$exists":true}},{"a_compound":{"$elemMatch":{"$gt":11}}},{"a_compound":{"$elemMatch":{"$exists":true}}}],"d_compound":{"$nin":[18,2]}}},{"$limit":236}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 8.0)","(inf, MaxKey]"]}}}},
|
||||
"keys" : 169837,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 8.0)","(inf, MaxKey]"]}}}},
|
||||
"keys" : 170836,
|
||||
"docs" : 99978,
|
||||
"sorts": 0,
|
||||
"plans": 15,
|
||||
@ -1052,9 +1052,9 @@
|
||||
"rows" : 158},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"i_compound":{"$nin":[8,18,13]}},{"a_compound":{"$exists":true}},{"$or":[{"z_noidx":{"$gt":1}},{"a_noidx":{"$elemMatch":{"$exists":true,"$in":[20,20],"$nin":[2,10]}}},{"a_compound":{"$exists":true}}]},{"$nor":[{"z_noidx":{"$gte":9}},{"a_compound":{"$all":[8,16,12,3,17]}},{"a_compound":{"$in":[5,15,12]}}]}]}},{"$sort":{"d_idx":1,"z_idx":1}},{"$limit":86}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 5.0)","(5.0, 12.0)","(12.0, 15.0)","(15.0, MaxKey]"]}}}},
|
||||
"keys" : 454416,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"],"i_compound":["[MinKey, 8.0)","(8.0, 13.0)","(13.0, 18.0)","(18.0, MaxKey]"]}}}},
|
||||
"keys" : 468941,
|
||||
"docs" : 99997,
|
||||
"sorts": 471708,
|
||||
"plans": 16,
|
||||
"rows" : 86},
|
||||
@ -1108,9 +1108,9 @@
|
||||
"rows" : 132},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"d_idx":{"$eq":14}},{"a_compound":{"$nin":[9,11,2]}},{"$and":[{"k_compound":{"$in":[5,10,19]}},{"a_compound":{"$ne":6}}]}],"a_noidx":{"$in":[1,10,13]}}},{"$sort":{"c_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[2.0, 2.0]","[9.0, 9.0]","[11.0, 11.0]"]}}}},
|
||||
"keys" : 49812,
|
||||
"docs" : 46159,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 5.0)","(5.0, 10.0)","(10.0, 19.0)","(19.0, MaxKey]"],"a_compound":["[2.0, 2.0]","[9.0, 9.0]","[11.0, 11.0]"]}},{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[6.0, 6.0]"]}}]}}},
|
||||
"keys" : 63508,
|
||||
"docs" : 53482,
|
||||
"sorts": 125111,
|
||||
"plans": 8,
|
||||
"rows" : 12035},
|
||||
@ -1140,9 +1140,9 @@
|
||||
"rows" : 97000},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"a_compound":{"$elemMatch":{"$lte":2}}},{"$and":[{"$nor":[{"a_noidx":{"$elemMatch":{"$exists":false}}},{"z_noidx":{"$exists":true}}]},{"a_idx":{"$elemMatch":{"$gte":10}}}]},{"a_idx":{"$elemMatch":{"$exists":true}}},{"i_compound":{"$exists":false}}]},{"k_compound":{"$gte":20}}],"a_compound":{"$eq":2},"d_noidx":{"$eq":8}}},{"$sort":{"d_idx":1,"z_idx":1}},{"$limit":86},{"$skip":5}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[2.0, 2.0]"]}}}}},
|
||||
"keys" : 38792,
|
||||
"docs" : 38792,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[10.0, inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[MinKey, MaxKey]"]}}},{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[20.0, inf]"],"a_compound":["[2.0, 2.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[2.0, 2.0]"],"i_compound":["[null, null]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[-inf, 2.0]"]}}}]}}}},
|
||||
"keys" : 881219,
|
||||
"docs" : 379312,
|
||||
"sorts": 17105,
|
||||
"plans": 12,
|
||||
"rows" : 81},
|
||||
@ -1348,9 +1348,9 @@
|
||||
"rows" : 254},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[19,2,19]}},{"i_noidx":{"$lte":6}},{"z_compound":{"$in":[19,4,8]}}],"a_compound":{"$nin":[20,20,7]},"k_compound":{"$ne":4}}},{"$sort":{"i_idx":1,"k_idx":-1}},{"$limit":70},{"$project":{"a_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 7.0)","(7.0, 20.0)","(20.0, MaxKey]"]}}}}},
|
||||
"keys" : 457686,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 4.0)","(4.0, MaxKey]"],"a_compound":["[MinKey, 7.0)","(7.0, 20.0)","(20.0, MaxKey]"]}}}}},
|
||||
"keys" : 457730,
|
||||
"docs" : 99900,
|
||||
"sorts": 426068,
|
||||
"plans": 15,
|
||||
"rows" : 70},
|
||||
@ -1380,9 +1380,9 @@
|
||||
"rows" : 99967},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"k_compound":{"$exists":true}},{"z_compound":{"$exists":false}},{"a_compound":{"$elemMatch":{"$exists":false}}},{"a_idx":{"$all":[5,8,12]}}],"a_compound":{"$all":[4,3]}}},{"$sort":{"a_idx":1,"c_idx":-1,"i_idx":1}},{"$project":{"a_compound":1,"a_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"AND_SORTED","inputStages":[{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[4.0, 4.0]"]}},{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[3.0, 3.0]"]}}]}}}},
|
||||
"keys" : 42880,
|
||||
"docs" : 2549,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[8.0, 8.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[null, null]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[4.0, 4.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[null, null]"]}}}]}}}},
|
||||
"keys" : 29175,
|
||||
"docs" : 44269,
|
||||
"sorts": 22542,
|
||||
"plans": 15,
|
||||
"rows" : 2549},
|
||||
@ -1476,9 +1476,9 @@
|
||||
"rows" : 15},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[9,12]}},{"a_compound":{"$exists":false}}],"k_compound":{"$exists":true}}},{"$sort":{"c_idx":1,"z_idx":-1}},{"$limit":51}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 9.0)","(9.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 12.0)","(12.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 926983,
|
||||
"docs" : 300000,
|
||||
"sorts": 493183,
|
||||
"plans": 13,
|
||||
"rows" : 51},
|
||||
@ -1564,9 +1564,9 @@
|
||||
"rows" : 100000},
|
||||
|
||||
{">>>pipeline": [{"$match":{"a_compound":{"$gte":13},"a_idx":{"$gt":12},"k_compound":{"$lt":16}}},{"$limit":37}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[-inf, 16.0)"]}}}},
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[-inf, 16.0)"],"a_compound":["[13.0, inf]"]}}}},
|
||||
"keys" : 38,
|
||||
"docs" : 38,
|
||||
"docs" : 37,
|
||||
"sorts": 0,
|
||||
"plans": 5,
|
||||
"rows" : 37},
|
||||
@ -1820,9 +1820,9 @@
|
||||
"rows" : 99991},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_noidx":{"$gt":18}},{"$nor":[{"c_compound":{"$nin":[16,4,14,2,12]}},{"i_compound":{"$in":[2,14,11]}},{"k_compound":{"$in":[8,7]}}]}],"d_compound":{"$gte":3}}},{"$limit":28}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1","indexBounds":{"d_compound":["[3.0, inf]"]}}}},
|
||||
"keys" : 70000,
|
||||
"docs" : 70000,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[7.0, 7.0]","[8.0, 8.0]"]}},{"stage":"IXSCAN","indexName":"c_compound_1_d_compound_1","indexBounds":{"c_compound":["[MinKey, 2.0)","(2.0, 4.0)","(4.0, 12.0)","(12.0, 14.0)","(14.0, 16.0)","(16.0, MaxKey]"],"d_compound":["[3.0, inf]"]}},{"stage":"IXSCAN","indexName":"i_compound_1_z_compound_1","indexBounds":{"i_compound":["[2.0, 2.0]","[11.0, 11.0]","[14.0, 14.0]"],"z_compound":["[MinKey, MaxKey]"]}}]}}},
|
||||
"keys" : 70208,
|
||||
"docs" : 70002,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 13},
|
||||
@ -2068,9 +2068,9 @@
|
||||
"rows" : 84},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$in":[6,2]}},{"a_compound":{"$all":[15,16,2,3]}},{"c_idx":{"$gt":9}}],"a_idx":{"$elemMatch":{"$gt":8}},"z_compound":{"$nin":[7,19,18]}}},{"$sort":{"k_idx":1,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 7.0)","(7.0, 18.0)","(18.0, 19.0)","(19.0, MaxKey]"]}}}},
|
||||
"keys" : 99717,
|
||||
"docs" : 99716,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 6.0)","(6.0, MaxKey]"],"a_compound":["[MinKey, 15.0)","(15.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 936325,
|
||||
"docs" : 299800,
|
||||
"sorts": 1244672,
|
||||
"plans": 16,
|
||||
"rows" : 99510},
|
||||
@ -2172,8 +2172,8 @@
|
||||
"rows" : 1385},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"c_compound":{"$in":[5,11]}},{"$and":[{"h_noidx":{"$exists":false}},{"i_compound":{"$in":[14,12,13]}}]},{"z_compound":{"$nin":[7,2]}}],"a_compound":{"$nin":[9,2,17]}}},{"$sort":{"d_idx":-1,"i_idx":1,"k_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[12.0, 12.0]","[13.0, 13.0]","[14.0, 14.0]"]}}},{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 2.0)","(2.0, 7.0)","(7.0, MaxKey]"]}},{"stage":"IXSCAN","indexName":"c_compound_1","indexBounds":{"c_compound":["[5.0, 5.0]","[11.0, 11.0]"]}}]}}},
|
||||
"keys" : 67772,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"c_compound_1","indexBounds":{"c_compound":["[5.0, 5.0]","[11.0, 11.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, 2.0)","(2.0, 9.0)","(9.0, 17.0)","(17.0, MaxKey]"],"i_compound":["[12.0, 12.0]","[13.0, 13.0]","[14.0, 14.0]"]}}},{"stage":"IXSCAN","indexName":"z_compound_1_c_compound_1","indexBounds":{"z_compound":["[MinKey, 2.0)","(2.0, 7.0)","(7.0, MaxKey]"],"c_compound":["[MinKey, MaxKey]"]}}]}}},
|
||||
"keys" : 167783,
|
||||
"docs" : 67769,
|
||||
"sorts": 637512,
|
||||
"plans": 12,
|
||||
@ -2252,9 +2252,9 @@
|
||||
"rows" : 100000},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_compound":{"$ne":13}},{"$and":[{"a_compound":{"$all":[10,3,19]}},{"a_idx":{"$all":[4,12,5,19]}},{"i_compound":{"$ne":7}},{"a_noidx":{"$all":[2,11]}}]}],"a_compound":{"$elemMatch":{"$in":[6,3],"$lt":9,"$nin":[9,9]}},"a_noidx":{"$eq":5},"k_compound":{"$nin":[11,20]}}},{"$sort":{"k_idx":-1}},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[3.0, 3.0]","[6.0, 6.0]"]}}}}},
|
||||
"keys" : 36661,
|
||||
"docs" : 34764,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[4.0, 4.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 11.0)","(11.0, 20.0)","(20.0, MaxKey]"],"a_compound":["[MinKey, 13.0)","(13.0, MaxKey]"]}}}]}}}},
|
||||
"keys" : 484285,
|
||||
"docs" : 215694,
|
||||
"sorts": 20611,
|
||||
"plans": 15,
|
||||
"rows" : 2352},
|
||||
@ -2316,9 +2316,9 @@
|
||||
"rows" : 99985},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$and":[{"a_compound":{"$exists":false}},{"a_idx":{"$exists":false}}]},{"d_compound":{"$lte":18}}],"k_compound":{"$nin":[9,11,15]}}},{"$sort":{"d_idx":1,"z_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, 11.0)","(11.0, 15.0)","(15.0, MaxKey]"]}}}},
|
||||
"keys" : 99703,
|
||||
"docs" : 99700,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, 11.0)","(11.0, 15.0)","(15.0, MaxKey]"],"a_compound":["[null, null]"]}}},{"stage":"IXSCAN","indexName":"d_compound_1","indexBounds":{"d_compound":["[-inf, 18.0]"]}}]}}},
|
||||
"keys" : 101000,
|
||||
"docs" : 100000,
|
||||
"sorts": 1247239,
|
||||
"plans": 11,
|
||||
"rows" : 99700},
|
||||
@ -2364,9 +2364,9 @@
|
||||
"rows" : 86420},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[12,5,14]}},{"a_compound":{"$gte":6}},{"k_compound":{"$exists":false}}],"z_noidx":{"$nin":[5,18]}}},{"$sort":{"a_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 6.0)","(inf, MaxKey]"]}}}},
|
||||
"keys" : 148707,
|
||||
"docs" : 99448,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 5.0)","(5.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 926306,
|
||||
"docs" : 300000,
|
||||
"sorts": 17,
|
||||
"plans": 15,
|
||||
"rows" : 6},
|
||||
@ -2412,7 +2412,7 @@
|
||||
"rows" : 55},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_compound":{"$in":[11,15,9]}},{"a_noidx":{"$elemMatch":{"$ne":15,"$nin":[20,15,13]}}},{"$nor":[{"a_compound":{"$all":[19,12,20]}},{"i_compound":{"$in":[8,16]}},{"a_compound":{"$exists":false}}]}],"a_idx":{"$in":[3,1]}}},{"$sort":{"k_idx":-1}},{"$project":{"_id":0,"z_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[9.0, 9.0]","[11.0, 11.0]","[15.0, 15.0]"]}}}}},
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[9.0, 9.0]","[11.0, 11.0]","[15.0, 15.0]"],"i_compound":["[MinKey, 8.0)","(8.0, 16.0)","(16.0, MaxKey]"]}}}}},
|
||||
"keys" : 12020,
|
||||
"docs" : 12016,
|
||||
"sorts": 69551,
|
||||
@ -2420,8 +2420,8 @@
|
||||
"rows" : 7053},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_idx":{"$nin":[15,2]}},{"$or":[{"a_compound":{"$all":[15,8,10]}},{"i_compound":{"$in":[10,4]}}]}],"a_compound":{"$elemMatch":{"$exists":true,"$nin":[19,11]}},"a_noidx":{"$exists":true},"i_compound":{"$ne":15},"k_compound":{"$lt":3}}},{"$sort":{"a_idx":-1,"k_idx":-1,"z_idx":-1}},{"$project":{"_id":0,"a_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[-inf, 3.0)"],"a_compound":["[MinKey, 11.0)","(11.0, 19.0)","(19.0, MaxKey]"]}}}}},
|
||||
"keys" : 835,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[-inf, 3.0)"]}}}}},
|
||||
"keys" : 300,
|
||||
"docs" : 300,
|
||||
"sorts": 804,
|
||||
"plans": 15,
|
||||
@ -2572,8 +2572,8 @@
|
||||
"rows" : 222},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"k_compound":{"$exists":true}},{"a_compound":{"$lt":17}},{"$nor":[{"a_noidx":{"$nin":[7,16]}},{"a_compound":{"$all":[9,12]}}]}]}},{"$project":{"a_noidx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[-inf, 17.0)"]}}}},
|
||||
"keys" : 196941,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[-inf, 17.0)"]}}}},
|
||||
"keys" : 197941,
|
||||
"docs" : 100000,
|
||||
"sorts": 0,
|
||||
"plans": 13,
|
||||
@ -2956,9 +2956,9 @@
|
||||
"rows" : 400},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"z_noidx":{"$in":[3,18,17]}},{"d_idx":{"$gt":5}},{"a_compound":{"$exists":false}},{"a_compound":{"$all":[13,20,5]}},{"d_compound":{"$exists":false}}],"k_compound":{"$nin":[8,13]}}},{"$project":{"_id":0,"a_noidx":1,"d_noidx":1,"k_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_idx_1","indexBounds":{"d_idx":["[MinKey, 5.0]","(inf, MaxKey]"]}}}},
|
||||
"keys" : 60001,
|
||||
"docs" : 60000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1_k_compound_1","indexBounds":{"d_compound":["[MinKey, MaxKey]"],"k_compound":["[MinKey, 8.0)","(8.0, 13.0)","(13.0, MaxKey]"]}}}},
|
||||
"keys" : 99802,
|
||||
"docs" : 99800,
|
||||
"sorts": 0,
|
||||
"plans": 17,
|
||||
"rows" : 49413},
|
||||
@ -2996,9 +2996,9 @@
|
||||
"rows" : 200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_noidx":{"$elemMatch":{"$gt":13}}},{"$and":[{"c_compound":{"$lte":19}},{"a_compound":{"$elemMatch":{"$nin":[2,9]}}}]},{"$and":[{"z_noidx":{"$nin":[7,9]}},{"k_compound":{"$gte":1}}]}],"a_compound":{"$elemMatch":{"$gte":16}},"k_compound":{"$exists":true}}},{"$sort":{"a_idx":-1,"k_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[1.0, inf]"]}}}},
|
||||
"keys" : 99900,
|
||||
"docs" : 99900,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[1.0, inf]"],"a_compound":["[16.0, inf]"]}}}},
|
||||
"keys" : 273899,
|
||||
"docs" : 99885,
|
||||
"sorts": 1245726,
|
||||
"plans": 8,
|
||||
"rows" : 99588},
|
||||
@ -3140,9 +3140,9 @@
|
||||
"rows" : 95},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_noidx":{"$nin":[15,16,14,2]}},{"k_compound":{"$in":[14,16,19]}},{"a_compound":{"$all":[6,12,8]}}],"a_compound":{"$gt":12}}},{"$sort":{"c_idx":1,"k_idx":-1}},{"$limit":82},{"$skip":20}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 14.0)","(14.0, 16.0)","(16.0, 19.0)","(19.0, MaxKey]"]}}}}},
|
||||
"keys" : 99703,
|
||||
"docs" : 99700,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 14.0)","(14.0, 16.0)","(16.0, 19.0)","(19.0, MaxKey]"],"a_compound":["(12.0, inf]"]}}}}},
|
||||
"keys" : 276403,
|
||||
"docs" : 99687,
|
||||
"sorts": 219426,
|
||||
"plans": 14,
|
||||
"rows" : 62},
|
||||
@ -3204,9 +3204,9 @@
|
||||
"rows" : 86900},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"i_compound":{"$lte":7}},{"a_compound":{"$in":[20,12]}},{"a_idx":{"$exists":false}}],"a_compound":{"$in":[5,20]},"k_compound":{"$nin":[10,7,20]}}},{"$sort":{"c_idx":-1,"z_idx":1}},{"$limit":126}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[-inf, 7.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[null, null]"]}}},{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[12.0, 12.0]","[20.0, 20.0]"]}}]}}},
|
||||
"keys" : 2010,
|
||||
"docs" : 2008,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[5.0, 5.0]","[20.0, 20.0]"],"i_compound":["[-inf, 7.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[null, null]"]}}},{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[12.0, 12.0]","[20.0, 20.0]"],"i_compound":["[MinKey, MaxKey]"]}}]}}},
|
||||
"keys" : 2006,
|
||||
"docs" : 2001,
|
||||
"sorts": 5480,
|
||||
"plans": 13,
|
||||
"rows" : 126},
|
||||
@ -3420,17 +3420,17 @@
|
||||
"rows" : 97774},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$in":[19,10,8]}},{"a_noidx":{"$ne":18}}],"$or":[{"h_idx":{"$exists":false}},{"$nor":[{"i_compound":{"$eq":12}},{"z_idx":{"$exists":true}}]},{"a_compound":{"$all":[16,16]}},{"a_idx":{"$exists":true}}],"a_compound":{"$in":[1,4,12,14]}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[1.0, 1.0]","[4.0, 4.0]","[12.0, 12.0]","[14.0, 14.0]"]}}},
|
||||
"keys" : 63604,
|
||||
"docs" : 57524,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 8.0)","(8.0, 10.0)","(10.0, 19.0)","(19.0, MaxKey]"],"a_compound":["[1.0, 1.0]","[4.0, 4.0]","[12.0, 12.0]","[14.0, 14.0]"]}}},
|
||||
"keys" : 66550,
|
||||
"docs" : 57375,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 487},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_idx":{"$lte":10}},{"a_idx":{"$lte":2}},{"z_noidx":{"$exists":true}}],"$nor":[{"a_idx":{"$elemMatch":{"$exists":false,"$lte":4}}},{"$or":[{"a_idx":{"$elemMatch":{"$exists":false}}},{"a_noidx":{"$gte":17}}]},{"a_compound":{"$all":[11,1]}},{"k_compound":{"$lt":15}}]}},{"$limit":50}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[-inf, 2.0]"]}}}},
|
||||
"keys" : 93298,
|
||||
"docs" : 79322,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[15.0, MaxKey]"],"a_compound":["[MinKey, 1.0)","(1.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 11.0)","(11.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 889257,
|
||||
"docs" : 297500,
|
||||
"sorts": 0,
|
||||
"plans": 13,
|
||||
"rows" : 0},
|
||||
@ -3748,9 +3748,9 @@
|
||||
"rows" : 55},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"k_compound":{"$nin":[5,15]}},{"$nor":[{"a_idx":{"$elemMatch":{"$exists":false}}},{"a_compound":{"$all":[20,4,16,10]}},{"$or":[{"a_noidx":{"$eq":7}},{"a_noidx":{"$elemMatch":{"$exists":false}}},{"a_idx":{"$all":[16,19,14]}}]}]}],"$or":[{"a_idx":{"$all":[17,3,17]}},{"a_compound":{"$elemMatch":{"$exists":true,"$lt":15}}}]}},{"$sort":{"d_idx":-1,"i_idx":1,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 5.0)","(5.0, 15.0)","(15.0, MaxKey]"]}}}},
|
||||
"keys" : 99802,
|
||||
"docs" : 99800,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[3.0, 3.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 5.0)","(5.0, 15.0)","(15.0, MaxKey]"],"a_compound":["[-inf, 15.0)"]}}}]}}},
|
||||
"keys" : 221333,
|
||||
"docs" : 225386,
|
||||
"sorts": 1110568,
|
||||
"plans": 12,
|
||||
"rows" : 89544},
|
||||
@ -3892,9 +3892,9 @@
|
||||
"rows" : 1200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_noidx":{"$lt":4}},{"$or":[{"c_noidx":{"$in":[9,11]}},{"a_compound":{"$all":[13,7,2,3]}}]},{"$or":[{"i_compound":{"$lt":4}},{"a_idx":{"$eq":7}},{"a_compound":{"$exists":false}}]}],"h_compound":{"$nin":[19,13,13]}}},{"$sort":{"i_idx":-1,"z_idx":1}},{"$limit":148}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[MinKey, 7.0)","(7.0, MaxKey]"]}}}},
|
||||
"keys" : 458685,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"],"i_compound":["[MinKey, -inf)","[4.0, MaxKey]"]}}}},
|
||||
"keys" : 468937,
|
||||
"docs" : 99996,
|
||||
"sorts": 34784,
|
||||
"plans": 16,
|
||||
"rows" : 148},
|
||||
@ -4212,9 +4212,9 @@
|
||||
"rows" : 239},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_idx":{"$all":[3,20,14,8,3]}},{"$nor":[{"a_idx":{"$elemMatch":{"$nin":[19,8,6]}}},{"k_compound":{"$lt":10}}]},{"c_idx":{"$in":[6,3]}},{"d_compound":{"$lt":11}}],"a_compound":{"$gte":14}}},{"$sort":{"h_idx":1,"k_idx":1}},{"$limit":213},{"$project":{"_id":0,"k_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[14.0, inf]"]}}}}},
|
||||
"keys" : 275000,
|
||||
"docs" : 99986,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[14.0, 14.0]"]}}},{"stage":"IXSCAN","indexName":"c_idx_1","indexBounds":{"c_idx":["[3.0, 3.0]","[6.0, 6.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[10.0, MaxKey]"],"a_compound":["[14.0, inf]"]}}},{"stage":"IXSCAN","indexName":"d_compound_1_k_compound_1","indexBounds":{"d_compound":["[-inf, 11.0)"],"k_compound":["[MinKey, MaxKey]"]}}]}}}},
|
||||
"keys" : 376000,
|
||||
"docs" : 199996,
|
||||
"sorts": 636040,
|
||||
"plans": 12,
|
||||
"rows" : 213},
|
||||
@ -4244,9 +4244,9 @@
|
||||
"rows" : 90},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"k_compound":{"$exists":true}},{"k_idx":{"$exists":false}},{"c_compound":{"$nin":[9,14]}}],"a_compound":{"$gte":4},"a_noidx":{"$elemMatch":{"$eq":19,"$exists":true,"$gte":10}}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[4.0, inf]"]}}},
|
||||
"keys" : 349857,
|
||||
"docs" : 99996,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"c_compound_1","indexBounds":{"c_compound":["[MinKey, 9.0)","(9.0, 14.0)","(14.0, MaxKey]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[4.0, inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_idx_1","indexBounds":{"k_idx":["[null, null]"]}}}]}},
|
||||
"keys" : 450857,
|
||||
"docs" : 199996,
|
||||
"sorts": 0,
|
||||
"plans": 6,
|
||||
"rows" : 1000},
|
||||
@ -4372,8 +4372,8 @@
|
||||
"rows" : 221},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$exists":false}},{"a_compound":{"$all":[18,4]}}],"a_compound":{"$nin":[9,5,1]}}},{"$sort":{"c_idx":-1,"z_idx":1}},{"$limit":66}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 1.0)","(1.0, 5.0)","(5.0, 9.0)","(9.0, MaxKey]"]}}}},
|
||||
"keys" : 403959,
|
||||
"docs" : 100000,
|
||||
"sorts": 212760,
|
||||
"plans": 13,
|
||||
@ -4612,9 +4612,9 @@
|
||||
"rows" : 31470},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"$or":[{"d_noidx":{"$in":[19,17,19]}},{"a_compound":{"$all":[10,4,6]}},{"k_compound":{"$eq":15}}]},{"i_compound":{"$eq":5}}],"a_compound":{"$elemMatch":{"$lte":3}}}},{"$skip":86}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[-inf, 3.0]"]}}}},
|
||||
"keys" : 119084,
|
||||
"docs" : 92730,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[-inf, 3.0]"],"i_compound":["[MinKey, 5.0)","(5.0, MaxKey]"]}}}},
|
||||
"keys" : 119085,
|
||||
"docs" : 92729,
|
||||
"sorts": 0,
|
||||
"plans": 16,
|
||||
"rows" : 92554},
|
||||
@ -5148,9 +5148,9 @@
|
||||
"rows" : 20841},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"a_idx":{"$all":[11,4,4]}},{"a_idx":{"$eq":15}}]},{"$and":[{"c_compound":{"$in":[13,1,20,15]}},{"$or":[{"c_noidx":{"$exists":true}},{"a_noidx":{"$all":[8,19]}}]}]},{"$nor":[{"$and":[{"a_compound":{"$elemMatch":{"$in":[12,12,20,1]}}},{"$or":[{"a_idx":{"$exists":true}},{"a_noidx":{"$elemMatch":{"$gte":15,"$in":[4,9]}}},{"k_noidx":{"$exists":true}}]}]},{"a_idx":{"$exists":true}},{"a_compound":{"$gt":6}}]}],"d_compound":{"$lte":2},"d_noidx":{"$ne":12}}},{"$sort":{"d_idx":1,"h_idx":-1,"z_idx":1}},{"$limit":58}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1","indexBounds":{"d_compound":["[-inf, 2.0]"]}}}},
|
||||
"keys" : 30000,
|
||||
"docs" : 30000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[4.0, 4.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 6.0]","(inf, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"c_compound_1_d_compound_1","indexBounds":{"c_compound":["[1.0, 1.0]","[13.0, 13.0]","[15.0, 15.0]","[20.0, 20.0]"],"d_compound":["[-inf, 2.0]"]}}},{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[15.0, 15.0]"]}}]}}},
|
||||
"keys" : 207675,
|
||||
"docs" : 177987,
|
||||
"sorts": 151813,
|
||||
"plans": 12,
|
||||
"rows" : 58},
|
||||
@ -5700,9 +5700,9 @@
|
||||
"rows" : 3759},
|
||||
|
||||
{">>>pipeline": [{"$match":{"a_compound":{"$elemMatch":{"$lt":20,"$nin":[11,7,8]}},"i_compound":{"$nin":[13,1,13]}}},{"$sort":{"a_idx":1,"h_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[-inf, 7.0)","(7.0, 8.0)","(8.0, 11.0)","(11.0, 20.0)"]}}}},
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[-inf, 7.0)","(7.0, 8.0)","(8.0, 11.0)","(11.0, 20.0)"],"i_compound":["[MinKey, 1.0)","(1.0, 13.0)","(13.0, MaxKey]"]}}}},
|
||||
"keys" : 178603,
|
||||
"docs" : 99942,
|
||||
"docs" : 99940,
|
||||
"sorts": 1250482,
|
||||
"plans": 4,
|
||||
"rows" : 99940},
|
||||
@ -5884,7 +5884,7 @@
|
||||
"rows" : 59350},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"k_noidx":{"$gt":4}},{"i_compound":{"$gt":14}}],"$nor":[{"a_compound":{"$all":[2,10]}},{"a_compound":{"$nin":[17,16]}}],"z_noidx":{"$ne":3}}},{"$project":{"a_noidx":1,"d_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[16.0, 16.0]","[17.0, 17.0]"]}}}},
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[16.0, 16.0]","[17.0, 17.0]"],"i_compound":["(14.0, inf]"]}}}},
|
||||
"keys" : 2001,
|
||||
"docs" : 2000,
|
||||
"sorts": 0,
|
||||
@ -5988,9 +5988,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"d_idx":{"$exists":true}},{"$or":[{"a_compound":{"$ne":3}},{"a_compound":{"$elemMatch":{"$in":[11,17]}}},{"a_idx":{"$all":[19,13,16]}}]}],"a_compound":{"$elemMatch":{"$gte":14}},"a_noidx":{"$elemMatch":{"$gte":12}},"k_compound":{"$nin":[10,2]}}},{"$sort":{"c_idx":1,"h_idx":-1}},{"$limit":142},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 10.0)","(10.0, MaxKey]"]}}}}},
|
||||
"keys" : 99802,
|
||||
"docs" : 99800,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 10.0)","(10.0, MaxKey]"],"a_compound":["[14.0, inf]"]}}}}},
|
||||
"keys" : 275802,
|
||||
"docs" : 99788,
|
||||
"sorts": 594320,
|
||||
"plans": 14,
|
||||
"rows" : 142},
|
||||
@ -6084,9 +6084,9 @@
|
||||
"rows" : 17093},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$or":[{"a_compound":{"$all":[20,6,17,5]}},{"z_compound":{"$lte":14}}]},{"z_idx":{"$lte":10}}],"c_compound":{"$in":[1,3,2]}}},{"$sort":{"h_idx":1,"i_idx":-1}},{"$limit":90},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_idx_1","indexBounds":{"z_idx":["[-inf, 10.0]"]}}}}},
|
||||
"keys" : 99996,
|
||||
"docs" : 99996,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[6.0, 6.0]"]}}},{"stage":"IXSCAN","indexName":"z_compound_1_c_compound_1","indexBounds":{"z_compound":["[-inf, 14.0]"],"c_compound":["[1.0, 1.0]","[2.0, 2.0]","[3.0, 3.0]"]}}]}}}},
|
||||
"keys" : 110873,
|
||||
"docs" : 110873,
|
||||
"sorts": 549959,
|
||||
"plans": 12,
|
||||
"rows" : 90},
|
||||
@ -6244,9 +6244,9 @@
|
||||
"rows" : 92730},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"i_compound":{"$lt":1}},{"a_compound":{"$all":[9,6]}},{"a_compound":{"$gte":5}}],"a_noidx":{"$nin":[8,13,19,11]}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 5.0)","(inf, MaxKey]"]}}},
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, 5.0)","(inf, MaxKey]"],"i_compound":["[MinKey, -inf)","[1.0, MaxKey]"]}}},
|
||||
"keys" : 136179,
|
||||
"docs" : 97873,
|
||||
"docs" : 97872,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 4},
|
||||
@ -7300,9 +7300,9 @@
|
||||
"rows" : 99900},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[16,10]}},{"h_idx":{"$exists":false}},{"a_compound":{"$elemMatch":{"$eq":19,"$lte":4}}}],"a_idx":{"$exists":true},"k_compound":{"$gte":18}}},{"$sort":{"d_idx":-1,"i_idx":1,"z_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[18.0, inf]"]}}}},
|
||||
"keys" : 98200,
|
||||
"docs" : 98200,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[18.0, inf]"],"a_compound":["[MinKey, 16.0)","(16.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 10.0)","(10.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 930002,
|
||||
"docs" : 298100,
|
||||
"sorts": 1226986,
|
||||
"plans": 13,
|
||||
"rows" : 98200},
|
||||
@ -7540,9 +7540,9 @@
|
||||
"rows" : 2547},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$nin":[10,8,11]}},{"$nor":[{"i_idx":{"$in":[15,5,15]}},{"$nor":[{"d_compound":{"$gt":3}},{"a_idx":{"$in":[17,17,9]}}]},{"a_idx":{"$in":[20,14,17,11,5]}}]}],"a_compound":{"$lte":5},"d_noidx":{"$nin":[4,4]}}},{"$project":{"a_noidx":1,"i_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[8.0, 8.0]","[10.0, 10.0]","[11.0, 11.0]"]}}}},
|
||||
"keys" : 302,
|
||||
"docs" : 300,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"i_idx_1","indexBounds":{"i_idx":["[5.0, 5.0]","[15.0, 15.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1_k_compound_1","indexBounds":{"d_compound":["[MinKey, 3.0]","(inf, MaxKey]"],"k_compound":["[8.0, 8.0]","[10.0, 10.0]","[11.0, 11.0]"]}}},{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[5.0, 5.0]","[11.0, 11.0]","[14.0, 14.0]","[17.0, 17.0]","[20.0, 20.0]"]}}]}}},
|
||||
"keys" : 16750,
|
||||
"docs" : 16717,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 205},
|
||||
@ -7972,9 +7972,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"i_compound":{"$nin":[18,17]},"z_compound":{"$nin":[2,2,11,17]}}},{"$skip":29}],
|
||||
"winningPlan": {"stage":"FETCH","inputStage":{"stage":"SKIP","inputStage":{"stage":"IXSCAN","indexName":"i_compound_1_z_compound_1","indexBounds":{"i_compound":["[MinKey, 17.0)","(17.0, 18.0)","(18.0, MaxKey]"],"z_compound":["[MinKey, 2.0)","(2.0, 11.0)","(11.0, 17.0)","(17.0, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 68016,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 2.0)","(2.0, 11.0)","(11.0, 17.0)","(17.0, MaxKey]"]}}}},
|
||||
"keys" : 68048,
|
||||
"docs" : 68046,
|
||||
"sorts": 0,
|
||||
"plans": 4,
|
||||
"rows" : 68016},
|
||||
@ -8068,9 +8068,9 @@
|
||||
"rows" : 97879},
|
||||
|
||||
{">>>pipeline": [{"$match":{"i_compound":{"$ne":15},"z_compound":{"$nin":[6,7]}}},{"$skip":12},{"$project":{"_id":0,"a_compound":1,"h_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","inputStage":{"stage":"SKIP","inputStage":{"stage":"IXSCAN","indexName":"i_compound_1_z_compound_1","indexBounds":{"i_compound":["[MinKey, 15.0)","(15.0, MaxKey]"],"z_compound":["[MinKey, 6.0)","(6.0, 7.0)","(7.0, MaxKey]"]}}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 98730,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 6.0)","(6.0, 7.0)","(7.0, MaxKey]"]}}}}},
|
||||
"keys" : 98745,
|
||||
"docs" : 98743,
|
||||
"sorts": 0,
|
||||
"plans": 4,
|
||||
"rows" : 98730},
|
||||
@ -8092,9 +8092,9 @@
|
||||
"rows" : 100},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"k_compound":{"$gt":14}},{"a_compound":{"$lte":13}}]}},{"$skip":59},{"$project":{"_id":0,"a_idx":1,"i_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","inputStage":{"stage":"SKIP","inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["(14.0, inf]"],"a_compound":["[-inf, 13.0]"]}}}}},
|
||||
"keys" : 191721,
|
||||
"docs" : 98441,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["(14.0, inf]"]}}}}},
|
||||
"keys" : 98500,
|
||||
"docs" : 98500,
|
||||
"sorts": 0,
|
||||
"plans": 4,
|
||||
"rows" : 98441},
|
||||
@ -8140,9 +8140,9 @@
|
||||
"rows" : 59996},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_idx":{"$gt":15}},{"d_compound":{"$in":[7,17]}},{"i_compound":{"$nin":[6,9,17,12,4]}}],"a_compound":{"$in":[12,13]}}},{"$limit":248}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[4.0, 4.0]","[6.0, 6.0]","[9.0, 9.0]","[12.0, 12.0]","[17.0, 17.0]"]}}}},
|
||||
"keys" : 10,
|
||||
"docs" : 5,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[12.0, 12.0]","[13.0, 13.0]"],"i_compound":["[4.0, 4.0]","[6.0, 6.0]","[9.0, 9.0]","[12.0, 12.0]","[17.0, 17.0]"]}}}},
|
||||
"keys" : 4,
|
||||
"docs" : 1,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 1},
|
||||
@ -8380,7 +8380,7 @@
|
||||
"rows" : 20000}
|
||||
|
||||
],
|
||||
">>>totals": {"pipelines": 1043, "plans": 10404, "keys": 100163240, "docs": 53369073, "sorts": 72024186, "rows": 38020022, "errors": 0},
|
||||
">>>totals": {"pipelines": 1043, "plans": 10404, "keys": 109820447, "docs": 56298958, "sorts": 72024186, "rows": 38020022, "errors": 0},
|
||||
">>>parameters": {"featureFlagCostBasedRanker":{"value":true,"version":"8.3","fcv_gated":false,"currentlyEnabled":true},"internalQueryCBRCEMode":"automaticCE","samplingMarginOfError":5,"samplingConfidenceInterval":"95","internalQuerySamplingCEMethod":"chunk","internalQuerySamplingBySequentialScan":true,"automaticCEPlanRankingStrategy":"HistogramCEWithHeuristicFallback"}}
|
||||
|
||||
|
||||
|
||||
@ -196,9 +196,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"field17_int_idx":{"$type":"int"},"field34_str_idx":{"$exists":false}},{"field13_list_idx":{"$elemMatch":{"$nin":[34,6,27,54],"$gte":38}},"field24_mixed_idx":{"$elemMatch":{"$size":14,"$in":[],"$lt":{"$timestamp":{"t":1767139200,"i":0}}}}},{"field14_dict_idx":{"$exists":true},"field28_datetime_idx":{"$lt":"2024-01-22T00:00:00.000Z"},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"2.79"}}}]},{"field28_datetime_idx":{"$gte":"2024-01-18T00:00:00.000Z"},"field43_str":{"$gte":"k"}}],"field2_Timestamp_idx":{"$ne":{"$timestamp":{"t":1765838910,"i":0}}},"field14_dict_idx":{"$gt":{"f":2}},"field33_mixed_idx":{"$gte":5},"field35_int_idx":{"$lte":6961},"field7_str_idx":{"$gt":"KXeh"}}},{"$project":{"field18_bool_idx":1,"field31_list_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705881600000))"],"field23_dict_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(1705536000000), new Date(9223372036854775807)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[null, null]"],"field25_str_idx":["[MaxKey, MinKey]"]}}}]}}},
|
||||
"keys" : 4709,
|
||||
"docs" : 9395,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { f: 2.0 })"],"field34_str_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { f: 2.0 })"],"field34_str_idx":["[null, null]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(1705536000000), new Date(9223372036854775807)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 3414,
|
||||
"docs" : 3087,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 92},
|
||||
@ -212,9 +212,9 @@
|
||||
"rows" : 38081},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field40_list":"m","field10_datetime_idx":{"$exists":true},"field37_datetime":{"$lt":"2024-02-13T00:00:00.000Z"}},{"field7_str_idx":{"$regex":{"$regex":"^vZ","$options":""}},"field31_list_idx":{"$eq":2}}],"field41_dict":{"$lt":{"d":3,"b":1}},"field6_mixed_idx":false,"field17_int_idx":{"$lte":21}}},{"$sort":{"field16_str_idx":-1,"field14_dict_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[false, false]"]}}}},
|
||||
"keys" : 68872,
|
||||
"docs" : 68872,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"vZ\", \"v[\")","[/^vZ/, /^vZ/]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[false, false]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field10_datetime_idx_1","indexBounds":{"field10_datetime_idx":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 100023,
|
||||
"docs" : 100027,
|
||||
"sorts": 6,
|
||||
"plans": 4,
|
||||
"rows" : 3},
|
||||
@ -260,9 +260,9 @@
|
||||
"rows" : 25232},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field33_mixed_idx":{"$lt":30},"field13_list_idx":{"$ne":44},"field19_datetime_idx":{"$lte":"2024-01-13T00:00:00.000Z"},"field15_mixed_idx":{"$type":"date"},"field32_dict_idx":{"$lte":{"d":4}},"field6_mixed_idx":{"$elemMatch":{"$nin":["d","r","n","h","m","p","q","s"],"$ne":"h"}},"field40_list":1,"field17_int_idx":{"$lt":555},"field7_str_idx":{"$gte":"MUU"},"field24_mixed_idx":{"$exists":true}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field32_dict_idx_1","indexBounds":{"field32_dict_idx":["[{}, { d: 4.0 }]"]}}},
|
||||
"keys" : 93750,
|
||||
"docs" : 93750,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"MUU\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, \"s\")","(\"s\", \"r\")","(\"r\", \"q\")","(\"q\", \"p\")","(\"p\", \"n\")","(\"n\", \"m\")","(\"m\", \"h\")","(\"h\", \"d\")","(\"d\", MinKey]"]}}},
|
||||
"keys" : 76750,
|
||||
"docs" : 75240,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 1044},
|
||||
@ -276,9 +276,9 @@
|
||||
"rows" : 159},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field2_Timestamp_idx":{"$type":"timestamp"},"field7_str_idx":{"$ne":"ku"},"field35_int_idx":{"$ne":7803},"$or":[{"$or":[{"$or":[{"field24_mixed_idx":[166,557,910,148,196,348,416],"field6_mixed_idx":{"$elemMatch":{"$all":[true,false],"$size":13}}},{"field19_datetime_idx":{"$gte":"2024-03-10T00:00:00.000Z"},"field14_dict_idx":{"$gt":{"d":6}}},{"field43_str":{"$regex":{"$regex":"q","$options":""}},"field4_list_idx":{"$ne":64}}]},{"field21_Decimal128_idx":{"$lte":{"$numberDecimal":"1.16"}},"field42_mixed":{"$gt":true},"field10_datetime_idx":{"$lte":"2024-05-06T00:00:00.000Z"}},{"$or":[{"field39_Decimal128":{"$gte":{"$numberDecimal":"8.1"}},"field35_int_idx":{"$ne":6094},"field8_int_idx":{"$gt":771}},{"field12_Decimal128_idx":{"$eq":{"$numberDecimal":"35.1"}},"field31_list_idx":{"$size":20}}]},{"field25_str_idx":{"$gte":"E"},"field19_datetime_idx":{"$gt":"2024-03-24T00:00:00.000Z"}}]},{"$and":[{"field25_str_idx":{"$gte":"hD"},"field24_mixed_idx":{"$ne":416},"field34_str_idx":{"$type":"string"}},{"field31_list_idx":{"$size":5},"field1_datetime_idx":{"$ne":"2024-01-11T00:00:00.000Z"}},{"field40_list":{"$elemMatch":{"$in":[38,18,69,164,60,9],"$size":5}},"field7_str_idx":{"$regex":{"$regex":"^FTn","$options":""}}}]}]}},{"$skip":33},{"$project":{"field41_dict":1,"field38_Timestamp":1,"field28_datetime_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(0, 0)]"],"field4_list_idx":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 115658,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[MaxKey, 64.0)","(64.0, MinKey]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field12_Decimal128_idx_1","indexBounds":{"field12_Decimal128_idx":["[35.1, 35.1]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[new Date(1710028800000), new Date(9223372036854775807)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field21_Decimal128_idx_-1","indexBounds":{"field21_Decimal128_idx":["[1.16, -inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[[ 166.0, 557.0, 910.0, 148.0, 196.0, 348.0, 416.0 ], [ 166.0, 557.0, 910.0, 148.0, 196.0, 348.0, 416.0 ]]","[166.0, 166.0]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"E\", {})"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})"],"field25_str_idx":["({}, \"hD\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[MaxKey, 7803.0)","(7803.0, 6094.0)","(6094.0, MinKey]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}]}}}},
|
||||
"keys" : 400422,
|
||||
"docs" : 384142,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 11},
|
||||
@ -444,9 +444,9 @@
|
||||
"rows" : 3},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field16_str_idx":{"$regex":{"$regex":"^vC","$options":""}},"field31_list_idx":48,"field35_int_idx":{"$exists":false},"field4_list_idx":["z","p","c"],"field26_int_idx":{"$exists":true}},{"$or":[{"field25_str_idx":{"$gt":"CT"},"field45_bool":{"$eq":false},"field24_mixed_idx":{"$size":14}},{"field0_bool_idx":{"$gt":true},"field14_dict_idx":{"$gte":{"k":1,"b":1}}},{"field32_dict_idx":{"$ne":{"c":4}},"field4_list_idx":{"$regex":{"$regex":"m","$options":""}}}]}],"field13_list_idx":{"$elemMatch":{"$ne":148}},"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1747742273,"i":0}}},"field7_str_idx":{"$lte":"mmf"}}},{"$sort":{"field29_Timestamp_idx":-1,"field8_int_idx":-1,"field0_bool_idx":1}},{"$limit":59}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["(Timestamp(1747742273, 0), Timestamp(0, 0)]"]}}}},
|
||||
"keys" : 47784,
|
||||
"docs" : 47784,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"mmf\"]"],"field20_Timestamp_idx":["(Timestamp(1747742273, 0), Timestamp(0, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 56193,
|
||||
"docs" : 35670,
|
||||
"sorts": 37,
|
||||
"plans": 8,
|
||||
"rows" : 11},
|
||||
@ -484,9 +484,9 @@
|
||||
"rows" : 76192},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field13_list_idx":{"$elemMatch":{"$nin":[]}},"field20_Timestamp_idx":{"$gt":{"$timestamp":{"t":1764795183,"i":0}}}},{"field6_mixed_idx":{"$elemMatch":{"$lt":false,"$nin":[],"$size":19}},"field22_list_idx":{"$in":[37,29,8]}},{"field32_dict_idx":{"$lt":{"b":1}},"field4_list_idx":{"$eq":96},"field42_mixed":{"$gt":{"b":5}}},{"$or":[{"field6_mixed_idx":{"$size":18},"field7_str_idx":{"$ne":"mSdl"},"field41_dict":{"$type":"objectId"}},{"field8_int_idx":{"$type":"int"},"field31_list_idx":[125,447,16,59,25],"field22_list_idx":{"$nin":[68,49,116]}}]},{"field38_Timestamp":{"$lt":{"$timestamp":{"t":1704067200,"i":0}}},"field24_mixed_idx":{"$size":14},"field4_list_idx":{"$nin":[3]}}],"field20_Timestamp_idx":{"$gte":{"$timestamp":{"t":1754024899,"i":0}}},"field19_datetime_idx":{"$lte":"2024-01-11T00:00:00.000Z"},"$and":[{"field7_str_idx":{"$exists":true},"field12_Decimal128_idx":{"$gte":{"$numberDecimal":"1.18"}}},{"field5_dict_idx":{"$exists":true},"field47_Timestamp":{"$ne":{"$timestamp":{"t":1738978787,"i":0}}}}],"field2_Timestamp_idx":{"$lte":{"$timestamp":{"t":1755097809,"i":0}}},"field5_dict_idx":{"$lte":{"d":22,"b":1}}}},{"$project":{"field46_datetime":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field5_dict_idx_-1","indexBounds":{"field5_dict_idx":["[{ d: 22.0, b: 1.0 }, {}]"]}}}},
|
||||
"keys" : 93790,
|
||||
"docs" : 93790,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[MinKey, MaxKey]"],"field20_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1754024899, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 69635,
|
||||
"docs" : 37696,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 1373},
|
||||
@ -620,9 +620,9 @@
|
||||
"rows" : 1200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$regex":{"$regex":"c","$options":""}},"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1738587683,"i":0}}},"field32_dict_idx":{"$gt":{"b":1,"g":1}},"$nor":[{"field9_bool_idx":{"$ne":true},"field19_datetime_idx":{"$lte":"2024-01-21T00:00:00.000Z"},"field6_mixed_idx":false},{"field27_bool_idx":{"$lt":false}}]}},{"$sort":{"field1_datetime_idx":-1}},{"$skip":15}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[/c/, /c/]","({}, \"\"]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 24365,
|
||||
"docs" : 20948,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1738587683, 0)]"],"field4_list_idx":["[\"\", {})","[/c/, /c/]"]}}}}},
|
||||
"keys" : 15490,
|
||||
"docs" : 10708,
|
||||
"sorts": 2989,
|
||||
"plans": 7,
|
||||
"rows" : 409},
|
||||
@ -692,9 +692,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$nor":[{"$nor":[{"field2_Timestamp_idx":{"$gt":{"$timestamp":{"t":1717978667,"i":0}}},"field35_int_idx":{"$lte":5416}},{"field31_list_idx":30,"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1735480873,"i":0}}},"field15_mixed_idx":{"$gte":552}},{"field16_str_idx":{"$ne":"mP"},"field17_int_idx":{"$type":"int"},"field22_list_idx":[]},{"field6_mixed_idx":{"$lte":74816},"field24_mixed_idx":{"$all":[]}}]},{"field22_list_idx":[28,12,193,295,10,63,50,17,66],"field24_mixed_idx":{"$size":14},"field26_int_idx":{"$ne":60}}]},{"field10_datetime_idx":{"$ne":"2024-02-23T00:00:00.000Z"},"field13_list_idx":{"$type":"int"},"field31_list_idx":{"$lt":112}}],"field34_str_idx":{"$regex":{"$regex":"p","$options":""}},"field7_str_idx":{"$gt":"RhfV"},"field41_dict":{"$gt":{"b":1,"g":1}},"$or":[{"field24_mixed_idx":"k","field22_list_idx":{"$elemMatch":{"$in":[27,65,95,64,129],"$lte":731}}},{"field22_list_idx":{"$type":"int"},"field39_Decimal128":{"$type":"decimal"}},{"field39_Decimal128":{"$eq":{"$numberDecimal":"7.2"}},"field32_dict_idx":{"$eq":{"n":2}},"field19_datetime_idx":{"$ne":"2024-01-29T00:00:00.000Z"}}]}},{"$project":{"field18_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})","[/p/, /p/]"],"field25_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 1918,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(112.0, -inf]"],"field7_str_idx":["({}, \"RhfV\")"]}}}},
|
||||
"keys" : 75670,
|
||||
"docs" : 65452,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 264},
|
||||
@ -916,9 +916,9 @@
|
||||
"rows" : 8},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field29_Timestamp_idx":{"$exists":true},"field34_str_idx":{"$gt":"S"}},{"$or":[{"field16_str_idx":{"$lt":"zJ"},"field7_str_idx":{"$gte":"GOKk"}},{"field28_datetime_idx":{"$type":"date"},"field13_list_idx":[46,16,8,52,62,30,19],"field45_bool":{"$gte":true}},{"field5_dict_idx":{"$type":"objectId"},"field33_mixed_idx":{"$lte":20}}]},{"$and":[{"$and":[{"$nor":[{"field22_list_idx":[18,17,142,12,41,1,54,53,2],"field24_mixed_idx":[28,789,908,513],"field28_datetime_idx":{"$lt":"2024-01-13T00:00:00.000Z"}},{"field45_bool":{"$eq":false},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"21.2"}}},{"field41_dict":{"$lt":{"d":1,"b":1,"e":1}},"field31_list_idx":{"$in":[125,117,62,67,127]},"field37_datetime":{"$gt":"2024-01-09T00:00:00.000Z"}}]},{"field34_str_idx":{"$ne":"L"},"field46_datetime":{"$ne":"2024-02-28T00:00:00.000Z"}},{"field47_Timestamp":{"$gte":{"$timestamp":{"t":1756917908,"i":0}}},"field34_str_idx":{"$ne":"gC"}}]},{"$or":[{"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"100.3"}},"field26_int_idx":{"$ne":2624}},{"field28_datetime_idx":{"$lt":"2024-01-12T00:00:00.000Z"},"field33_mixed_idx":{"$ne":19}},{"field25_str_idx":{"$regex":{"$regex":"^Ld","$options":""}},"field6_mixed_idx":{"$size":17}}]}]}],"field16_str_idx":{"$gt":"cK"},"field8_int_idx":{"$lte":844}}},{"$skip":160}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field16_str_idx_-1","indexBounds":{"field16_str_idx":["({}, \"cK\")"]}}}},
|
||||
"keys" : 37820,
|
||||
"docs" : 37820,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field5_dict_idx_-1","indexBounds":{"field5_dict_idx":["[ObjectId('ffffffffffffffffffffffff'), ObjectId('000000000000000000000000')]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[46.0, 46.0]","[[ 46.0, 16.0, 8.0, 52.0, 62.0, 30.0, 19.0 ], [ 46.0, 16.0, 8.0, 52.0, 62.0, 30.0, 19.0 ]]"],"field28_datetime_idx":["[new Date(9223372036854775807), new Date(-9223372036854775808)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field16_str_idx_-1","indexBounds":{"field16_str_idx":["(\"zJ\", \"cK\")"]}}}]}}},
|
||||
"keys" : 37168,
|
||||
"docs" : 69576,
|
||||
"sorts": 0,
|
||||
"plans": 16,
|
||||
"rows" : 59},
|
||||
@ -1084,9 +1084,9 @@
|
||||
"rows" : 12},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field13_list_idx":{"$nin":[42,55,37,38,2,74]},"field15_mixed_idx":{"$ne":"2024-01-12T00:00:00.000Z"}},{"$and":[{"field28_datetime_idx":{"$lte":"2024-01-08T00:00:00.000Z"},"field7_str_idx":{"$gt":"x"},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"9.5"}}},{"$or":[{"field27_bool_idx":{"$gte":false},"field31_list_idx":{"$type":"int"}},{"field46_datetime":{"$ne":"2025-01-02T00:00:00.000Z"},"field10_datetime_idx":{"$gte":"2024-10-28T00:00:00.000Z"}},{"field31_list_idx":[24,23,61,255,91,56],"field46_datetime":{"$gt":"2024-02-11T00:00:00.000Z"}},{"field15_mixed_idx":{"$ne":{"$timestamp":{"t":1754479159,"i":0}}},"field47_Timestamp":{"$type":"timestamp"},"field25_str_idx":{"$regex":{"$regex":"^GV","$options":""}}},{"$and":[{"field6_mixed_idx":{"$in":["y","v","d","j","e","m"]},"field5_dict_idx":{"$eq":{"b":1,"g":2}},"field7_str_idx":{"$eq":"S"},"field43_str":{"$exists":true}},{"field30_Decimal128_idx":{"$gte":{"$numberDecimal":"1.1"}},"field24_mixed_idx":["p","x","f"],"field29_Timestamp_idx":{"$lt":{"$timestamp":{"t":1745964398,"i":0}}}}]}]}]}],"$or":[{"$nor":[{"field31_list_idx":21,"field6_mixed_idx":{"$gt":12075},"field13_list_idx":{"$elemMatch":{"$size":11,"$lte":3}}},{"field14_dict_idx":{"$lt":{"c":1,"d":1}},"field40_list":{"$gte":38}}]},{"$and":[{"field25_str_idx":{"$lte":"xB"},"field7_str_idx":{"$regex":{"$regex":"^w","$options":""}},"field9_bool_idx":{"$gte":true}},{"field18_bool_idx":{"$gt":true},"field7_str_idx":{"$lte":"y"}}]}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1704672000000)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 4616,
|
||||
"docs" : 4616,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[MinKey, 2.0)","(2.0, 37.0)","(37.0, 38.0)","(38.0, 42.0)","(42.0, 55.0)","(55.0, 74.0)","(74.0, MaxKey]"],"field28_datetime_idx":["[new Date(1704672000000), new Date(-9223372036854775808)]"]}}},
|
||||
"keys" : 4535,
|
||||
"docs" : 4114,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 202},
|
||||
@ -1220,9 +1220,9 @@
|
||||
"rows" : 7064},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"field13_list_idx":{"$size":18},"field8_int_idx":{"$gt":399}},{"field40_list":{"$regex":{"$regex":"c","$options":""}},"field6_mixed_idx":{"$in":["g","z","t","c","h","p"]},"field34_str_idx":{"$gte":"R"}},{"field24_mixed_idx":{"$elemMatch":{"$size":10}},"field26_int_idx":{"$type":"int"},"field45_bool":{"$ne":false}}]},{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1722111153,"i":0}}},"field34_str_idx":{"$eq":"Yo"},"field0_bool_idx":{"$gte":true}},{"field24_mixed_idx":{"$in":[{"$timestamp":{"t":1767139200,"i":0}}]},"field44_int":{"$eq":2761},"field12_Decimal128_idx":{"$eq":{"$numberDecimal":"4.3"}},"field9_bool_idx":{"$gte":true}},{"field0_bool_idx":{"$lte":false},"field4_list_idx":{"$nin":[24,50,49,75,53,120,2,32,6,43]}}],"field34_str_idx":{"$gte":"Fh"},"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1747753551,"i":0}}},"$and":[{"field40_list":[],"field22_list_idx":{"$lte":19}},{"field24_mixed_idx":{"$exists":true},"field7_str_idx":{"$lte":"s"}}]}},{"$sort":{"field27_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["(Timestamp(1747753551, 0), Timestamp(0, 0)]"]}}}},
|
||||
"keys" : 47811,
|
||||
"docs" : 47811,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"s\"]"],"field20_Timestamp_idx":["(Timestamp(1747753551, 0), Timestamp(0, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 64099,
|
||||
"docs" : 40792,
|
||||
"sorts": 386,
|
||||
"plans": 9,
|
||||
"rows" : 73},
|
||||
@ -1292,9 +1292,9 @@
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field7_str_idx":{"$eq":"w"},"field23_dict_idx":{"$gt":{"d":4,"b":2}},"field2_Timestamp_idx":{"$ne":{"$timestamp":{"t":1736797167,"i":0}}}},{"field45_bool":{"$gte":false},"field28_datetime_idx":{"$lte":"2024-01-21T00:00:00.000Z"}},{"field16_str_idx":{"$lt":"zA"},"field25_str_idx":{"$lt":"b"}}],"field26_int_idx":{"$lt":49},"field39_Decimal128":{"$gte":{"$numberDecimal":"1.14"}}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"w\", \"w\"]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 533,
|
||||
"docs" : 527,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705795200000)]"],"field23_dict_idx":["({ d: 4.0, b: 2.0 }, [])"]}}},
|
||||
"keys" : 348,
|
||||
"docs" : 327,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 1},
|
||||
@ -1372,9 +1372,9 @@
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field7_str_idx":{"$gt":"Eo"},"field18_bool_idx":{"$lte":true},"field38_Timestamp":{"$eq":{"$timestamp":{"t":1767139200,"i":0}}},"field27_bool_idx":{"$eq":false},"field14_dict_idx":{"$lte":{"c":27,"b":1,"d":1}},"field13_list_idx":{"$lte":9},"field20_Timestamp_idx":{"$gt":{"$timestamp":{"t":1748670358,"i":0}}},"field17_int_idx":{"$ne":854}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["[{ c: 27.0, b: 1.0, d: 1.0 }, {}]"],"field34_str_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 88981,
|
||||
"docs" : 88981,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["(\"Eo\", {})"],"field20_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1748670358, 0))"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 69428,
|
||||
"docs" : 45404,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 20032},
|
||||
@ -1404,9 +1404,9 @@
|
||||
"rows" : 3746},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field40_list":{"$type":"string"},"field20_Timestamp_idx":{"$ne":{"$timestamp":{"t":1741342166,"i":0}}}},{"field4_list_idx":{"$ne":"b"},"field7_str_idx":{"$lte":"Y"},"field31_list_idx":{"$lte":54}},{"field17_int_idx":{"$gt":21},"field26_int_idx":{"$ne":91},"field46_datetime":{"$lte":"2024-02-29T00:00:00.000Z"}}],"field34_str_idx":{"$type":"string"},"field5_dict_idx":{"$lte":{"b":6}}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field5_dict_idx_-1","indexBounds":{"field5_dict_idx":["[{ b: 6.0 }, {}]"]}}},
|
||||
"keys" : 73614,
|
||||
"docs" : 73614,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"Y\"]"],"field20_Timestamp_idx":["[MaxKey, Timestamp(1741342166, 0))","(Timestamp(1741342166, 0), MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 47702,
|
||||
"docs" : 46994,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 804},
|
||||
@ -1580,9 +1580,9 @@
|
||||
"rows" : 6132},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1704067200,"i":0}}},"field10_datetime_idx":{"$lte":"2024-03-15T00:00:00.000Z"},"$and":[{"$or":[{"field12_Decimal128_idx":{"$lt":{"$numberDecimal":"1.39"}},"field14_dict_idx":{"$lt":{"f":1,"c":1,"b":1}}},{"field31_list_idx":42,"field22_list_idx":{"$type":"int"},"field35_int_idx":{"$lt":5998}},{"field24_mixed_idx":{"$regex":{"$regex":"^r","$options":""}},"field31_list_idx":[64,79,5,14,96,15,69,13]}]},{"field5_dict_idx":{"$ne":{"j":1}},"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"1.29"}},"field35_int_idx":{"$lt":6460}},{"field10_datetime_idx":{"$type":"date"},"field40_list":{"$size":8},"field21_Decimal128_idx":{"$ne":{"$numberDecimal":"9.2"}},"field26_int_idx":{"$ne":6701}}]}},{"$project":{"field43_str":1,"field21_Decimal128_idx":1,"field28_datetime_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["({ f: 1.0, c: 1.0, b: 1.0 }, {}]"],"field34_str_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[42.0, 42.0]"],"field7_str_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[[ 64.0, 79.0, 5.0, 14.0, 96.0, 15.0, 69.0, 13.0 ], [ 64.0, 79.0, 5.0, 14.0, 96.0, 15.0, 69.0, 13.0 ]]","[64.0, 64.0]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}]}}},
|
||||
"keys" : 96916,
|
||||
"docs" : 165868,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field12_Decimal128_idx_1","indexBounds":{"field12_Decimal128_idx":["[-inf, 1.39)"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[[ 64.0, 79.0, 5.0, 14.0, 96.0, 15.0, 69.0, 13.0 ], [ 64.0, 79.0, 5.0, 14.0, 96.0, 15.0, 69.0, 13.0 ]]","[64.0, 64.0]"],"field7_str_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["(5998.0, -inf]"],"field10_datetime_idx":["[new Date(-9223372036854775808), new Date(1710460800000)]"]}}}]}}},
|
||||
"keys" : 165089,
|
||||
"docs" : 234038,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 107},
|
||||
@ -1788,9 +1788,9 @@
|
||||
"rows" : 752},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field41_dict":{"$lte":{"c":3}},"field23_dict_idx":{"$lte":{"b":4,"d":1}},"field35_int_idx":{"$lte":7721},"field10_datetime_idx":{"$lte":"2024-02-21T00:00:00.000Z"},"field13_list_idx":{"$in":[33,59,1,39,16,7,41,74]},"field9_bool_idx":{"$type":"bool"},"field17_int_idx":{"$lt":217},"$or":[{"$or":[{"field37_datetime":{"$gte":"2024-05-31T00:00:00.000Z"},"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"6.7"}}},{"field8_int_idx":{"$eq":327},"field46_datetime":{"$lte":"2024-04-07T00:00:00.000Z"},"field28_datetime_idx":{"$ne":"2024-01-02T00:00:00.000Z"}},{"field31_list_idx":{"$lt":149},"field43_str":{"$gte":"b"}}]},{"field25_str_idx":{"$lte":"K"},"field18_bool_idx":{"$ne":false}}]}},{"$project":{"field12_Decimal128_idx":1,"field11_Timestamp_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{}, { b: 4.0, d: 1.0 }]"]}}}},
|
||||
"keys" : 71955,
|
||||
"docs" : 71955,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[MaxKey, false)","(false, MinKey]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field21_Decimal128_idx_-1","indexBounds":{"field21_Decimal128_idx":["[inf, 6.7]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[MinKey, new Date(1704153600000))","(new Date(1704153600000), MaxKey]"],"field23_dict_idx":["[{}, { b: 4.0, d: 1.0 }]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(149.0, -inf]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}]}}},
|
||||
"keys" : 188008,
|
||||
"docs" : 179147,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 1226},
|
||||
@ -1892,9 +1892,9 @@
|
||||
"rows" : 5},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"field23_dict_idx":{"$gte":{"j":1,"c":1,"b":1,"d":1}},"field32_dict_idx":{"$ne":{"d":3,"b":1}}},{"field40_list":{"$ne":"j"},"field17_int_idx":{"$lt":603},"field24_mixed_idx":{"$regex":{"$regex":"^t","$options":""}}}]},{"field34_str_idx":{"$lte":"I"},"field16_str_idx":{"$eq":"hD"},"field27_bool_idx":{"$lt":false},"field4_list_idx":{"$elemMatch":{"$eq":14,"$ne":1,"$all":["l","y","g","r","d","n","h","j"]}},"field35_int_idx":{"$gt":95}},{"field34_str_idx":{"$exists":false},"field31_list_idx":{"$lt":11},"field13_list_idx":{"$in":[]}}],"field9_bool_idx":{"$ne":false},"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"1.29"}}}},{"$sort":{"field17_int_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field9_bool_idx_-1_field35_int_idx_1","indexBounds":{"field9_bool_idx":["[MaxKey, false)","(false, MinKey]"],"field35_int_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 11752,
|
||||
"docs" : 11751,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field9_bool_idx_-1_field35_int_idx_1","indexBounds":{"field9_bool_idx":["[MaxKey, false)","(false, MinKey]"],"field35_int_idx":["(95.0, inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ j: 1.0, c: 1.0, b: 1.0, d: 1.0 }, [])"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[/^t/, /^t/]","(\"u\", \"t\"]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 3086,
|
||||
"docs" : 4073,
|
||||
"sorts": 211,
|
||||
"plans": 8,
|
||||
"rows" : 44},
|
||||
@ -2156,9 +2156,9 @@
|
||||
"rows" : 103},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field14_dict_idx":{"$lt":{"e":2,"b":1}},"field3_Decimal128_idx":{"$exists":true},"field42_mixed":{"$ne":false},"field35_int_idx":{"$eq":7208}},{"field40_list":{"$eq":"i"},"field45_bool":{"$exists":true},"field4_list_idx":{"$gt":29}}],"$or":[{"field5_dict_idx":{"$eq":{"b":2,"h":1}},"field13_list_idx":{"$in":[146,105,1,68]},"field22_list_idx":91},{"$and":[{"$nor":[{"field22_list_idx":{"$size":18},"field44_int":{"$gte":30}},{"field38_Timestamp":{"$lte":{"$timestamp":{"t":1704067200,"i":0}}},"field36_bool":{"$lte":false},"field19_datetime_idx":{"$lt":"2024-02-27T00:00:00.000Z"}},{"field23_dict_idx":{"$gte":{"c":3}},"field26_int_idx":{"$gte":6326}},{"field38_Timestamp":{"$gte":{"$timestamp":{"t":1704067200,"i":0}}},"field44_int":{"$ne":34},"field24_mixed_idx":{"$gte":35}}]},{"field11_Timestamp_idx":{"$lte":{"$timestamp":{"t":1721762051,"i":0}}},"field22_list_idx":{"$gte":22},"field39_Decimal128":{"$lt":{"$numberDecimal":"3.8"}}},{"field8_int_idx":{"$ne":871},"field22_list_idx":14,"field2_Timestamp_idx":{"$eq":{"$timestamp":{"t":1755844762,"i":0}}}}]},{"$or":[{"field16_str_idx":{"$lt":"E"},"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1748670358,"i":0}}},"field22_list_idx":[31],"field40_list":{"$lte":32}},{"field45_bool":{"$ne":true},"field5_dict_idx":{"$lt":{"h":6,"e":1}}},{"field3_Decimal128_idx":{"$gt":{"$numberDecimal":"3.1"}},"field34_str_idx":{"$ne":"Pf"},"field47_Timestamp":{"$gt":{"$timestamp":{"t":1754714196,"i":0}}}}]}],"field22_list_idx":{"$nin":[54,193,55,35,21,85,57,62]},"field16_str_idx":{"$lt":"rv"},"field18_bool_idx":{"$lte":false}}},{"$sort":{"field29_Timestamp_idx":1}},{"$skip":226}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(1755844762, 0), Timestamp(1755844762, 0)]"],"field4_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field3_Decimal128_idx_1_field18_bool_idx_-1","indexBounds":{"field3_Decimal128_idx":["(3.1, inf]"],"field18_bool_idx":["[false, false]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field5_dict_idx_-1","indexBounds":{"field5_dict_idx":["[{ b: 2.0, h: 1.0 }, { b: 2.0, h: 1.0 }]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field5_dict_idx_-1","indexBounds":{"field5_dict_idx":["({ h: 6.0, e: 1.0 }, {}]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field16_str_idx_-1","indexBounds":{"field16_str_idx":["(\"E\", \"\"]"]}}}]}}}},
|
||||
"keys" : 105115,
|
||||
"docs" : 193714,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field22_list_idx_1","indexBounds":{"field22_list_idx":["[MinKey, 21.0)","(21.0, 35.0)","(35.0, 54.0)","(54.0, 55.0)","(55.0, 57.0)","(57.0, 62.0)","(62.0, 85.0)","(85.0, 193.0)","(193.0, MaxKey]"]}}}}},
|
||||
"keys" : 115337,
|
||||
"docs" : 99980,
|
||||
"sorts": 818394,
|
||||
"plans": 10,
|
||||
"rows" : 67297},
|
||||
@ -2236,9 +2236,9 @@
|
||||
"rows" : 19},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field4_list_idx":{"$size":16},"field25_str_idx":{"$regex":{"$regex":"Jy","$options":""}}},{"field9_bool_idx":{"$gt":false},"field11_Timestamp_idx":{"$ne":{"$timestamp":{"t":1723232116,"i":0}}},"field8_int_idx":{"$eq":168}},{"field13_list_idx":{"$elemMatch":{"$eq":32,"$lte":4}},"field43_str":{"$regex":{"$regex":"l","$options":""}},"field12_Decimal128_idx":{"$lt":{"$numberDecimal":"1.69"}},"field22_list_idx":{"$size":9}}],"$or":[{"field39_Decimal128":{"$exists":false},"field31_list_idx":{"$eq":22}},{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1764802768,"i":0}}},"field44_int":{"$ne":35},"field13_list_idx":{"$gt":46}},{"field18_bool_idx":{"$ne":false},"field17_int_idx":{"$lte":528},"field8_int_idx":{"$gt":689}},{"field23_dict_idx":{"$ne":{"b":1,"g":1}},"field2_Timestamp_idx":{"$type":"timestamp"},"field4_list_idx":4}],"field10_datetime_idx":{"$lte":"2024-02-26T00:00:00.000Z"},"field6_mixed_idx":{"$eq":false}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[false, false]"]}}},
|
||||
"keys" : 68872,
|
||||
"docs" : 68872,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(0, 0)]"],"field4_list_idx":["[4.0, 4.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field8_int_idx_1_field9_bool_idx_1","indexBounds":{"field8_int_idx":["(689.0, inf]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["(46.0, inf]"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[22.0, 22.0]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}]}},
|
||||
"keys" : 11068,
|
||||
"docs" : 8407,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 1829},
|
||||
@ -2620,9 +2620,9 @@
|
||||
"rows" : 21},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field13_list_idx":{"$lt":84},"field40_list":"u"},{"field19_datetime_idx":{"$gte":"2024-01-11T00:00:00.000Z"},"field22_list_idx":{"$all":[115,6,68,295,40,34,52,5]}}],"field7_str_idx":{"$lte":"rxZ"},"field18_bool_idx":{"$lte":true}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"rxZ\"]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 86013,
|
||||
"docs" : 84714,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[-inf, 84.0)"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[true, false]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[115.0, 115.0]"]}}}]}},
|
||||
"keys" : 115007,
|
||||
"docs" : 99782,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 3},
|
||||
@ -2764,9 +2764,9 @@
|
||||
"rows" : 7918},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field6_mixed_idx":{"$all":[]},"field13_list_idx":{"$elemMatch":{"$size":7,"$gt":68}}},{"field37_datetime":{"$lte":"2024-03-25T00:00:00.000Z"},"field2_Timestamp_idx":{"$type":"timestamp"},"field6_mixed_idx":{"$in":[]},"field25_str_idx":{"$gte":"BI"}},{"field13_list_idx":105,"field23_dict_idx":{"$gte":{"b":1,"c":9}},"field22_list_idx":77},{"$nor":[{"$and":[{"field22_list_idx":{"$lt":53},"field29_Timestamp_idx":{"$gt":{"$timestamp":{"t":1734865976,"i":0}}},"field19_datetime_idx":{"$gt":"2024-02-03T00:00:00.000Z"}},{"field17_int_idx":{"$gt":621},"field16_str_idx":{"$regex":{"$regex":"^z","$options":""}}},{"field43_str":{"$eq":"l"},"field5_dict_idx":{"$ne":{"b":1,"d":7}}}]},{"field9_bool_idx":{"$lt":true},"field35_int_idx":{"$gte":998}}]}],"$and":[{"$and":[{"field23_dict_idx":{"$lt":{"c":1,"b":1,"e":1}},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"9.5"}}},{"field46_datetime":{"$type":"date"},"field7_str_idx":{"$gt":"jdF"}}]},{"field46_datetime":{"$ne":"2024-02-19T00:00:00.000Z"},"field3_Decimal128_idx":{"$exists":true},"field1_datetime_idx":{"$lt":"2024-01-25T00:00:00.000Z"}},{"field26_int_idx":{"$lte":9},"field6_mixed_idx":{"$lte":false}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[false, false]"]}}},
|
||||
"keys" : 68872,
|
||||
"docs" : 68872,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["(\"jdF\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[false, false]"]}}},
|
||||
"keys" : 31289,
|
||||
"docs" : 21480,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 41},
|
||||
@ -2852,9 +2852,9 @@
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$nor":[{"field24_mixed_idx":{"$regex":{"$regex":"z","$options":""}},"field5_dict_idx":{"$gte":{"d":27}}},{"field40_list":["g","f","h","b","c","w","q","v","s"],"field7_str_idx":{"$lt":"ho"}}]},{"field2_Timestamp_idx":{"$gt":{"$timestamp":{"t":1760042412,"i":0}}},"field17_int_idx":{"$exists":true},"field0_bool_idx":{"$lte":false}},{"$and":[{"$or":[{"field25_str_idx":{"$lt":"yf"},"field6_mixed_idx":{"$lte":true}},{"field19_datetime_idx":{"$gt":"2024-04-04T00:00:00.000Z"},"field31_list_idx":{"$ne":23},"field25_str_idx":{"$eq":"vC"}}]},{"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1752124838,"i":0}}},"field36_bool":{"$gte":false},"field4_list_idx":{"$elemMatch":{"$ne":"l","$in":["m","i","z","c","g","b","u"]}}}]}],"$or":[{"field45_bool":{"$ne":false},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"14.1"}}},{"$and":[{"field24_mixed_idx":[],"field12_Decimal128_idx":{"$lte":{"$numberDecimal":"5.4"}}},{"field40_list":{"$all":[20,50]},"field13_list_idx":{"$nin":[]},"field4_list_idx":{"$regex":{"$regex":"^h","$options":""}}}]}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[\"z\", \"z\"]","[\"u\", \"u\"]","[\"m\", \"m\"]","[\"i\", \"i\"]","[\"g\", \"g\"]","[\"c\", \"c\"]","[\"b\", \"b\"]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 21255,
|
||||
"docs" : 19363,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1760042412, 0))"],"field4_list_idx":["[\"b\", \"b\"]","[\"c\", \"c\"]","[\"g\", \"g\"]","[\"i\", \"i\"]","[\"m\", \"m\"]","[\"u\", \"u\"]","[\"z\", \"z\"]"]}}},
|
||||
"keys" : 11376,
|
||||
"docs" : 9439,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 70},
|
||||
@ -3012,9 +3012,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field34_str_idx":{"$lt":"w"},"field29_Timestamp_idx":{"$lte":{"$timestamp":{"t":1756180545,"i":0}}},"$and":[{"field25_str_idx":{"$gte":"Bi"},"field9_bool_idx":{"$ne":true}},{"field1_datetime_idx":{"$lt":"2024-01-28T00:00:00.000Z"},"field16_str_idx":{"$regex":{"$regex":"IN","$options":""}}},{"$or":[{"field11_Timestamp_idx":{"$gte":{"$timestamp":{"t":1753376444,"i":0}}},"field31_list_idx":{"$lt":51}},{"field22_list_idx":[],"field39_Decimal128":{"$gte":{"$numberDecimal":"2.3"}},"field5_dict_idx":{"$ne":{"h":3}}},{"$or":[{"field40_list":{"$size":17},"field15_mixed_idx":{"$gte":"2024-02-03T00:00:00.000Z"}},{"field4_list_idx":{"$size":6},"field33_mixed_idx":{"$type":"int"},"field43_str":{"$lte":"x"}}]}]}]}},{"$project":{"field39_Decimal128":1,"field0_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field16_str_idx_-1","indexBounds":{"field16_str_idx":["[/IN/, /IN/]","({}, \"\"]"]}}}},
|
||||
"keys" : 83845,
|
||||
"docs" : 12,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", \"w\")"],"field25_str_idx":["({}, \"Bi\"]"]}}}},
|
||||
"keys" : 89010,
|
||||
"docs" : 88923,
|
||||
"sorts": 0,
|
||||
"plans": 10,
|
||||
"rows" : 3},
|
||||
@ -3092,9 +3092,9 @@
|
||||
"rows" : 2715},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field31_list_idx":{"$lt":202},"field0_bool_idx":{"$lt":true},"field7_str_idx":{"$type":"string"},"$or":[{"field21_Decimal128_idx":{"$lt":{"$numberDecimal":"14.1"}},"field17_int_idx":{"$ne":461}},{"$or":[{"$or":[{"field40_list":{"$elemMatch":{"$in":["p","e"]}},"field31_list_idx":{"$lte":80}},{"field28_datetime_idx":{"$gt":"2024-01-10T00:00:00.000Z"},"field46_datetime":{"$gte":"2024-01-07T00:00:00.000Z"},"field43_str":{"$ne":"a"}},{"field13_list_idx":{"$ne":62},"field14_dict_idx":{"$eq":{}}},{"field44_int":{"$gte":69},"field0_bool_idx":{"$gt":true}}]},{"field36_bool":{"$gt":false},"field35_int_idx":{"$gte":3773}}]}]}},{"$project":{"field5_dict_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field0_bool_idx_1","indexBounds":{"field0_bool_idx":["[false, true)"]}}}},
|
||||
"keys" : 99981,
|
||||
"docs" : 99981,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(202.0, -inf]"],"field7_str_idx":["({}, \"\"]"]}}}},
|
||||
"keys" : 115205,
|
||||
"docs" : 99807,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 99221},
|
||||
@ -3164,9 +3164,9 @@
|
||||
"rows" : 94},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$ne":20},"field0_bool_idx":{"$ne":true},"$or":[{"field45_bool":{"$exists":false},"field35_int_idx":{"$ne":2603},"field25_str_idx":{"$gte":"hI"}},{"field34_str_idx":{"$regex":{"$regex":"bT","$options":""}},"field1_datetime_idx":{"$lte":"2024-01-28T00:00:00.000Z"}}],"field16_str_idx":{"$lt":"tX"},"field7_str_idx":{"$lt":"n"},"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1755716125,"i":0}}},"field14_dict_idx":{"$lte":{"e":2}}}},{"$project":{"field45_bool":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["[{ e: 2.0 }, {}]"],"field34_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 95691,
|
||||
"docs" : 95691,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"n\")"],"field20_Timestamp_idx":["[Timestamp(1755716125, 0), Timestamp(0, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 64433,
|
||||
"docs" : 50046,
|
||||
"sorts": 0,
|
||||
"plans": 10,
|
||||
"rows" : 1},
|
||||
@ -3412,9 +3412,9 @@
|
||||
"rows" : 65},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field22_list_idx":{"$gte":67},"field24_mixed_idx":"n","field46_datetime":{"$lte":"2024-01-10T00:00:00.000Z"}},{"$or":[{"$and":[{"field34_str_idx":{"$ne":"A"},"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"3.7"}},"field36_bool":{"$lte":false}},{"field40_list":"j","field24_mixed_idx":448,"field6_mixed_idx":{"$size":18}}]},{"$or":[{"field7_str_idx":{"$lt":"V"},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"2.9"}},"field15_mixed_idx":{"$ne":533}},{"$or":[{"field12_Decimal128_idx":{"$eq":{"$numberDecimal":"6.4"}},"field31_list_idx":{"$type":"int"}},{"field24_mixed_idx":{"$gt":307},"field18_bool_idx":{"$eq":true}},{"field39_Decimal128":{"$eq":{"$numberDecimal":"7.5"}},"field3_Decimal128_idx":{"$exists":false}}]},{"field18_bool_idx":{"$lt":true},"field45_bool":{"$ne":true}}]},{"$or":[{"field31_list_idx":73,"field29_Timestamp_idx":{"$ne":{"$timestamp":{"t":1735480873,"i":0}}},"field41_dict":{"$ne":{"c":1}}},{"field29_Timestamp_idx":{"$eq":{"$timestamp":{"t":1764411279,"i":0}}},"field34_str_idx":{"$eq":"Mx"},"field8_int_idx":{"$gte":484}},{"field44_int":{"$gt":53},"field7_str_idx":{"$gt":"w"}},{"field9_bool_idx":{"$exists":false},"field14_dict_idx":{"$lte":{"b":1}}},{"field40_list":{"$lt":161},"field19_datetime_idx":{"$gt":"2024-01-12T00:00:00.000Z"}},{"field8_int_idx":{"$type":"int"},"field40_list":{"$nin":[]}}]}]}],"field43_str":{"$regex":{"$regex":"y","$options":""}},"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"4.2"}},"field23_dict_idx":{"$ne":{"c":12}}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[MinKey, { c: 12.0 })","({ c: 12.0 }, MaxKey]"]}}},
|
||||
"keys" : 99996,
|
||||
"docs" : 99995,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field30_Decimal128_idx_-1_field23_dict_idx_1","indexBounds":{"field30_Decimal128_idx":["[4.2, -inf]"],"field23_dict_idx":["[MinKey, { c: 12.0 })","({ c: 12.0 }, MaxKey]"]}}},
|
||||
"keys" : 95904,
|
||||
"docs" : 95900,
|
||||
"sorts": 0,
|
||||
"plans": 5,
|
||||
"rows" : 1},
|
||||
@ -3524,9 +3524,9 @@
|
||||
"rows" : 60430},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$or":[{"field23_dict_idx":{"$gt":{"e":2,"b":1}},"field45_bool":{"$type":"bool"}},{"$and":[{"field24_mixed_idx":{"$regex":{"$regex":"^m","$options":""}},"field40_list":{"$size":18}},{"field25_str_idx":{"$ne":"m"},"field32_dict_idx":{"$ne":{"b":1,"c":2,"h":1}},"field5_dict_idx":{"$exists":false},"field13_list_idx":{"$all":[]}},{"field34_str_idx":{"$eq":"ms"},"field22_list_idx":{"$all":[3,85,26,206,69,221]},"field40_list":"f"}]},{"$and":[{"field24_mixed_idx":{"$size":20},"field17_int_idx":{"$lte":555}},{"$nor":[{"field39_Decimal128":{"$gte":{"$numberDecimal":"71.1"}},"field43_str":{"$regex":{"$regex":"^r","$options":""}}},{"field5_dict_idx":{"$lte":{"c":1,"b":1}},"field15_mixed_idx":{"$lte":"2024-01-06T00:00:00.000Z"},"field23_dict_idx":{"$lte":{"b":1,"c":3,"g":2}}}]},{"field6_mixed_idx":["g","u","p","i","b","k","j"],"field13_list_idx":{"$eq":26},"field40_list":{"$size":16}},{"field6_mixed_idx":{"$lt":false},"field7_str_idx":{"$lte":"ZXx"}},{"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"3.2"}},"field40_list":{"$all":[57,21,19,60,9,107,26]}}]}]},{"field32_dict_idx":{"$lt":{"c":2,"b":36}},"field6_mixed_idx":{"$lte":false}}],"$nor":[{"field13_list_idx":{"$in":[1,35]},"field22_list_idx":{"$exists":false},"field37_datetime":{"$lt":"2024-06-20T00:00:00.000Z"}},{"field40_list":{"$exists":true},"field27_bool_idx":{"$ne":false},"field4_list_idx":{"$regex":{"$regex":"k","$options":""}}}],"field17_int_idx":{"$ne":419},"field22_list_idx":{"$type":"int"},"field42_mixed":{"$ne":{"q":1}},"field2_Timestamp_idx":{"$type":"timestamp"},"field25_str_idx":{"$gte":"Wk"},"field4_list_idx":[]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[false, false]"]}}},
|
||||
"keys" : 68872,
|
||||
"docs" : 68872,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(0, 0)]"],"field4_list_idx":["[undefined, undefined]","[[], []]"]}}},
|
||||
"keys" : 5425,
|
||||
"docs" : 216,
|
||||
"sorts": 0,
|
||||
"plans": 13,
|
||||
"rows" : 2},
|
||||
@ -3788,9 +3788,9 @@
|
||||
"rows" : 2184},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field1_datetime_idx":{"$ne":"2024-03-18T00:00:00.000Z"},"field35_int_idx":{"$eq":998},"field45_bool":{"$lt":true}},{"field41_dict":{"$gt":{"j":2,"c":1,"b":1}},"field9_bool_idx":{"$ne":true},"field22_list_idx":{"$elemMatch":{"$in":[115,26,18,10],"$size":10}}},{"field15_mixed_idx":{"$gt":{"$timestamp":{"t":1742813742,"i":0}}},"field40_list":{"$size":11},"field41_dict":{"$lte":{"h":1}}}],"field24_mixed_idx":{"$lte":{"$timestamp":{"t":1767139200,"i":0}}},"field16_str_idx":{"$exists":true},"$or":[{"field31_list_idx":[51,67,25,164,92,38],"field27_bool_idx":{"$type":"bool"},"field12_Decimal128_idx":{"$exists":false}},{"field19_datetime_idx":{"$lt":"2024-01-30T00:00:00.000Z"},"field43_str":{"$regex":{"$regex":"m","$options":""}},"field11_Timestamp_idx":{"$exists":true}},{"field14_dict_idx":{"$gt":{"b":1}},"field37_datetime":{"$lte":"2024-02-09T00:00:00.000Z"}},{"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1766540082,"i":0}}},"field4_list_idx":{"$elemMatch":{"$ne":"r","$gte":"u"}},"field28_datetime_idx":{"$lt":"2024-01-05T00:00:00.000Z"},"field16_str_idx":{"$gte":"DB"},"field19_datetime_idx":{"$ne":"2024-03-06T00:00:00.000Z"}}]}},{"$project":{"field30_Decimal128_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[Timestamp(1767139200, 0), Timestamp(0, 0)]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 71470,
|
||||
"docs" : 71470,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { b: 1.0 })"],"field34_str_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[new Date(-9223372036854775808), new Date(1706572800000))"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[Timestamp(1767139200, 0), Timestamp(0, 0)]"],"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1704412800000))"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field27_bool_idx_1","indexBounds":{"field27_bool_idx":["[false, true]"]}}}]}}},
|
||||
"keys" : 241812,
|
||||
"docs" : 291007,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 29479},
|
||||
@ -3940,17 +3940,17 @@
|
||||
"rows" : 164},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field10_datetime_idx":{"$lte":"2024-02-19T00:00:00.000Z"},"field13_list_idx":{"$size":18}},{"field16_str_idx":{"$gte":"O"},"field4_list_idx":{"$size":2}},{"$or":[{"field31_list_idx":{"$ne":41},"field24_mixed_idx":{"$ne":{"$timestamp":{"t":1767139200,"i":0}}}},{"field22_list_idx":{"$size":10},"field6_mixed_idx":"q"}]},{"field41_dict":{"$ne":{"n":1}},"field31_list_idx":{"$size":7},"field34_str_idx":{"$eq":"h"}}],"field34_str_idx":{"$ne":"o"},"field31_list_idx":{"$lte":33},"field7_str_idx":{"$gte":"Pu"},"field40_list":{"$gte":"o"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"Pu\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 70143,
|
||||
"docs" : 69061,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[33.0, -inf]"],"field7_str_idx":["({}, \"Pu\"]"]}}},
|
||||
"keys" : 79545,
|
||||
"docs" : 68885,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 3},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field18_bool_idx":{"$gte":true},"field28_datetime_idx":{"$exists":true},"$and":[{"field22_list_idx":{"$lte":46},"field3_Decimal128_idx":{"$ne":{"$numberDecimal":"1.2"}}},{"$or":[{"field17_int_idx":{"$lt":644},"field16_str_idx":{"$ne":"CT"},"field25_str_idx":{"$gt":"Lv"}},{"field2_Timestamp_idx":{"$type":"timestamp"},"field16_str_idx":{"$eq":"h"}}]}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[true, true]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[-inf, 46.0]"]}}},
|
||||
"keys" : 1421,
|
||||
"docs" : 1419,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field3_Decimal128_idx_1_field18_bool_idx_-1","indexBounds":{"field3_Decimal128_idx":["[MinKey, 1.2)","(1.2, MaxKey]"],"field18_bool_idx":["[true, true]"]}}},
|
||||
"keys" : 1462,
|
||||
"docs" : 1421,
|
||||
"sorts": 0,
|
||||
"plans": 6,
|
||||
"rows" : 1068},
|
||||
@ -3980,9 +3980,9 @@
|
||||
"rows" : 9},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$and":[{"field31_list_idx":{"$gte":46},"field19_datetime_idx":{"$ne":"2024-01-22T00:00:00.000Z"}},{"field0_bool_idx":{"$type":"bool"},"field6_mixed_idx":{"$regex":{"$regex":"^j","$options":""}},"field1_datetime_idx":{"$lte":"2024-02-23T00:00:00.000Z"}},{"field23_dict_idx":{"$gte":{"c":1,"b":3}},"field24_mixed_idx":{"$regex":{"$regex":"h","$options":""}},"field22_list_idx":13}]},{"field22_list_idx":{"$ne":68},"field6_mixed_idx":"h"},{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1746533890,"i":0}}},"field42_mixed":{"$lt":true},"field28_datetime_idx":{"$lt":"2024-01-20T00:00:00.000Z"}}],"field7_str_idx":{"$gt":"bO"},"field19_datetime_idx":{"$lt":"2024-01-28T00:00:00.000Z"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["(\"bO\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[\"h\", \"h\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705708800000))"],"field23_dict_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[inf, 46.0]"],"field7_str_idx":["({}, \"bO\")"]}}}]}},
|
||||
"keys" : 51678,
|
||||
"docs" : 4805,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["(\"bO\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[\"h\", \"h\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field22_list_idx_1","indexBounds":{"field22_list_idx":["[13.0, 13.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705708800000))"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}]}},
|
||||
"keys" : 51745,
|
||||
"docs" : 4902,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 38},
|
||||
@ -4020,9 +4020,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field33_mixed_idx":{"$lt":36},"field39_Decimal128":{"$lte":{"$numberDecimal":"12.1"}},"field35_int_idx":{"$lte":1},"field28_datetime_idx":{"$type":"date"}},{"$or":[{"field15_mixed_idx":{"$gt":{"$timestamp":{"t":1729177733,"i":0}}},"field44_int":{"$lte":13282}},{"field42_mixed":{"$ne":true},"field24_mixed_idx":{"$ne":"w"}}]},{"$or":[{"field6_mixed_idx":[],"field40_list":{"$elemMatch":{"$size":11}}},{"field27_bool_idx":{"$gte":false},"field31_list_idx":{"$nin":[]}}]}],"field23_dict_idx":{"$gte":{"b":12}},"field4_list_idx":{"$lt":69},"field14_dict_idx":{"$eq":{"c":1}}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["[{ c: 1.0 }, { c: 1.0 }]"],"field34_str_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 8193,
|
||||
"docs" : 8193,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(9223372036854775807)]"],"field23_dict_idx":["[{ b: 12.0 }, [])"]}}},
|
||||
"keys" : 1214,
|
||||
"docs" : 1188,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 27},
|
||||
@ -4044,9 +4044,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field17_int_idx":{"$type":"int"},"field28_datetime_idx":{"$ne":"2024-01-26T00:00:00.000Z"},"field13_list_idx":{"$lte":42},"field47_Timestamp":{"$gte":{"$timestamp":{"t":1734530134,"i":0}}},"field40_list":{"$gte":86},"$nor":[{"field24_mixed_idx":{"$size":18},"field35_int_idx":{"$lt":2267}},{"$nor":[{"field22_list_idx":{"$exists":true}},{"field24_mixed_idx":{"$timestamp":{"t":1767139200,"i":0}},"field40_list":35}]},{"field15_mixed_idx":{"$type":"date"},"field24_mixed_idx":{"$size":7},"field31_list_idx":{"$elemMatch":{"$lte":39}}},{"field31_list_idx":{"$lte":82},"field6_mixed_idx":"u","field21_Decimal128_idx":{"$exists":false},"field45_bool":{"$lte":false}}],"field1_datetime_idx":{"$lte":"2024-01-18T00:00:00.000Z"},"field35_int_idx":{"$lt":9815},"field26_int_idx":{"$lte":50}}},{"$project":{"field29_Timestamp_idx":1,"field23_dict_idx":1,"field39_Decimal128":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["[50.0, -inf]"],"field21_Decimal128_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 48085,
|
||||
"docs" : 48085,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[-inf, 42.0]"],"field28_datetime_idx":["[MaxKey, new Date(1706227200000))","(new Date(1706227200000), MinKey]"]}}}},
|
||||
"keys" : 114851,
|
||||
"docs" : 99749,
|
||||
"sorts": 0,
|
||||
"plans": 6,
|
||||
"rows" : 4},
|
||||
@ -4228,9 +4228,9 @@
|
||||
"rows" : 380},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field33_mixed_idx":{"$ne":20},"field34_str_idx":{"$gt":"CM"},"field18_bool_idx":{"$ne":true},"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1753654832,"i":0}}}},{"field14_dict_idx":{"$lt":{"f":2}},"field24_mixed_idx":{"$all":[{"$timestamp":{"t":1704067200,"i":0}}]}},{"field23_dict_idx":{"$lte":{"h":1}},"field35_int_idx":{"$lte":8123}}],"$or":[{"$or":[{"field14_dict_idx":{"$eq":{"b":1,"c":3}},"field39_Decimal128":{"$gte":{"$numberDecimal":"1.56"}}},{"field9_bool_idx":{"$gt":true},"field32_dict_idx":{"$lte":{"c":1,"h":1}}},{"field42_mixed":{"$lt":true},"field16_str_idx":{"$regex":{"$regex":"rT","$options":""}},"field13_list_idx":{"$all":[48,148]}}]},{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1719111403,"i":0}}},"field9_bool_idx":{"$gte":false}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{}, { h: 1.0 }]"]}}},
|
||||
"keys" : 98330,
|
||||
"docs" : 98330,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["({ f: 2.0 }, {}]"],"field34_str_idx":["({}, \"CM\")"]}}},
|
||||
"keys" : 91787,
|
||||
"docs" : 91512,
|
||||
"sorts": 0,
|
||||
"plans": 13,
|
||||
"rows" : 2},
|
||||
@ -4324,9 +4324,9 @@
|
||||
"rows" : 8},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field26_int_idx":{"$lt":71},"field20_Timestamp_idx":{"$eq":{"$timestamp":{"t":1728696223,"i":0}}},"field36_bool":{"$exists":true},"field7_str_idx":{"$regex":{"$regex":"^K","$options":""}}},{"field4_list_idx":82,"field32_dict_idx":{"$lte":{"b":7}}}],"field40_list":{"$type":"int"},"field31_list_idx":{"$ne":61},"field21_Decimal128_idx":{"$lt":{"$numberDecimal":"4.4"}},"field7_str_idx":{"$lte":"M"},"field42_mixed":{"$gt":false},"field38_Timestamp":{"$ne":{"$timestamp":{"t":1767139200,"i":0}}},"$and":[{"field35_int_idx":{"$exists":true},"field8_int_idx":{"$ne":144}},{"field32_dict_idx":{"$lte":{"d":1,"b":1,"e":1}},"field43_str":{"$ne":"c"}}]}},{"$project":{"field14_dict_idx":1,"field7_str_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field32_dict_idx_1","indexBounds":{"field32_dict_idx":["[{}, { d: 1.0, b: 1.0, e: 1.0 }]"]}}}},
|
||||
"keys" : 92379,
|
||||
"docs" : 92379,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[MaxKey, 61.0)","(61.0, MinKey]"],"field7_str_idx":["[\"M\", \"\"]"]}}}},
|
||||
"keys" : 27615,
|
||||
"docs" : 23873,
|
||||
"sorts": 0,
|
||||
"plans": 6,
|
||||
"rows" : 814},
|
||||
@ -4532,9 +4532,9 @@
|
||||
"rows" : 22},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field21_Decimal128_idx":{"$lte":{"$numberDecimal":"7.2"}},"field29_Timestamp_idx":{"$exists":true},"field39_Decimal128":{"$lt":{"$numberDecimal":"3.2"}},"$or":[{"field43_str":{"$exists":false},"field23_dict_idx":{"$eq":{"c":5,"b":2}}},{"field4_list_idx":{"$ne":3},"field9_bool_idx":{"$ne":true}}],"field26_int_idx":{"$ne":60},"field8_int_idx":{"$gte":105},"field32_dict_idx":{"$gte":{"c":1,"b":1,"h":1}},"$nor":[{"field26_int_idx":{"$lt":84},"field7_str_idx":{"$gte":"jyKI"}},{"field31_list_idx":{"$all":[]}}]}},{"$sort":{"field2_Timestamp_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field8_int_idx_1_field9_bool_idx_1","indexBounds":{"field8_int_idx":["[105.0, inf]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 8765,
|
||||
"docs" : 8765,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field8_int_idx_1_field9_bool_idx_1","indexBounds":{"field8_int_idx":["[105.0, inf]"],"field9_bool_idx":["[MinKey, true)","(true, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ c: 5.0, b: 2.0 }, { c: 5.0, b: 2.0 }]"]}}}]}}},
|
||||
"keys" : 8334,
|
||||
"docs" : 15414,
|
||||
"sorts": 6269,
|
||||
"plans": 9,
|
||||
"rows" : 814},
|
||||
@ -4740,9 +4740,9 @@
|
||||
"rows" : 175},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field27_bool_idx":{"$type":"bool"},"field47_Timestamp":{"$gt":{"$timestamp":{"t":1763930520,"i":0}}}},{"$and":[{"field6_mixed_idx":{"$size":6},"field41_dict":{"$gte":{}},"field29_Timestamp_idx":{"$ne":{"$timestamp":{"t":1748339863,"i":0}}}},{"field41_dict":{"$lte":{"c":1,"b":8}},"field25_str_idx":{"$lte":"Jk"}}]},{"field35_int_idx":{"$lte":2587},"field34_str_idx":{"$lt":"vA"},"field47_Timestamp":{"$gte":{"$timestamp":{"t":1736559935,"i":0}}},"field6_mixed_idx":{"$elemMatch":{"$ne":32322}},"field8_int_idx":{"$lte":4}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"\", \"Jk\"]"]}}},
|
||||
"keys" : 19196,
|
||||
"docs" : 19196,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", \"vA\")"],"field25_str_idx":["[\"Jk\", \"\"]"]}}},
|
||||
"keys" : 18428,
|
||||
"docs" : 17675,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 1},
|
||||
@ -4780,9 +4780,9 @@
|
||||
"rows" : 3798},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field7_str_idx":{"$ne":"y"},"field18_bool_idx":{"$gte":false},"field17_int_idx":{"$gte":189},"$and":[{"field13_list_idx":{"$nin":[53]},"field7_str_idx":{"$gt":"pr"}},{"field42_mixed":{"$type":"bool"},"field20_Timestamp_idx":{"$gte":{"$timestamp":{"t":1737222452,"i":0}}},"field6_mixed_idx":{"$size":5},"field25_str_idx":{"$gte":"hI"}},{"field23_dict_idx":{"$gt":{"d":1}},"field10_datetime_idx":{"$ne":"2024-02-12T00:00:00.000Z"}}],"field46_datetime":{"$ne":"2024-01-22T00:00:00.000Z"},"field13_list_idx":{"$lt":15},"field42_mixed":{"$lte":true}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["(\"pr\", \"y\")","(\"y\", {})"],"field20_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1737222452, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 16861,
|
||||
"docs" : 13690,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["({ d: 1.0 }, [])"]}}},
|
||||
"keys" : 8304,
|
||||
"docs" : 8304,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 1},
|
||||
@ -4988,9 +4988,9 @@
|
||||
"rows" : 572},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1750130401,"i":0}}},"field44_int":{"$eq":56817},"$nor":[{"field7_str_idx":{"$lt":"rN"},"field32_dict_idx":{"$gt":{"c":1,"d":1}}},{"field24_mixed_idx":[931]}]}},{"$project":{"field12_Decimal128_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["(Timestamp(1750130401, 0), Timestamp(0, 0)]"]}}}},
|
||||
"keys" : 53024,
|
||||
"docs" : 53024,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[MinKey, \"\")","[\"rN\", MaxKey]"],"field20_Timestamp_idx":["(Timestamp(1750130401, 0), Timestamp(0, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}},{"stage":"IXSCAN","indexName":"field32_dict_idx_1","indexBounds":{"field32_dict_idx":["[MinKey, { c: 1.0, d: 1.0 }]","[[], MaxKey]"]}}]}}},
|
||||
"keys" : 98376,
|
||||
"docs" : 86746,
|
||||
"sorts": 0,
|
||||
"plans": 2,
|
||||
"rows" : 1},
|
||||
@ -5556,9 +5556,9 @@
|
||||
"rows" : 13384},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field23_dict_idx":{"$lte":{"b":12}},"field19_datetime_idx":{"$ne":"2024-05-09T00:00:00.000Z"},"field7_str_idx":{"$lt":"T"},"field13_list_idx":{"$elemMatch":{"$lt":38}},"field31_list_idx":{"$lt":54},"$and":[{"$or":[{"field40_list":{"$regex":{"$regex":"l","$options":""}},"field30_Decimal128_idx":{"$gt":{"$numberDecimal":"4.1"}},"field24_mixed_idx":{"$size":7}},{"field11_Timestamp_idx":{"$lt":{"$timestamp":{"t":1753749328,"i":0}}},"field19_datetime_idx":{"$gte":"2024-01-20T00:00:00.000Z"}},{"field10_datetime_idx":{"$lte":"2024-02-23T00:00:00.000Z"}},{"field3_Decimal128_idx":{"$lte":{"$numberDecimal":"5.1"}},"field6_mixed_idx":["v","s","l"],"field36_bool":{"$eq":false}}]},{"field40_list":{"$elemMatch":{"$eq":"w"}}}]}},{"$project":{"field5_dict_idx":1,"field1_datetime_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{}, { b: 12.0 }]"]}}}},
|
||||
"keys" : 74594,
|
||||
"docs" : 74594,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(54.0, -inf]"],"field7_str_idx":["(\"T\", \"\"]"]}}}},
|
||||
"keys" : 42466,
|
||||
"docs" : 36784,
|
||||
"sorts": 0,
|
||||
"plans": 10,
|
||||
"rows" : 2},
|
||||
@ -5860,9 +5860,9 @@
|
||||
"rows" : 22},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field28_datetime_idx":{"$lt":null},"field9_bool_idx":{"$lte":true}},{"field41_dict":{"$lte":{"g":3,"b":1}},"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1752922061,"i":0}}}},{"field23_dict_idx":{"$gte":{"b":10}},"field4_list_idx":"r","field13_list_idx":{"$nin":[12,28,24,16,48,52]}},{"$or":[{"field1_datetime_idx":{"$gt":"2024-05-24T00:00:00.000Z"},"field12_Decimal128_idx":{"$lt":{"$numberDecimal":"16.1"}}},{"$and":[{"field2_Timestamp_idx":{"$type":"timestamp"},"field22_list_idx":{"$all":[167,3,35,55,2,63]},"field11_Timestamp_idx":{"$lte":{"$timestamp":{"t":1745208842,"i":0}}}},{"field38_Timestamp":{"$lt":{"$timestamp":{"t":1704067200,"i":0}}},"field40_list":{"$size":20}}]},{"field25_str_idx":{"$gt":"NS"},"field7_str_idx":{"$exists":false},"field13_list_idx":184,"field37_datetime":{"$exists":false}}]}],"field4_list_idx":{"$exists":true},"field14_dict_idx":{"$lt":{"d":2,"b":2}}}},{"$project":{"field21_Decimal128_idx":1,"field6_mixed_idx":1,"field18_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["({ d: 2.0, b: 2.0 }, {}]"],"field34_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 93200,
|
||||
"docs" : 93200,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field1_datetime_idx_1","indexBounds":{"field1_datetime_idx":["(new Date(1716508800000), new Date(9223372036854775807)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1752922061, 0)]"],"field4_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(0, 0)]"],"field4_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[\"r\", \"r\"]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[MaxKey, MinKey]"],"field9_bool_idx":["[false, true]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[null, null]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}}]}}},
|
||||
"keys" : 288857,
|
||||
"docs" : 298270,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 45302},
|
||||
@ -5876,9 +5876,9 @@
|
||||
"rows" : 65},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field7_str_idx":{"$regex":{"$regex":"^k","$options":""}},"field8_int_idx":{"$ne":6}},{"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"2.9"}},"field44_int":{"$eq":83792},"field31_list_idx":{"$size":2}},{"field35_int_idx":{"$lte":93},"field37_datetime":{"$exists":false}}],"$nor":[{"field31_list_idx":56,"field10_datetime_idx":{"$gt":"2024-05-08T00:00:00.000Z"}},{"$and":[{"field22_list_idx":{"$size":3},"field1_datetime_idx":{"$lte":"2024-02-11T00:00:00.000Z"},"field0_bool_idx":{"$ne":true},"field24_mixed_idx":{"$eq":865}},{"field31_list_idx":46,"field36_bool":{"$lte":false}}]}],"field4_list_idx":{"$size":6},"field26_int_idx":{"$lt":39}}},{"$project":{"field37_datetime":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["(39.0, -inf]"],"field21_Decimal128_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 39280,
|
||||
"docs" : 39280,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"k\", \"l\")","[/^k/, /^k/]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["(39.0, -inf]"],"field21_Decimal128_idx":["[inf, 2.9]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[93.0, -inf]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 88770,
|
||||
"docs" : 90444,
|
||||
"sorts": 0,
|
||||
"plans": 5,
|
||||
"rows" : 7},
|
||||
@ -5924,9 +5924,9 @@
|
||||
"rows" : 137},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field9_bool_idx":{"$lte":false},"field11_Timestamp_idx":{"$ne":{"$timestamp":{"t":1742745669,"i":0}}},"field3_Decimal128_idx":{"$ne":{"$numberDecimal":"1.5"}},"$and":[{"field47_Timestamp":{"$gt":{"$timestamp":{"t":1748599075,"i":0}}},"field1_datetime_idx":{"$lt":"2024-03-29T00:00:00.000Z"}},{"field28_datetime_idx":{"$lte":"2024-01-24T00:00:00.000Z"},"field31_list_idx":{"$size":2},"field34_str_idx":{"$gte":"tL"},"field14_dict_idx":{"$gt":{"d":2}}}]}},{"$sort":{"field27_bool_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1706054400000)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 4691,
|
||||
"docs" : 4691,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { d: 2.0 })"],"field34_str_idx":["({}, \"tL\"]"]}}}},
|
||||
"keys" : 1521,
|
||||
"docs" : 788,
|
||||
"sorts": 6,
|
||||
"plans": 8,
|
||||
"rows" : 3},
|
||||
@ -6052,17 +6052,17 @@
|
||||
"rows" : 48443},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field38_Timestamp":{"$gt":{"$timestamp":{"t":1704067200,"i":0}}},"field31_list_idx":{"$type":"int"},"$and":[{"field14_dict_idx":{"$lte":{"f":2}},"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1749913379,"i":0}}}},{"field39_Decimal128":{"$lt":{"$numberDecimal":"5.4"}},"field7_str_idx":{"$lt":"T"}}],"$or":[{"field27_bool_idx":{"$gte":false},"field47_Timestamp":{"$type":"timestamp"}},{"field9_bool_idx":{"$gte":true}},{"field18_bool_idx":{"$gt":true},"field12_Decimal128_idx":{"$lte":{"$numberDecimal":"23.2"}},"field26_int_idx":{"$gt":36}}]}},{"$project":{"field22_list_idx":1,"field36_bool":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["[{ f: 2.0 }, {}]"],"field34_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 97085,
|
||||
"docs" : 97085,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"T\")"],"field20_Timestamp_idx":["[Timestamp(1749913379, 0), Timestamp(0, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 28719,
|
||||
"docs" : 19289,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 9089},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field31_list_idx":{"$lt":58},"field22_list_idx":{"$type":"int"},"field42_mixed":{"$lt":true}},{"$or":[{"field7_str_idx":{"$eq":"ku"},"field13_list_idx":{"$size":15},"field41_dict":{"$lt":{"b":1,"e":1}},"field46_datetime":{"$gte":"2024-02-16T00:00:00.000Z"}},{"field10_datetime_idx":{"$lt":"2024-02-05T00:00:00.000Z"},"field2_Timestamp_idx":{"$gt":{"$timestamp":{"t":1717655360,"i":0}}},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"8.4"}}}]},{"$nor":[{"field22_list_idx":{"$all":[67,115,18,55,62,54,193,69]},"field26_int_idx":{"$gt":64}},{"field25_str_idx":{"$eq":"N"},"field15_mixed_idx":{"$eq":"2024-02-09T00:00:00.000Z"}}]}],"field40_list":{"$size":2},"field23_dict_idx":{"$gte":{"b":6}}}},{"$sort":{"field19_datetime_idx":1,"field25_str_idx":-1}},{"$project":{"field19_datetime_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ b: 6.0 }, [])"]}}}}},
|
||||
"keys" : 27064,
|
||||
"docs" : 27064,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"ku\", \"ku\"]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field30_Decimal128_idx_-1_field23_dict_idx_1","indexBounds":{"field30_Decimal128_idx":["(8.4, -inf]"],"field23_dict_idx":["[{ b: 6.0 }, [])"]}}}]}}}},
|
||||
"keys" : 26942,
|
||||
"docs" : 40681,
|
||||
"sorts": 13648,
|
||||
"plans": 7,
|
||||
"rows" : 1626},
|
||||
@ -6220,9 +6220,9 @@
|
||||
"rows" : 81},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field40_list":"k","field38_Timestamp":{"$gte":{"$timestamp":{"t":1704067200,"i":0}}},"field14_dict_idx":{"$gt":{"c":1,"b":2,"d":1}}},{"$or":[{"$or":[{"field6_mixed_idx":{"$all":[56752,5051,48922,97608,7819]},"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"7.2"}}},{"field28_datetime_idx":{"$lt":"2024-01-08T00:00:00.000Z"},"field46_datetime":{"$lte":"2024-03-10T00:00:00.000Z"}}]},{"field24_mixed_idx":{"$regex":{"$regex":"^x","$options":""}},"field33_mixed_idx":{"$lt":74}},{"field4_list_idx":{"$size":13},"field6_mixed_idx":{"$lt":"j"},"field19_datetime_idx":{"$gt":"2024-01-28T00:00:00.000Z"}},{"field42_mixed":{"$gt":{"f":1,"b":2}},"field40_list":{"$size":15},"field24_mixed_idx":{"$size":5}}]},{"field14_dict_idx":{"$exists":false},"field4_list_idx":76,"field22_list_idx":{"$ne":43}}],"$or":[{"field28_datetime_idx":{"$lte":"2024-01-17T00:00:00.000Z"},"field20_Timestamp_idx":{"$gt":{"$timestamp":{"t":1750130401,"i":0}}},"field42_mixed":{"$lt":{"c":3}}},{"field22_list_idx":{"$elemMatch":{"$size":6}},"field24_mixed_idx":{"$timestamp":{"t":1767139200,"i":0}}},{"field8_int_idx":{"$lte":628},"field7_str_idx":{"$gt":"mXea"},"field35_int_idx":{"$exists":true}}],"field6_mixed_idx":{"$eq":false},"field24_mixed_idx":{"$lte":"m"}}},{"$project":{"field10_datetime_idx":1,"field31_list_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[false, false]"]}}}},
|
||||
"keys" : 68872,
|
||||
"docs" : 68872,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["(\"mXea\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[false, false]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1750130401, 0))"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[Timestamp(1767139200, 0), Timestamp(1767139200, 0)]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 108688,
|
||||
"docs" : 117807,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 3068},
|
||||
@ -6404,9 +6404,9 @@
|
||||
"rows" : 89114},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field34_str_idx":{"$regex":{"$regex":"h","$options":""}},"field35_int_idx":{"$lte":726},"field19_datetime_idx":{"$ne":"2024-01-03T00:00:00.000Z"},"$or":[{"field43_str":{"$ne":"y"},"field21_Decimal128_idx":{"$exists":false}},{"field4_list_idx":37,"field18_bool_idx":{"$gte":true}},{"$and":[{"field4_list_idx":{"$all":[]},"field10_datetime_idx":{"$gt":"2024-01-04T00:00:00.000Z"},"field7_str_idx":{"$lt":"Hh"}},{"field4_list_idx":{"$elemMatch":{"$size":19}},"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"1.45"}}}]},{"field19_datetime_idx":{"$gt":"2024-01-23T00:00:00.000Z"},"field13_list_idx":{"$size":9},"field25_str_idx":{"$lte":"DW"},"field29_Timestamp_idx":{"$lte":{"$timestamp":{"t":1736169852,"i":0}}}},{"$and":[{"field7_str_idx":{"$gt":"JgeX"},"field27_bool_idx":{"$lte":false},"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"3.4"}}},{"field45_bool":{"$gt":false},"field18_bool_idx":{"$exists":true}}]}]}},{"$project":{"field18_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})","[/h/, /h/]"],"field25_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 2019,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[true, true]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[MaxKey, MinKey]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field21_Decimal128_idx_-1","indexBounds":{"field21_Decimal128_idx":["[null, null]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})","[/h/, /h/]"],"field25_str_idx":["[\"DW\", \"\"]"]}}}]}}},
|
||||
"keys" : 125119,
|
||||
"docs" : 102105,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 8},
|
||||
@ -6428,9 +6428,9 @@
|
||||
"rows" : 96624},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field30_Decimal128_idx":{"$gt":{"$numberDecimal":"4.5"}},"field46_datetime":{"$type":"date"},"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1765760699,"i":0}}},"field1_datetime_idx":{"$lte":"2024-03-05T00:00:00.000Z"},"field6_mixed_idx":{"$nin":["z"]},"field9_bool_idx":{"$gt":false},"field11_Timestamp_idx":{"$gte":{"$timestamp":{"t":1732683651,"i":0}}},"field29_Timestamp_idx":{"$type":"timestamp"},"$or":[{"field25_str_idx":{"$eq":"hI"},"field33_mixed_idx":{"$ne":35}},{"field39_Decimal128":{"$lt":{"$numberDecimal":"6.2"}},"field35_int_idx":{"$gte":314},"field40_list":{"$elemMatch":{"$in":["w","k","n","b","o","f","c","p"],"$nin":[66,94]}}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field30_Decimal128_idx_-1_field23_dict_idx_1","indexBounds":{"field30_Decimal128_idx":["[inf, 4.5)"],"field23_dict_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 3920,
|
||||
"docs" : 3920,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field9_bool_idx_-1_field35_int_idx_1","indexBounds":{"field9_bool_idx":["[true, false)"],"field35_int_idx":["[314.0, inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"hI\", \"hI\"]"]}}}]}},
|
||||
"keys" : 1996,
|
||||
"docs" : 2068,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 3},
|
||||
@ -6452,9 +6452,9 @@
|
||||
"rows" : 88},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field4_list_idx":{"$nin":[]},"field31_list_idx":91,"field18_bool_idx":{"$lt":false}},{"field31_list_idx":96,"field33_mixed_idx":{"$eq":65},"field6_mixed_idx":false}],"$or":[{"field43_str":{"$gte":"u"},"field40_list":{"$regex":{"$regex":"b","$options":""}},"field23_dict_idx":{"$gte":{"b":3}}},{"$and":[{"field31_list_idx":{"$elemMatch":{"$nin":[51,149,50,68,43,48,10]}},"field34_str_idx":{"$regex":{"$regex":"sp","$options":""}}},{"field37_datetime":{"$gte":"2024-01-09T00:00:00.000Z"},"field24_mixed_idx":864},{"field3_Decimal128_idx":{"$exists":false},"field25_str_idx":{"$ne":"mw"}}]},{"field31_list_idx":{"$gt":43},"field7_str_idx":{"$ne":"ooZG"}}],"field13_list_idx":{"$type":"int"},"field25_str_idx":{"$gt":"K"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ b: 3.0 }, [])"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[864.0, 864.0]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[inf, 43.0)"],"field7_str_idx":["[MaxKey, \"ooZG\")","(\"ooZG\", MinKey]"]}}]}},
|
||||
"keys" : 33461,
|
||||
"docs" : 33460,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["(\"K\", {})"]}}},
|
||||
"keys" : 79473,
|
||||
"docs" : 79473,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 65},
|
||||
@ -6500,9 +6500,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field24_mixed_idx":{"$gte":{"$timestamp":{"t":1704067200,"i":0}}},"field31_list_idx":{"$lt":37},"field4_list_idx":{"$lte":56},"field10_datetime_idx":{"$exists":true},"field1_datetime_idx":{"$ne":"2024-02-15T00:00:00.000Z"},"field40_list":{"$lt":555},"field28_datetime_idx":{"$gte":"2024-01-09T00:00:00.000Z"},"field22_list_idx":{"$nin":[36,31,106,20]},"$nor":[{"field22_list_idx":{"$elemMatch":{"$size":11}},"field16_str_idx":{"$gt":"T"},"field35_int_idx":{"$eq":5562}},{"field20_Timestamp_idx":{"$gte":{"$timestamp":{"t":1759419570,"i":0}}},"field35_int_idx":{"$lte":9588},"field27_bool_idx":{"$gte":false}}]}},{"$project":{"field47_Timestamp":1,"field40_list":1,"field29_Timestamp_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(1704758400000), new Date(9223372036854775807)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 85,
|
||||
"docs" : 85,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1704067200, 0)]"],"field28_datetime_idx":["[new Date(1704758400000), new Date(9223372036854775807)]"]}}}},
|
||||
"keys" : 65,
|
||||
"docs" : 62,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 27},
|
||||
@ -6524,9 +6524,9 @@
|
||||
"rows" : 10966},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field40_list":{"$gte":21}},{"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"8.1"}},"field27_bool_idx":{"$eq":false},"field19_datetime_idx":{"$ne":"2024-02-09T00:00:00.000Z"}}],"$or":[{"$and":[{"field9_bool_idx":{"$gt":true},"field22_list_idx":{"$exists":false}},{"field24_mixed_idx":{"$size":17},"field21_Decimal128_idx":{"$exists":false},"field22_list_idx":{"$size":8},"field13_list_idx":{"$all":[46]}}]},{"field27_bool_idx":{"$lte":false},"field23_dict_idx":{"$gt":{"c":2}}},{"field41_dict":{"$type":"objectId"},"field14_dict_idx":{"$gt":{"i":1,"b":1,"d":1}}}],"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"100.3"}},"field26_int_idx":{"$lt":7},"field35_int_idx":{"$ne":336}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["(7.0, -inf]"],"field21_Decimal128_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 15429,
|
||||
"docs" : 15429,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field9_bool_idx_-1_field35_int_idx_1","indexBounds":{"field9_bool_idx":[],"field35_int_idx":["[MinKey, 336.0)","(336.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { i: 1.0, b: 1.0, d: 1.0 })"],"field34_str_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["({ c: 2.0 }, [])"]}}}]}},
|
||||
"keys" : 14301,
|
||||
"docs" : 27302,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 2},
|
||||
@ -6540,9 +6540,9 @@
|
||||
"rows" : 126},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field45_bool":{"$lte":true},"field25_str_idx":{"$exists":true},"$or":[{"field33_mixed_idx":{"$ne":9},"field31_list_idx":{"$lt":20}},{"field19_datetime_idx":{"$type":"date"},"field27_bool_idx":{"$gt":false}},{"$or":[{"field44_int":{"$type":"int"},"field24_mixed_idx":{"$gt":205}},{"field13_list_idx":{"$type":"int"},"field47_Timestamp":{"$eq":{"$timestamp":{"t":1756993998,"i":0}}}}]},{"field22_list_idx":{"$nin":[21,69]},"field6_mixed_idx":{"$in":[23940,94274,1,79745,38712,5576]},"field9_bool_idx":{"$lt":true},"field4_list_idx":[53,2]},{"field6_mixed_idx":{"$ne":"x"},"field43_str":{"$gt":"f"}}]}},{"$sort":{"field5_dict_idx":-1,"field21_Decimal128_idx":-1,"field18_bool_idx":1}},{"$project":{"field27_bool_idx":1,"field34_str_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[[ 53.0, 2.0 ], [ 53.0, 2.0 ]]","[53.0, 53.0]"],"field9_bool_idx":["[false, true)"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[MinKey, \"x\")","(\"x\", MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[nan, inf]"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[new Date(-9223372036854775808), new Date(9223372036854775807)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[inf, 205.0)"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(20.0, -inf]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}]}}}},
|
||||
"keys" : 429192,
|
||||
"docs" : 495086,
|
||||
"sorts": 1221602,
|
||||
"plans": 5,
|
||||
"rows" : 97801},
|
||||
@ -6836,9 +6836,9 @@
|
||||
"rows" : 9033},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field7_str_idx":{"$regex":{"$regex":"jnqK","$options":""}},"field21_Decimal128_idx":{"$ne":{"$numberDecimal":"2.4"}},"field10_datetime_idx":{"$exists":false},"field4_list_idx":{"$exists":false}},{"field13_list_idx":{"$in":[40]},"field35_int_idx":{"$type":"int"},"field45_bool":{"$gte":true},"field36_bool":{"$gt":false},"field4_list_idx":{"$regex":{"$regex":"p","$options":""}}},{"field0_bool_idx":{"$type":"bool"},"field13_list_idx":{"$nin":[38,54,55,84,5,95,21,20,12]}}],"field35_int_idx":{"$lte":8086},"field41_dict":{"$lte":{"b":2,"h":1}}}},{"$project":{"field35_int_idx":1,"field12_Decimal128_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[8086.0, -inf]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 97084,
|
||||
"docs" : 97084,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field0_bool_idx_1","indexBounds":{"field0_bool_idx":["[false, true]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[40.0, 40.0]"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[8086.0, -inf]"],"field10_datetime_idx":["[null, null]"]}}}]}}},
|
||||
"keys" : 106540,
|
||||
"docs" : 198054,
|
||||
"sorts": 0,
|
||||
"plans": 6,
|
||||
"rows" : 63703},
|
||||
@ -6908,9 +6908,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"field24_mixed_idx":{"$regex":{"$regex":"b","$options":""}},"field42_mixed":{"$gt":{"b":7}}},{"field7_str_idx":{"$lt":"Wgd"},"field24_mixed_idx":{"$regex":{"$regex":"^x","$options":""}},"field14_dict_idx":{"$gte":{"c":1}},"field1_datetime_idx":{"$eq":"2024-05-29T00:00:00.000Z"}}]},{"field22_list_idx":[27,52,26,43],"field40_list":{"$eq":"o"}},{"field28_datetime_idx":{"$type":"date"},"field13_list_idx":{"$lte":11},"field11_Timestamp_idx":{"$lte":{"$timestamp":{"t":1762715599,"i":0}}}}],"field36_bool":{"$type":"bool"},"field14_dict_idx":{"$lt":{"b":4,"d":1}}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field1_datetime_idx_1","indexBounds":{"field1_datetime_idx":["[new Date(1716940800000), new Date(1716940800000)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field22_list_idx_1","indexBounds":{"field22_list_idx":["[27.0, 27.0]","[[ 27.0, 52.0, 26.0, 43.0 ], [ 27.0, 52.0, 26.0, 43.0 ]]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[/b/, /b/]","({}, \"\"]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(9223372036854775807)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}]}},
|
||||
"keys" : 24326,
|
||||
"docs" : 27228,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[-inf, 11.0]"],"field28_datetime_idx":["[new Date(9223372036854775807), new Date(-9223372036854775808)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":[],"field34_str_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field22_list_idx_1","indexBounds":{"field22_list_idx":["[27.0, 27.0]","[[ 27.0, 52.0, 26.0, 43.0 ], [ 27.0, 52.0, 26.0, 43.0 ]]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[/b/, /b/]","({}, \"\"]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}}]}},
|
||||
"keys" : 24993,
|
||||
"docs" : 27190,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 125},
|
||||
@ -7044,9 +7044,9 @@
|
||||
"rows" : 1432},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field19_datetime_idx":{"$type":"date"},"field14_dict_idx":{"$ne":{"j":2,"b":1}},"field28_datetime_idx":{"$exists":false},"field22_list_idx":{"$size":1},"field13_list_idx":{"$lt":26}}},{"$project":{"field32_dict_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["[MaxKey, { j: 2.0, b: 1.0 })","({ j: 2.0, b: 1.0 }, MinKey]"],"field34_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 99994,
|
||||
"docs" : 99993,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[-inf, 26.0)"],"field28_datetime_idx":["[null, null]"]}}}},
|
||||
"keys" : 109350,
|
||||
"docs" : 94993,
|
||||
"sorts": 0,
|
||||
"plans": 4,
|
||||
"rows" : 2997},
|
||||
@ -7380,9 +7380,9 @@
|
||||
"rows" : 32472},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field31_list_idx":{"$nin":[13,83]},"field11_Timestamp_idx":{"$lt":{"$timestamp":{"t":1766678471,"i":0}}},"$nor":[{"$or":[{"field18_bool_idx":{"$gte":false},"field6_mixed_idx":{"$size":16},"field22_list_idx":4},{"$and":[{"field24_mixed_idx":{"$elemMatch":{"$gt":824}},"field0_bool_idx":{"$ne":false},"field15_mixed_idx":{"$eq":"2024-03-27T00:00:00.000Z"}},{"field13_list_idx":[1,15,193,14,74,11],"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"2.7"}},"field24_mixed_idx":{"$ne":{"$timestamp":{"t":1767139200,"i":0}}}},{"field20_Timestamp_idx":{"$gte":{"$timestamp":{"t":1727426630,"i":0}}},"field47_Timestamp":{"$gt":{"$timestamp":{"t":1735189051,"i":0}}}},{"field37_datetime":{"$gt":"2024-07-03T00:00:00.000Z"},"field6_mixed_idx":5545}]},{"field40_list":{"$elemMatch":{"$size":1}},"field30_Decimal128_idx":{"$gt":{"$numberDecimal":"2.39"}},"field5_dict_idx":{"$eq":{"b":1,"c":4}}}]},{"field27_bool_idx":{"$ne":false},"field22_list_idx":{"$elemMatch":{"$all":[]}}}],"$or":[{"field44_int":{"$lt":24330},"field14_dict_idx":{"$gte":{"b":1,"g":2}}},{"field16_str_idx":{"$gt":"Ta"},"field32_dict_idx":{"$ne":{"b":7}},"field31_list_idx":{"$size":15},"field7_str_idx":{"$regex":{"$regex":"^peh","$options":""}}}],"field6_mixed_idx":{"$nin":[67120,77531,69494,4819,38212,64708]},"field34_str_idx":{"$lt":"R"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", \"R\")"],"field25_str_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 32477,
|
||||
"docs" : 32477,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { b: 1.0, g: 2.0 }]"],"field34_str_idx":["(\"R\", \"\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[MaxKey, 83.0)","(83.0, 13.0)","(13.0, MinKey]"],"field7_str_idx":["[/^peh/, /^peh/]","(\"pei\", \"peh\"]"]}}}]}},
|
||||
"keys" : 15934,
|
||||
"docs" : 27818,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 13295},
|
||||
@ -7492,9 +7492,9 @@
|
||||
"rows" : 27626},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field17_int_idx":{"$gte":680},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"3.5"}},"field24_mixed_idx":{"$lte":922},"$or":[{"field31_list_idx":{"$lt":24},"field34_str_idx":{"$lte":"PG"},"field15_mixed_idx":{"$lt":543},"field14_dict_idx":{"$gte":{"c":2}}},{"field24_mixed_idx":{"$elemMatch":{"$nin":[],"$size":1}},"field28_datetime_idx":{"$lte":"2024-01-21T00:00:00.000Z"}}],"field11_Timestamp_idx":{"$type":"timestamp"},"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1726986325,"i":0}}}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[922.0, -inf]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 9604,
|
||||
"docs" : 9604,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { c: 2.0 }]"],"field34_str_idx":["[\"PG\", \"\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[922.0, -inf]"],"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705795200000)]"]}}}]}},
|
||||
"keys" : 6636,
|
||||
"docs" : 5130,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 4},
|
||||
@ -7524,9 +7524,9 @@
|
||||
"rows" : 81},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field4_list_idx":[14,29,67,91],"field31_list_idx":{"$lt":38}},{"field6_mixed_idx":{"$gte":false},"field25_str_idx":{"$gte":"eo"},"field27_bool_idx":{"$eq":false}}],"$and":[{"field14_dict_idx":{"$gte":{"i":1,"b":4}},"field31_list_idx":{"$lt":220}},{"field7_str_idx":{"$type":"string"},"field32_dict_idx":{"$gte":{"b":8}}},{"field10_datetime_idx":{"$type":"date"},"field28_datetime_idx":{"$ne":"2024-03-03T00:00:00.000Z"}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[[ 14.0, 29.0, 67.0, 91.0 ], [ 14.0, 29.0, 67.0, 91.0 ]]","[14.0, 14.0]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[false, true]"]}}}]}},
|
||||
"keys" : 69636,
|
||||
"docs" : 97836,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"eo\", {})"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(38.0, -inf]"],"field7_str_idx":["({}, \"\"]"]}}}]}},
|
||||
"keys" : 155762,
|
||||
"docs" : 168620,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 10},
|
||||
@ -7540,9 +7540,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$and":[{"field26_int_idx":{"$lte":71},"field16_str_idx":{"$lte":"Si"}},{"field6_mixed_idx":{"$nin":[]},"field40_list":{"$all":[51,45,161,31,27,19,158,625]},"field33_mixed_idx":{"$lt":85}},{"field21_Decimal128_idx":{"$ne":{"$numberDecimal":"6.3"}},"field31_list_idx":[70,112,12,26,39],"field32_dict_idx":{"$gte":{"b":19}},"field22_list_idx":91},{"field40_list":[29,11,20,22],"field35_int_idx":{"$ne":4334},"field31_list_idx":{"$ne":50},"field4_list_idx":{"$size":7}}]},{"field37_datetime":{"$type":"date"},"field7_str_idx":{"$lt":"mmf"}}],"field20_Timestamp_idx":{"$gte":{"$timestamp":{"t":1753113733,"i":0}}},"field36_bool":{"$ne":false}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1753113733, 0)]"]}}},
|
||||
"keys" : 39890,
|
||||
"docs" : 39890,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"mmf\")"],"field20_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1753113733, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field22_list_idx_1","indexBounds":{"field22_list_idx":["[91.0, 91.0]"]}}}]}},
|
||||
"keys" : 52894,
|
||||
"docs" : 59533,
|
||||
"sorts": 0,
|
||||
"plans": 10,
|
||||
"rows" : 29048},
|
||||
@ -7684,9 +7684,9 @@
|
||||
"rows" : 295},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field16_str_idx":{"$lte":"mR"},"field6_mixed_idx":false,"field22_list_idx":{"$gte":20},"field45_bool":{"$lt":true},"$or":[{"$and":[{"field34_str_idx":{"$eq":"Q"},"field40_list":{"$exists":true},"field6_mixed_idx":{"$ne":true},"field31_list_idx":{"$nin":[59]}},{"field32_dict_idx":{"$gte":{"b":23}},"field23_dict_idx":{"$gte":{"f":1}}}]},{"field8_int_idx":{"$eq":257},"field12_Decimal128_idx":{"$eq":{"$numberDecimal":"7.2"}}},{"$and":[{"field19_datetime_idx":{"$lt":"2024-02-19T00:00:00.000Z"},"field31_list_idx":{"$eq":2},"field7_str_idx":{"$gte":"w"},"field21_Decimal128_idx":{"$ne":{"$numberDecimal":"5.4"}}},{"field5_dict_idx":{"$lte":{"i":1}},"field44_int":{"$lt":55}}]}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[false, false]"]}}},
|
||||
"keys" : 68872,
|
||||
"docs" : 68872,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"w\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[false, false]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field12_Decimal128_idx_1","indexBounds":{"field12_Decimal128_idx":["[7.2, 7.2]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ f: 1.0 }, [])"]}}}]}},
|
||||
"keys" : 11694,
|
||||
"docs" : 9865,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 3},
|
||||
@ -7876,9 +7876,9 @@
|
||||
"rows" : 14},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field25_str_idx":{"$lte":"Dz"},"field18_bool_idx":{"$eq":true}},{"field13_list_idx":26,"field33_mixed_idx":{"$gte":57},"field6_mixed_idx":{"$regex":{"$regex":"k","$options":""}}}],"field14_dict_idx":{"$gte":{"c":4}},"field27_bool_idx":{"$gte":false},"field9_bool_idx":{"$gte":false},"$or":[{"field18_bool_idx":{"$gte":false},"field6_mixed_idx":false,"field31_list_idx":{"$all":[21]}},{"field13_list_idx":127,"field34_str_idx":{"$gte":"D"},"field11_Timestamp_idx":{"$eq":{"$timestamp":{"t":1748232669,"i":0}}}}]}},{"$sort":{"field34_str_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[false, false]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field11_Timestamp_idx_1","indexBounds":{"field11_Timestamp_idx":["[Timestamp(1748232669, 0), Timestamp(1748232669, 0)]"]}}}]}}},
|
||||
"keys" : 68873,
|
||||
"docs" : 68890,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { c: 4.0 }]"],"field34_str_idx":["({}, \"D\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[21.0, 21.0]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}]}}},
|
||||
"keys" : 11440,
|
||||
"docs" : 11307,
|
||||
"sorts": 10,
|
||||
"plans": 10,
|
||||
"rows" : 4},
|
||||
@ -7948,8 +7948,8 @@
|
||||
"rows" : 362},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$exists":true},"field9_bool_idx":{"$lte":false},"$or":[{"$or":[{"field40_list":{"$elemMatch":{"$in":["s"]}},"field7_str_idx":{"$ne":"oWO"}},{"field19_datetime_idx":{"$gte":"2024-01-17T00:00:00.000Z"},"field4_list_idx":{"$regex":{"$regex":"e","$options":""}},"field5_dict_idx":{"$exists":false}}]},{"$and":[{"field5_dict_idx":{"$type":"objectId"},"field28_datetime_idx":{"$lte":"2024-01-03T00:00:00.000Z"}},{"field1_datetime_idx":{"$type":"date"},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"7.5"}},"field45_bool":{"$lte":true}},{"field42_mixed":{"$type":"bool"},"field26_int_idx":{"$gt":70}}]},{"field14_dict_idx":{"$ne":{"f":6}},"field5_dict_idx":{"$exists":false},"field43_str":{"$ne":"b"},"field39_Decimal128":{"$gte":{"$numberDecimal":"9.2"}}}]}},{"$sort":{"field18_bool_idx":-1,"field23_dict_idx":1,"field3_Decimal128_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field9_bool_idx_-1_field35_int_idx_1","indexBounds":{"field9_bool_idx":["[false, false]"],"field35_int_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 88249,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[MaxKey, MinKey]"],"field9_bool_idx":["[false, false]"]}}}},
|
||||
"keys" : 102100,
|
||||
"docs" : 88249,
|
||||
"sorts": 3,
|
||||
"plans": 8,
|
||||
@ -8268,7 +8268,7 @@
|
||||
"rows" : 96224}
|
||||
|
||||
],
|
||||
">>>totals": {"pipelines": 1032, "plans": 7958, "keys": 31334365, "docs": 30845340, "sorts": 12722495, "rows": 10011323, "errors": 0},
|
||||
">>>totals": {"pipelines": 1032, "plans": 7958, "keys": 32364735, "docs": 32049676, "sorts": 12722495, "rows": 10011323, "errors": 0},
|
||||
">>>parameters": {"featureFlagCostBasedRanker":{"value":true,"version":"8.3","fcv_gated":false,"currentlyEnabled":true},"internalQueryCBRCEMode":"automaticCE","samplingMarginOfError":5,"samplingConfidenceInterval":"95","internalQuerySamplingCEMethod":"chunk","internalQuerySamplingBySequentialScan":true,"automaticCEPlanRankingStrategy":"HistogramCEWithHeuristicFallback"}}
|
||||
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
{">>>pipelines":[
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"d_compound":{"$exists":false}},{"d_idx":{"$gte":19}},{"a_compound":{"$all":[13,19,6]}}],"i_compound":{"$in":[2,7]},"z_compound":{"$nin":[5,14]}}},{"$limit":31}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[2.0, 2.0]","[7.0, 7.0]"]}}}},
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1_z_compound_1","indexBounds":{"i_compound":["[2.0, 2.0]","[7.0, 7.0]"],"z_compound":["[MinKey, 5.0)","(5.0, 14.0)","(14.0, MaxKey]"]}}}},
|
||||
"keys" : 4,
|
||||
"docs" : 2,
|
||||
"sorts": 0,
|
||||
@ -92,9 +92,9 @@
|
||||
"rows" : 138},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"d_noidx":{"$exists":true}},{"a_idx":{"$elemMatch":{"$exists":true}}},{"a_idx":{"$elemMatch":{"$nin":[9,8,6,4,4,18]}}},{"$nor":[{"a_compound":{"$all":[9,17,2]}},{"k_compound":{"$exists":false}}]}],"a_noidx":{"$gt":19}}},{"$sort":{"d_idx":-1,"h_idx":1}},{"$limit":19},{"$skip":6},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 9.0)","(9.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"]}}}]}}}}},
|
||||
"keys" : 927982,
|
||||
"docs" : 300000,
|
||||
"sorts": 394365,
|
||||
"plans": 14,
|
||||
"rows" : 13},
|
||||
@ -212,9 +212,9 @@
|
||||
"rows" : 200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$nor":[{"i_idx":{"$in":[2,11]}},{"a_compound":{"$all":[8,16]}}]},{"k_compound":{"$gt":9}}],"a_idx":{"$gt":16}}},{"$sort":{"c_idx":1,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["(9.0, inf]"]}}}},
|
||||
"keys" : 99000,
|
||||
"docs" : 99000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["(9.0, inf]"],"a_compound":["[MinKey, 8.0)","(8.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 16.0)","(16.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 924177,
|
||||
"docs" : 298999,
|
||||
"sorts": 1237677,
|
||||
"plans": 13,
|
||||
"rows" : 98992},
|
||||
@ -284,9 +284,9 @@
|
||||
"rows" : 44},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[8,16]}},{"a_idx":{"$gt":20}}],"i_noidx":{"$gte":20},"k_compound":{"$ne":9}}},{"$limit":9}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, MaxKey]"]}}}},
|
||||
"keys" : 99901,
|
||||
"docs" : 99900,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, MaxKey]"],"a_compound":["[MinKey, 8.0)","(8.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 16.0)","(16.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 926678,
|
||||
"docs" : 299899,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 1},
|
||||
@ -452,9 +452,9 @@
|
||||
"rows" : 240},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[19,20]}},{"k_compound":{"$exists":false}}],"i_idx":{"$gte":11}}},{"$sort":{"a_idx":1,"i_idx":1}},{"$skip":16},{"$project":{"_id":0,"h_noidx":1,"k_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_idx_1","indexBounds":{"i_idx":["[11.0, inf]"]}}}}}},
|
||||
"keys" : 99989,
|
||||
"docs" : 99989,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 19.0)","(19.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 20.0)","(20.0, MaxKey]"]}}}]}}}}},
|
||||
"keys" : 935893,
|
||||
"docs" : 300000,
|
||||
"sorts": 1251144,
|
||||
"plans": 12,
|
||||
"rows" : 99973},
|
||||
@ -748,9 +748,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$exists":false}},{"a_compound":{"$gte":8}},{"a_noidx":{"$elemMatch":{"$exists":false}}}],"$or":[{"z_idx":{"$exists":true}},{"a_compound":{"$elemMatch":{"$gt":11}}},{"a_compound":{"$elemMatch":{"$exists":true}}}],"d_compound":{"$nin":[18,2]}}},{"$limit":236}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1","indexBounds":{"d_compound":["[MinKey, 2.0)","(2.0, 18.0)","(18.0, MaxKey]"]}}}},
|
||||
"keys" : 90001,
|
||||
"docs" : 90000,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 8.0)","(inf, MaxKey]"]}}}},
|
||||
"keys" : 170836,
|
||||
"docs" : 99978,
|
||||
"sorts": 0,
|
||||
"plans": 15,
|
||||
"rows" : 7},
|
||||
@ -1052,8 +1052,8 @@
|
||||
"rows" : 158},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"i_compound":{"$nin":[8,18,13]}},{"a_compound":{"$exists":true}},{"$or":[{"z_noidx":{"$gt":1}},{"a_noidx":{"$elemMatch":{"$exists":true,"$in":[20,20],"$nin":[2,10]}}},{"a_compound":{"$exists":true}}]},{"$nor":[{"z_noidx":{"$gte":9}},{"a_compound":{"$all":[8,16,12,3,17]}},{"a_compound":{"$in":[5,15,12]}}]}]}},{"$sort":{"d_idx":1,"z_idx":1}},{"$limit":86}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[MinKey, 8.0)","(8.0, 13.0)","(13.0, 18.0)","(18.0, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"],"i_compound":["[MinKey, 8.0)","(8.0, 13.0)","(13.0, 18.0)","(18.0, MaxKey]"]}}}},
|
||||
"keys" : 468941,
|
||||
"docs" : 99997,
|
||||
"sorts": 471708,
|
||||
"plans": 16,
|
||||
@ -1108,9 +1108,9 @@
|
||||
"rows" : 132},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"d_idx":{"$eq":14}},{"a_compound":{"$nin":[9,11,2]}},{"$and":[{"k_compound":{"$in":[5,10,19]}},{"a_compound":{"$ne":6}}]}],"a_noidx":{"$in":[1,10,13]}}},{"$sort":{"c_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[2.0, 2.0]","[9.0, 9.0]","[11.0, 11.0]"]}}}},
|
||||
"keys" : 49812,
|
||||
"docs" : 46159,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 5.0)","(5.0, 10.0)","(10.0, 19.0)","(19.0, MaxKey]"],"a_compound":["[2.0, 2.0]","[9.0, 9.0]","[11.0, 11.0]"]}},{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[6.0, 6.0]"]}}]}}},
|
||||
"keys" : 63508,
|
||||
"docs" : 53482,
|
||||
"sorts": 125111,
|
||||
"plans": 8,
|
||||
"rows" : 12035},
|
||||
@ -1140,9 +1140,9 @@
|
||||
"rows" : 97000},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"a_compound":{"$elemMatch":{"$lte":2}}},{"$and":[{"$nor":[{"a_noidx":{"$elemMatch":{"$exists":false}}},{"z_noidx":{"$exists":true}}]},{"a_idx":{"$elemMatch":{"$gte":10}}}]},{"a_idx":{"$elemMatch":{"$exists":true}}},{"i_compound":{"$exists":false}}]},{"k_compound":{"$gte":20}}],"a_compound":{"$eq":2},"d_noidx":{"$eq":8}}},{"$sort":{"d_idx":1,"z_idx":1}},{"$limit":86},{"$skip":5}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[2.0, 2.0]"]}}}}},
|
||||
"keys" : 38792,
|
||||
"docs" : 38792,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[10.0, inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[MinKey, MaxKey]"]}}},{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[20.0, inf]"],"a_compound":["[2.0, 2.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[2.0, 2.0]"],"i_compound":["[null, null]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[-inf, 2.0]"]}}}]}}}},
|
||||
"keys" : 881219,
|
||||
"docs" : 379312,
|
||||
"sorts": 17105,
|
||||
"plans": 12,
|
||||
"rows" : 81},
|
||||
@ -1348,9 +1348,9 @@
|
||||
"rows" : 254},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[19,2,19]}},{"i_noidx":{"$lte":6}},{"z_compound":{"$in":[19,4,8]}}],"a_compound":{"$nin":[20,20,7]},"k_compound":{"$ne":4}}},{"$sort":{"i_idx":1,"k_idx":-1}},{"$limit":70},{"$project":{"a_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 4.0)","(4.0, 8.0)","(8.0, 19.0)","(19.0, MaxKey]"]}}}}},
|
||||
"keys" : 92012,
|
||||
"docs" : 92010,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 4.0)","(4.0, MaxKey]"],"a_compound":["[MinKey, 7.0)","(7.0, 20.0)","(20.0, MaxKey]"]}}}}},
|
||||
"keys" : 457730,
|
||||
"docs" : 99900,
|
||||
"sorts": 426068,
|
||||
"plans": 15,
|
||||
"rows" : 70},
|
||||
@ -1476,9 +1476,9 @@
|
||||
"rows" : 15},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[9,12]}},{"a_compound":{"$exists":false}}],"k_compound":{"$exists":true}}},{"$sort":{"c_idx":1,"z_idx":-1}},{"$limit":51}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 9.0)","(9.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 12.0)","(12.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 926983,
|
||||
"docs" : 300000,
|
||||
"sorts": 493183,
|
||||
"plans": 13,
|
||||
"rows" : 51},
|
||||
@ -1820,9 +1820,9 @@
|
||||
"rows" : 99991},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_noidx":{"$gt":18}},{"$nor":[{"c_compound":{"$nin":[16,4,14,2,12]}},{"i_compound":{"$in":[2,14,11]}},{"k_compound":{"$in":[8,7]}}]}],"d_compound":{"$gte":3}}},{"$limit":28}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1","indexBounds":{"d_compound":["[3.0, inf]"]}}}},
|
||||
"keys" : 70000,
|
||||
"docs" : 70000,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[7.0, 7.0]","[8.0, 8.0]"]}},{"stage":"IXSCAN","indexName":"c_compound_1_d_compound_1","indexBounds":{"c_compound":["[MinKey, 2.0)","(2.0, 4.0)","(4.0, 12.0)","(12.0, 14.0)","(14.0, 16.0)","(16.0, MaxKey]"],"d_compound":["[3.0, inf]"]}},{"stage":"IXSCAN","indexName":"i_compound_1_z_compound_1","indexBounds":{"i_compound":["[2.0, 2.0]","[11.0, 11.0]","[14.0, 14.0]"],"z_compound":["[MinKey, MaxKey]"]}}]}}},
|
||||
"keys" : 70208,
|
||||
"docs" : 70002,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 13},
|
||||
@ -2068,9 +2068,9 @@
|
||||
"rows" : 84},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$in":[6,2]}},{"a_compound":{"$all":[15,16,2,3]}},{"c_idx":{"$gt":9}}],"a_idx":{"$elemMatch":{"$gt":8}},"z_compound":{"$nin":[7,19,18]}}},{"$sort":{"k_idx":1,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 7.0)","(7.0, 18.0)","(18.0, 19.0)","(19.0, MaxKey]"]}}}},
|
||||
"keys" : 99717,
|
||||
"docs" : 99716,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 6.0)","(6.0, MaxKey]"],"a_compound":["[MinKey, 15.0)","(15.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 936325,
|
||||
"docs" : 299800,
|
||||
"sorts": 1244672,
|
||||
"plans": 16,
|
||||
"rows" : 99510},
|
||||
@ -2172,8 +2172,8 @@
|
||||
"rows" : 1385},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"c_compound":{"$in":[5,11]}},{"$and":[{"h_noidx":{"$exists":false}},{"i_compound":{"$in":[14,12,13]}}]},{"z_compound":{"$nin":[7,2]}}],"a_compound":{"$nin":[9,2,17]}}},{"$sort":{"d_idx":-1,"i_idx":1,"k_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[12.0, 12.0]","[13.0, 13.0]","[14.0, 14.0]"]}}},{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 2.0)","(2.0, 7.0)","(7.0, MaxKey]"]}},{"stage":"IXSCAN","indexName":"c_compound_1","indexBounds":{"c_compound":["[5.0, 5.0]","[11.0, 11.0]"]}}]}}},
|
||||
"keys" : 67772,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"c_compound_1","indexBounds":{"c_compound":["[5.0, 5.0]","[11.0, 11.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, 2.0)","(2.0, 9.0)","(9.0, 17.0)","(17.0, MaxKey]"],"i_compound":["[12.0, 12.0]","[13.0, 13.0]","[14.0, 14.0]"]}}},{"stage":"IXSCAN","indexName":"z_compound_1_c_compound_1","indexBounds":{"z_compound":["[MinKey, 2.0)","(2.0, 7.0)","(7.0, MaxKey]"],"c_compound":["[MinKey, MaxKey]"]}}]}}},
|
||||
"keys" : 167783,
|
||||
"docs" : 67769,
|
||||
"sorts": 637512,
|
||||
"plans": 12,
|
||||
@ -2252,9 +2252,9 @@
|
||||
"rows" : 100000},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_compound":{"$ne":13}},{"$and":[{"a_compound":{"$all":[10,3,19]}},{"a_idx":{"$all":[4,12,5,19]}},{"i_compound":{"$ne":7}},{"a_noidx":{"$all":[2,11]}}]}],"a_compound":{"$elemMatch":{"$in":[6,3],"$lt":9,"$nin":[9,9]}},"a_noidx":{"$eq":5},"k_compound":{"$nin":[11,20]}}},{"$sort":{"k_idx":-1}},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[3.0, 3.0]","[6.0, 6.0]"]}}}}},
|
||||
"keys" : 36661,
|
||||
"docs" : 34764,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[4.0, 4.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 11.0)","(11.0, 20.0)","(20.0, MaxKey]"],"a_compound":["[MinKey, 13.0)","(13.0, MaxKey]"]}}}]}}}},
|
||||
"keys" : 484285,
|
||||
"docs" : 215694,
|
||||
"sorts": 20611,
|
||||
"plans": 15,
|
||||
"rows" : 2352},
|
||||
@ -2316,9 +2316,9 @@
|
||||
"rows" : 99985},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$and":[{"a_compound":{"$exists":false}},{"a_idx":{"$exists":false}}]},{"d_compound":{"$lte":18}}],"k_compound":{"$nin":[9,11,15]}}},{"$sort":{"d_idx":1,"z_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, 11.0)","(11.0, 15.0)","(15.0, MaxKey]"]}}}},
|
||||
"keys" : 99703,
|
||||
"docs" : 99700,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 9.0)","(9.0, 11.0)","(11.0, 15.0)","(15.0, MaxKey]"],"a_compound":["[null, null]"]}}},{"stage":"IXSCAN","indexName":"d_compound_1","indexBounds":{"d_compound":["[-inf, 18.0]"]}}]}}},
|
||||
"keys" : 101000,
|
||||
"docs" : 100000,
|
||||
"sorts": 1247239,
|
||||
"plans": 11,
|
||||
"rows" : 99700},
|
||||
@ -2364,9 +2364,9 @@
|
||||
"rows" : 86420},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[12,5,14]}},{"a_compound":{"$gte":6}},{"k_compound":{"$exists":false}}],"z_noidx":{"$nin":[5,18]}}},{"$sort":{"a_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 5.0)","(5.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 926306,
|
||||
"docs" : 300000,
|
||||
"sorts": 17,
|
||||
"plans": 15,
|
||||
"rows" : 6},
|
||||
@ -2412,7 +2412,7 @@
|
||||
"rows" : 55},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_compound":{"$in":[11,15,9]}},{"a_noidx":{"$elemMatch":{"$ne":15,"$nin":[20,15,13]}}},{"$nor":[{"a_compound":{"$all":[19,12,20]}},{"i_compound":{"$in":[8,16]}},{"a_compound":{"$exists":false}}]}],"a_idx":{"$in":[3,1]}}},{"$sort":{"k_idx":-1}},{"$project":{"_id":0,"z_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[9.0, 9.0]","[11.0, 11.0]","[15.0, 15.0]"]}}}}},
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[9.0, 9.0]","[11.0, 11.0]","[15.0, 15.0]"],"i_compound":["[MinKey, 8.0)","(8.0, 16.0)","(16.0, MaxKey]"]}}}}},
|
||||
"keys" : 12020,
|
||||
"docs" : 12016,
|
||||
"sorts": 69551,
|
||||
@ -2956,9 +2956,9 @@
|
||||
"rows" : 400},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"z_noidx":{"$in":[3,18,17]}},{"d_idx":{"$gt":5}},{"a_compound":{"$exists":false}},{"a_compound":{"$all":[13,20,5]}},{"d_compound":{"$exists":false}}],"k_compound":{"$nin":[8,13]}}},{"$project":{"_id":0,"a_noidx":1,"d_noidx":1,"k_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_idx_1","indexBounds":{"d_idx":["[MinKey, 5.0]","(inf, MaxKey]"]}}}},
|
||||
"keys" : 60001,
|
||||
"docs" : 60000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1_k_compound_1","indexBounds":{"d_compound":["[MinKey, MaxKey]"],"k_compound":["[MinKey, 8.0)","(8.0, 13.0)","(13.0, MaxKey]"]}}}},
|
||||
"keys" : 99802,
|
||||
"docs" : 99800,
|
||||
"sorts": 0,
|
||||
"plans": 17,
|
||||
"rows" : 49413},
|
||||
@ -2996,9 +2996,9 @@
|
||||
"rows" : 200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_noidx":{"$elemMatch":{"$gt":13}}},{"$and":[{"c_compound":{"$lte":19}},{"a_compound":{"$elemMatch":{"$nin":[2,9]}}}]},{"$and":[{"z_noidx":{"$nin":[7,9]}},{"k_compound":{"$gte":1}}]}],"a_compound":{"$elemMatch":{"$gte":16}},"k_compound":{"$exists":true}}},{"$sort":{"a_idx":-1,"k_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[1.0, inf]"]}}}},
|
||||
"keys" : 99900,
|
||||
"docs" : 99900,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[1.0, inf]"],"a_compound":["[16.0, inf]"]}}}},
|
||||
"keys" : 273899,
|
||||
"docs" : 99885,
|
||||
"sorts": 1245726,
|
||||
"plans": 8,
|
||||
"rows" : 99588},
|
||||
@ -3140,9 +3140,9 @@
|
||||
"rows" : 95},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_noidx":{"$nin":[15,16,14,2]}},{"k_compound":{"$in":[14,16,19]}},{"a_compound":{"$all":[6,12,8]}}],"a_compound":{"$gt":12}}},{"$sort":{"c_idx":1,"k_idx":-1}},{"$limit":82},{"$skip":20}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 14.0)","(14.0, 16.0)","(16.0, 19.0)","(19.0, MaxKey]"]}}}}},
|
||||
"keys" : 99703,
|
||||
"docs" : 99700,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 14.0)","(14.0, 16.0)","(16.0, 19.0)","(19.0, MaxKey]"],"a_compound":["(12.0, inf]"]}}}}},
|
||||
"keys" : 276403,
|
||||
"docs" : 99687,
|
||||
"sorts": 219426,
|
||||
"plans": 14,
|
||||
"rows" : 62},
|
||||
@ -3204,9 +3204,9 @@
|
||||
"rows" : 86900},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"i_compound":{"$lte":7}},{"a_compound":{"$in":[20,12]}},{"a_idx":{"$exists":false}}],"a_compound":{"$in":[5,20]},"k_compound":{"$nin":[10,7,20]}}},{"$sort":{"c_idx":-1,"z_idx":1}},{"$limit":126}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[-inf, 7.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[null, null]"]}}},{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[12.0, 12.0]","[20.0, 20.0]"]}}]}}},
|
||||
"keys" : 2010,
|
||||
"docs" : 2008,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[5.0, 5.0]","[20.0, 20.0]"],"i_compound":["[-inf, 7.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[null, null]"]}}},{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[12.0, 12.0]","[20.0, 20.0]"],"i_compound":["[MinKey, MaxKey]"]}}]}}},
|
||||
"keys" : 2006,
|
||||
"docs" : 2001,
|
||||
"sorts": 5480,
|
||||
"plans": 13,
|
||||
"rows" : 126},
|
||||
@ -3420,17 +3420,17 @@
|
||||
"rows" : 97774},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$in":[19,10,8]}},{"a_noidx":{"$ne":18}}],"$or":[{"h_idx":{"$exists":false}},{"$nor":[{"i_compound":{"$eq":12}},{"z_idx":{"$exists":true}}]},{"a_compound":{"$all":[16,16]}},{"a_idx":{"$exists":true}}],"a_compound":{"$in":[1,4,12,14]}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[1.0, 1.0]","[4.0, 4.0]","[12.0, 12.0]","[14.0, 14.0]"]}}},
|
||||
"keys" : 63604,
|
||||
"docs" : 57524,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 8.0)","(8.0, 10.0)","(10.0, 19.0)","(19.0, MaxKey]"],"a_compound":["[1.0, 1.0]","[4.0, 4.0]","[12.0, 12.0]","[14.0, 14.0]"]}}},
|
||||
"keys" : 66550,
|
||||
"docs" : 57375,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 487},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_idx":{"$lte":10}},{"a_idx":{"$lte":2}},{"z_noidx":{"$exists":true}}],"$nor":[{"a_idx":{"$elemMatch":{"$exists":false,"$lte":4}}},{"$or":[{"a_idx":{"$elemMatch":{"$exists":false}}},{"a_noidx":{"$gte":17}}]},{"a_compound":{"$all":[11,1]}},{"k_compound":{"$lt":15}}]}},{"$limit":50}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[15.0, MaxKey]"],"a_compound":["[MinKey, 11.0)","(11.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[15.0, MaxKey]"],"a_compound":["[MinKey, 1.0)","(1.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 884580,
|
||||
"docs" : 294600,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[15.0, MaxKey]"],"a_compound":["[MinKey, 1.0)","(1.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 11.0)","(11.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 889257,
|
||||
"docs" : 297500,
|
||||
"sorts": 0,
|
||||
"plans": 13,
|
||||
"rows" : 0},
|
||||
@ -3748,9 +3748,9 @@
|
||||
"rows" : 55},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"k_compound":{"$nin":[5,15]}},{"$nor":[{"a_idx":{"$elemMatch":{"$exists":false}}},{"a_compound":{"$all":[20,4,16,10]}},{"$or":[{"a_noidx":{"$eq":7}},{"a_noidx":{"$elemMatch":{"$exists":false}}},{"a_idx":{"$all":[16,19,14]}}]}]}],"$or":[{"a_idx":{"$all":[17,3,17]}},{"a_compound":{"$elemMatch":{"$exists":true,"$lt":15}}}]}},{"$sort":{"d_idx":-1,"i_idx":1,"z_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 5.0)","(5.0, 15.0)","(15.0, MaxKey]"]}}}},
|
||||
"keys" : 99802,
|
||||
"docs" : 99800,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[3.0, 3.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 5.0)","(5.0, 15.0)","(15.0, MaxKey]"],"a_compound":["[-inf, 15.0)"]}}}]}}},
|
||||
"keys" : 221333,
|
||||
"docs" : 225386,
|
||||
"sorts": 1110568,
|
||||
"plans": 12,
|
||||
"rows" : 89544},
|
||||
@ -3892,9 +3892,9 @@
|
||||
"rows" : 1200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_noidx":{"$lt":4}},{"$or":[{"c_noidx":{"$in":[9,11]}},{"a_compound":{"$all":[13,7,2,3]}}]},{"$or":[{"i_compound":{"$lt":4}},{"a_idx":{"$eq":7}},{"a_compound":{"$exists":false}}]}],"h_compound":{"$nin":[19,13,13]}}},{"$sort":{"i_idx":-1,"z_idx":1}},{"$limit":148}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"h_compound_1","indexBounds":{"h_compound":["[MinKey, 13.0)","(13.0, 19.0)","(19.0, MaxKey]"]}}}},
|
||||
"keys" : 98002,
|
||||
"docs" : 98000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[MinKey, MaxKey]"],"i_compound":["[MinKey, -inf)","[4.0, MaxKey]"]}}}},
|
||||
"keys" : 468937,
|
||||
"docs" : 99996,
|
||||
"sorts": 34784,
|
||||
"plans": 16,
|
||||
"rows" : 148},
|
||||
@ -4004,9 +4004,9 @@
|
||||
"rows" : 64878},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"i_compound":{"$exists":true}},{"$and":[{"a_noidx":{"$elemMatch":{"$lte":18,"$nin":[17,13,16,19,1]}}},{"a_noidx":{"$lte":15}},{"a_idx":{"$elemMatch":{"$gte":20}}}]}]},{"h_idx":{"$in":[1,19,20]}},{"a_idx":{"$lt":12}},{"a_compound":{"$elemMatch":{"$exists":false}}}],"a_compound":{"$gte":10},"k_compound":{"$exists":true}}},{"$limit":70}],
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 71,
|
||||
"docs" : 71,
|
||||
"winningPlan": {"stage":"LIMIT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[20.0, inf]"]}}},{"stage":"IXSCAN","indexName":"h_idx_1","indexBounds":{"h_idx":["[1.0, 1.0]","[19.0, 19.0]","[20.0, 20.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[null, null]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[10.0, inf]"],"i_compound":["[MinKey, MaxKey]"]}}},{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[-inf, 12.0)"]}}]}}},
|
||||
"keys" : 70,
|
||||
"docs" : 140,
|
||||
"sorts": 0,
|
||||
"plans": 13,
|
||||
"rows" : 70},
|
||||
@ -4212,9 +4212,9 @@
|
||||
"rows" : 239},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"a_idx":{"$all":[3,20,14,8,3]}},{"$nor":[{"a_idx":{"$elemMatch":{"$nin":[19,8,6]}}},{"k_compound":{"$lt":10}}]},{"c_idx":{"$in":[6,3]}},{"d_compound":{"$lt":11}}],"a_compound":{"$gte":14}}},{"$sort":{"h_idx":1,"k_idx":1}},{"$limit":213},{"$project":{"_id":0,"k_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[14.0, inf]"]}}}}},
|
||||
"keys" : 275000,
|
||||
"docs" : 99986,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[14.0, 14.0]"]}}},{"stage":"IXSCAN","indexName":"c_idx_1","indexBounds":{"c_idx":["[3.0, 3.0]","[6.0, 6.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, -inf)","[10.0, MaxKey]"],"a_compound":["[14.0, inf]"]}}},{"stage":"IXSCAN","indexName":"d_compound_1_k_compound_1","indexBounds":{"d_compound":["[-inf, 11.0)"],"k_compound":["[MinKey, MaxKey]"]}}]}}}},
|
||||
"keys" : 376000,
|
||||
"docs" : 199996,
|
||||
"sorts": 636040,
|
||||
"plans": 12,
|
||||
"rows" : 213},
|
||||
@ -4244,9 +4244,9 @@
|
||||
"rows" : 90},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"k_compound":{"$exists":true}},{"k_idx":{"$exists":false}},{"c_compound":{"$nin":[9,14]}}],"a_compound":{"$gte":4},"a_noidx":{"$elemMatch":{"$eq":19,"$exists":true,"$gte":10}}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[4.0, inf]"]}}},
|
||||
"keys" : 349857,
|
||||
"docs" : 99996,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"c_compound_1","indexBounds":{"c_compound":["[MinKey, 9.0)","(9.0, 14.0)","(14.0, MaxKey]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[4.0, inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_idx_1","indexBounds":{"k_idx":["[null, null]"]}}}]}},
|
||||
"keys" : 450857,
|
||||
"docs" : 199996,
|
||||
"sorts": 0,
|
||||
"plans": 6,
|
||||
"rows" : 1000},
|
||||
@ -4372,8 +4372,8 @@
|
||||
"rows" : 221},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$exists":false}},{"a_compound":{"$all":[18,4]}}],"a_compound":{"$nin":[9,5,1]}}},{"$sort":{"c_idx":-1,"z_idx":1}},{"$limit":66}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 1.0)","(1.0, 5.0)","(5.0, 9.0)","(9.0, MaxKey]"]}}}},
|
||||
"keys" : 403959,
|
||||
"docs" : 100000,
|
||||
"sorts": 212760,
|
||||
"plans": 13,
|
||||
@ -4452,9 +4452,9 @@
|
||||
"rows" : 398},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_idx":{"$elemMatch":{"$gte":6}}},{"k_compound":{"$ne":3}},{"a_compound":{"$elemMatch":{"$eq":2}}},{"k_compound":{"$in":[9,14,6,5]}}],"$or":[{"a_idx":{"$all":[10,6]}},{"a_compound":{"$exists":true}}]}},{"$sort":{"d_idx":1}},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[5.0, 5.0]","[6.0, 6.0]","[9.0, 9.0]","[14.0, 14.0]"]}}}}},
|
||||
"keys" : 403,
|
||||
"docs" : 400,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[5.0, 5.0]","[6.0, 6.0]","[9.0, 9.0]","[14.0, 14.0]"],"a_compound":["[2.0, 2.0]"]}}}}},
|
||||
"keys" : 131,
|
||||
"docs" : 124,
|
||||
"sorts": 722,
|
||||
"plans": 15,
|
||||
"rows" : 124},
|
||||
@ -4612,9 +4612,9 @@
|
||||
"rows" : 31470},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"$or":[{"d_noidx":{"$in":[19,17,19]}},{"a_compound":{"$all":[10,4,6]}},{"k_compound":{"$eq":15}}]},{"i_compound":{"$eq":5}}],"a_compound":{"$elemMatch":{"$lte":3}}}},{"$skip":86}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[-inf, 3.0]"]}}}},
|
||||
"keys" : 119084,
|
||||
"docs" : 92730,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[-inf, 3.0]"],"i_compound":["[MinKey, 5.0)","(5.0, MaxKey]"]}}}},
|
||||
"keys" : 119085,
|
||||
"docs" : 92729,
|
||||
"sorts": 0,
|
||||
"plans": 16,
|
||||
"rows" : 92554},
|
||||
@ -5148,9 +5148,9 @@
|
||||
"rows" : 20841},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"a_idx":{"$all":[11,4,4]}},{"a_idx":{"$eq":15}}]},{"$and":[{"c_compound":{"$in":[13,1,20,15]}},{"$or":[{"c_noidx":{"$exists":true}},{"a_noidx":{"$all":[8,19]}}]}]},{"$nor":[{"$and":[{"a_compound":{"$elemMatch":{"$in":[12,12,20,1]}}},{"$or":[{"a_idx":{"$exists":true}},{"a_noidx":{"$elemMatch":{"$gte":15,"$in":[4,9]}}},{"k_noidx":{"$exists":true}}]}]},{"a_idx":{"$exists":true}},{"a_compound":{"$gt":6}}]}],"d_compound":{"$lte":2},"d_noidx":{"$ne":12}}},{"$sort":{"d_idx":1,"h_idx":-1,"z_idx":1}},{"$limit":58}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1","indexBounds":{"d_compound":["[-inf, 2.0]"]}}}},
|
||||
"keys" : 30000,
|
||||
"docs" : 30000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[4.0, 4.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 6.0]","(inf, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"c_compound_1_d_compound_1","indexBounds":{"c_compound":["[1.0, 1.0]","[13.0, 13.0]","[15.0, 15.0]","[20.0, 20.0]"],"d_compound":["[-inf, 2.0]"]}}},{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[15.0, 15.0]"]}}]}}},
|
||||
"keys" : 207675,
|
||||
"docs" : 177987,
|
||||
"sorts": 151813,
|
||||
"plans": 12,
|
||||
"rows" : 58},
|
||||
@ -5700,9 +5700,9 @@
|
||||
"rows" : 3759},
|
||||
|
||||
{">>>pipeline": [{"$match":{"a_compound":{"$elemMatch":{"$lt":20,"$nin":[11,7,8]}},"i_compound":{"$nin":[13,1,13]}}},{"$sort":{"a_idx":1,"h_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"i_compound_1","indexBounds":{"i_compound":["[MinKey, 1.0)","(1.0, 13.0)","(13.0, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 99998,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[-inf, 7.0)","(7.0, 8.0)","(8.0, 11.0)","(11.0, 20.0)"],"i_compound":["[MinKey, 1.0)","(1.0, 13.0)","(13.0, MaxKey]"]}}}},
|
||||
"keys" : 178603,
|
||||
"docs" : 99940,
|
||||
"sorts": 1250482,
|
||||
"plans": 4,
|
||||
"rows" : 99940},
|
||||
@ -5884,7 +5884,7 @@
|
||||
"rows" : 59350},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"k_noidx":{"$gt":4}},{"i_compound":{"$gt":14}}],"$nor":[{"a_compound":{"$all":[2,10]}},{"a_compound":{"$nin":[17,16]}}],"z_noidx":{"$ne":3}}},{"$project":{"a_noidx":1,"d_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[16.0, 16.0]","[17.0, 17.0]"]}}}},
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[16.0, 16.0]","[17.0, 17.0]"],"i_compound":["(14.0, inf]"]}}}},
|
||||
"keys" : 2001,
|
||||
"docs" : 2000,
|
||||
"sorts": 0,
|
||||
@ -5988,9 +5988,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"d_idx":{"$exists":true}},{"$or":[{"a_compound":{"$ne":3}},{"a_compound":{"$elemMatch":{"$in":[11,17]}}},{"a_idx":{"$all":[19,13,16]}}]}],"a_compound":{"$elemMatch":{"$gte":14}},"a_noidx":{"$elemMatch":{"$gte":12}},"k_compound":{"$nin":[10,2]}}},{"$sort":{"c_idx":1,"h_idx":-1}},{"$limit":142},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 10.0)","(10.0, MaxKey]"]}}}}},
|
||||
"keys" : 99802,
|
||||
"docs" : 99800,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, 2.0)","(2.0, 10.0)","(10.0, MaxKey]"],"a_compound":["[14.0, inf]"]}}}}},
|
||||
"keys" : 275802,
|
||||
"docs" : 99788,
|
||||
"sorts": 594320,
|
||||
"plans": 14,
|
||||
"rows" : 142},
|
||||
@ -6052,9 +6052,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"d_compound":{"$lte":5}},{"a_compound":{"$nin":[14,1]}}],"$or":[{"k_compound":{"$exists":true}},{"a_idx":{"$exists":false}}],"k_idx":{"$nin":[9,20,8]}}},{"$sort":{"h_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1","indexBounds":{"d_compound":["[-inf, 5.0]"]}}}},
|
||||
"keys" : 60000,
|
||||
"docs" : 60000,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[MinKey, MaxKey]"],"a_compound":["[MinKey, 1.0)","(1.0, 14.0)","(14.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[null, null]"]}}}]}}},
|
||||
"keys" : 424445,
|
||||
"docs" : 154866,
|
||||
"sorts": 340721,
|
||||
"plans": 9,
|
||||
"rows" : 30118},
|
||||
@ -6084,9 +6084,9 @@
|
||||
"rows" : 17093},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$or":[{"a_compound":{"$all":[20,6,17,5]}},{"z_compound":{"$lte":14}}]},{"z_idx":{"$lte":10}}],"c_compound":{"$in":[1,3,2]}}},{"$sort":{"h_idx":1,"i_idx":-1}},{"$limit":90},{"$project":{"_id":0,"a_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_idx_1","indexBounds":{"z_idx":["[-inf, 10.0]"]}}}}},
|
||||
"keys" : 99996,
|
||||
"docs" : 99996,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[6.0, 6.0]"]}}},{"stage":"IXSCAN","indexName":"z_compound_1_c_compound_1","indexBounds":{"z_compound":["[-inf, 14.0]"],"c_compound":["[1.0, 1.0]","[2.0, 2.0]","[3.0, 3.0]"]}}]}}}},
|
||||
"keys" : 110873,
|
||||
"docs" : 110873,
|
||||
"sorts": 549959,
|
||||
"plans": 12,
|
||||
"rows" : 90},
|
||||
@ -7300,9 +7300,9 @@
|
||||
"rows" : 99900},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"a_compound":{"$all":[16,10]}},{"h_idx":{"$exists":false}},{"a_compound":{"$elemMatch":{"$eq":19,"$lte":4}}}],"a_idx":{"$exists":true},"k_compound":{"$gte":18}}},{"$sort":{"d_idx":-1,"i_idx":1,"z_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[18.0, inf]"]}}}},
|
||||
"keys" : 98200,
|
||||
"docs" : 98200,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1_a_compound_1","indexBounds":{"k_compound":["[18.0, inf]"],"a_compound":["[MinKey, 16.0)","(16.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[MinKey, 10.0)","(10.0, MaxKey]"]}}}]}}},
|
||||
"keys" : 930002,
|
||||
"docs" : 298100,
|
||||
"sorts": 1226986,
|
||||
"plans": 13,
|
||||
"rows" : 98200},
|
||||
@ -7540,9 +7540,9 @@
|
||||
"rows" : 2547},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"k_compound":{"$nin":[10,8,11]}},{"$nor":[{"i_idx":{"$in":[15,5,15]}},{"$nor":[{"d_compound":{"$gt":3}},{"a_idx":{"$in":[17,17,9]}}]},{"a_idx":{"$in":[20,14,17,11,5]}}]}],"a_compound":{"$lte":5},"d_noidx":{"$nin":[4,4]}}},{"$project":{"a_noidx":1,"i_compound":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"k_compound_1","indexBounds":{"k_compound":["[8.0, 8.0]","[10.0, 10.0]","[11.0, 11.0]"]}}}},
|
||||
"keys" : 302,
|
||||
"docs" : 300,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"i_idx_1","indexBounds":{"i_idx":["[5.0, 5.0]","[15.0, 15.0]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"d_compound_1_k_compound_1","indexBounds":{"d_compound":["[MinKey, 3.0]","(inf, MaxKey]"],"k_compound":["[8.0, 8.0]","[10.0, 10.0]","[11.0, 11.0]"]}}},{"stage":"IXSCAN","indexName":"a_idx_1","indexBounds":{"a_idx":["[5.0, 5.0]","[11.0, 11.0]","[14.0, 14.0]","[17.0, 17.0]","[20.0, 20.0]"]}}]}}},
|
||||
"keys" : 16750,
|
||||
"docs" : 16717,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 205},
|
||||
@ -7556,9 +7556,9 @@
|
||||
"rows" : 99991},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"a_compound":{"$in":[1,2,10]}},{"a_compound":{"$elemMatch":{"$nin":[17,2,11,6]}}}],"$nor":[{"h_noidx":{"$nin":[12,4,2,15]}},{"i_compound":{"$in":[4,13]}},{"d_idx":{"$in":[2,7,19]}}]}},{"$sort":{"d_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1","indexBounds":{"a_compound":["[1.0, 1.0]","[2.0, 2.0]","[10.0, 10.0]"]}}}},
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"a_compound_1_i_compound_1","indexBounds":{"a_compound":["[1.0, 1.0]","[2.0, 2.0]","[10.0, 10.0]"],"i_compound":["[MinKey, 4.0)","(4.0, 13.0)","(13.0, MaxKey]"]}}}},
|
||||
"keys" : 84307,
|
||||
"docs" : 76578,
|
||||
"docs" : 76577,
|
||||
"sorts": 11496,
|
||||
"plans": 7,
|
||||
"rows" : 1395},
|
||||
@ -7972,9 +7972,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"i_compound":{"$nin":[18,17]},"z_compound":{"$nin":[2,2,11,17]}}},{"$skip":29}],
|
||||
"winningPlan": {"stage":"FETCH","inputStage":{"stage":"SKIP","inputStage":{"stage":"IXSCAN","indexName":"i_compound_1_z_compound_1","indexBounds":{"i_compound":["[MinKey, 17.0)","(17.0, 18.0)","(18.0, MaxKey]"],"z_compound":["[MinKey, 2.0)","(2.0, 11.0)","(11.0, 17.0)","(17.0, MaxKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 68016,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 2.0)","(2.0, 11.0)","(11.0, 17.0)","(17.0, MaxKey]"]}}}},
|
||||
"keys" : 68048,
|
||||
"docs" : 68046,
|
||||
"sorts": 0,
|
||||
"plans": 4,
|
||||
"rows" : 68016},
|
||||
@ -8068,9 +8068,9 @@
|
||||
"rows" : 97879},
|
||||
|
||||
{">>>pipeline": [{"$match":{"i_compound":{"$ne":15},"z_compound":{"$nin":[6,7]}}},{"$skip":12},{"$project":{"_id":0,"a_compound":1,"h_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","inputStage":{"stage":"SKIP","inputStage":{"stage":"IXSCAN","indexName":"i_compound_1_z_compound_1","indexBounds":{"i_compound":["[MinKey, 15.0)","(15.0, MaxKey]"],"z_compound":["[MinKey, 6.0)","(6.0, 7.0)","(7.0, MaxKey]"]}}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 98730,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"z_compound_1","indexBounds":{"z_compound":["[MinKey, 6.0)","(6.0, 7.0)","(7.0, MaxKey]"]}}}}},
|
||||
"keys" : 98745,
|
||||
"docs" : 98743,
|
||||
"sorts": 0,
|
||||
"plans": 4,
|
||||
"rows" : 98730},
|
||||
@ -8380,7 +8380,7 @@
|
||||
"rows" : 20000}
|
||||
|
||||
],
|
||||
">>>totals": {"pipelines": 1043, "plans": 10395, "keys": 88486872, "docs": 53263501, "sorts": 75090318, "rows": 38020022, "errors": 0},
|
||||
">>>totals": {"pipelines": 1043, "plans": 10395, "keys": 99532281, "docs": 56050456, "sorts": 75090318, "rows": 38020022, "errors": 0},
|
||||
">>>parameters": {"featureFlagCostBasedRanker":{"value":true,"version":"8.3","fcv_gated":false,"currentlyEnabled":true},"internalQueryCBRCEMode":"samplingCE","samplingMarginOfError":5,"samplingConfidenceInterval":"95","internalQuerySamplingCEMethod":"chunk","internalQuerySamplingBySequentialScan":true}}
|
||||
|
||||
|
||||
|
||||
@ -276,9 +276,9 @@
|
||||
"rows" : 159},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field2_Timestamp_idx":{"$type":"timestamp"},"field7_str_idx":{"$ne":"ku"},"field35_int_idx":{"$ne":7803},"$or":[{"$or":[{"$or":[{"field24_mixed_idx":[166,557,910,148,196,348,416],"field6_mixed_idx":{"$elemMatch":{"$all":[true,false],"$size":13}}},{"field19_datetime_idx":{"$gte":"2024-03-10T00:00:00.000Z"},"field14_dict_idx":{"$gt":{"d":6}}},{"field43_str":{"$regex":{"$regex":"q","$options":""}},"field4_list_idx":{"$ne":64}}]},{"field21_Decimal128_idx":{"$lte":{"$numberDecimal":"1.16"}},"field42_mixed":{"$gt":true},"field10_datetime_idx":{"$lte":"2024-05-06T00:00:00.000Z"}},{"$or":[{"field39_Decimal128":{"$gte":{"$numberDecimal":"8.1"}},"field35_int_idx":{"$ne":6094},"field8_int_idx":{"$gt":771}},{"field12_Decimal128_idx":{"$eq":{"$numberDecimal":"35.1"}},"field31_list_idx":{"$size":20}}]},{"field25_str_idx":{"$gte":"E"},"field19_datetime_idx":{"$gt":"2024-03-24T00:00:00.000Z"}}]},{"$and":[{"field25_str_idx":{"$gte":"hD"},"field24_mixed_idx":{"$ne":416},"field34_str_idx":{"$type":"string"}},{"field31_list_idx":{"$size":5},"field1_datetime_idx":{"$ne":"2024-01-11T00:00:00.000Z"}},{"field40_list":{"$elemMatch":{"$in":[38,18,69,164,60,9],"$size":5}},"field7_str_idx":{"$regex":{"$regex":"^FTn","$options":""}}}]}]}},{"$skip":33},{"$project":{"field41_dict":1,"field38_Timestamp":1,"field28_datetime_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[MaxKey, 7803.0)","(7803.0, MinKey]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 99997,
|
||||
"docs" : 99996,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[MaxKey, 64.0)","(64.0, MinKey]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field12_Decimal128_idx_1","indexBounds":{"field12_Decimal128_idx":["[35.1, 35.1]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[new Date(1710028800000), new Date(9223372036854775807)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field21_Decimal128_idx_-1","indexBounds":{"field21_Decimal128_idx":["[1.16, -inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[[ 166.0, 557.0, 910.0, 148.0, 196.0, 348.0, 416.0 ], [ 166.0, 557.0, 910.0, 148.0, 196.0, 348.0, 416.0 ]]","[166.0, 166.0]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"E\", {})"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})"],"field25_str_idx":["({}, \"hD\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[MaxKey, 7803.0)","(7803.0, 6094.0)","(6094.0, MinKey]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}]}}}},
|
||||
"keys" : 400422,
|
||||
"docs" : 384142,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 11},
|
||||
@ -620,9 +620,9 @@
|
||||
"rows" : 1200},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$regex":{"$regex":"c","$options":""}},"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1738587683,"i":0}}},"field32_dict_idx":{"$gt":{"b":1,"g":1}},"$nor":[{"field9_bool_idx":{"$ne":true},"field19_datetime_idx":{"$lte":"2024-01-21T00:00:00.000Z"},"field6_mixed_idx":false},{"field27_bool_idx":{"$lt":false}}]}},{"$sort":{"field1_datetime_idx":-1}},{"$skip":15}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[/c/, /c/]","({}, \"\"]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 24365,
|
||||
"docs" : 20948,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1738587683, 0)]"],"field4_list_idx":["[\"\", {})","[/c/, /c/]"]}}}}},
|
||||
"keys" : 15490,
|
||||
"docs" : 10708,
|
||||
"sorts": 2989,
|
||||
"plans": 7,
|
||||
"rows" : 409},
|
||||
@ -668,9 +668,9 @@
|
||||
"rows" : 5638},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field22_list_idx":{"$lt":18},"field42_mixed":{"$ne":true},"field19_datetime_idx":{"$lt":"2024-02-23T00:00:00.000Z"},"field21_Decimal128_idx":{"$ne":{"$numberDecimal":"3.1"}},"$or":[{"field2_Timestamp_idx":{"$lte":{"$timestamp":{"t":1725922693,"i":0}}},"field26_int_idx":{"$gte":37}},{"field36_bool":{"$lt":false},"field7_str_idx":{"$lt":"Bt"}},{"$and":[{"field5_dict_idx":{"$ne":{"h":3}},"field13_list_idx":{"$elemMatch":{"$in":[59,41,184,61],"$eq":28}}},{"field36_bool":{"$gt":false},"field6_mixed_idx":{"$in":[90628,26604,24410,68771,30204,66181,30129,58850,79745]}},{"field14_dict_idx":{"$lte":{"b":2,"e":1}},"field27_bool_idx":{"$lte":false}}]}]}},{"$project":{"field16_str_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[24410.0, 24410.0]","[26604.0, 26604.0]","[30129.0, 30129.0]","[30204.0, 30204.0]","[58850.0, 58850.0]","[66181.0, 66181.0]","[68771.0, 68771.0]","[79745.0, 79745.0]","[90628.0, 90628.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"Bt\")"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["[inf, 37.0]"],"field21_Decimal128_idx":["[MaxKey, 3.1)","(3.1, MinKey]"]}}}]}}},
|
||||
"keys" : 64389,
|
||||
"docs" : 92548,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[new Date(-9223372036854775808), new Date(1708646400000))"]}}}},
|
||||
"keys" : 89519,
|
||||
"docs" : 89519,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 25718},
|
||||
@ -692,9 +692,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$nor":[{"$nor":[{"field2_Timestamp_idx":{"$gt":{"$timestamp":{"t":1717978667,"i":0}}},"field35_int_idx":{"$lte":5416}},{"field31_list_idx":30,"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1735480873,"i":0}}},"field15_mixed_idx":{"$gte":552}},{"field16_str_idx":{"$ne":"mP"},"field17_int_idx":{"$type":"int"},"field22_list_idx":[]},{"field6_mixed_idx":{"$lte":74816},"field24_mixed_idx":{"$all":[]}}]},{"field22_list_idx":[28,12,193,295,10,63,50,17,66],"field24_mixed_idx":{"$size":14},"field26_int_idx":{"$ne":60}}]},{"field10_datetime_idx":{"$ne":"2024-02-23T00:00:00.000Z"},"field13_list_idx":{"$type":"int"},"field31_list_idx":{"$lt":112}}],"field34_str_idx":{"$regex":{"$regex":"p","$options":""}},"field7_str_idx":{"$gt":"RhfV"},"field41_dict":{"$gt":{"b":1,"g":1}},"$or":[{"field24_mixed_idx":"k","field22_list_idx":{"$elemMatch":{"$in":[27,65,95,64,129],"$lte":731}}},{"field22_list_idx":{"$type":"int"},"field39_Decimal128":{"$type":"decimal"}},{"field39_Decimal128":{"$eq":{"$numberDecimal":"7.2"}},"field32_dict_idx":{"$eq":{"n":2}},"field19_datetime_idx":{"$ne":"2024-01-29T00:00:00.000Z"}}]}},{"$project":{"field18_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})","[/p/, /p/]"],"field25_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 1918,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(112.0, -inf]"],"field7_str_idx":["({}, \"RhfV\")"]}}}},
|
||||
"keys" : 75670,
|
||||
"docs" : 65452,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 264},
|
||||
@ -788,9 +788,9 @@
|
||||
"rows" : 3},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field19_datetime_idx":{"$lte":"2024-01-29T00:00:00.000Z"},"field22_list_idx":{"$lt":47},"field9_bool_idx":{"$type":"bool"},"$or":[{"$or":[{"$or":[{"field8_int_idx":{"$gt":105},"field6_mixed_idx":false,"field43_str":{"$eq":"n"}},{"field43_str":{"$lt":"a"},"field13_list_idx":199},{"field45_bool":{"$ne":false},"field7_str_idx":{"$gte":"aA"},"field6_mixed_idx":true}]},{"$or":[{"field23_dict_idx":{"$gt":{"c":2,"b":2}},"field10_datetime_idx":{"$lte":"2024-01-16T00:00:00.000Z"}},{"field13_list_idx":[14],"field38_Timestamp":{"$gt":{"$timestamp":{"t":1704067200,"i":0}}}},{"field10_datetime_idx":{"$gt":"2024-02-09T00:00:00.000Z"},"field25_str_idx":{"$gt":"Dv"}}]}]},{"field4_list_idx":"k"}]}},{"$sort":{"field14_dict_idx":1}},{"$project":{"field38_Timestamp":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[new Date(-9223372036854775808), new Date(1706486400000)]"]}}}}},
|
||||
"keys" : 89454,
|
||||
"docs" : 89454,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[\"k\", \"k\"]"],"field9_bool_idx":["[false, true]"]}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"aA\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[true, true]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field8_int_idx_1_field9_bool_idx_1","indexBounds":{"field8_int_idx":["(105.0, inf]"],"field9_bool_idx":["[false, true]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[14.0, 14.0]","[[ 14.0 ], [ 14.0 ]]"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[199.0, 199.0]"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["({ c: 2.0, b: 2.0 }, [])"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["(\"Dv\", {})"]}}}]}}}},
|
||||
"keys" : 162935,
|
||||
"docs" : 126851,
|
||||
"sorts": 117665,
|
||||
"plans": 6,
|
||||
"rows" : 11380},
|
||||
@ -916,9 +916,9 @@
|
||||
"rows" : 8},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field29_Timestamp_idx":{"$exists":true},"field34_str_idx":{"$gt":"S"}},{"$or":[{"field16_str_idx":{"$lt":"zJ"},"field7_str_idx":{"$gte":"GOKk"}},{"field28_datetime_idx":{"$type":"date"},"field13_list_idx":[46,16,8,52,62,30,19],"field45_bool":{"$gte":true}},{"field5_dict_idx":{"$type":"objectId"},"field33_mixed_idx":{"$lte":20}}]},{"$and":[{"$and":[{"$nor":[{"field22_list_idx":[18,17,142,12,41,1,54,53,2],"field24_mixed_idx":[28,789,908,513],"field28_datetime_idx":{"$lt":"2024-01-13T00:00:00.000Z"}},{"field45_bool":{"$eq":false},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"21.2"}}},{"field41_dict":{"$lt":{"d":1,"b":1,"e":1}},"field31_list_idx":{"$in":[125,117,62,67,127]},"field37_datetime":{"$gt":"2024-01-09T00:00:00.000Z"}}]},{"field34_str_idx":{"$ne":"L"},"field46_datetime":{"$ne":"2024-02-28T00:00:00.000Z"}},{"field47_Timestamp":{"$gte":{"$timestamp":{"t":1756917908,"i":0}}},"field34_str_idx":{"$ne":"gC"}}]},{"$or":[{"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"100.3"}},"field26_int_idx":{"$ne":2624}},{"field28_datetime_idx":{"$lt":"2024-01-12T00:00:00.000Z"},"field33_mixed_idx":{"$ne":19}},{"field25_str_idx":{"$regex":{"$regex":"^Ld","$options":""}},"field6_mixed_idx":{"$size":17}}]}]}],"field16_str_idx":{"$gt":"cK"},"field8_int_idx":{"$lte":844}}},{"$skip":160}],
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field16_str_idx_-1","indexBounds":{"field16_str_idx":["({}, \"cK\")"]}}}},
|
||||
"keys" : 37820,
|
||||
"docs" : 37820,
|
||||
"winningPlan": {"stage":"SKIP","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field5_dict_idx_-1","indexBounds":{"field5_dict_idx":["[ObjectId('ffffffffffffffffffffffff'), ObjectId('000000000000000000000000')]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[46.0, 46.0]","[[ 46.0, 16.0, 8.0, 52.0, 62.0, 30.0, 19.0 ], [ 46.0, 16.0, 8.0, 52.0, 62.0, 30.0, 19.0 ]]"],"field28_datetime_idx":["[new Date(9223372036854775807), new Date(-9223372036854775808)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field16_str_idx_-1","indexBounds":{"field16_str_idx":["(\"zJ\", \"cK\")"]}}}]}}},
|
||||
"keys" : 37168,
|
||||
"docs" : 69576,
|
||||
"sorts": 0,
|
||||
"plans": 16,
|
||||
"rows" : 59},
|
||||
@ -1084,9 +1084,9 @@
|
||||
"rows" : 12},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field13_list_idx":{"$nin":[42,55,37,38,2,74]},"field15_mixed_idx":{"$ne":"2024-01-12T00:00:00.000Z"}},{"$and":[{"field28_datetime_idx":{"$lte":"2024-01-08T00:00:00.000Z"},"field7_str_idx":{"$gt":"x"},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"9.5"}}},{"$or":[{"field27_bool_idx":{"$gte":false},"field31_list_idx":{"$type":"int"}},{"field46_datetime":{"$ne":"2025-01-02T00:00:00.000Z"},"field10_datetime_idx":{"$gte":"2024-10-28T00:00:00.000Z"}},{"field31_list_idx":[24,23,61,255,91,56],"field46_datetime":{"$gt":"2024-02-11T00:00:00.000Z"}},{"field15_mixed_idx":{"$ne":{"$timestamp":{"t":1754479159,"i":0}}},"field47_Timestamp":{"$type":"timestamp"},"field25_str_idx":{"$regex":{"$regex":"^GV","$options":""}}},{"$and":[{"field6_mixed_idx":{"$in":["y","v","d","j","e","m"]},"field5_dict_idx":{"$eq":{"b":1,"g":2}},"field7_str_idx":{"$eq":"S"},"field43_str":{"$exists":true}},{"field30_Decimal128_idx":{"$gte":{"$numberDecimal":"1.1"}},"field24_mixed_idx":["p","x","f"],"field29_Timestamp_idx":{"$lt":{"$timestamp":{"t":1745964398,"i":0}}}}]}]}]}],"$or":[{"$nor":[{"field31_list_idx":21,"field6_mixed_idx":{"$gt":12075},"field13_list_idx":{"$elemMatch":{"$size":11,"$lte":3}}},{"field14_dict_idx":{"$lt":{"c":1,"d":1}},"field40_list":{"$gte":38}}]},{"$and":[{"field25_str_idx":{"$lte":"xB"},"field7_str_idx":{"$regex":{"$regex":"^w","$options":""}},"field9_bool_idx":{"$gte":true}},{"field18_bool_idx":{"$gt":true},"field7_str_idx":{"$lte":"y"}}]}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1704672000000)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 4616,
|
||||
"docs" : 4616,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[MinKey, 2.0)","(2.0, 37.0)","(37.0, 38.0)","(38.0, 42.0)","(42.0, 55.0)","(55.0, 74.0)","(74.0, MaxKey]"],"field28_datetime_idx":["[new Date(1704672000000), new Date(-9223372036854775808)]"]}}},
|
||||
"keys" : 4535,
|
||||
"docs" : 4114,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 202},
|
||||
@ -1220,9 +1220,9 @@
|
||||
"rows" : 7064},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"field13_list_idx":{"$size":18},"field8_int_idx":{"$gt":399}},{"field40_list":{"$regex":{"$regex":"c","$options":""}},"field6_mixed_idx":{"$in":["g","z","t","c","h","p"]},"field34_str_idx":{"$gte":"R"}},{"field24_mixed_idx":{"$elemMatch":{"$size":10}},"field26_int_idx":{"$type":"int"},"field45_bool":{"$ne":false}}]},{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1722111153,"i":0}}},"field34_str_idx":{"$eq":"Yo"},"field0_bool_idx":{"$gte":true}},{"field24_mixed_idx":{"$in":[{"$timestamp":{"t":1767139200,"i":0}}]},"field44_int":{"$eq":2761},"field12_Decimal128_idx":{"$eq":{"$numberDecimal":"4.3"}},"field9_bool_idx":{"$gte":true}},{"field0_bool_idx":{"$lte":false},"field4_list_idx":{"$nin":[24,50,49,75,53,120,2,32,6,43]}}],"field34_str_idx":{"$gte":"Fh"},"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1747753551,"i":0}}},"$and":[{"field40_list":[],"field22_list_idx":{"$lte":19}},{"field24_mixed_idx":{"$exists":true},"field7_str_idx":{"$lte":"s"}}]}},{"$sort":{"field27_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["(Timestamp(1747753551, 0), Timestamp(0, 0)]"]}}}},
|
||||
"keys" : 47811,
|
||||
"docs" : 47811,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"s\"]"],"field20_Timestamp_idx":["(Timestamp(1747753551, 0), Timestamp(0, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 64099,
|
||||
"docs" : 40792,
|
||||
"sorts": 386,
|
||||
"plans": 9,
|
||||
"rows" : 73},
|
||||
@ -1788,9 +1788,9 @@
|
||||
"rows" : 752},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field41_dict":{"$lte":{"c":3}},"field23_dict_idx":{"$lte":{"b":4,"d":1}},"field35_int_idx":{"$lte":7721},"field10_datetime_idx":{"$lte":"2024-02-21T00:00:00.000Z"},"field13_list_idx":{"$in":[33,59,1,39,16,7,41,74]},"field9_bool_idx":{"$type":"bool"},"field17_int_idx":{"$lt":217},"$or":[{"$or":[{"field37_datetime":{"$gte":"2024-05-31T00:00:00.000Z"},"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"6.7"}}},{"field8_int_idx":{"$eq":327},"field46_datetime":{"$lte":"2024-04-07T00:00:00.000Z"},"field28_datetime_idx":{"$ne":"2024-01-02T00:00:00.000Z"}},{"field31_list_idx":{"$lt":149},"field43_str":{"$gte":"b"}}]},{"field25_str_idx":{"$lte":"K"},"field18_bool_idx":{"$ne":false}}]}},{"$project":{"field12_Decimal128_idx":1,"field11_Timestamp_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field17_int_idx_-1","indexBounds":{"field17_int_idx":["(217.0, -inf]"]}}}},
|
||||
"keys" : 35362,
|
||||
"docs" : 35362,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[MaxKey, false)","(false, MinKey]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field21_Decimal128_idx_-1","indexBounds":{"field21_Decimal128_idx":["[inf, 6.7]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[MinKey, new Date(1704153600000))","(new Date(1704153600000), MaxKey]"],"field23_dict_idx":["[{}, { b: 4.0, d: 1.0 }]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(149.0, -inf]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}]}}},
|
||||
"keys" : 188008,
|
||||
"docs" : 179147,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 1226},
|
||||
@ -2172,9 +2172,9 @@
|
||||
"rows" : 8},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field2_Timestamp_idx":{"$ne":{"$timestamp":{"t":1728150211,"i":0}}},"field44_int":{"$lte":72303},"field30_Decimal128_idx":{"$exists":true},"field34_str_idx":{"$type":"string"},"field14_dict_idx":{"$lte":{"e":1}},"field27_bool_idx":{"$type":"bool"},"field4_list_idx":{"$size":1},"field32_dict_idx":{"$lt":{"y":1}}}},{"$project":{"field29_Timestamp_idx":1,"field21_Decimal128_idx":1,"field10_datetime_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field27_bool_idx_1","indexBounds":{"field27_bool_idx":["[false, true]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["[{ e: 1.0 }, {}]"],"field34_str_idx":["({}, \"\"]"]}}}},
|
||||
"keys" : 95065,
|
||||
"docs" : 95065,
|
||||
"sorts": 0,
|
||||
"plans": 6,
|
||||
"rows" : 69703},
|
||||
@ -2236,9 +2236,9 @@
|
||||
"rows" : 19},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field4_list_idx":{"$size":16},"field25_str_idx":{"$regex":{"$regex":"Jy","$options":""}}},{"field9_bool_idx":{"$gt":false},"field11_Timestamp_idx":{"$ne":{"$timestamp":{"t":1723232116,"i":0}}},"field8_int_idx":{"$eq":168}},{"field13_list_idx":{"$elemMatch":{"$eq":32,"$lte":4}},"field43_str":{"$regex":{"$regex":"l","$options":""}},"field12_Decimal128_idx":{"$lt":{"$numberDecimal":"1.69"}},"field22_list_idx":{"$size":9}}],"$or":[{"field39_Decimal128":{"$exists":false},"field31_list_idx":{"$eq":22}},{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1764802768,"i":0}}},"field44_int":{"$ne":35},"field13_list_idx":{"$gt":46}},{"field18_bool_idx":{"$ne":false},"field17_int_idx":{"$lte":528},"field8_int_idx":{"$gt":689}},{"field23_dict_idx":{"$ne":{"b":1,"g":1}},"field2_Timestamp_idx":{"$type":"timestamp"},"field4_list_idx":4}],"field10_datetime_idx":{"$lte":"2024-02-26T00:00:00.000Z"},"field6_mixed_idx":{"$eq":false}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[4.0, 4.0]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["(46.0, inf]"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[MaxKey, false)","(false, MinKey]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[22.0, 22.0]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}]}},
|
||||
"keys" : 4083,
|
||||
"docs" : 6698,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(0, 0)]"],"field4_list_idx":["[4.0, 4.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field8_int_idx_1_field9_bool_idx_1","indexBounds":{"field8_int_idx":["(689.0, inf]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["(46.0, inf]"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[22.0, 22.0]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}]}},
|
||||
"keys" : 11068,
|
||||
"docs" : 8407,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 1829},
|
||||
@ -2620,9 +2620,9 @@
|
||||
"rows" : 21},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field13_list_idx":{"$lt":84},"field40_list":"u"},{"field19_datetime_idx":{"$gte":"2024-01-11T00:00:00.000Z"},"field22_list_idx":{"$all":[115,6,68,295,40,34,52,5]}}],"field7_str_idx":{"$lte":"rxZ"},"field18_bool_idx":{"$lte":true}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"rxZ\"]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 86013,
|
||||
"docs" : 84714,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[-inf, 84.0)"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[true, false]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[115.0, 115.0]"]}}}]}},
|
||||
"keys" : 115007,
|
||||
"docs" : 99782,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 3},
|
||||
@ -2852,9 +2852,9 @@
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"$nor":[{"field24_mixed_idx":{"$regex":{"$regex":"z","$options":""}},"field5_dict_idx":{"$gte":{"d":27}}},{"field40_list":["g","f","h","b","c","w","q","v","s"],"field7_str_idx":{"$lt":"ho"}}]},{"field2_Timestamp_idx":{"$gt":{"$timestamp":{"t":1760042412,"i":0}}},"field17_int_idx":{"$exists":true},"field0_bool_idx":{"$lte":false}},{"$and":[{"$or":[{"field25_str_idx":{"$lt":"yf"},"field6_mixed_idx":{"$lte":true}},{"field19_datetime_idx":{"$gt":"2024-04-04T00:00:00.000Z"},"field31_list_idx":{"$ne":23},"field25_str_idx":{"$eq":"vC"}}]},{"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1752124838,"i":0}}},"field36_bool":{"$gte":false},"field4_list_idx":{"$elemMatch":{"$ne":"l","$in":["m","i","z","c","g","b","u"]}}}]}],"$or":[{"field45_bool":{"$ne":false},"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"14.1"}}},{"$and":[{"field24_mixed_idx":[],"field12_Decimal128_idx":{"$lte":{"$numberDecimal":"5.4"}}},{"field40_list":{"$all":[20,50]},"field13_list_idx":{"$nin":[]},"field4_list_idx":{"$regex":{"$regex":"^h","$options":""}}}]}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[\"z\", \"z\"]","[\"u\", \"u\"]","[\"m\", \"m\"]","[\"i\", \"i\"]","[\"g\", \"g\"]","[\"c\", \"c\"]","[\"b\", \"b\"]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 21255,
|
||||
"docs" : 19363,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1760042412, 0))"],"field4_list_idx":["[\"b\", \"b\"]","[\"c\", \"c\"]","[\"g\", \"g\"]","[\"i\", \"i\"]","[\"m\", \"m\"]","[\"u\", \"u\"]","[\"z\", \"z\"]"]}}},
|
||||
"keys" : 11376,
|
||||
"docs" : 9439,
|
||||
"sorts": 0,
|
||||
"plans": 12,
|
||||
"rows" : 70},
|
||||
@ -3012,9 +3012,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field34_str_idx":{"$lt":"w"},"field29_Timestamp_idx":{"$lte":{"$timestamp":{"t":1756180545,"i":0}}},"$and":[{"field25_str_idx":{"$gte":"Bi"},"field9_bool_idx":{"$ne":true}},{"field1_datetime_idx":{"$lt":"2024-01-28T00:00:00.000Z"},"field16_str_idx":{"$regex":{"$regex":"IN","$options":""}}},{"$or":[{"field11_Timestamp_idx":{"$gte":{"$timestamp":{"t":1753376444,"i":0}}},"field31_list_idx":{"$lt":51}},{"field22_list_idx":[],"field39_Decimal128":{"$gte":{"$numberDecimal":"2.3"}},"field5_dict_idx":{"$ne":{"h":3}}},{"$or":[{"field40_list":{"$size":17},"field15_mixed_idx":{"$gte":"2024-02-03T00:00:00.000Z"}},{"field4_list_idx":{"$size":6},"field33_mixed_idx":{"$type":"int"},"field43_str":{"$lte":"x"}}]}]}]}},{"$project":{"field39_Decimal128":1,"field0_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field16_str_idx_-1","indexBounds":{"field16_str_idx":["[/IN/, /IN/]","({}, \"\"]"]}}}},
|
||||
"keys" : 83845,
|
||||
"docs" : 12,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", \"w\")"],"field25_str_idx":["({}, \"Bi\"]"]}}}},
|
||||
"keys" : 89010,
|
||||
"docs" : 88923,
|
||||
"sorts": 0,
|
||||
"plans": 10,
|
||||
"rows" : 3},
|
||||
@ -3092,9 +3092,9 @@
|
||||
"rows" : 2715},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field31_list_idx":{"$lt":202},"field0_bool_idx":{"$lt":true},"field7_str_idx":{"$type":"string"},"$or":[{"field21_Decimal128_idx":{"$lt":{"$numberDecimal":"14.1"}},"field17_int_idx":{"$ne":461}},{"$or":[{"$or":[{"field40_list":{"$elemMatch":{"$in":["p","e"]}},"field31_list_idx":{"$lte":80}},{"field28_datetime_idx":{"$gt":"2024-01-10T00:00:00.000Z"},"field46_datetime":{"$gte":"2024-01-07T00:00:00.000Z"},"field43_str":{"$ne":"a"}},{"field13_list_idx":{"$ne":62},"field14_dict_idx":{"$eq":{}}},{"field44_int":{"$gte":69},"field0_bool_idx":{"$gt":true}}]},{"field36_bool":{"$gt":false},"field35_int_idx":{"$gte":3773}}]}]}},{"$project":{"field5_dict_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field0_bool_idx_1","indexBounds":{"field0_bool_idx":["[false, true)"]}}}},
|
||||
"keys" : 99981,
|
||||
"docs" : 99981,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(202.0, -inf]"],"field7_str_idx":["({}, \"\"]"]}}}},
|
||||
"keys" : 115205,
|
||||
"docs" : 99807,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 99221},
|
||||
@ -3748,9 +3748,9 @@
|
||||
"rows" : 2},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field14_dict_idx":{"$gte":{"f":2,"c":1}},"field7_str_idx":{"$regex":{"$regex":"^O","$options":""}}},{"field29_Timestamp_idx":{"$ne":{"$timestamp":{"t":1732429607,"i":0}}},"field20_Timestamp_idx":{"$ne":{"$timestamp":{"t":1754810599,"i":0}}}},{"field31_list_idx":{"$nin":[51,77,56,16,75,111,149,9,59]},"field28_datetime_idx":{"$eq":null},"field40_list":{"$elemMatch":{"$ne":"d"}},"field34_str_idx":{"$regex":{"$regex":"U","$options":""}}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { f: 2.0, c: 1.0 }]"],"field34_str_idx":["[/U/, /U/]","({}, \"\"]"]}}},
|
||||
"keys" : 2893,
|
||||
"docs" : 56,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"O\", \"P\")","[/^O/, /^O/]"],"field20_Timestamp_idx":["[MaxKey, Timestamp(1754810599, 0))","(Timestamp(1754810599, 0), MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 1977,
|
||||
"docs" : 1938,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 1},
|
||||
@ -3772,9 +3772,9 @@
|
||||
"rows" : 74773},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field8_int_idx":{"$ne":694},"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"2.1"}},"$nor":[{"field24_mixed_idx":{"$nin":[10,417,754,170,19,395]},"field8_int_idx":{"$ne":465}},{"field47_Timestamp":{"$lt":{"$timestamp":{"t":1760200963,"i":0}}},"field31_list_idx":{"$elemMatch":{"$size":10,"$lte":53}}}],"field35_int_idx":{"$lte":6242},"field14_dict_idx":{"$lt":{"c":1,"b":1,"e":1}},"field34_str_idx":{"$gt":"nz"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["(\"nz\", {})"],"field25_str_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 23047,
|
||||
"docs" : 23047,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["({ c: 1.0, b: 1.0, e: 1.0 }, {}]"],"field34_str_idx":["({}, \"nz\")"]}}},
|
||||
"keys" : 20342,
|
||||
"docs" : 19550,
|
||||
"sorts": 0,
|
||||
"plans": 5,
|
||||
"rows" : 3},
|
||||
@ -3788,9 +3788,9 @@
|
||||
"rows" : 2184},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field1_datetime_idx":{"$ne":"2024-03-18T00:00:00.000Z"},"field35_int_idx":{"$eq":998},"field45_bool":{"$lt":true}},{"field41_dict":{"$gt":{"j":2,"c":1,"b":1}},"field9_bool_idx":{"$ne":true},"field22_list_idx":{"$elemMatch":{"$in":[115,26,18,10],"$size":10}}},{"field15_mixed_idx":{"$gt":{"$timestamp":{"t":1742813742,"i":0}}},"field40_list":{"$size":11},"field41_dict":{"$lte":{"h":1}}}],"field24_mixed_idx":{"$lte":{"$timestamp":{"t":1767139200,"i":0}}},"field16_str_idx":{"$exists":true},"$or":[{"field31_list_idx":[51,67,25,164,92,38],"field27_bool_idx":{"$type":"bool"},"field12_Decimal128_idx":{"$exists":false}},{"field19_datetime_idx":{"$lt":"2024-01-30T00:00:00.000Z"},"field43_str":{"$regex":{"$regex":"m","$options":""}},"field11_Timestamp_idx":{"$exists":true}},{"field14_dict_idx":{"$gt":{"b":1}},"field37_datetime":{"$lte":"2024-02-09T00:00:00.000Z"}},{"field20_Timestamp_idx":{"$lte":{"$timestamp":{"t":1766540082,"i":0}}},"field4_list_idx":{"$elemMatch":{"$ne":"r","$gte":"u"}},"field28_datetime_idx":{"$lt":"2024-01-05T00:00:00.000Z"},"field16_str_idx":{"$gte":"DB"},"field19_datetime_idx":{"$ne":"2024-03-06T00:00:00.000Z"}}]}},{"$project":{"field30_Decimal128_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[Timestamp(1767139200, 0), Timestamp(0, 0)]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 71470,
|
||||
"docs" : 71470,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { b: 1.0 })"],"field34_str_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[new Date(-9223372036854775808), new Date(1706572800000))"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[Timestamp(1767139200, 0), Timestamp(0, 0)]"],"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1704412800000))"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field27_bool_idx_1","indexBounds":{"field27_bool_idx":["[false, true]"]}}}]}}},
|
||||
"keys" : 241812,
|
||||
"docs" : 291007,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 29479},
|
||||
@ -3940,17 +3940,17 @@
|
||||
"rows" : 164},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field10_datetime_idx":{"$lte":"2024-02-19T00:00:00.000Z"},"field13_list_idx":{"$size":18}},{"field16_str_idx":{"$gte":"O"},"field4_list_idx":{"$size":2}},{"$or":[{"field31_list_idx":{"$ne":41},"field24_mixed_idx":{"$ne":{"$timestamp":{"t":1767139200,"i":0}}}},{"field22_list_idx":{"$size":10},"field6_mixed_idx":"q"}]},{"field41_dict":{"$ne":{"n":1}},"field31_list_idx":{"$size":7},"field34_str_idx":{"$eq":"h"}}],"field34_str_idx":{"$ne":"o"},"field31_list_idx":{"$lte":33},"field7_str_idx":{"$gte":"Pu"},"field40_list":{"$gte":"o"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"Pu\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 70143,
|
||||
"docs" : 69061,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[33.0, -inf]"],"field7_str_idx":["({}, \"Pu\"]"]}}},
|
||||
"keys" : 79545,
|
||||
"docs" : 68885,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 3},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field18_bool_idx":{"$gte":true},"field28_datetime_idx":{"$exists":true},"$and":[{"field22_list_idx":{"$lte":46},"field3_Decimal128_idx":{"$ne":{"$numberDecimal":"1.2"}}},{"$or":[{"field17_int_idx":{"$lt":644},"field16_str_idx":{"$ne":"CT"},"field25_str_idx":{"$gt":"Lv"}},{"field2_Timestamp_idx":{"$type":"timestamp"},"field16_str_idx":{"$eq":"h"}}]}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[true, true]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[-inf, 46.0]"]}}},
|
||||
"keys" : 1421,
|
||||
"docs" : 1419,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field3_Decimal128_idx_1_field18_bool_idx_-1","indexBounds":{"field3_Decimal128_idx":["[MinKey, 1.2)","(1.2, MaxKey]"],"field18_bool_idx":["[true, true]"]}}},
|
||||
"keys" : 1462,
|
||||
"docs" : 1421,
|
||||
"sorts": 0,
|
||||
"plans": 6,
|
||||
"rows" : 1068},
|
||||
@ -3980,9 +3980,9 @@
|
||||
"rows" : 9},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$and":[{"field31_list_idx":{"$gte":46},"field19_datetime_idx":{"$ne":"2024-01-22T00:00:00.000Z"}},{"field0_bool_idx":{"$type":"bool"},"field6_mixed_idx":{"$regex":{"$regex":"^j","$options":""}},"field1_datetime_idx":{"$lte":"2024-02-23T00:00:00.000Z"}},{"field23_dict_idx":{"$gte":{"c":1,"b":3}},"field24_mixed_idx":{"$regex":{"$regex":"h","$options":""}},"field22_list_idx":13}]},{"field22_list_idx":{"$ne":68},"field6_mixed_idx":"h"},{"field47_Timestamp":{"$eq":{"$timestamp":{"t":1746533890,"i":0}}},"field42_mixed":{"$lt":true},"field28_datetime_idx":{"$lt":"2024-01-20T00:00:00.000Z"}}],"field7_str_idx":{"$gt":"bO"},"field19_datetime_idx":{"$lt":"2024-01-28T00:00:00.000Z"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[\"j\", \"k\")","[/^j/, /^j/]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["(\"bO\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[\"h\", \"h\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705708800000))"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}]}},
|
||||
"keys" : 51644,
|
||||
"docs" : 4800,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["(\"bO\", {})"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[\"h\", \"h\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field22_list_idx_1","indexBounds":{"field22_list_idx":["[13.0, 13.0]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705708800000))"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}]}},
|
||||
"keys" : 51745,
|
||||
"docs" : 4902,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 38},
|
||||
@ -4044,17 +4044,17 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field17_int_idx":{"$type":"int"},"field28_datetime_idx":{"$ne":"2024-01-26T00:00:00.000Z"},"field13_list_idx":{"$lte":42},"field47_Timestamp":{"$gte":{"$timestamp":{"t":1734530134,"i":0}}},"field40_list":{"$gte":86},"$nor":[{"field24_mixed_idx":{"$size":18},"field35_int_idx":{"$lt":2267}},{"$nor":[{"field22_list_idx":{"$exists":true}},{"field24_mixed_idx":{"$timestamp":{"t":1767139200,"i":0}},"field40_list":35}]},{"field15_mixed_idx":{"$type":"date"},"field24_mixed_idx":{"$size":7},"field31_list_idx":{"$elemMatch":{"$lte":39}}},{"field31_list_idx":{"$lte":82},"field6_mixed_idx":"u","field21_Decimal128_idx":{"$exists":false},"field45_bool":{"$lte":false}}],"field1_datetime_idx":{"$lte":"2024-01-18T00:00:00.000Z"},"field35_int_idx":{"$lt":9815},"field26_int_idx":{"$lte":50}}},{"$project":{"field29_Timestamp_idx":1,"field23_dict_idx":1,"field39_Decimal128":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["[50.0, -inf]"],"field21_Decimal128_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 48085,
|
||||
"docs" : 48085,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[-inf, 42.0]"],"field28_datetime_idx":["[MaxKey, new Date(1706227200000))","(new Date(1706227200000), MinKey]"]}}}},
|
||||
"keys" : 114851,
|
||||
"docs" : 99749,
|
||||
"sorts": 0,
|
||||
"plans": 6,
|
||||
"rows" : 4},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field2_Timestamp_idx":{"$ne":{"$timestamp":{"t":1747921563,"i":0}}},"field47_Timestamp":{"$lt":{"$timestamp":{"t":1760200963,"i":0}}},"field4_list_idx":{"$nin":[36,28,6]},"$or":[{"field20_Timestamp_idx":{"$gt":{"$timestamp":{"t":1740885110,"i":0}}},"field40_list":{"$lt":15}},{"$and":[{"field38_Timestamp":{"$exists":true},"field4_list_idx":{"$ne":21},"field16_str_idx":{"$ne":"Hn"}},{"$nor":[{"field6_mixed_idx":{"$size":15},"field23_dict_idx":{"$eq":{"d":2,"b":1}}},{"field13_list_idx":[38,42,19,84,35,485],"field38_Timestamp":{"$gt":{"$timestamp":{"t":1704067200,"i":0}}},"field44_int":{"$ne":26715}},{"field16_str_idx":{"$gt":"C"},"field46_datetime":{"$gt":"2024-05-12T00:00:00.000Z"}}]}]}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[MaxKey, Timestamp(1747921563, 0))","(Timestamp(1747921563, 0), MinKey]"],"field4_list_idx":["[MinKey, 6.0)","(6.0, 28.0)","(28.0, 36.0)","(36.0, MaxKey]"]}}},
|
||||
"keys" : 114822,
|
||||
"docs" : 99564,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[MaxKey, 36.0)","(36.0, 28.0)","(28.0, 6.0)","(6.0, MinKey]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 114772,
|
||||
"docs" : 99565,
|
||||
"sorts": 0,
|
||||
"plans": 5,
|
||||
"rows" : 50082},
|
||||
@ -4532,9 +4532,9 @@
|
||||
"rows" : 22},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field21_Decimal128_idx":{"$lte":{"$numberDecimal":"7.2"}},"field29_Timestamp_idx":{"$exists":true},"field39_Decimal128":{"$lt":{"$numberDecimal":"3.2"}},"$or":[{"field43_str":{"$exists":false},"field23_dict_idx":{"$eq":{"c":5,"b":2}}},{"field4_list_idx":{"$ne":3},"field9_bool_idx":{"$ne":true}}],"field26_int_idx":{"$ne":60},"field8_int_idx":{"$gte":105},"field32_dict_idx":{"$gte":{"c":1,"b":1,"h":1}},"$nor":[{"field26_int_idx":{"$lt":84},"field7_str_idx":{"$gte":"jyKI"}},{"field31_list_idx":{"$all":[]}}]}},{"$sort":{"field2_Timestamp_idx":1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field8_int_idx_1_field9_bool_idx_1","indexBounds":{"field8_int_idx":["[105.0, inf]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 8765,
|
||||
"docs" : 8765,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field8_int_idx_1_field9_bool_idx_1","indexBounds":{"field8_int_idx":["[105.0, inf]"],"field9_bool_idx":["[MinKey, true)","(true, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ c: 5.0, b: 2.0 }, { c: 5.0, b: 2.0 }]"]}}}]}}},
|
||||
"keys" : 8334,
|
||||
"docs" : 15414,
|
||||
"sorts": 6269,
|
||||
"plans": 9,
|
||||
"rows" : 814},
|
||||
@ -4740,9 +4740,9 @@
|
||||
"rows" : 175},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field27_bool_idx":{"$type":"bool"},"field47_Timestamp":{"$gt":{"$timestamp":{"t":1763930520,"i":0}}}},{"$and":[{"field6_mixed_idx":{"$size":6},"field41_dict":{"$gte":{}},"field29_Timestamp_idx":{"$ne":{"$timestamp":{"t":1748339863,"i":0}}}},{"field41_dict":{"$lte":{"c":1,"b":8}},"field25_str_idx":{"$lte":"Jk"}}]},{"field35_int_idx":{"$lte":2587},"field34_str_idx":{"$lt":"vA"},"field47_Timestamp":{"$gte":{"$timestamp":{"t":1736559935,"i":0}}},"field6_mixed_idx":{"$elemMatch":{"$ne":32322}},"field8_int_idx":{"$lte":4}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"\", \"Jk\"]"]}}},
|
||||
"keys" : 19196,
|
||||
"docs" : 19196,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", \"vA\")"],"field25_str_idx":["[\"Jk\", \"\"]"]}}},
|
||||
"keys" : 18428,
|
||||
"docs" : 17675,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 1},
|
||||
@ -4812,9 +4812,9 @@
|
||||
"rows" : 9127},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field2_Timestamp_idx":{"$lt":{"$timestamp":{"t":1754657408,"i":0}}},"field22_list_idx":{"$ne":39},"field28_datetime_idx":{"$lte":"2024-01-13T00:00:00.000Z"},"$or":[{"field20_Timestamp_idx":{"$eq":{"$timestamp":{"t":1737405407,"i":0}}},"field14_dict_idx":{"$gt":{"e":6}}},{"field7_str_idx":{"$regex":{"$regex":"^n","$options":""}},"field39_Decimal128":{"$type":"decimal"},"field6_mixed_idx":{"$nin":["o","n","z","b","u","c","p","m","q"]}},{"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1761263967,"i":0}}},"field26_int_idx":{"$lte":2726},"field24_mixed_idx":{"$regex":{"$regex":"^f","$options":""}},"field33_mixed_idx":{"$lte":93}}],"field17_int_idx":{"$ne":482},"$nor":[{"field5_dict_idx":{"$ne":{"h":4,"b":1}},"field40_list":[34,81]},{"field6_mixed_idx":{"$eq":"i"},"field15_mixed_idx":{"$lt":{"$timestamp":{"t":1741639405,"i":0}}}},{"field10_datetime_idx":{"$gt":"2024-02-12T00:00:00.000Z"},"field22_list_idx":{"$type":"int"},"field28_datetime_idx":{"$eq":"2024-01-21T00:00:00.000Z"},"field23_dict_idx":{"$lt":{"b":1,"d":1,"c":4}}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705104000000)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 4664,
|
||||
"docs" : 4664,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"n\", \"o\")","[/^n/, /^n/]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, \"z\")","(\"z\", \"u\")","(\"u\", \"q\")","(\"q\", \"p\")","(\"p\", \"o\")","(\"o\", \"n\")","(\"n\", \"m\")","(\"m\", \"c\")","(\"c\", \"b\")","(\"b\", MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["[Timestamp(1737405407, 0), Timestamp(1737405407, 0)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[/^f/, /^f/]","(\"g\", \"f\"]"],"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1705104000000)]"]}}}]}},
|
||||
"keys" : 2029,
|
||||
"docs" : 3597,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 51},
|
||||
@ -4988,9 +4988,9 @@
|
||||
"rows" : 572},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1750130401,"i":0}}},"field44_int":{"$eq":56817},"$nor":[{"field7_str_idx":{"$lt":"rN"},"field32_dict_idx":{"$gt":{"c":1,"d":1}}},{"field24_mixed_idx":[931]}]}},{"$project":{"field12_Decimal128_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["(Timestamp(1750130401, 0), Timestamp(0, 0)]"]}}}},
|
||||
"keys" : 53024,
|
||||
"docs" : 53024,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[MinKey, \"\")","[\"rN\", MaxKey]"],"field20_Timestamp_idx":["(Timestamp(1750130401, 0), Timestamp(0, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}},{"stage":"IXSCAN","indexName":"field32_dict_idx_1","indexBounds":{"field32_dict_idx":["[MinKey, { c: 1.0, d: 1.0 }]","[[], MaxKey]"]}}]}}},
|
||||
"keys" : 98376,
|
||||
"docs" : 86746,
|
||||
"sorts": 0,
|
||||
"plans": 2,
|
||||
"rows" : 1},
|
||||
@ -5556,9 +5556,9 @@
|
||||
"rows" : 13384},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field23_dict_idx":{"$lte":{"b":12}},"field19_datetime_idx":{"$ne":"2024-05-09T00:00:00.000Z"},"field7_str_idx":{"$lt":"T"},"field13_list_idx":{"$elemMatch":{"$lt":38}},"field31_list_idx":{"$lt":54},"$and":[{"$or":[{"field40_list":{"$regex":{"$regex":"l","$options":""}},"field30_Decimal128_idx":{"$gt":{"$numberDecimal":"4.1"}},"field24_mixed_idx":{"$size":7}},{"field11_Timestamp_idx":{"$lt":{"$timestamp":{"t":1753749328,"i":0}}},"field19_datetime_idx":{"$gte":"2024-01-20T00:00:00.000Z"}},{"field10_datetime_idx":{"$lte":"2024-02-23T00:00:00.000Z"}},{"field3_Decimal128_idx":{"$lte":{"$numberDecimal":"5.1"}},"field6_mixed_idx":["v","s","l"],"field36_bool":{"$eq":false}}]},{"field40_list":{"$elemMatch":{"$eq":"w"}}}]}},{"$project":{"field5_dict_idx":1,"field1_datetime_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"T\")"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 37419,
|
||||
"docs" : 36866,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(54.0, -inf]"],"field7_str_idx":["(\"T\", \"\"]"]}}}},
|
||||
"keys" : 42466,
|
||||
"docs" : 36784,
|
||||
"sorts": 0,
|
||||
"plans": 10,
|
||||
"rows" : 2},
|
||||
@ -5860,9 +5860,9 @@
|
||||
"rows" : 22},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field28_datetime_idx":{"$lt":null},"field9_bool_idx":{"$lte":true}},{"field41_dict":{"$lte":{"g":3,"b":1}},"field2_Timestamp_idx":{"$gte":{"$timestamp":{"t":1752922061,"i":0}}}},{"field23_dict_idx":{"$gte":{"b":10}},"field4_list_idx":"r","field13_list_idx":{"$nin":[12,28,24,16,48,52]}},{"$or":[{"field1_datetime_idx":{"$gt":"2024-05-24T00:00:00.000Z"},"field12_Decimal128_idx":{"$lt":{"$numberDecimal":"16.1"}}},{"$and":[{"field2_Timestamp_idx":{"$type":"timestamp"},"field22_list_idx":{"$all":[167,3,35,55,2,63]},"field11_Timestamp_idx":{"$lte":{"$timestamp":{"t":1745208842,"i":0}}}},{"field38_Timestamp":{"$lt":{"$timestamp":{"t":1704067200,"i":0}}},"field40_list":{"$size":20}}]},{"field25_str_idx":{"$gt":"NS"},"field7_str_idx":{"$exists":false},"field13_list_idx":184,"field37_datetime":{"$exists":false}}]}],"field4_list_idx":{"$exists":true},"field14_dict_idx":{"$lt":{"d":2,"b":2}}}},{"$project":{"field21_Decimal128_idx":1,"field6_mixed_idx":1,"field18_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["({ d: 2.0, b: 2.0 }, {}]"],"field34_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 93200,
|
||||
"docs" : 93200,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field1_datetime_idx_1","indexBounds":{"field1_datetime_idx":["(new Date(1716508800000), new Date(9223372036854775807)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1752922061, 0)]"],"field4_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field2_Timestamp_idx_-1_field4_list_idx_1","indexBounds":{"field2_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(0, 0)]"],"field4_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[\"r\", \"r\"]"],"field9_bool_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[MaxKey, MinKey]"],"field9_bool_idx":["[false, true]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[null, null]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}}]}}},
|
||||
"keys" : 288857,
|
||||
"docs" : 298270,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 45302},
|
||||
@ -5876,9 +5876,9 @@
|
||||
"rows" : 65},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field7_str_idx":{"$regex":{"$regex":"^k","$options":""}},"field8_int_idx":{"$ne":6}},{"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"2.9"}},"field44_int":{"$eq":83792},"field31_list_idx":{"$size":2}},{"field35_int_idx":{"$lte":93},"field37_datetime":{"$exists":false}}],"$nor":[{"field31_list_idx":56,"field10_datetime_idx":{"$gt":"2024-05-08T00:00:00.000Z"}},{"$and":[{"field22_list_idx":{"$size":3},"field1_datetime_idx":{"$lte":"2024-02-11T00:00:00.000Z"},"field0_bool_idx":{"$ne":true},"field24_mixed_idx":{"$eq":865}},{"field31_list_idx":46,"field36_bool":{"$lte":false}}]}],"field4_list_idx":{"$size":6},"field26_int_idx":{"$lt":39}}},{"$project":{"field37_datetime":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["(39.0, -inf]"],"field21_Decimal128_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 39280,
|
||||
"docs" : 39280,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"k\", \"l\")","[/^k/, /^k/]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["(39.0, -inf]"],"field21_Decimal128_idx":["[inf, 2.9]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[93.0, -inf]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}]}}},
|
||||
"keys" : 88770,
|
||||
"docs" : 90444,
|
||||
"sorts": 0,
|
||||
"plans": 5,
|
||||
"rows" : 7},
|
||||
@ -6060,9 +6060,9 @@
|
||||
"rows" : 9089},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$and":[{"field31_list_idx":{"$lt":58},"field22_list_idx":{"$type":"int"},"field42_mixed":{"$lt":true}},{"$or":[{"field7_str_idx":{"$eq":"ku"},"field13_list_idx":{"$size":15},"field41_dict":{"$lt":{"b":1,"e":1}},"field46_datetime":{"$gte":"2024-02-16T00:00:00.000Z"}},{"field10_datetime_idx":{"$lt":"2024-02-05T00:00:00.000Z"},"field2_Timestamp_idx":{"$gt":{"$timestamp":{"t":1717655360,"i":0}}},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"8.4"}}}]},{"$nor":[{"field22_list_idx":{"$all":[67,115,18,55,62,54,193,69]},"field26_int_idx":{"$gt":64}},{"field25_str_idx":{"$eq":"N"},"field15_mixed_idx":{"$eq":"2024-02-09T00:00:00.000Z"}}]}],"field40_list":{"$size":2},"field23_dict_idx":{"$gte":{"b":6}}}},{"$sort":{"field19_datetime_idx":1,"field25_str_idx":-1}},{"$project":{"field19_datetime_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ b: 6.0 }, [])"]}}}}},
|
||||
"keys" : 27064,
|
||||
"docs" : 27064,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"ku\", \"ku\"]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field30_Decimal128_idx_-1_field23_dict_idx_1","indexBounds":{"field30_Decimal128_idx":["(8.4, -inf]"],"field23_dict_idx":["[{ b: 6.0 }, [])"]}}}]}}}},
|
||||
"keys" : 26942,
|
||||
"docs" : 40681,
|
||||
"sorts": 13648,
|
||||
"plans": 7,
|
||||
"rows" : 1626},
|
||||
@ -6404,9 +6404,9 @@
|
||||
"rows" : 89114},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field34_str_idx":{"$regex":{"$regex":"h","$options":""}},"field35_int_idx":{"$lte":726},"field19_datetime_idx":{"$ne":"2024-01-03T00:00:00.000Z"},"$or":[{"field43_str":{"$ne":"y"},"field21_Decimal128_idx":{"$exists":false}},{"field4_list_idx":37,"field18_bool_idx":{"$gte":true}},{"$and":[{"field4_list_idx":{"$all":[]},"field10_datetime_idx":{"$gt":"2024-01-04T00:00:00.000Z"},"field7_str_idx":{"$lt":"Hh"}},{"field4_list_idx":{"$elemMatch":{"$size":19}},"field30_Decimal128_idx":{"$lte":{"$numberDecimal":"1.45"}}}]},{"field19_datetime_idx":{"$gt":"2024-01-23T00:00:00.000Z"},"field13_list_idx":{"$size":9},"field25_str_idx":{"$lte":"DW"},"field29_Timestamp_idx":{"$lte":{"$timestamp":{"t":1736169852,"i":0}}}},{"$and":[{"field7_str_idx":{"$gt":"JgeX"},"field27_bool_idx":{"$lte":false},"field21_Decimal128_idx":{"$gte":{"$numberDecimal":"3.4"}}},{"field45_bool":{"$gt":false},"field18_bool_idx":{"$exists":true}}]}]}},{"$project":{"field18_bool_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})","[/h/, /h/]"],"field25_str_idx":["[MaxKey, MinKey]"]}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 2019,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[true, true]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field18_bool_idx_-1_field1_datetime_idx_1_field22_list_idx_1","indexBounds":{"field18_bool_idx":["[MaxKey, MinKey]"],"field1_datetime_idx":["[MinKey, MaxKey]"],"field22_list_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field21_Decimal128_idx_-1","indexBounds":{"field21_Decimal128_idx":["[null, null]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","filter":true,"indexName":"field34_str_idx_1_field25_str_idx_-1","indexBounds":{"field34_str_idx":["[\"\", {})","[/h/, /h/]"],"field25_str_idx":["[\"DW\", \"\"]"]}}}]}}},
|
||||
"keys" : 125119,
|
||||
"docs" : 102105,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 8},
|
||||
@ -6428,9 +6428,9 @@
|
||||
"rows" : 96624},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field30_Decimal128_idx":{"$gt":{"$numberDecimal":"4.5"}},"field46_datetime":{"$type":"date"},"field20_Timestamp_idx":{"$lt":{"$timestamp":{"t":1765760699,"i":0}}},"field1_datetime_idx":{"$lte":"2024-03-05T00:00:00.000Z"},"field6_mixed_idx":{"$nin":["z"]},"field9_bool_idx":{"$gt":false},"field11_Timestamp_idx":{"$gte":{"$timestamp":{"t":1732683651,"i":0}}},"field29_Timestamp_idx":{"$type":"timestamp"},"$or":[{"field25_str_idx":{"$eq":"hI"},"field33_mixed_idx":{"$ne":35}},{"field39_Decimal128":{"$lt":{"$numberDecimal":"6.2"}},"field35_int_idx":{"$gte":314},"field40_list":{"$elemMatch":{"$in":["w","k","n","b","o","f","c","p"],"$nin":[66,94]}}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field30_Decimal128_idx_-1_field23_dict_idx_1","indexBounds":{"field30_Decimal128_idx":["[inf, 4.5)"],"field23_dict_idx":["[MinKey, MaxKey]"]}}},
|
||||
"keys" : 3920,
|
||||
"docs" : 3920,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field9_bool_idx_-1_field35_int_idx_1","indexBounds":{"field9_bool_idx":["[true, false)"],"field35_int_idx":["[314.0, inf]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[\"hI\", \"hI\"]"]}}}]}},
|
||||
"keys" : 1996,
|
||||
"docs" : 2068,
|
||||
"sorts": 0,
|
||||
"plans": 11,
|
||||
"rows" : 3},
|
||||
@ -6452,9 +6452,9 @@
|
||||
"rows" : 88},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field4_list_idx":{"$nin":[]},"field31_list_idx":91,"field18_bool_idx":{"$lt":false}},{"field31_list_idx":96,"field33_mixed_idx":{"$eq":65},"field6_mixed_idx":false}],"$or":[{"field43_str":{"$gte":"u"},"field40_list":{"$regex":{"$regex":"b","$options":""}},"field23_dict_idx":{"$gte":{"b":3}}},{"$and":[{"field31_list_idx":{"$elemMatch":{"$nin":[51,149,50,68,43,48,10]}},"field34_str_idx":{"$regex":{"$regex":"sp","$options":""}}},{"field37_datetime":{"$gte":"2024-01-09T00:00:00.000Z"},"field24_mixed_idx":864},{"field3_Decimal128_idx":{"$exists":false},"field25_str_idx":{"$ne":"mw"}}]},{"field31_list_idx":{"$gt":43},"field7_str_idx":{"$ne":"ooZG"}}],"field13_list_idx":{"$type":"int"},"field25_str_idx":{"$gt":"K"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ b: 3.0 }, [])"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[864.0, 864.0]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[inf, 43.0)"],"field7_str_idx":["[MaxKey, \"ooZG\")","(\"ooZG\", MinKey]"]}}]}},
|
||||
"keys" : 33461,
|
||||
"docs" : 33460,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["(\"K\", {})"]}}},
|
||||
"keys" : 79473,
|
||||
"docs" : 79473,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
"rows" : 65},
|
||||
@ -6500,9 +6500,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field24_mixed_idx":{"$gte":{"$timestamp":{"t":1704067200,"i":0}}},"field31_list_idx":{"$lt":37},"field4_list_idx":{"$lte":56},"field10_datetime_idx":{"$exists":true},"field1_datetime_idx":{"$ne":"2024-02-15T00:00:00.000Z"},"field40_list":{"$lt":555},"field28_datetime_idx":{"$gte":"2024-01-09T00:00:00.000Z"},"field22_list_idx":{"$nin":[36,31,106,20]},"$nor":[{"field22_list_idx":{"$elemMatch":{"$size":11}},"field16_str_idx":{"$gt":"T"},"field35_int_idx":{"$eq":5562}},{"field20_Timestamp_idx":{"$gte":{"$timestamp":{"t":1759419570,"i":0}}},"field35_int_idx":{"$lte":9588},"field27_bool_idx":{"$gte":false}}]}},{"$project":{"field47_Timestamp":1,"field40_list":1,"field29_Timestamp_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(1704758400000), new Date(9223372036854775807)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 85,
|
||||
"docs" : 85,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1704067200, 0)]"],"field28_datetime_idx":["[new Date(1704758400000), new Date(9223372036854775807)]"]}}}},
|
||||
"keys" : 65,
|
||||
"docs" : 62,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 27},
|
||||
@ -6524,9 +6524,9 @@
|
||||
"rows" : 10966},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field40_list":{"$gte":21}},{"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"8.1"}},"field27_bool_idx":{"$eq":false},"field19_datetime_idx":{"$ne":"2024-02-09T00:00:00.000Z"}}],"$or":[{"$and":[{"field9_bool_idx":{"$gt":true},"field22_list_idx":{"$exists":false}},{"field24_mixed_idx":{"$size":17},"field21_Decimal128_idx":{"$exists":false},"field22_list_idx":{"$size":8},"field13_list_idx":{"$all":[46]}}]},{"field27_bool_idx":{"$lte":false},"field23_dict_idx":{"$gt":{"c":2}}},{"field41_dict":{"$type":"objectId"},"field14_dict_idx":{"$gt":{"i":1,"b":1,"d":1}}}],"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"100.3"}},"field26_int_idx":{"$lt":7},"field35_int_idx":{"$ne":336}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field26_int_idx_-1_field21_Decimal128_idx_-1","indexBounds":{"field26_int_idx":["(7.0, -inf]"],"field21_Decimal128_idx":["[MaxKey, MinKey]"]}}},
|
||||
"keys" : 15429,
|
||||
"docs" : 15429,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field9_bool_idx_-1_field35_int_idx_1","indexBounds":{"field9_bool_idx":[],"field35_int_idx":["[MinKey, 336.0)","(336.0, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { i: 1.0, b: 1.0, d: 1.0 })"],"field34_str_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["({ c: 2.0 }, [])"]}}}]}},
|
||||
"keys" : 14301,
|
||||
"docs" : 27302,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 2},
|
||||
@ -6540,9 +6540,9 @@
|
||||
"rows" : 126},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field45_bool":{"$lte":true},"field25_str_idx":{"$exists":true},"$or":[{"field33_mixed_idx":{"$ne":9},"field31_list_idx":{"$lt":20}},{"field19_datetime_idx":{"$type":"date"},"field27_bool_idx":{"$gt":false}},{"$or":[{"field44_int":{"$type":"int"},"field24_mixed_idx":{"$gt":205}},{"field13_list_idx":{"$type":"int"},"field47_Timestamp":{"$eq":{"$timestamp":{"t":1756993998,"i":0}}}}]},{"field22_list_idx":{"$nin":[21,69]},"field6_mixed_idx":{"$in":[23940,94274,1,79745,38712,5576]},"field9_bool_idx":{"$lt":true},"field4_list_idx":[53,2]},{"field6_mixed_idx":{"$ne":"x"},"field43_str":{"$gt":"f"}}]}},{"$sort":{"field5_dict_idx":-1,"field21_Decimal128_idx":-1,"field18_bool_idx":1}},{"$project":{"field27_bool_idx":1,"field34_str_idx":1,"_id":0}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field25_str_idx_1","indexBounds":{"field25_str_idx":["[MinKey, MaxKey]"]}}}}},
|
||||
"keys" : 100000,
|
||||
"docs" : 100000,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[[ 53.0, 2.0 ], [ 53.0, 2.0 ]]","[53.0, 53.0]"],"field9_bool_idx":["[false, true)"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field6_mixed_idx_1","indexBounds":{"field6_mixed_idx":["[MinKey, \"x\")","(\"x\", MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[nan, inf]"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field19_datetime_idx_1","indexBounds":{"field19_datetime_idx":["[new Date(-9223372036854775808), new Date(9223372036854775807)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[inf, 205.0)"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["(20.0, -inf]"],"field7_str_idx":["[MaxKey, MinKey]"]}}}]}}}},
|
||||
"keys" : 429192,
|
||||
"docs" : 495086,
|
||||
"sorts": 1221602,
|
||||
"plans": 5,
|
||||
"rows" : 97801},
|
||||
@ -6836,9 +6836,9 @@
|
||||
"rows" : 9033},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"field7_str_idx":{"$regex":{"$regex":"jnqK","$options":""}},"field21_Decimal128_idx":{"$ne":{"$numberDecimal":"2.4"}},"field10_datetime_idx":{"$exists":false},"field4_list_idx":{"$exists":false}},{"field13_list_idx":{"$in":[40]},"field35_int_idx":{"$type":"int"},"field45_bool":{"$gte":true},"field36_bool":{"$gt":false},"field4_list_idx":{"$regex":{"$regex":"p","$options":""}}},{"field0_bool_idx":{"$type":"bool"},"field13_list_idx":{"$nin":[38,54,55,84,5,95,21,20,12]}}],"field35_int_idx":{"$lte":8086},"field41_dict":{"$lte":{"b":2,"h":1}}}},{"$project":{"field35_int_idx":1,"field12_Decimal128_idx":1}}],
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[8086.0, -inf]"],"field10_datetime_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 97084,
|
||||
"docs" : 97084,
|
||||
"winningPlan": {"stage":"PROJECTION_SIMPLE","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field0_bool_idx_1","indexBounds":{"field0_bool_idx":["[false, true]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[40.0, 40.0]"],"field28_datetime_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field35_int_idx_-1_field10_datetime_idx_1","indexBounds":{"field35_int_idx":["[8086.0, -inf]"],"field10_datetime_idx":["[null, null]"]}}}]}}},
|
||||
"keys" : 106540,
|
||||
"docs" : 198054,
|
||||
"sorts": 0,
|
||||
"plans": 6,
|
||||
"rows" : 63703},
|
||||
@ -6908,9 +6908,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$or":[{"field24_mixed_idx":{"$regex":{"$regex":"b","$options":""}},"field42_mixed":{"$gt":{"b":7}}},{"field7_str_idx":{"$lt":"Wgd"},"field24_mixed_idx":{"$regex":{"$regex":"^x","$options":""}},"field14_dict_idx":{"$gte":{"c":1}},"field1_datetime_idx":{"$eq":"2024-05-29T00:00:00.000Z"}}]},{"field22_list_idx":[27,52,26,43],"field40_list":{"$eq":"o"}},{"field28_datetime_idx":{"$type":"date"},"field13_list_idx":{"$lte":11},"field11_Timestamp_idx":{"$lte":{"$timestamp":{"t":1762715599,"i":0}}}}],"field36_bool":{"$type":"bool"},"field14_dict_idx":{"$lt":{"b":4,"d":1}}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field1_datetime_idx_1","indexBounds":{"field1_datetime_idx":["[new Date(1716940800000), new Date(1716940800000)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field22_list_idx_1","indexBounds":{"field22_list_idx":["[27.0, 27.0]","[[ 27.0, 52.0, 26.0, 43.0 ], [ 27.0, 52.0, 26.0, 43.0 ]]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[/b/, /b/]","({}, \"\"]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(9223372036854775807)]"],"field23_dict_idx":["[MinKey, MaxKey]"]}}}]}},
|
||||
"keys" : 24326,
|
||||
"docs" : 27228,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field13_list_idx_1_field28_datetime_idx_-1","indexBounds":{"field13_list_idx":["[-inf, 11.0]"],"field28_datetime_idx":["[new Date(9223372036854775807), new Date(-9223372036854775808)]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":[],"field34_str_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field22_list_idx_1","indexBounds":{"field22_list_idx":["[27.0, 27.0]","[[ 27.0, 52.0, 26.0, 43.0 ], [ 27.0, 52.0, 26.0, 43.0 ]]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field24_mixed_idx_-1_field28_datetime_idx_1","indexBounds":{"field24_mixed_idx":["[/b/, /b/]","({}, \"\"]"],"field28_datetime_idx":["[MinKey, MaxKey]"]}}}]}},
|
||||
"keys" : 24993,
|
||||
"docs" : 27190,
|
||||
"sorts": 0,
|
||||
"plans": 7,
|
||||
"rows" : 125},
|
||||
@ -7380,8 +7380,8 @@
|
||||
"rows" : 32472},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field31_list_idx":{"$nin":[13,83]},"field11_Timestamp_idx":{"$lt":{"$timestamp":{"t":1766678471,"i":0}}},"$nor":[{"$or":[{"field18_bool_idx":{"$gte":false},"field6_mixed_idx":{"$size":16},"field22_list_idx":4},{"$and":[{"field24_mixed_idx":{"$elemMatch":{"$gt":824}},"field0_bool_idx":{"$ne":false},"field15_mixed_idx":{"$eq":"2024-03-27T00:00:00.000Z"}},{"field13_list_idx":[1,15,193,14,74,11],"field30_Decimal128_idx":{"$ne":{"$numberDecimal":"2.7"}},"field24_mixed_idx":{"$ne":{"$timestamp":{"t":1767139200,"i":0}}}},{"field20_Timestamp_idx":{"$gte":{"$timestamp":{"t":1727426630,"i":0}}},"field47_Timestamp":{"$gt":{"$timestamp":{"t":1735189051,"i":0}}}},{"field37_datetime":{"$gt":"2024-07-03T00:00:00.000Z"},"field6_mixed_idx":5545}]},{"field40_list":{"$elemMatch":{"$size":1}},"field30_Decimal128_idx":{"$gt":{"$numberDecimal":"2.39"}},"field5_dict_idx":{"$eq":{"b":1,"c":4}}}]},{"field27_bool_idx":{"$ne":false},"field22_list_idx":{"$elemMatch":{"$all":[]}}}],"$or":[{"field44_int":{"$lt":24330},"field14_dict_idx":{"$gte":{"b":1,"g":2}}},{"field16_str_idx":{"$gt":"Ta"},"field32_dict_idx":{"$ne":{"b":7}},"field31_list_idx":{"$size":15},"field7_str_idx":{"$regex":{"$regex":"^peh","$options":""}}}],"field6_mixed_idx":{"$nin":[67120,77531,69494,4819,38212,64708]},"field34_str_idx":{"$lt":"R"}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"peh\", \"pei\")","[/^peh/, /^peh/]"],"field20_Timestamp_idx":["[MaxKey, MinKey]"],"field6_mixed_idx":["[MaxKey, 77531.0)","(77531.0, 69494.0)","(69494.0, 67120.0)","(67120.0, 64708.0)","(64708.0, 38212.0)","(38212.0, 4819.0)","(4819.0, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { b: 1.0, g: 2.0 }]"],"field34_str_idx":["(\"R\", \"\"]"]}}}]}},
|
||||
"keys" : 15792,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field14_dict_idx_-1_field34_str_idx_-1","indexBounds":{"field14_dict_idx":["([], { b: 1.0, g: 2.0 }]"],"field34_str_idx":["(\"R\", \"\"]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field31_list_idx_-1_field7_str_idx_-1","indexBounds":{"field31_list_idx":["[MaxKey, 83.0)","(83.0, 13.0)","(13.0, MinKey]"],"field7_str_idx":["[/^peh/, /^peh/]","(\"pei\", \"peh\"]"]}}}]}},
|
||||
"keys" : 15934,
|
||||
"docs" : 27818,
|
||||
"sorts": 0,
|
||||
"plans": 8,
|
||||
@ -7396,9 +7396,9 @@
|
||||
"rows" : 41},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$nor":[{"field43_str":{"$exists":false},"field40_list":{"$regex":{"$regex":"v","$options":""}},"field31_list_idx":{"$lt":9}},{"field31_list_idx":[77],"field1_datetime_idx":{"$gt":"2024-02-11T00:00:00.000Z"},"field4_list_idx":{"$regex":{"$regex":"^j","$options":""}},"field23_dict_idx":{"$lte":{"j":1,"b":1}}}],"field25_str_idx":{"$lt":"Mq"},"field23_dict_idx":{"$gte":{"m":1}},"field13_list_idx":{"$elemMatch":{"$nin":[13,16,27,61]}},"field21_Decimal128_idx":{"$lte":{"$numberDecimal":"8.14"}},"$and":[{"field35_int_idx":{"$gte":998},"field28_datetime_idx":{"$lte":"2024-01-26T00:00:00.000Z"}},{"field10_datetime_idx":{"$lte":"2024-02-06T00:00:00.000Z"},"field22_list_idx":{"$lte":187},"field26_int_idx":{"$gte":42}}]}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field23_dict_idx_1","indexBounds":{"field23_dict_idx":["[{ m: 1.0 }, [])"]}}},
|
||||
"keys" : 611,
|
||||
"docs" : 611,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field28_datetime_idx_1_field23_dict_idx_1","indexBounds":{"field28_datetime_idx":["[new Date(-9223372036854775808), new Date(1706227200000)]"],"field23_dict_idx":["[{ m: 1.0 }, [])"]}}},
|
||||
"keys" : 59,
|
||||
"docs" : 34,
|
||||
"sorts": 0,
|
||||
"plans": 9,
|
||||
"rows" : 1},
|
||||
@ -7540,9 +7540,9 @@
|
||||
"rows" : 1},
|
||||
|
||||
{">>>pipeline": [{"$match":{"$or":[{"$and":[{"field26_int_idx":{"$lte":71},"field16_str_idx":{"$lte":"Si"}},{"field6_mixed_idx":{"$nin":[]},"field40_list":{"$all":[51,45,161,31,27,19,158,625]},"field33_mixed_idx":{"$lt":85}},{"field21_Decimal128_idx":{"$ne":{"$numberDecimal":"6.3"}},"field31_list_idx":[70,112,12,26,39],"field32_dict_idx":{"$gte":{"b":19}},"field22_list_idx":91},{"field40_list":[29,11,20,22],"field35_int_idx":{"$ne":4334},"field31_list_idx":{"$ne":50},"field4_list_idx":{"$size":7}}]},{"field37_datetime":{"$type":"date"},"field7_str_idx":{"$lt":"mmf"}}],"field20_Timestamp_idx":{"$gte":{"$timestamp":{"t":1753113733,"i":0}}},"field36_bool":{"$ne":false}}}],
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field20_Timestamp_idx_-1","indexBounds":{"field20_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1753113733, 0)]"]}}},
|
||||
"keys" : 39890,
|
||||
"docs" : 39890,
|
||||
"winningPlan": {"stage":"FETCH","filter":true,"inputStage":{"stage":"OR","inputStages":[{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field7_str_idx_1_field20_Timestamp_idx_-1_field6_mixed_idx_-1","indexBounds":{"field7_str_idx":["[\"\", \"mmf\")"],"field20_Timestamp_idx":["[Timestamp(4294967295, 4294967295), Timestamp(1753113733, 0)]"],"field6_mixed_idx":["[MaxKey, MinKey]"]}}},{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field22_list_idx_1","indexBounds":{"field22_list_idx":["[91.0, 91.0]"]}}}]}},
|
||||
"keys" : 52894,
|
||||
"docs" : 59533,
|
||||
"sorts": 0,
|
||||
"plans": 10,
|
||||
"rows" : 29048},
|
||||
@ -7948,8 +7948,8 @@
|
||||
"rows" : 362},
|
||||
|
||||
{">>>pipeline": [{"$match":{"field4_list_idx":{"$exists":true},"field9_bool_idx":{"$lte":false},"$or":[{"$or":[{"field40_list":{"$elemMatch":{"$in":["s"]}},"field7_str_idx":{"$ne":"oWO"}},{"field19_datetime_idx":{"$gte":"2024-01-17T00:00:00.000Z"},"field4_list_idx":{"$regex":{"$regex":"e","$options":""}},"field5_dict_idx":{"$exists":false}}]},{"$and":[{"field5_dict_idx":{"$type":"objectId"},"field28_datetime_idx":{"$lte":"2024-01-03T00:00:00.000Z"}},{"field1_datetime_idx":{"$type":"date"},"field30_Decimal128_idx":{"$lt":{"$numberDecimal":"7.5"}},"field45_bool":{"$lte":true}},{"field42_mixed":{"$type":"bool"},"field26_int_idx":{"$gt":70}}]},{"field14_dict_idx":{"$ne":{"f":6}},"field5_dict_idx":{"$exists":false},"field43_str":{"$ne":"b"},"field39_Decimal128":{"$gte":{"$numberDecimal":"9.2"}}}]}},{"$sort":{"field18_bool_idx":-1,"field23_dict_idx":1,"field3_Decimal128_idx":-1}}],
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field9_bool_idx_-1_field35_int_idx_1","indexBounds":{"field9_bool_idx":["[false, false]"],"field35_int_idx":["[MinKey, MaxKey]"]}}}},
|
||||
"keys" : 88249,
|
||||
"winningPlan": {"stage":"SORT","inputStage":{"stage":"FETCH","filter":true,"inputStage":{"stage":"IXSCAN","indexName":"field4_list_idx_-1_field9_bool_idx_1","indexBounds":{"field4_list_idx":["[MaxKey, MinKey]"],"field9_bool_idx":["[false, false]"]}}}},
|
||||
"keys" : 102100,
|
||||
"docs" : 88249,
|
||||
"sorts": 3,
|
||||
"plans": 8,
|
||||
@ -8268,7 +8268,7 @@
|
||||
"rows" : 96224}
|
||||
|
||||
],
|
||||
">>>totals": {"pipelines": 1032, "plans": 7958, "keys": 27665598, "docs": 26943285, "sorts": 9788519, "rows": 10011323, "errors": 0},
|
||||
">>>totals": {"pipelines": 1032, "plans": 7958, "keys": 29209574, "docs": 28822016, "sorts": 9788519, "rows": 10011323, "errors": 0},
|
||||
">>>parameters": {"featureFlagCostBasedRanker":{"value":true,"version":"8.3","fcv_gated":false,"currentlyEnabled":true},"internalQueryCBRCEMode":"samplingCE","samplingMarginOfError":5,"samplingConfidenceInterval":"95","internalQuerySamplingCEMethod":"chunk","internalQuerySamplingBySequentialScan":true}}
|
||||
|
||||
|
||||
|
||||
@ -34,10 +34,10 @@ function assertStats() {
|
||||
const mechStats = asAdmin({serverStatus: 1}).security.authentication.mechanisms[x509];
|
||||
|
||||
try {
|
||||
assert.eq(mechStats.ingress.authenticate.total, expected.ingress.authenticate.total);
|
||||
assert.eq(mechStats.ingress.authenticate.successful, expected.ingress.authenticate.successful);
|
||||
assert.eq(mechStats.ingress.clusterAuthenticate.total, expected.ingress.clusterAuthenticate.total);
|
||||
assert.eq(mechStats.ingress.clusterAuthenticate.successful, expected.ingress.clusterAuthenticate.successful);
|
||||
assert.eq(mechStats.authenticate.received, expected.authenticate.received);
|
||||
assert.eq(mechStats.authenticate.successful, expected.authenticate.successful);
|
||||
assert.eq(mechStats.clusterAuthenticate.received, expected.clusterAuthenticate.received);
|
||||
assert.eq(mechStats.clusterAuthenticate.successful, expected.clusterAuthenticate.successful);
|
||||
} catch (e) {
|
||||
print("mechStats: " + tojson(mechStats));
|
||||
print("expected: " + tojson(expected));
|
||||
@ -48,14 +48,14 @@ function assertStats() {
|
||||
function assertSuccess(creds) {
|
||||
assert.eq(external.auth(creds), true);
|
||||
external.logout();
|
||||
++expected.ingress.authenticate.total;
|
||||
++expected.ingress.authenticate.successful;
|
||||
++expected.authenticate.received;
|
||||
++expected.authenticate.successful;
|
||||
assertStats();
|
||||
}
|
||||
|
||||
function assertFailure(creds) {
|
||||
assert.eq(external.auth(creds), false);
|
||||
++expected.ingress.authenticate.total;
|
||||
++expected.authenticate.received;
|
||||
assertStats();
|
||||
}
|
||||
|
||||
@ -79,10 +79,10 @@ function assertSuccessInternal() {
|
||||
),
|
||||
0,
|
||||
);
|
||||
++expected.ingress.authenticate.total;
|
||||
++expected.ingress.authenticate.successful;
|
||||
++expected.ingress.clusterAuthenticate.total;
|
||||
++expected.ingress.clusterAuthenticate.successful;
|
||||
++expected.authenticate.received;
|
||||
++expected.authenticate.successful;
|
||||
++expected.clusterAuthenticate.received;
|
||||
++expected.clusterAuthenticate.successful;
|
||||
assertStats();
|
||||
}
|
||||
|
||||
|
||||
@ -54,8 +54,8 @@ function assertStats(cb) {
|
||||
// No speculative auth attempts yet.
|
||||
assertStats(function (mechStats) {
|
||||
Object.keys(mechStats).forEach(function (mech) {
|
||||
const stats = mechStats[mech].ingress.speculativeAuthenticate;
|
||||
assert.eq(stats.total, 0);
|
||||
const stats = mechStats[mech].speculativeAuthenticate;
|
||||
assert.eq(stats.received, 0);
|
||||
assert.eq(stats.successful, 0);
|
||||
});
|
||||
});
|
||||
@ -64,34 +64,34 @@ assertStats(function (mechStats) {
|
||||
const baseURI = "mongodb://localhost:" + mongod.port + "/admin";
|
||||
test(baseURI + "?authMechanism=MONGODB-X509");
|
||||
assertStats(function (mechStats) {
|
||||
const stats = mechStats["MONGODB-X509"].ingress.speculativeAuthenticate;
|
||||
assert.eq(stats.total, 1);
|
||||
const stats = mechStats["MONGODB-X509"].speculativeAuthenticate;
|
||||
assert.eq(stats.received, 1);
|
||||
assert.eq(stats.successful, 1);
|
||||
});
|
||||
|
||||
// Connect without speculation and still have 1/1 result.
|
||||
test(baseURI);
|
||||
assertStats(function (mechStats) {
|
||||
const stats = mechStats["MONGODB-X509"].ingress.speculativeAuthenticate;
|
||||
assert.eq(stats.total, 1);
|
||||
const stats = mechStats["MONGODB-X509"].speculativeAuthenticate;
|
||||
assert.eq(stats.received, 1);
|
||||
assert.eq(stats.successful, 1);
|
||||
});
|
||||
|
||||
// We haven't done any cluster auth yet, so clusterAuthenticate counts should be 0
|
||||
assertStats(function (mechStats) {
|
||||
const stats = mechStats["MONGODB-X509"].ingress.clusterAuthenticate;
|
||||
assert.eq(stats.total, 0);
|
||||
const stats = mechStats["MONGODB-X509"].clusterAuthenticate;
|
||||
assert.eq(stats.received, 0);
|
||||
assert.eq(stats.successful, 0);
|
||||
});
|
||||
|
||||
// Connect intra-cluster with speculation.
|
||||
testInternal(baseURI + "?authMechanism=MONGODB-X509");
|
||||
assertStats(function (mechStats) {
|
||||
const specStats = mechStats["MONGODB-X509"].ingress.speculativeAuthenticate;
|
||||
const clusterStats = mechStats["MONGODB-X509"].ingress.clusterAuthenticate;
|
||||
assert.eq(specStats.total, 2);
|
||||
const specStats = mechStats["MONGODB-X509"].speculativeAuthenticate;
|
||||
const clusterStats = mechStats["MONGODB-X509"].clusterAuthenticate;
|
||||
assert.eq(specStats.received, 2);
|
||||
assert.eq(specStats.successful, 2);
|
||||
assert.eq(clusterStats.total, 1);
|
||||
assert.eq(clusterStats.received, 1);
|
||||
assert.eq(clusterStats.successful, 1);
|
||||
});
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Tests that client-side SASL authentication using X.509 produces the expected connection health
|
||||
* log lines and increments the auth counter as expected.
|
||||
* log lines.
|
||||
*/
|
||||
|
||||
import {ShardingTest} from "jstests/libs/shardingtest.js";
|
||||
@ -33,91 +33,30 @@ const st = new ShardingTest({
|
||||
|
||||
jsTest.log.info("Check secondary config servers for authentication logs");
|
||||
st.configRS.getSecondaries().forEach((conn) => {
|
||||
const external = conn.getDB("$external");
|
||||
assert.eq(
|
||||
1,
|
||||
external.auth({
|
||||
mechanism: "MONGODB-X509",
|
||||
}),
|
||||
`X.509 auth failed on secondary ${conn.host} before running serverStatus`,
|
||||
);
|
||||
const stats = assert.commandWorked(external.runCommand({serverStatus: 1})).security.authentication;
|
||||
jsTest.log.info("Authn stats: " + tojson(stats));
|
||||
assert.gt(stats.totalEgressAuthenticationTimeMicros, 0);
|
||||
const mechStats = stats.mechanisms;
|
||||
|
||||
let egressAuthSuccesses;
|
||||
// We should see egress MONGODB-X509 auths and speculative auths, and no other egress auths
|
||||
for (const [mech, stats] of Object.entries(mechStats)) {
|
||||
if (mech === "MONGODB-X509") {
|
||||
egressAuthSuccesses = stats.egress.authenticate.successful;
|
||||
assert.gte(
|
||||
egressAuthSuccesses,
|
||||
1,
|
||||
"Expected at least one egress MONGODB-X509 authenticate success on " + conn.host,
|
||||
);
|
||||
assert.eq(
|
||||
egressAuthSuccesses,
|
||||
stats.egress.authenticate.total,
|
||||
"MONGODB-X509 egress authenticate successful count should equal total on " + conn.host,
|
||||
);
|
||||
assert.eq(
|
||||
stats.egress.speculativeAuthenticate.total,
|
||||
0,
|
||||
"Expected no MONGODB-X509 speculativeAuthenticate attempts on " + conn.host,
|
||||
);
|
||||
} else {
|
||||
assert.eq(
|
||||
stats.egress.authenticate.total,
|
||||
0,
|
||||
"Mechanism " + mech + " should have no egress authenticate attempts on " + conn.host,
|
||||
);
|
||||
assert.eq(
|
||||
stats.egress.speculativeAuthenticate.total,
|
||||
0,
|
||||
"Mechanism " + mech + " should have no egress speculativeAuthenticate attempts on " + conn.host,
|
||||
);
|
||||
assert.eq(
|
||||
stats.ingress.authenticate.total,
|
||||
0,
|
||||
"Mechanism " + mech + " should have no ingress authenticate attempts on " + conn.host,
|
||||
);
|
||||
assert.eq(
|
||||
stats.ingress.speculativeAuthenticate.total,
|
||||
0,
|
||||
"Mechanism " + mech + " should have no ingress speculativeAuthenticate attempts on " + conn.host,
|
||||
);
|
||||
assert.eq(
|
||||
stats.ingress.clusterAuthenticate.total,
|
||||
0,
|
||||
"Mechanism " + mech + " should have no ingress clusterAuthenticate attempts on " + conn.host,
|
||||
);
|
||||
}
|
||||
}
|
||||
// getLog pulls a maximum of 1024 entries, which is sometimes not enough to find intra-cluster
|
||||
// auth logs because startup is noisy. Instead, we search the log file directly.
|
||||
const successMessages = checkLog.getFilteredLogMessages(
|
||||
conn.fullOptions.logFile,
|
||||
kClientSaslX509SuccessLogId,
|
||||
{
|
||||
"subjectName": "CN=clustertest,OU=Kernel,O=MongoDB,L=New York City,ST=New York,C=US",
|
||||
"targetDatabase": "$external",
|
||||
"mechanism": "MONGODB-X509",
|
||||
"result": 0,
|
||||
"metrics": {
|
||||
"conversation_duration": {
|
||||
// X.509 auth has one step, so we don't collect step-by-step metrics.
|
||||
"summary": {},
|
||||
assert.soon(
|
||||
() =>
|
||||
checkLog.checkContainsWithAtLeastCountJson(
|
||||
conn.fullOptions.logFile,
|
||||
kClientSaslX509SuccessLogId,
|
||||
{
|
||||
"subjectName": "CN=clustertest,OU=Kernel,O=MongoDB,L=New York City,ST=New York,C=US",
|
||||
"targetDatabase": "$external",
|
||||
"mechanism": "MONGODB-X509",
|
||||
"result": 0,
|
||||
"metrics": {
|
||||
"conversation_duration": {
|
||||
// X.509 auth has one step, so we don't collect step-by-step metrics.
|
||||
"summary": {},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
null /* severity */,
|
||||
true /* isRelaxed */,
|
||||
);
|
||||
assert.lte(
|
||||
Math.abs(successMessages.length - egressAuthSuccesses),
|
||||
2,
|
||||
"X.509 success log message count should be roughly egress auth success count on " + conn.host,
|
||||
1 /* expectedCount */,
|
||||
null /* severity */,
|
||||
true /* isRelaxed */,
|
||||
),
|
||||
`Did not find SASL success log on secondary config server ${conn.host}`,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@ -51,19 +51,19 @@ assert(initialMechStats["MONGODB-X509"] !== undefined);
|
||||
// because we authenticated as `admin` using the shell helpers with SCRAM.
|
||||
// Because of the simple cluster topology, we should have no intracluster authentication attempts.
|
||||
Object.keys(initialMechStats).forEach(function (mech) {
|
||||
const specStats = initialMechStats[mech].ingress.speculativeAuthenticate;
|
||||
const clusterStats = initialMechStats[mech].ingress.clusterAuthenticate;
|
||||
const specStats = initialMechStats[mech].speculativeAuthenticate;
|
||||
const clusterStats = initialMechStats[mech].clusterAuthenticate;
|
||||
|
||||
if (mech === "MONGODB-X509") {
|
||||
assert.eq(clusterStats.total, 1);
|
||||
assert.eq(clusterStats.received, 1);
|
||||
}
|
||||
|
||||
// No speculation has occured
|
||||
assert.eq(specStats.total, 0);
|
||||
assert.eq(specStats.received, 0);
|
||||
|
||||
// Statistics should be consistent for all mechanisms
|
||||
assert.eq(specStats.total, specStats.successful);
|
||||
assert.eq(clusterStats.total, clusterStats.successful);
|
||||
assert.eq(specStats.received, specStats.successful);
|
||||
assert.eq(clusterStats.received, clusterStats.successful);
|
||||
});
|
||||
|
||||
{
|
||||
@ -88,22 +88,22 @@ Object.keys(initialMechStats).forEach(function (mech) {
|
||||
const newMechStats = getMechStats(admin);
|
||||
printjson(newMechStats);
|
||||
assert.eq(
|
||||
newMechStats["MONGODB-X509"].ingress.speculativeAuthenticate.total,
|
||||
newMechStats["MONGODB-X509"].ingress.speculativeAuthenticate.successful,
|
||||
newMechStats["MONGODB-X509"].speculativeAuthenticate.received,
|
||||
newMechStats["MONGODB-X509"].speculativeAuthenticate.successful,
|
||||
);
|
||||
assert.eq(
|
||||
newMechStats["MONGODB-X509"].ingress.clusterAuthenticate.total,
|
||||
newMechStats["MONGODB-X509"].ingress.clusterAuthenticate.successful,
|
||||
newMechStats["MONGODB-X509"].clusterAuthenticate.received,
|
||||
newMechStats["MONGODB-X509"].clusterAuthenticate.successful,
|
||||
);
|
||||
|
||||
// Speculative and cluster statistics should be incremented by intracluster auth.
|
||||
assert.gt(
|
||||
newMechStats["MONGODB-X509"].ingress.speculativeAuthenticate.total,
|
||||
initialMechStats["MONGODB-X509"].ingress.speculativeAuthenticate.successful,
|
||||
newMechStats["MONGODB-X509"].speculativeAuthenticate.received,
|
||||
initialMechStats["MONGODB-X509"].speculativeAuthenticate.successful,
|
||||
);
|
||||
assert.gt(
|
||||
newMechStats["MONGODB-X509"].ingress.clusterAuthenticate.total,
|
||||
initialMechStats["MONGODB-X509"].ingress.clusterAuthenticate.successful,
|
||||
newMechStats["MONGODB-X509"].clusterAuthenticate.received,
|
||||
initialMechStats["MONGODB-X509"].clusterAuthenticate.successful,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@ -79,21 +79,21 @@ const authStats = assert.commandWorked(admin.runCommand({serverStatus: 1})).secu
|
||||
jsTest.log("Authenticated stats: " + tojson(authStats));
|
||||
|
||||
// Got and succeeded an additional speculation.
|
||||
const initSpec = initialStats.ingress.speculativeAuthenticate;
|
||||
const authSpec = authStats.ingress.speculativeAuthenticate;
|
||||
assert.eq(authSpec.total, initSpec.total + 2);
|
||||
const initSpec = initialStats.speculativeAuthenticate;
|
||||
const authSpec = authStats.speculativeAuthenticate;
|
||||
assert.eq(authSpec.received, initSpec.received + 2);
|
||||
assert.eq(authSpec.successful, initSpec.successful + 2);
|
||||
|
||||
// Got and succeeded an additional auth.
|
||||
const initAuth = initialStats.ingress.authenticate;
|
||||
const authAuth = authStats.ingress.authenticate;
|
||||
assert.eq(authAuth.total, initAuth.total + 2);
|
||||
const initAuth = initialStats.authenticate;
|
||||
const authAuth = authStats.authenticate;
|
||||
assert.eq(authAuth.received, initAuth.received + 2);
|
||||
assert.eq(authAuth.successful, initAuth.successful + 2);
|
||||
|
||||
// Got and succeeded intra-cluster auth.
|
||||
const initCluster = initialStats.ingress.clusterAuthenticate;
|
||||
const authCluster = authStats.ingress.clusterAuthenticate;
|
||||
assert.eq(authCluster.total, initCluster.total + 1);
|
||||
const initCluster = initialStats.clusterAuthenticate;
|
||||
const authCluster = authStats.clusterAuthenticate;
|
||||
assert.eq(authCluster.received, initCluster.received + 1);
|
||||
assert.eq(authCluster.successful, initCluster.successful + 1);
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@ -295,3 +295,19 @@ const runRankFusionViewTest = (testName, inputPipelines, viewPipeline, checkCorr
|
||||
};
|
||||
testHybridSearchViewWithSubsequentUnionOnDifferentView(rankFusionInputPipelines, createRankFusionPipeline);
|
||||
})();
|
||||
|
||||
// $rankFusion with an empty input pipeline should trigger the correct error.
|
||||
(function testRankFusionEmptyPipelineOnView() {
|
||||
const collName = jsTestName() + "_empty_pipeline_coll";
|
||||
const viewName = jsTestName() + "_empty_pipeline_view";
|
||||
db[collName].drop();
|
||||
assert.commandWorked(db.createView(viewName, collName, []));
|
||||
assert.commandFailedWithCode(
|
||||
db.runCommand({
|
||||
aggregate: viewName,
|
||||
pipeline: [{$rankFusion: {input: {pipelines: {p: []}}}}],
|
||||
cursor: {},
|
||||
}),
|
||||
9834300,
|
||||
);
|
||||
})();
|
||||
|
||||
@ -345,3 +345,19 @@ const runScoreFusionViewTest = (testName, inputPipelines, viewPipeline, checkCor
|
||||
};
|
||||
testHybridSearchViewWithSubsequentUnionOnDifferentView(scoreFusionInputPipelines, createScoreFusionPipeline);
|
||||
})();
|
||||
|
||||
// $scoreFusion with an empty input pipeline should trigger the correct error.
|
||||
(function testScoreFusionEmptyPipelineOnView() {
|
||||
const collName = jsTestName() + "_empty_pipeline_coll";
|
||||
const viewName = jsTestName() + "_empty_pipeline_view";
|
||||
db[collName].drop();
|
||||
assert.commandWorked(db.createView(viewName, collName, []));
|
||||
assert.commandFailedWithCode(
|
||||
db.runCommand({
|
||||
aggregate: viewName,
|
||||
pipeline: [{$scoreFusion: {input: {pipelines: {p: []}, normalization: "none"}}}],
|
||||
cursor: {},
|
||||
}),
|
||||
9402503,
|
||||
);
|
||||
})();
|
||||
|
||||
@ -48,7 +48,6 @@
|
||||
#include "mongo/db/auth/user.h"
|
||||
#include "mongo/db/connection_health_metrics_parameter_gen.h"
|
||||
#include "mongo/db/server_options.h"
|
||||
#include "mongo/db/stats/counters.h"
|
||||
#include "mongo/db/wire_version.h"
|
||||
#include "mongo/executor/remote_command_request.h"
|
||||
#include "mongo/executor/remote_command_response.h"
|
||||
@ -71,14 +70,6 @@
|
||||
namespace mongo {
|
||||
namespace auth {
|
||||
|
||||
const std::vector<std::string> kAllMechanisms{std::string(kMechanismMongoX509),
|
||||
std::string(kMechanismSaslPlain),
|
||||
std::string(kMechanismGSSAPI),
|
||||
std::string(kMechanismScramSha1),
|
||||
std::string(kMechanismScramSha256),
|
||||
std::string(kMechanismMongoAWS),
|
||||
std::string(kMechanismMongoOIDC)};
|
||||
|
||||
using executor::RemoteCommandRequest;
|
||||
|
||||
using AuthRequest = StatusWith<RemoteCommandRequest>;
|
||||
@ -159,11 +150,7 @@ Future<void> authX509(RunCommandHook runCommand,
|
||||
}
|
||||
auto targetDb = std::move(swTargetDb.getValue());
|
||||
|
||||
auto mechCounter = authCounter.getMechanismCounter(kMechanismMongoX509);
|
||||
mechCounter.incAuthenticateSent();
|
||||
|
||||
auto argsBlock =
|
||||
std::make_tuple(hostname, params, std::string(clientName), targetDb, mechCounter);
|
||||
auto argsBlock = std::make_tuple(hostname, params, std::string(clientName), targetDb);
|
||||
auto sharedBlock = std::make_shared<decltype(argsBlock)>(std::move(argsBlock));
|
||||
|
||||
auto metricsRecorder = std::make_shared<AuthMetricsRecorder>();
|
||||
@ -173,9 +160,8 @@ Future<void> authX509(RunCommandHook runCommand,
|
||||
// into a Future<void>
|
||||
return runCommand(swAuthRequest.getValue())
|
||||
.then([metricsRecorder, sharedBlock](const BSONObj& obj) {
|
||||
auto [hostname, params, clientName, targetDb] = *sharedBlock.get();
|
||||
BSONObj metrics = metricsRecorder->captureEgress();
|
||||
auto [hostname, params, clientName, targetDb, mechCounter] = *sharedBlock.get();
|
||||
mechCounter.incEgressAuthenticateSuccessful();
|
||||
if (gEnableDetailedConnectionHealthMetricLogLines.load()) {
|
||||
LOGV2(10748708,
|
||||
"Authentication to remote host succeeded using MONGODB-X509",
|
||||
@ -189,8 +175,8 @@ Future<void> authX509(RunCommandHook runCommand,
|
||||
}
|
||||
})
|
||||
.onError([metricsRecorder, sharedBlock](const Status& status) {
|
||||
auto [hostname, params, clientName, targetDb] = *sharedBlock.get();
|
||||
BSONObj metrics = metricsRecorder->captureEgress();
|
||||
auto [hostname, params, clientName, targetDb, _] = *sharedBlock.get();
|
||||
if (gEnableDetailedConnectionHealthMetricLogLines.load()) {
|
||||
LOGV2(10748707,
|
||||
"Authentication to remote host failed using MONGODB-X509",
|
||||
@ -391,11 +377,6 @@ StatusWith<std::shared_ptr<SaslClientSession>> _speculateSaslStart(
|
||||
}
|
||||
|
||||
std::string payload;
|
||||
|
||||
auto mechCounter = authCounter.getMechanismCounter(mechanism);
|
||||
mechCounter.incAuthenticateSent();
|
||||
mechCounter.incSpeculativeAuthenticateSent();
|
||||
|
||||
AuthMetricsRecorder metricsRecorder;
|
||||
status = session->step("", &payload);
|
||||
if (!status.isOK()) {
|
||||
@ -414,8 +395,6 @@ StatusWith<std::shared_ptr<SaslClientSession>> _speculateSaslStart(
|
||||
}
|
||||
return status;
|
||||
}
|
||||
mechCounter.incEgressAuthenticateSuccessful();
|
||||
mechCounter.incEgressSpeculativeAuthenticateSuccessful();
|
||||
auto metrics = metricsRecorder.captureEgress();
|
||||
if (gEnableDetailedConnectionHealthMetricLogLines.load()) {
|
||||
LOGV2(10748710,
|
||||
|
||||
@ -71,7 +71,6 @@ constexpr auto kMechanismScramSha1 = "SCRAM-SHA-1"_sd;
|
||||
constexpr auto kMechanismScramSha256 = "SCRAM-SHA-256"_sd;
|
||||
constexpr auto kMechanismMongoAWS = "MONGODB-AWS"_sd;
|
||||
constexpr auto kMechanismMongoOIDC = "MONGODB-OIDC"_sd;
|
||||
extern const std::vector<std::string> kAllMechanisms;
|
||||
constexpr auto kInternalAuthFallbackMechanism = kMechanismScramSha1;
|
||||
|
||||
constexpr auto kSaslSupportedMechanisms = "saslSupportedMechs"_sd;
|
||||
|
||||
@ -53,7 +53,6 @@
|
||||
#include "mongo/db/auth/sasl_command_constants.h"
|
||||
#include "mongo/db/connection_health_metrics_parameter_gen.h"
|
||||
#include "mongo/db/database_name.h"
|
||||
#include "mongo/db/stats/counters.h"
|
||||
#include "mongo/executor/remote_command_request.h"
|
||||
#include "mongo/executor/remote_command_response.h"
|
||||
#include "mongo/logv2/log.h"
|
||||
@ -344,11 +343,7 @@ Future<void> saslClientAuthenticateImpl(auth::RunCommandHook runCommand,
|
||||
|
||||
BSONObj inputObj = BSON(saslCommandPayloadFieldName << "");
|
||||
|
||||
auto mechCounter = authCounter.getMechanismCounter(mechanism);
|
||||
mechCounter.incAuthenticateSent();
|
||||
|
||||
auto argsBlock =
|
||||
std::make_tuple(hostname, saslParameters, username, targetDatabase, mechanism, mechCounter);
|
||||
auto argsBlock = std::make_tuple(hostname, saslParameters, username, targetDatabase, mechanism);
|
||||
auto sharedBlock = std::make_shared<decltype(argsBlock)>(std::move(argsBlock));
|
||||
|
||||
session->metrics()->restart();
|
||||
@ -356,9 +351,9 @@ Future<void> saslClientAuthenticateImpl(auth::RunCommandHook runCommand,
|
||||
return asyncSaslConversation(
|
||||
runCommand, session, saslFirstCommandPrefix, inputObj, targetDatabase, saslLogLevel)
|
||||
.onError([session, sharedBlock](Status status) {
|
||||
BSONObj metrics = session->metrics()->captureEgress();
|
||||
auto [hostname, saslParameters, username, targetDatabase, mechanism, _] =
|
||||
auto [hostname, saslParameters, username, targetDatabase, mechanism] =
|
||||
*sharedBlock.get();
|
||||
BSONObj metrics = session->metrics()->captureEgress();
|
||||
if (gEnableDetailedConnectionHealthMetricLogLines.load()) {
|
||||
LOGV2(10748700,
|
||||
"Authentication to remote host failed using SASL",
|
||||
@ -374,10 +369,9 @@ Future<void> saslClientAuthenticateImpl(auth::RunCommandHook runCommand,
|
||||
return status;
|
||||
})
|
||||
.then([session, sharedBlock]() {
|
||||
BSONObj metrics = session->metrics()->captureEgress();
|
||||
auto [hostname, saslParameters, username, targetDatabase, mechanism, mechCounter] =
|
||||
auto [hostname, saslParameters, username, targetDatabase, mechanism] =
|
||||
*sharedBlock.get();
|
||||
mechCounter.incEgressAuthenticateSuccessful();
|
||||
BSONObj metrics = session->metrics()->captureEgress();
|
||||
if (gEnableDetailedConnectionHealthMetricLogLines.load()) {
|
||||
LOGV2(10748701,
|
||||
"Authentication to remote host succeeded using SASL",
|
||||
|
||||
@ -57,7 +57,7 @@ server_parameters:
|
||||
set_at: [startup, runtime]
|
||||
cpp_vartype: "Atomic<bool>"
|
||||
cpp_varname: gOverloadAwareServerSelectionEnabled
|
||||
default: true
|
||||
default: false
|
||||
redact: false
|
||||
connectTimeoutMs:
|
||||
description: Determines the connection timeout used in the replica set monitor.
|
||||
|
||||
@ -314,7 +314,20 @@ TEST_F(ServerSelectorTestFixture, ShouldSelectRandomlyWhenMultipleOptionsAreAvai
|
||||
ASSERT_FALSE(frequencyInfo[HostAndPort("s3")]);
|
||||
}
|
||||
|
||||
TEST_F(ServerSelectorTestFixture, ShouldNotSelectDeprioritizedHostsNearest) {
|
||||
class OverloadAwareServerSelectionTest : public ServerSelectorTestFixture {
|
||||
public:
|
||||
void setUp() override {
|
||||
ServerSelectorTestFixture::setUp();
|
||||
gOverloadAwareServerSelectionEnabled.store(true);
|
||||
}
|
||||
|
||||
void tearDown() override {
|
||||
ServerSelectorTestFixture::tearDown();
|
||||
gOverloadAwareServerSelectionEnabled.store(false);
|
||||
}
|
||||
};
|
||||
|
||||
TEST_F(OverloadAwareServerSelectionTest, ShouldNotSelectDeprioritizedHostsNearest) {
|
||||
TopologyStateMachine stateMachine(sdamConfiguration);
|
||||
auto topologyDescription = std::make_shared<TopologyDescription>(sdamConfiguration);
|
||||
|
||||
@ -421,7 +434,7 @@ TEST_F(ServerSelectorTestFixture, ShouldNotSelectDeprioritizedHostsNearest) {
|
||||
ASSERT_EQ(md.stats->numTargetingAvoidedDeprioritized.load(), 0);
|
||||
}
|
||||
|
||||
TEST_F(ServerSelectorTestFixture, ShouldNotSelectDeprioritizedPrimaryWhenPrimaryPreferred) {
|
||||
TEST_F(OverloadAwareServerSelectionTest, ShouldNotSelectDeprioritizedPrimaryWhenPrimaryPreferred) {
|
||||
TopologyStateMachine stateMachine(sdamConfiguration);
|
||||
auto topologyDescription = std::make_shared<TopologyDescription>(sdamConfiguration);
|
||||
|
||||
@ -492,7 +505,8 @@ TEST_F(ServerSelectorTestFixture, ShouldNotSelectDeprioritizedPrimaryWhenPrimary
|
||||
ASSERT_EQ(md.stats->numTargetingAvoidedDeprioritized.load(), 0);
|
||||
}
|
||||
|
||||
TEST_F(ServerSelectorTestFixture, ShouldNotSelectDeprioritizedSecondaryWhenSecondaryPreferred) {
|
||||
TEST_F(OverloadAwareServerSelectionTest,
|
||||
ShouldNotSelectDeprioritizedSecondaryWhenSecondaryPreferred) {
|
||||
TopologyStateMachine stateMachine(sdamConfiguration);
|
||||
auto topologyDescription = std::make_shared<TopologyDescription>(sdamConfiguration);
|
||||
|
||||
|
||||
@ -41,7 +41,7 @@ void AuthMetricsRecorder::appendMetric(const BSONObj& metric) {
|
||||
BSONObj AuthMetricsRecorder::captureIngress() {
|
||||
Duration<std::micro> _duration = _timer.elapsed();
|
||||
|
||||
authCounter.incIngressAuthenticationCumulativeTime(_duration.count());
|
||||
authCounter.incAuthenticationCumulativeTime(_duration.count());
|
||||
|
||||
return BSON("conversation_duration"
|
||||
<< BSON("micros" << _duration.count() << "summary" << _appendedMetrics.done()));
|
||||
@ -50,7 +50,7 @@ BSONObj AuthMetricsRecorder::captureIngress() {
|
||||
BSONObj AuthMetricsRecorder::captureEgress() {
|
||||
Duration<std::micro> _duration = _timer.elapsed();
|
||||
|
||||
authCounter.incEgressAuthenticationCumulativeTime(_duration.count());
|
||||
// TODO SERVER-116025: Increment the egress version of authCounter
|
||||
|
||||
return BSON("conversation_duration"
|
||||
<< BSON("micros" << _duration.count() << "summary" << _appendedMetrics.done()));
|
||||
|
||||
@ -329,12 +329,12 @@ void AuthenticationSession::_finish() {
|
||||
void AuthenticationSession::markSuccessful() {
|
||||
_finish();
|
||||
|
||||
_mechCounter->incIngressAuthenticateSuccessful();
|
||||
_mechCounter->incAuthenticateSuccessful();
|
||||
if (_isClusterMember) {
|
||||
_mechCounter->incClusterAuthenticateSuccessful();
|
||||
}
|
||||
if (_isSpeculative) {
|
||||
_mechCounter->incIngressSpeculativeAuthenticateSuccessful();
|
||||
_mechCounter->incSpeculativeAuthenticateSuccessful();
|
||||
}
|
||||
|
||||
auto event =
|
||||
|
||||
@ -157,6 +157,7 @@ namespace {
|
||||
Rarely _samplerAccumulatorJs, _samplerFunctionJs;
|
||||
|
||||
MONGO_FAIL_POINT_DEFINE(hangAfterCreatingAggregationPlan);
|
||||
MONGO_FAIL_POINT_DEFINE(hangBeforeCreatingAggCatalogState);
|
||||
|
||||
bool checkRetryableWriteAlreadyApplied(const AggExState& aggExState,
|
||||
rpc::ReplyBuilderInterface* result) {
|
||||
@ -1370,6 +1371,15 @@ Status _runAggregate(std::unique_ptr<AggExState> aggExState, rpc::ReplyBuilderIn
|
||||
// must never hold open storage cursors while ignoring interrupt.
|
||||
InterruptibleLockGuard interruptibleLockAcquisition(aggExState->getOpCtx());
|
||||
|
||||
hangBeforeCreatingAggCatalogState.executeIf(
|
||||
[&](const auto&) {
|
||||
hangBeforeCreatingAggCatalogState.pauseWhileSet(aggExState->getOpCtx());
|
||||
},
|
||||
[&](const BSONObj& data) {
|
||||
auto nsElem = data["ns"];
|
||||
return !nsElem || nsElem.str() == aggExState->getOriginalNss().toStringForErrorMsg();
|
||||
});
|
||||
|
||||
// Acquire any catalog locks needed by the pipeline, and create catalog-dependent state.
|
||||
std::unique_ptr<AggCatalogState> aggCatalogState = aggExState->createAggCatalogState();
|
||||
|
||||
|
||||
@ -36,6 +36,7 @@
|
||||
#include "mongo/db/pipeline/optimization/optimize.h"
|
||||
#include "mongo/db/pipeline/pipeline_factory.h"
|
||||
#include "mongo/db/query/stage_memory_limit_knobs/knobs.h"
|
||||
#include "mongo/db/shard_role/shard_catalog/collection_catalog.h"
|
||||
#include "mongo/db/shard_role/shard_catalog/raw_data_operation.h"
|
||||
#include "mongo/db/views/resolved_view.h" // IWYU pragma: keep
|
||||
#include "mongo/logv2/log.h"
|
||||
@ -361,6 +362,24 @@ std::unique_ptr<mongo::Pipeline> LookUpStage::buildPipelineFromViewDefinition(
|
||||
boost::none,
|
||||
boost::none,
|
||||
ViewInfo(_fromNs, resolvedNs, viewPipeline));
|
||||
|
||||
// TODO SERVER-122035 Remove this workaround once viewless timeseries collections become the
|
||||
// default after 9.0 branching.
|
||||
// When a $lookup resolves a sharded timeseries view, the ResolvedView may arrive with
|
||||
// timeseriesUsesExtendedRange=false because the view was resolved on a different shard
|
||||
// (e.g. after movePrimary relocated system.views) that never received extended-range
|
||||
// inserts and therefore has the per-node in-memory flag unset. Check the local buckets
|
||||
// collection, which has the authoritative flag if this shard owns the data.
|
||||
if (resolvedNs.isTimeseriesBucketsCollection() &&
|
||||
!_fromExpCtx->getRequiresTimeseriesExtendedRangeSupport()) {
|
||||
auto catalog = CollectionCatalog::get(_fromExpCtx->getOperationContext());
|
||||
auto bucketsPtr = catalog->establishConsistentCollection(
|
||||
_fromExpCtx->getOperationContext(), resolvedNs, boost::none);
|
||||
if (bucketsPtr && bucketsPtr->getRequiresTimeseriesExtendedRangeSupport()) {
|
||||
_fromExpCtx->setRequiresTimeseriesExtendedRangeSupport(true);
|
||||
}
|
||||
}
|
||||
|
||||
_fromExpCtx->addResolvedNamespaces(liteParsedPipeline.getInvolvedNamespaces());
|
||||
|
||||
// Parse the new pipeline and prepare it again. We must resolve the view before entering
|
||||
|
||||
@ -343,6 +343,10 @@ DocumentSourceGraphLookUp::DocumentSourceGraphLookUp(
|
||||
_fromPipeline(original._fromPipeline),
|
||||
_variables(original._variables),
|
||||
_variablesParseState(original._variablesParseState.copyWith(_variables.useIdGenerator())) {
|
||||
if (_params.startWith) {
|
||||
// re-create startWith expression using newExpCtx.
|
||||
_params.startWith = _params.startWith->cloneUsingNewExpCtx(newExpCtx.get());
|
||||
}
|
||||
if (original._unwind) {
|
||||
_unwind =
|
||||
static_cast<DocumentSourceUnwind*>(original._unwind.value()->clone(getExpCtx()).get());
|
||||
|
||||
@ -336,5 +336,43 @@ TEST_F(DocumentSourceGraphLookupServerlessTest,
|
||||
ASSERT_EQ(1ul, involvedNssSet.count(graphLookupNs));
|
||||
}
|
||||
|
||||
TEST_F(DocumentSourceGraphLookUpTest, StartWithCloneRebindsExpressionContext) {
|
||||
NamespaceString nss =
|
||||
NamespaceString::createNamespaceString_forTest(boost::none, "test", "coll");
|
||||
auto resolvedNss = ResolvedNamespaceMap{{nss, {nss, std::vector<BSONObj>()}}};
|
||||
|
||||
auto opCtx = getOpCtx();
|
||||
auto expCtx = make_intrusive<ExpressionContextForTest>(opCtx, nss);
|
||||
expCtx->setResolvedNamespaces(resolvedNss);
|
||||
|
||||
auto spec = fromjson(R"({
|
||||
"$graphLookup": {
|
||||
"from": "coll",
|
||||
"startWith": { "$cond": [ { "$eq": ["$f", "v"] }, "$f", "$$REMOVE" ] },
|
||||
"connectFromField": "f",
|
||||
"connectToField": "f",
|
||||
"as": "j"
|
||||
}
|
||||
})");
|
||||
|
||||
auto ds = DocumentSourceGraphLookUp::createFromBson(spec.firstElement(), expCtx);
|
||||
DocumentSourceGraphLookUp* docSource = static_cast<DocumentSourceGraphLookUp*>(ds.get());
|
||||
|
||||
// docSource points to the ExpressionContext
|
||||
ASSERT_EQ(docSource->getStartWithField()->getExpressionContext(), expCtx);
|
||||
|
||||
// Clone with a new top-level ExpressionContext
|
||||
auto newExpCtx = make_intrusive<ExpressionContextForTest>(getOpCtx(), nss);
|
||||
newExpCtx->setResolvedNamespaces(resolvedNss);
|
||||
auto dsClone = docSource->clone(newExpCtx);
|
||||
DocumentSourceGraphLookUp* docSourceClone =
|
||||
static_cast<DocumentSourceGraphLookUp*>(dsClone.get());
|
||||
|
||||
// docSource still points to the original ExpressionContext
|
||||
ASSERT_EQ(docSource->getStartWithField()->getExpressionContext(), expCtx);
|
||||
// clonedDocSource points to the new ExpressionContext
|
||||
ASSERT_EQ(docSourceClone->getStartWithField()->getExpressionContext(), newExpCtx);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace mongo
|
||||
|
||||
@ -412,7 +412,6 @@ DocumentSourceLookUp::DocumentSourceLookUp(const DocumentSourceLookUp& original,
|
||||
boost::none,
|
||||
original._fromExpCtx->getView())),
|
||||
_userPipeline(original._userPipeline),
|
||||
_letVariables(original._letVariables),
|
||||
_sharedState(std::make_shared<LookUpSharedState>()) {
|
||||
_additionalFilter = original._additionalFilter;
|
||||
_sharedState->resolvedPipeline = original._sharedState->resolvedPipeline;
|
||||
@ -426,6 +425,8 @@ DocumentSourceLookUp::DocumentSourceLookUp(const DocumentSourceLookUp& original,
|
||||
_unwindSrc =
|
||||
static_cast<DocumentSourceUnwind*>(original._unwindSrc->clone(getExpCtx()).get());
|
||||
}
|
||||
// clone let variables with new expCtx in case the original expCtx is deleted.
|
||||
copyLetVariablesWithNewExpCtx(original._letVariables, newExpCtx.get());
|
||||
}
|
||||
|
||||
boost::intrusive_ptr<DocumentSource> DocumentSourceLookUp::clone(
|
||||
@ -433,6 +434,16 @@ boost::intrusive_ptr<DocumentSource> DocumentSourceLookUp::clone(
|
||||
return make_intrusive<DocumentSourceLookUp>(*this, newExpCtx);
|
||||
}
|
||||
|
||||
void DocumentSourceLookUp::copyLetVariablesWithNewExpCtx(const std::vector<LetVariable>& src,
|
||||
ExpressionContext* newExpCtx) {
|
||||
_letVariables.clear();
|
||||
_letVariables.reserve(src.size());
|
||||
|
||||
for (const auto& var : src) {
|
||||
_letVariables.emplace_back(var.cloneUsingNewExpCtx(newExpCtx));
|
||||
}
|
||||
}
|
||||
|
||||
void validateLookupCollectionlessPipeline(const std::vector<BSONObj>& pipeline) {
|
||||
uassert(ErrorCodes::FailedToParse,
|
||||
"$lookup stage without explicit collection must have a pipeline with $documents as "
|
||||
|
||||
@ -380,6 +380,12 @@ private:
|
||||
MONGO_UNREACHABLE_TASSERT(7484304);
|
||||
}
|
||||
|
||||
/**
|
||||
* Clones the given vector of LetVariable objects using the newExpCtx.
|
||||
*/
|
||||
void copyLetVariablesWithNewExpCtx(const std::vector<LetVariable>& src,
|
||||
ExpressionContext* newExpCtx);
|
||||
|
||||
/**
|
||||
* Builds a parsed pipeline for introspection (e.g. constraints, dependencies). Any sub-$lookup
|
||||
* pipelines will be built recursively.
|
||||
|
||||
@ -1467,5 +1467,40 @@ TEST_F(DocumentSourceLookUpTest, LookupParseSerializedStageWithAbsorbedUnwind) {
|
||||
ASSERT(dynamic_cast<DocumentSourceLookUp*>(lookup.get())->hasUnwindSrc());
|
||||
}
|
||||
|
||||
static boost::intrusive_ptr<DocumentSourceLookUp> makeLookupWithLet(
|
||||
const boost::intrusive_ptr<ExpressionContext>& expCtx, NamespaceString fromNs) {
|
||||
expCtx->setResolvedNamespaces(ResolvedNamespaceMap{{fromNs, {fromNs, std::vector<BSONObj>()}}});
|
||||
|
||||
auto spec =
|
||||
BSON("$lookup" << BSON("from" << fromNs.coll() << "let" << BSON("v" << "$x") << "pipeline"
|
||||
<< BSON_ARRAY(BSON("$match" << BSON("y" << "$$v"))) << "as"
|
||||
<< "out"));
|
||||
auto ds = DocumentSourceLookUp::createFromBson(spec.firstElement(), expCtx);
|
||||
return boost::static_pointer_cast<DocumentSourceLookUp>(ds);
|
||||
}
|
||||
|
||||
TEST_F(DocumentSourceLookUpTest, LetVariablesCloneRebindsExpressionContext) {
|
||||
NamespaceString nss =
|
||||
NamespaceString::createNamespaceString_forTest(boost::none, "test", "coll");
|
||||
auto opCtx = getOpCtx();
|
||||
auto expCtx = make_intrusive<ExpressionContextForTest>(opCtx, nss);
|
||||
|
||||
// Build an original $lookup with a let expression
|
||||
auto lookup = makeLookupWithLet(expCtx, nss);
|
||||
|
||||
// Sanity: expressions in _letVariables use original expCtx
|
||||
for (auto& var : lookup->getLetVariables()) {
|
||||
ASSERT_EQ(var.expression->getExpressionContext(), expCtx);
|
||||
}
|
||||
|
||||
// Clone with a new top-level ExpressionContext
|
||||
auto newExpCtx = make_intrusive<ExpressionContextForTest>(opCtx, nss);
|
||||
auto lookupClone = static_pointer_cast<DocumentSourceLookUp>(lookup->clone(newExpCtx));
|
||||
|
||||
// Check that every let expression in the clone now points to the new context
|
||||
for (auto& var : lookupClone->getLetVariables()) {
|
||||
ASSERT_EQ(var.expression->getExpressionContext(), newExpCtx);
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
} // namespace mongo
|
||||
|
||||
@ -111,6 +111,23 @@ boost::intrusive_ptr<Expression> Expression::cloneChild(size_t childIdx) const {
|
||||
return _children[childIdx] ? _children[childIdx]->clone() : nullptr;
|
||||
}
|
||||
|
||||
// Clone by serializing and reparsing.
|
||||
boost::intrusive_ptr<Expression> Expression::cloneUsingNewExpCtx(
|
||||
ExpressionContext* newExpCtx) const {
|
||||
// Serialize this expression to a generic Value.
|
||||
SerializationOptions opts{.serializeForCloning = true};
|
||||
auto val = serialize(opts);
|
||||
|
||||
// Wrap it into a BSONObj as the value of a dummy field.
|
||||
BSONObjBuilder bob;
|
||||
val.addToBsonObj(&bob, "");
|
||||
BSONObj obj = bob.obj();
|
||||
BSONElement elem = obj.firstElement();
|
||||
|
||||
// Re-parse as an operand in the new ExpressionContext.
|
||||
return Expression::parseOperand(newExpCtx, elem, newExpCtx->variablesParseState);
|
||||
}
|
||||
|
||||
Value ExpressionConstant::serializeConstant(const SerializationOptions& opts,
|
||||
Value val,
|
||||
bool wrapRepresentativeValue) {
|
||||
|
||||
@ -257,6 +257,14 @@ public:
|
||||
*/
|
||||
virtual boost::intrusive_ptr<Expression> clone() const = 0;
|
||||
|
||||
/**
|
||||
* Every node in the expression tree maintains an unowned pointer to the query's
|
||||
* ExpressionContext. This variant of clone() creates a deep copy of the expression tree where
|
||||
* every node in the tree points to newExprCtx (instead of whatever expression context it used
|
||||
* to point to).
|
||||
*/
|
||||
boost::intrusive_ptr<Expression> cloneUsingNewExpCtx(ExpressionContext* newExpCtx) const;
|
||||
|
||||
/**
|
||||
* Serialize the Expression tree recursively.
|
||||
*
|
||||
|
||||
@ -157,28 +157,31 @@ inline bool isMongotPipeline(const std::shared_ptr<IncrementalFeatureRolloutCont
|
||||
// ]
|
||||
// }
|
||||
// }
|
||||
//}) will become the first firstStageBson in the final desugared ouput. Thus, there is an
|
||||
// extra
|
||||
// recursive call to check for this.
|
||||
return isMongotPipeline(
|
||||
ifrContext,
|
||||
std::vector<BSONObj>{firstStageBson[DocumentSourceRankFusion::kStageName]
|
||||
[RankFusionSpec::kInputFieldName]
|
||||
[RankFusionInputSpec::kPipelinesFieldName]
|
||||
.Obj()
|
||||
.firstElement()
|
||||
.Array()[0]
|
||||
.Obj()});
|
||||
//})
|
||||
// will become the first firstStageBson in the final desugared ouput. Thus, there is an
|
||||
// extra recursive call to check for this.
|
||||
auto rankFusionFirstPipeline =
|
||||
firstStageBson[DocumentSourceRankFusion::kStageName][RankFusionSpec::kInputFieldName]
|
||||
[RankFusionInputSpec::kPipelinesFieldName]
|
||||
.Obj()
|
||||
.firstElement()
|
||||
.Array();
|
||||
if (rankFusionFirstPipeline.empty()) {
|
||||
return false;
|
||||
}
|
||||
return isMongotPipeline(ifrContext, std::vector<BSONObj>{rankFusionFirstPipeline[0].Obj()});
|
||||
} else if (is<DocumentSourceScoreFusion>(firstStageBson)) {
|
||||
return isMongotPipeline(
|
||||
ifrContext,
|
||||
std::vector<BSONObj>{firstStageBson[DocumentSourceScoreFusion::kStageName]
|
||||
[ScoreFusionSpec::kInputFieldName]
|
||||
[ScoreFusionInputsSpec::kPipelinesFieldName]
|
||||
.Obj()
|
||||
.firstElement()
|
||||
.Array()[0]
|
||||
.Obj()});
|
||||
auto scoreFusionFirstPipeline =
|
||||
firstStageBson[DocumentSourceScoreFusion::kStageName][ScoreFusionSpec::kInputFieldName]
|
||||
[ScoreFusionInputsSpec::kPipelinesFieldName]
|
||||
.Obj()
|
||||
.firstElement()
|
||||
.Array();
|
||||
if (scoreFusionFirstPipeline.empty()) {
|
||||
return false;
|
||||
}
|
||||
return isMongotPipeline(ifrContext,
|
||||
std::vector<BSONObj>{scoreFusionFirstPipeline[0].Obj()});
|
||||
} else {
|
||||
return is<DocumentSourceSearch>(firstStageBson) ||
|
||||
is<DocumentSourceSearchMeta>(firstStageBson) ||
|
||||
|
||||
@ -524,4 +524,9 @@ std::pair<LegacyRuntimeConstants, BSONObj> VariablesParseState::transitionalComp
|
||||
|
||||
return {vars.transitionalExtractRuntimeConstants(), bob.obj()};
|
||||
}
|
||||
|
||||
LetVariable LetVariable::cloneUsingNewExpCtx(ExpressionContext* newExpCtx) const {
|
||||
auto clonedExpr = expression ? expression->cloneUsingNewExpCtx(newExpCtx) : nullptr;
|
||||
return {name, std::move(clonedExpr), id};
|
||||
}
|
||||
} // namespace mongo
|
||||
|
||||
@ -307,6 +307,7 @@ private:
|
||||
*/
|
||||
struct LetVariable {
|
||||
LetVariable(std::string name, boost::intrusive_ptr<Expression> expression, Variables::Id id);
|
||||
LetVariable cloneUsingNewExpCtx(ExpressionContext* newExpCtx) const;
|
||||
|
||||
std::string name;
|
||||
boost::intrusive_ptr<Expression> expression;
|
||||
|
||||
@ -421,6 +421,8 @@ OrderedIntervalList makeOpenOil(std::string fieldName) {
|
||||
struct EqualityPrefix {
|
||||
std::unique_ptr<IndexBounds> eqPrefixPtr;
|
||||
bool isEqPrefix;
|
||||
// TODO SERVER-100611: Remove this flag, and all references to it.
|
||||
bool isIndexSkipScan;
|
||||
};
|
||||
|
||||
/**
|
||||
@ -431,15 +433,21 @@ struct EqualityPrefix {
|
||||
EqualityPrefix equalityPrefix(const IndexBounds* node) {
|
||||
auto eqPrefix = std::make_unique<IndexBounds>();
|
||||
bool isEqPrefix = true;
|
||||
bool isIndexSkipScan = false;
|
||||
for (auto&& oil : node->fields) {
|
||||
if (isEqPrefix) {
|
||||
eqPrefix->fields.push_back(oil);
|
||||
isEqPrefix = isEqPrefix && oil.isPoint();
|
||||
} else {
|
||||
// We set the 'isIndexSkipScan' flag to true if at any point after 'isEqPrefix' is false
|
||||
// we encounter a non-fully open interval.
|
||||
if (!oil.isFullyOpen() && oil.intervals.size() >= 1) {
|
||||
isIndexSkipScan = true;
|
||||
}
|
||||
eqPrefix->fields.push_back(makeOpenOil(oil.name));
|
||||
}
|
||||
}
|
||||
return EqualityPrefix{std::move(eqPrefix), isEqPrefix};
|
||||
return EqualityPrefix{std::move(eqPrefix), isEqPrefix, isIndexSkipScan};
|
||||
}
|
||||
|
||||
CEResult CardinalityEstimator::estimate(const IndexScanNode* node) {
|
||||
@ -507,6 +515,9 @@ CEResult CardinalityEstimator::estimate(const IndexScanNode* node) {
|
||||
// We can avoid computing input selectivity for sampling CE queries over
|
||||
// non-multikey fields without residual filter.
|
||||
auto prefix = equalityPrefix(&node->bounds);
|
||||
if (prefix.isIndexSkipScan) {
|
||||
return Status(ErrorCodes::UnsupportedCbrNode, "encountered index skip scan case");
|
||||
}
|
||||
if (prefix.isEqPrefix) {
|
||||
// If the prefix is equal to all the bounds, the number of keys scanned is equal to
|
||||
// the resulting docs.
|
||||
@ -1165,6 +1176,9 @@ CEResult CardinalityEstimator::estimate(const IndexBounds* node) {
|
||||
// TODO: avoid copies to construct the equality prefix. We could do this by teaching
|
||||
// SamplingEstimator or IndexBounds about the equality prefix concept.
|
||||
auto eqPrefix = equalityPrefix(node);
|
||||
if (eqPrefix.isIndexSkipScan) {
|
||||
return Status(ErrorCodes::UnsupportedCbrNode, "encountered index skip scan case");
|
||||
}
|
||||
const auto eqPrefixPtr = eqPrefix.eqPrefixPtr.get();
|
||||
return _ceCache.getOrCompute(std::move(eqPrefix.eqPrefixPtr), [&] {
|
||||
return _samplingEstimator->estimateKeysScanned(*eqPrefixPtr);
|
||||
@ -1201,6 +1215,10 @@ CEResult CardinalityEstimator::estimate(const IndexBounds* node) {
|
||||
if (isEqPrefix) {
|
||||
_conjSels.emplace_back(sel);
|
||||
} else {
|
||||
// TODO SERVER-100611: Remove this code.
|
||||
if (!oil->isFullyOpen() && oil->intervals.size() >= 1) {
|
||||
return Status(ErrorCodes::UnsupportedCbrNode, "encountered index skip scan case");
|
||||
}
|
||||
residualSels.emplace_back(sel);
|
||||
}
|
||||
isEqPrefix = isEqPrefix && oil->isPoint();
|
||||
|
||||
@ -64,20 +64,21 @@ TEST(CardinalityEstimator, ManyPointIntervals) {
|
||||
ASSERT_EQ(getPlanHeuristicCE(*plan, 100.0), makeCard(50.0));
|
||||
}
|
||||
|
||||
TEST(CardinalityEstimator, CompoundIndex) {
|
||||
auto testNss = NamespaceString::createNamespaceString_forTest("testdb.coll");
|
||||
IndexBounds bounds;
|
||||
std::vector<std::string> indexFields = {"a", "b", "c", "d", "e"};
|
||||
for (size_t i = 0; i < indexFields.size(); ++i) {
|
||||
OrderedIntervalList oil(indexFields[i]);
|
||||
for (size_t j = 0; j < 7; ++j) {
|
||||
oil.intervals.push_back(IndexBoundsBuilder::makePointInterval(i * j));
|
||||
}
|
||||
bounds.fields.push_back(oil);
|
||||
}
|
||||
auto plan = makeIndexScanFetchPlan(testNss, std::move(bounds), indexFields);
|
||||
ASSERT_EQ(getPlanHeuristicCE(*plan, 100.0), makeCard(51.2341));
|
||||
}
|
||||
// TODO SERVER-100611: re-enable this test.
|
||||
// TEST(CardinalityEstimator, CompoundIndex) {
|
||||
// auto testNss = NamespaceString::createNamespaceString_forTest("testdb.coll");
|
||||
// IndexBounds bounds;
|
||||
// std::vector<std::string> indexFields = {"a", "b", "c", "d", "e"};
|
||||
// for (size_t i = 0; i < indexFields.size(); ++i) {
|
||||
// OrderedIntervalList oil(indexFields[i]);
|
||||
// for (size_t j = 0; j < 7; ++j) {
|
||||
// oil.intervals.push_back(IndexBoundsBuilder::makePointInterval(i * j));
|
||||
// }
|
||||
// bounds.fields.push_back(oil);
|
||||
// }
|
||||
// auto plan = makeIndexScanFetchPlan(testNss, std::move(bounds), indexFields);
|
||||
// ASSERT_EQ(getPlanHeuristicCE(*plan, 100.0), makeCard(51.2341));
|
||||
// }
|
||||
|
||||
TEST(CardinalityEstimator, PointMoreSelectiveThanRange) {
|
||||
auto testNss = NamespaceString::createNamespaceString_forTest("testdb.coll");
|
||||
@ -992,5 +993,294 @@ TEST(CardinalityEstimator, SamplingCECompareIndexWithSample) {
|
||||
}
|
||||
}
|
||||
|
||||
// Helpers shared by EqualityPrefixHeuristicCETest and EqualityPrefixSamplingCETest.
|
||||
namespace {
|
||||
OrderedIntervalList makeFullyOpenOil(const std::string& fieldName) {
|
||||
OrderedIntervalList oil(fieldName);
|
||||
IndexBoundsBuilder::allValuesForField(BSON(fieldName << 1).firstElement(), &oil);
|
||||
return oil;
|
||||
}
|
||||
|
||||
OrderedIntervalList makeRangeOil(const std::string& fieldName) {
|
||||
OrderedIntervalList oil(fieldName);
|
||||
oil.intervals.push_back(IndexBoundsBuilder::makeRangeInterval(
|
||||
BSON("" << 3 << " " << 7), BoundInclusion::kIncludeBothStartAndEndKeys));
|
||||
return oil;
|
||||
}
|
||||
|
||||
OrderedIntervalList makePointOil(const std::string& fieldName) {
|
||||
return makePointInterval(5.0, fieldName);
|
||||
}
|
||||
|
||||
// An empty OIL represents an unsatisfiable predicate — no values can match.
|
||||
OrderedIntervalList makeEmptyOil(const std::string& fieldName) {
|
||||
return OrderedIntervalList(fieldName);
|
||||
}
|
||||
|
||||
// Non-fullyOpen OIL with multiple intervals, e.g. representing an $in predicate.
|
||||
OrderedIntervalList makeMultiIntervalOil(const std::string& fieldName) {
|
||||
OrderedIntervalList oil(fieldName);
|
||||
oil.intervals.push_back(IndexBoundsBuilder::makePointInterval(1.0));
|
||||
oil.intervals.push_back(IndexBoundsBuilder::makePointInterval(3.0));
|
||||
oil.intervals.push_back(IndexBoundsBuilder::makePointInterval(5.0));
|
||||
return oil;
|
||||
}
|
||||
|
||||
std::unique_ptr<QuerySolution> makeEqualityPrefixPlan(IndexBounds bounds) {
|
||||
std::vector<std::string> indexFields;
|
||||
for (const auto& oil : bounds.fields) {
|
||||
indexFields.push_back(oil.name);
|
||||
}
|
||||
const auto testNss = NamespaceString::createNamespaceString_forTest("testdb.coll");
|
||||
return makeIndexScanFetchPlan(testNss, std::move(bounds), indexFields);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
// Fixture for testing the index skip scan detection cases via heuristic CE.
|
||||
class EqualityPrefixHeuristicCETest : public unittest::Test {
|
||||
protected:
|
||||
void assertSkipScan(IndexBounds bounds) {
|
||||
auto plan = makeEqualityPrefixPlan(std::move(bounds));
|
||||
const auto ceRes = getPlanCE(*plan, _collInfo, QueryPlanRankerModeEnum::kHeuristicCE);
|
||||
ASSERT(!ceRes.isOK() && ceRes.getStatus().code() == ErrorCodes::UnsupportedCbrNode);
|
||||
}
|
||||
|
||||
void assertNotSkipScan(IndexBounds bounds) {
|
||||
auto plan = makeEqualityPrefixPlan(std::move(bounds));
|
||||
const auto ceRes = getPlanCE(*plan, _collInfo, QueryPlanRankerModeEnum::kHeuristicCE);
|
||||
ASSERT(ceRes.isOK());
|
||||
}
|
||||
|
||||
private:
|
||||
const CollectionInfo _collInfo =
|
||||
buildCollectionInfo({}, makeCollStatsWithHistograms({}, 100.0));
|
||||
};
|
||||
|
||||
// Fixture for testing the index skip scan detection cases via sampling CE.
|
||||
// The skip scan check in the sampling path goes through equalityPrefix() directly (unlike the
|
||||
// heuristic path which has its own inline check).
|
||||
class EqualityPrefixSamplingCETest : public ce::SamplingEstimatorTest {
|
||||
protected:
|
||||
void setUp() override {
|
||||
ce::SamplingEstimatorTest::setUp();
|
||||
_samplingEstimator.emplace(createSamplingEstimatorForTesting(100, 50, ce::NoProjection{}));
|
||||
}
|
||||
|
||||
void assertSkipScan(IndexBounds bounds) {
|
||||
auto plan = makeEqualityPrefixPlan(std::move(bounds));
|
||||
EstimateMap qsnEstimates;
|
||||
auto collInfo = buildCollectionInfo({}, makeCollStatsWithHistograms({}, 100.0));
|
||||
CardinalityEstimator estimator{
|
||||
collInfo, &*_samplingEstimator, qsnEstimates, QueryPlanRankerModeEnum::kSamplingCE};
|
||||
const auto ceRes = estimator.estimatePlan(*plan);
|
||||
ASSERT(!ceRes.isOK() && ceRes.getStatus().code() == ErrorCodes::UnsupportedCbrNode);
|
||||
}
|
||||
|
||||
void assertNotSkipScan(IndexBounds bounds) {
|
||||
auto plan = makeEqualityPrefixPlan(std::move(bounds));
|
||||
EstimateMap qsnEstimates;
|
||||
auto collInfo = buildCollectionInfo({}, makeCollStatsWithHistograms({}, 100.0));
|
||||
CardinalityEstimator estimator{
|
||||
collInfo, &*_samplingEstimator, qsnEstimates, QueryPlanRankerModeEnum::kSamplingCE};
|
||||
const auto ceRes = estimator.estimatePlan(*plan);
|
||||
ASSERT(ceRes.isOK());
|
||||
}
|
||||
|
||||
private:
|
||||
boost::optional<ce::SamplingEstimatorForTesting> _samplingEstimator;
|
||||
};
|
||||
|
||||
template <typename Fixture>
|
||||
class EqualityPrefixTypedTest : public Fixture {};
|
||||
|
||||
using EqualityPrefixFixtures =
|
||||
::testing::Types<EqualityPrefixHeuristicCETest, EqualityPrefixSamplingCETest>;
|
||||
// The TYPED_TEST_SUITE allows the following tests to be run under both test fixtures enumerated.
|
||||
TYPED_TEST_SUITE(EqualityPrefixTypedTest, EqualityPrefixFixtures);
|
||||
|
||||
// OIL list: [eqPrefix, fullyOpen, non-fullyOpen]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, EqPrefix_FullyOpen_NonFullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makePointOil("a"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("b"));
|
||||
bounds.fields.push_back(makeRangeOil("c"));
|
||||
this->assertSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [eqPrefix, non-fullyOpen, fullyOpen]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, EqPrefix_NonFullyOpen_FullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makePointOil("a"));
|
||||
bounds.fields.push_back(makeRangeOil("b"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("c"));
|
||||
this->assertNotSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [eqPrefix, fullyOpen]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, EqPrefix_FullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makePointOil("a"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("b"));
|
||||
this->assertNotSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [eqPrefix, non-fullyOpen]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, EqPrefix_NonFullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makePointOil("a"));
|
||||
bounds.fields.push_back(makeRangeOil("b"));
|
||||
this->assertNotSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [fullyOpen, non-fullyOpen]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, FullyOpen_NonFullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makeFullyOpenOil("a"));
|
||||
bounds.fields.push_back(makeRangeOil("b"));
|
||||
this->assertSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [non-fullyOpen, fullyOpen]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, NonFullyOpen_FullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makeRangeOil("a"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("b"));
|
||||
this->assertNotSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [non-fullyOpen, fullyOpen, non-fullyOpen]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, NonFullyOpen_FullyOpen_NonFullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makeRangeOil("a"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("b"));
|
||||
bounds.fields.push_back(makeRangeOil("c"));
|
||||
this->assertSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [non-fullyOpen, non-fullyOpen]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, NonFullyOpen_NonFullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makeRangeOil("a"));
|
||||
bounds.fields.push_back(makeRangeOil("b"));
|
||||
this->assertSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [eqPrefix, empty]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, EqPrefix_Empty) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makePointOil("a"));
|
||||
bounds.fields.push_back(makeEmptyOil("b"));
|
||||
this->assertNotSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [fullyOpen, empty]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, FullyOpen_Empty) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makeFullyOpenOil("a"));
|
||||
bounds.fields.push_back(makeEmptyOil("b"));
|
||||
this->assertNotSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [empty, range]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, Empty_NonFullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makeEmptyOil("a"));
|
||||
bounds.fields.push_back(makeRangeOil("b"));
|
||||
this->assertSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [empty, fullyOpen]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, Empty_FullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makeEmptyOil("a"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("b"));
|
||||
this->assertNotSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// The following cases repeat the above patterns using a multi-interval non-fullyOpen OIL
|
||||
// (e.g. from an $in predicate) to confirm that the skip scan detection is not sensitive to
|
||||
// whether the non-fullyOpen OIL has one or many intervals.
|
||||
|
||||
// OIL list: [eqPrefix, multiInterval]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, EqPrefix_MultiInterval) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makePointOil("a"));
|
||||
bounds.fields.push_back(makeMultiIntervalOil("b"));
|
||||
this->assertNotSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [eqPrefix, fullyOpen, multiInterval]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, EqPrefix_FullyOpen_MultiInterval) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makePointOil("a"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("b"));
|
||||
bounds.fields.push_back(makeMultiIntervalOil("c"));
|
||||
this->assertSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [fullyOpen, multiInterval]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, FullyOpen_MultiInterval) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makeFullyOpenOil("a"));
|
||||
bounds.fields.push_back(makeMultiIntervalOil("b"));
|
||||
this->assertSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [multiInterval, fullyOpen]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, MultiInterval_FullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makeMultiIntervalOil("a"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("b"));
|
||||
this->assertNotSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [multiInterval, multiInterval]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, MultiInterval_MultiInterval) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makeMultiIntervalOil("a"));
|
||||
bounds.fields.push_back(makeMultiIntervalOil("b"));
|
||||
this->assertSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [eqPrefix, fullyOpen, fullyOpen, non-fullyOpen]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, EqPrefix_FullyOpen_FullyOpen_NonFullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makePointOil("a"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("b"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("c"));
|
||||
bounds.fields.push_back(makeRangeOil("d"));
|
||||
this->assertSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [eqPrefix, fullyOpen, fullyOpen, multiInterval]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, EqPrefix_FullyOpen_FullyOpen_MultiInterval) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makePointOil("a"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("b"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("c"));
|
||||
bounds.fields.push_back(makeMultiIntervalOil("d"));
|
||||
this->assertSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [non-fullyOpen, fullyOpen, fullyOpen, non-fullyOpen]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, NonFullyOpen_FullyOpen_FullyOpen_NonFullyOpen) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makeRangeOil("a"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("b"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("c"));
|
||||
bounds.fields.push_back(makeRangeOil("d"));
|
||||
this->assertSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
// OIL list: [non-fullyOpen, fullyOpen, fullyOpen, multiInterval]
|
||||
TYPED_TEST(EqualityPrefixTypedTest, NonFullyOpen_FullyOpen_FullyOpen_MultiInterval) {
|
||||
IndexBounds bounds;
|
||||
bounds.fields.push_back(makeRangeOil("a"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("b"));
|
||||
bounds.fields.push_back(makeFullyOpenOil("c"));
|
||||
bounds.fields.push_back(makeMultiIntervalOil("d"));
|
||||
this->assertSkipScan(std::move(bounds));
|
||||
}
|
||||
|
||||
} // unnamed namespace
|
||||
} // namespace mongo::cost_based_ranker
|
||||
|
||||
@ -372,9 +372,9 @@ CostEstimate CostEstimator::filterCost(StageType stage,
|
||||
return filterIncrement * ce + incrementalFilterLeafCost * (numIncrementalFilterLeaves * ce);
|
||||
}
|
||||
|
||||
const CostCoefficient CostEstimator::fetchFilterIncrement = makeCostCoefficient(435.38ns);
|
||||
const CostCoefficient CostEstimator::indexFilterIncrement = makeCostCoefficient(132.60ns);
|
||||
const CostCoefficient CostEstimator::collScanFilterIncrement = makeCostCoefficient(202.32ns);
|
||||
const CostCoefficient CostEstimator::fetchFilterIncrement = makeCostCoefficient(nsec(435.38));
|
||||
const CostCoefficient CostEstimator::indexFilterIncrement = makeCostCoefficient(nsec(132.60));
|
||||
const CostCoefficient CostEstimator::collScanFilterIncrement = makeCostCoefficient(nsec(202.32));
|
||||
|
||||
// TODO(SERVER-114546): Use the calibrated coefficients once we estimate the number of
|
||||
// filter leaf evaluations.
|
||||
@ -382,56 +382,57 @@ const CostCoefficient CostEstimator::incrementalFetchFilterLeafCost = minCC;
|
||||
const CostCoefficient CostEstimator::incrementalIndexFilterLeafCost = minCC;
|
||||
const CostCoefficient CostEstimator::incrementalCollScanFilterLeafCost = minCC;
|
||||
|
||||
const CostCoefficient CostEstimator::collScanForwardIncrement = makeCostCoefficient(399.23ns);
|
||||
const CostCoefficient CostEstimator::collScanBackwardIncrement = makeCostCoefficient(404.0ns);
|
||||
const CostCoefficient CostEstimator::collScanForwardIncrement = makeCostCoefficient(nsec(399.23));
|
||||
const CostCoefficient CostEstimator::collScanBackwardIncrement = makeCostCoefficient(nsec(404.0));
|
||||
|
||||
const CostCoefficient CostEstimator::indexScanForwardExamineKey = makeCostCoefficient(435.55ns);
|
||||
const CostCoefficient CostEstimator::indexScanBackwardExamineKey = makeCostCoefficient(459.68ns);
|
||||
const CostCoefficient CostEstimator::incrementalFieldCost = makeCostCoefficient(51.25ns);
|
||||
const CostCoefficient CostEstimator::indexForwardSeek = makeCostCoefficient(1134.71ns);
|
||||
const CostCoefficient CostEstimator::indexBackwardSeek = makeCostCoefficient(1211.58ns);
|
||||
const CostCoefficient CostEstimator::indexScanForwardExamineKey = makeCostCoefficient(nsec(435.55));
|
||||
const CostCoefficient CostEstimator::indexScanBackwardExamineKey =
|
||||
makeCostCoefficient(nsec(459.68));
|
||||
const CostCoefficient CostEstimator::incrementalFieldCost = makeCostCoefficient(nsec(51.25));
|
||||
const CostCoefficient CostEstimator::indexForwardSeek = makeCostCoefficient(nsec(1134.71));
|
||||
const CostCoefficient CostEstimator::indexBackwardSeek = makeCostCoefficient(nsec(1211.58));
|
||||
|
||||
const CostCoefficient CostEstimator::fetchIncrement = makeCostCoefficient(1232.20ns);
|
||||
const CostCoefficient CostEstimator::fetchIncrement = makeCostCoefficient(nsec(1232.20));
|
||||
|
||||
const CostCoefficient CostEstimator::andHashBuild = makeCostCoefficient(216.05ns);
|
||||
const CostCoefficient CostEstimator::andHashProbe = makeCostCoefficient(180.35ns);
|
||||
const CostCoefficient CostEstimator::andHashOutput = makeCostCoefficient(281.46ns);
|
||||
const CostCoefficient CostEstimator::andHashBuild = makeCostCoefficient(nsec(216.05));
|
||||
const CostCoefficient CostEstimator::andHashProbe = makeCostCoefficient(nsec(180.35));
|
||||
const CostCoefficient CostEstimator::andHashOutput = makeCostCoefficient(nsec(281.46));
|
||||
|
||||
const CostCoefficient CostEstimator::sortDefaultStartup = makeCostCoefficient(24067.01ns);
|
||||
const CostCoefficient CostEstimator::sortDefaultIncrement = makeCostCoefficient(216.73ns);
|
||||
const CostCoefficient CostEstimator::sortDefaultSpillIncrement = makeCostCoefficient(653.83ns);
|
||||
const CostCoefficient CostEstimator::sortDefaultLimitStartup = makeCostCoefficient(23761.57ns);
|
||||
const CostCoefficient CostEstimator::sortDefaultLimitC1 = makeCostCoefficient(764.58ns);
|
||||
const CostCoefficient CostEstimator::sortDefaultLimitC2 = makeCostCoefficient(15.81ns);
|
||||
const CostCoefficient CostEstimator::sortDefaultLimitC3 = makeCostCoefficient(233.36ns);
|
||||
const CostCoefficient CostEstimator::sortDefaultStartup = makeCostCoefficient(nsec(24067.01));
|
||||
const CostCoefficient CostEstimator::sortDefaultIncrement = makeCostCoefficient(nsec(216.73));
|
||||
const CostCoefficient CostEstimator::sortDefaultSpillIncrement = makeCostCoefficient(nsec(653.83));
|
||||
const CostCoefficient CostEstimator::sortDefaultLimitStartup = makeCostCoefficient(nsec(23761.57));
|
||||
const CostCoefficient CostEstimator::sortDefaultLimitC1 = makeCostCoefficient(nsec(764.58));
|
||||
const CostCoefficient CostEstimator::sortDefaultLimitC2 = makeCostCoefficient(nsec(15.81));
|
||||
const CostCoefficient CostEstimator::sortDefaultLimitC3 = makeCostCoefficient(nsec(233.36));
|
||||
|
||||
const CostCoefficient CostEstimator::sortSimpleStartup = makeCostCoefficient(22324.54ns);
|
||||
const CostCoefficient CostEstimator::sortSimpleIncrement = makeCostCoefficient(163.56ns);
|
||||
const CostCoefficient CostEstimator::sortSimpleSpillIncrement = makeCostCoefficient(297.03ns);
|
||||
const CostCoefficient CostEstimator::sortSimpleLimitStartup = makeCostCoefficient(21813.35ns);
|
||||
const CostCoefficient CostEstimator::sortSimpleLimitC1 = makeCostCoefficient(739.81ns);
|
||||
const CostCoefficient CostEstimator::sortSimpleLimitC2 = makeCostCoefficient(11.67ns);
|
||||
const CostCoefficient CostEstimator::sortSimpleLimitC3 = makeCostCoefficient(164.50ns);
|
||||
const CostCoefficient CostEstimator::sortSimpleStartup = makeCostCoefficient(nsec(22324.54));
|
||||
const CostCoefficient CostEstimator::sortSimpleIncrement = makeCostCoefficient(nsec(163.56));
|
||||
const CostCoefficient CostEstimator::sortSimpleSpillIncrement = makeCostCoefficient(nsec(297.03));
|
||||
const CostCoefficient CostEstimator::sortSimpleLimitStartup = makeCostCoefficient(nsec(21813.35));
|
||||
const CostCoefficient CostEstimator::sortSimpleLimitC1 = makeCostCoefficient(nsec(739.81));
|
||||
const CostCoefficient CostEstimator::sortSimpleLimitC2 = makeCostCoefficient(nsec(11.67));
|
||||
const CostCoefficient CostEstimator::sortSimpleLimitC3 = makeCostCoefficient(nsec(164.50));
|
||||
|
||||
const CostCoefficient CostEstimator::sortedMergeInput = makeCostCoefficient(481.48ns);
|
||||
const CostCoefficient CostEstimator::sortedMergeOutput = makeCostCoefficient(254.03ns);
|
||||
const CostCoefficient CostEstimator::sortedMergeInput = makeCostCoefficient(nsec(481.48));
|
||||
const CostCoefficient CostEstimator::sortedMergeOutput = makeCostCoefficient(nsec(254.03));
|
||||
|
||||
const CostCoefficient CostEstimator::simpleProjectionIncrement = makeCostCoefficient(317.60ns);
|
||||
const CostCoefficient CostEstimator::coveredProjectionIncrement = makeCostCoefficient(216.77ns);
|
||||
const CostCoefficient CostEstimator::defaultProjectionIncrement = makeCostCoefficient(768.21ns);
|
||||
const CostCoefficient CostEstimator::simpleProjectionIncrement = makeCostCoefficient(nsec(317.60));
|
||||
const CostCoefficient CostEstimator::coveredProjectionIncrement = makeCostCoefficient(nsec(216.77));
|
||||
const CostCoefficient CostEstimator::defaultProjectionIncrement = makeCostCoefficient(nsec(768.21));
|
||||
|
||||
const CostCoefficient CostEstimator::limitIncrement = makeCostCoefficient(109.50ns);
|
||||
const CostCoefficient CostEstimator::limitIncrement = makeCostCoefficient(nsec(109.50));
|
||||
|
||||
const CostCoefficient CostEstimator::skipIncrement = makeCostCoefficient(127.41ns);
|
||||
const CostCoefficient CostEstimator::passIncrement = makeCostCoefficient(113.94ns);
|
||||
const CostCoefficient CostEstimator::skipIncrement = makeCostCoefficient(nsec(127.41));
|
||||
const CostCoefficient CostEstimator::passIncrement = makeCostCoefficient(nsec(113.94));
|
||||
|
||||
const CostCoefficient CostEstimator::orIncrement = makeCostCoefficient(211.52ns);
|
||||
const CostCoefficient CostEstimator::orIncrement = makeCostCoefficient(nsec(211.52));
|
||||
|
||||
const CostCoefficient CostEstimator::andSortedInput = makeCostCoefficient(183.34ns);
|
||||
const CostCoefficient CostEstimator::andSortedOutput = makeCostCoefficient(362.22ns);
|
||||
const CostCoefficient CostEstimator::andSortedInput = makeCostCoefficient(nsec(183.34));
|
||||
const CostCoefficient CostEstimator::andSortedOutput = makeCostCoefficient(nsec(362.22));
|
||||
|
||||
// Virtual scan costs are not calibrated.
|
||||
const CostCoefficient CostEstimator::virtScanStartup = makeCostCoefficient(200.0ns);
|
||||
const CostCoefficient CostEstimator::virtScanIncrement = makeCostCoefficient(100.3ns);
|
||||
const CostCoefficient CostEstimator::virtScanStartup = makeCostCoefficient(nsec(200.0));
|
||||
const CostCoefficient CostEstimator::virtScanIncrement = makeCostCoefficient(nsec(100.3));
|
||||
|
||||
} // namespace mongo::cost_based_ranker
|
||||
|
||||
@ -44,7 +44,12 @@
|
||||
|
||||
namespace mongo::cost_based_ranker {
|
||||
|
||||
using std::literals::chrono_literals::operator""ns;
|
||||
/**
|
||||
* We're using the `nsec(123.45)` constructor to avoid `""ns`,
|
||||
* because floating point UDLs are not constexpr on PPC,
|
||||
* due to a gcc bug handling `long double`.
|
||||
*/
|
||||
using nsec = std::chrono::duration<double, std::nano>;
|
||||
|
||||
template <typename Rep, typename Period>
|
||||
constexpr double toDoubleMillis(std::chrono::duration<Rep, Period> d) {
|
||||
@ -141,10 +146,10 @@ struct CostCoefficientTagParam {
|
||||
// The smallest cost coefficient is equal to the cost of the fastest QE
|
||||
// operation. This is typically the cost of a simple binary comparison of a
|
||||
// scalar value.
|
||||
static constexpr double kMin = toDoubleMillis(11.67ns);
|
||||
static constexpr double kMin = toDoubleMillis(nsec(11.67));
|
||||
// The maximum value of a cost coefficient is the most expensive operation per
|
||||
// document according to the cost model.
|
||||
static constexpr double kMax = toDoubleMillis(1e6ns);
|
||||
static constexpr double kMax = toDoubleMillis(nsec(1e6));
|
||||
// TODO (SERVER-94981): Define this value based on cost model sensitivity.
|
||||
static constexpr double kEpsilon = 1.0e-5;
|
||||
};
|
||||
|
||||
@ -33,7 +33,7 @@ namespace mongo::join_ordering {
|
||||
|
||||
// These coefficients were calibrated in /buildscripts/cost_model/join_start.py,
|
||||
// which indicated that processing a single document takes 612 nanoseconds.
|
||||
const CostCoefficient docProcessCpuIncremental = makeCostCoefficient(612.0ns);
|
||||
const CostCoefficient docProcessCpuIncremental = makeCostCoefficient(nsec(612.0));
|
||||
const CostCoefficient ioSeqIncremental{
|
||||
CostCoefficientType{docProcessCpuIncremental.toDouble() * 261.1}};
|
||||
const CostCoefficient ioRandIncremental{
|
||||
|
||||
@ -401,7 +401,9 @@ public:
|
||||
StatusWith<std::unique_ptr<ResultType>> finishPrepare() {
|
||||
plannerInvocationCount.increment();
|
||||
|
||||
if (SubplanStage::needsSubplanning(*_cq)) {
|
||||
// TODO SERVER-120492: Investigate if we can remove the replanning restriction on
|
||||
// subplanning. If not, add a descriptive comment here about why.
|
||||
if (!isReplanning() && SubplanStage::needsSubplanning(*_cq)) {
|
||||
LOGV2_DEBUG(20924,
|
||||
2,
|
||||
"Running query as sub-queries",
|
||||
|
||||
@ -53,8 +53,8 @@ CostEstimate estimateCBRCost(const CanonicalQuery& query,
|
||||
auto sampleSize = ce::SamplingEstimatorImpl::calculateSampleSize(
|
||||
qkc.getConfidenceInterval(), qkc.getSamplingMarginOfError());
|
||||
|
||||
const auto randomSampleInc = makeCostCoefficient(1400ns);
|
||||
const auto matchExprInc = makeCostCoefficient(160ns);
|
||||
const auto randomSampleInc = makeCostCoefficient(nsec(1400));
|
||||
const auto matchExprInc = makeCostCoefficient(nsec(160));
|
||||
const CardinalityEstimate sampleCE{CardinalityType{static_cast<double>(sampleSize)},
|
||||
EstimationSource::Code};
|
||||
|
||||
|
||||
@ -135,8 +135,7 @@ feature_flags:
|
||||
"Feature flag to enable the authoritative model to read database metadata from
|
||||
stored shard-local information"
|
||||
cpp_varname: feature_flags::gShardAuthoritativeDbMetadataCRUD
|
||||
default: true
|
||||
version: 8.3
|
||||
default: false
|
||||
fcv_gated: true
|
||||
# TODO (SERVER-98118): remove once 9.0 becomes last LTS.
|
||||
featureFlagShardAuthoritativeDbMetadataDDL:
|
||||
@ -150,8 +149,7 @@ feature_flags:
|
||||
If this feature flag is disabled by a FCV downgrade, all DDL coordinators checking
|
||||
this flag are drained when finalizing the downgrade.
|
||||
cpp_varname: feature_flags::gShardAuthoritativeDbMetadataDDL
|
||||
default: true
|
||||
version: 8.3
|
||||
default: false
|
||||
fcv_gated: true
|
||||
enable_on_transitional_fcv_UNSAFE: true
|
||||
# TODO (SERVER-89169): remove once 9.0 becomes last LTS.
|
||||
|
||||
@ -236,52 +236,32 @@ void AuthCounter::incSaslSupportedMechanismsReceived() {
|
||||
_saslSupportedMechanismsReceived.fetchAndAddRelaxed(1);
|
||||
}
|
||||
|
||||
void AuthCounter::incIngressAuthenticationCumulativeTime(long long micros) {
|
||||
_ingressAuthenticationCumulativeMicros.fetchAndAddRelaxed(micros);
|
||||
}
|
||||
|
||||
void AuthCounter::incEgressAuthenticationCumulativeTime(long long micros) {
|
||||
_egressAuthenticationCumulativeMicros.fetchAndAddRelaxed(micros);
|
||||
}
|
||||
|
||||
void AuthCounter::MechanismCounterHandle::incSpeculativeAuthenticateSent() {
|
||||
_data->egress.speculativeAuthenticate.total.fetchAndAddRelaxed(1);
|
||||
void AuthCounter::incAuthenticationCumulativeTime(long long micros) {
|
||||
_authenticationCumulativeMicros.fetchAndAddRelaxed(micros);
|
||||
}
|
||||
|
||||
void AuthCounter::MechanismCounterHandle::incSpeculativeAuthenticateReceived() {
|
||||
_data->ingress.speculativeAuthenticate.total.fetchAndAddRelaxed(1);
|
||||
_data->speculativeAuthenticate.received.fetchAndAddRelaxed(1);
|
||||
}
|
||||
|
||||
void AuthCounter::MechanismCounterHandle::incIngressSpeculativeAuthenticateSuccessful() {
|
||||
_data->ingress.speculativeAuthenticate.successful.fetchAndAddRelaxed(1);
|
||||
}
|
||||
|
||||
void AuthCounter::MechanismCounterHandle::incEgressSpeculativeAuthenticateSuccessful() {
|
||||
_data->egress.speculativeAuthenticate.successful.fetchAndAddRelaxed(1);
|
||||
}
|
||||
|
||||
void AuthCounter::MechanismCounterHandle::incAuthenticateSent() {
|
||||
_data->egress.authenticate.total.fetchAndAddRelaxed(1);
|
||||
void AuthCounter::MechanismCounterHandle::incSpeculativeAuthenticateSuccessful() {
|
||||
_data->speculativeAuthenticate.successful.fetchAndAddRelaxed(1);
|
||||
}
|
||||
|
||||
void AuthCounter::MechanismCounterHandle::incAuthenticateReceived() {
|
||||
_data->ingress.authenticate.total.fetchAndAddRelaxed(1);
|
||||
_data->authenticate.received.fetchAndAddRelaxed(1);
|
||||
}
|
||||
|
||||
void AuthCounter::MechanismCounterHandle::incIngressAuthenticateSuccessful() {
|
||||
_data->ingress.authenticate.successful.fetchAndAddRelaxed(1);
|
||||
}
|
||||
|
||||
void AuthCounter::MechanismCounterHandle::incEgressAuthenticateSuccessful() {
|
||||
_data->egress.authenticate.successful.fetchAndAddRelaxed(1);
|
||||
void AuthCounter::MechanismCounterHandle::incAuthenticateSuccessful() {
|
||||
_data->authenticate.successful.fetchAndAddRelaxed(1);
|
||||
}
|
||||
|
||||
void AuthCounter::MechanismCounterHandle::incClusterAuthenticateReceived() {
|
||||
_data->ingress.clusterAuthenticate.total.fetchAndAddRelaxed(1);
|
||||
_data->clusterAuthenticate.received.fetchAndAddRelaxed(1);
|
||||
}
|
||||
|
||||
void AuthCounter::MechanismCounterHandle::incClusterAuthenticateSuccessful() {
|
||||
_data->ingress.clusterAuthenticate.successful.fetchAndAddRelaxed(1);
|
||||
_data->clusterAuthenticate.successful.fetchAndAddRelaxed(1);
|
||||
}
|
||||
|
||||
auto AuthCounter::getMechanismCounter(StringData mechanism) -> MechanismCounterHandle {
|
||||
@ -294,28 +274,17 @@ auto AuthCounter::getMechanismCounter(StringData mechanism) -> MechanismCounterH
|
||||
return MechanismCounterHandle(&data);
|
||||
}
|
||||
|
||||
void AuthCounter::SuccessCounter::appendAsSubobj(BSONObjBuilder& bob, StringData fieldName) const {
|
||||
BSONObjBuilder subBob(bob.subobjStart(fieldName));
|
||||
subBob.append("total", total.load());
|
||||
subBob.append("successful", successful.load());
|
||||
subBob.done();
|
||||
}
|
||||
|
||||
/**
|
||||
* authentication: {
|
||||
* "mechanisms": {
|
||||
* "SCRAM-SHA-256": {
|
||||
* "ingress": {
|
||||
* "speculativeAuthenticate": { total: ###, successful: ### },
|
||||
* "clusterAuthenticate": { total: ###, successful: ### },
|
||||
* "authenticate": { total: ###, successful: ### },
|
||||
* },
|
||||
* "egress": {
|
||||
* "speculativeAuthenticate": { total: ###, successful: ### },
|
||||
* "authenticate": { total: ###, successful: ### },
|
||||
* },
|
||||
* "speculativeAuthenticate": { received: ###, successful: ### },
|
||||
* "authenticate": { received: ###, successful: ### },
|
||||
* },
|
||||
* "MONGODB-X509": {
|
||||
* "speculativeAuthenticate": { received: ###, successful: ### },
|
||||
* "authenticate": { received: ###, successful: ### },
|
||||
* },
|
||||
* ...
|
||||
* },
|
||||
* }
|
||||
*/
|
||||
@ -328,29 +297,43 @@ void AuthCounter::append(BSONObjBuilder* b) {
|
||||
for (const auto& it : _mechanisms) {
|
||||
BSONObjBuilder mechBuilder(mechsBuilder.subobjStart(it.first));
|
||||
|
||||
BSONObjBuilder ingressBuilder(mechBuilder.subobjStart("ingress"));
|
||||
it.second.ingress.speculativeAuthenticate.appendAsSubobj(ingressBuilder,
|
||||
auth::kSpeculativeAuthenticate);
|
||||
it.second.ingress.clusterAuthenticate.appendAsSubobj(ingressBuilder,
|
||||
auth::kClusterAuthenticate);
|
||||
it.second.ingress.authenticate.appendAsSubobj(ingressBuilder, auth::kAuthenticateCommand);
|
||||
ingressBuilder.done();
|
||||
{
|
||||
const auto received = it.second.speculativeAuthenticate.received.load();
|
||||
const auto successful = it.second.speculativeAuthenticate.successful.load();
|
||||
|
||||
BSONObjBuilder egressBuilder(mechBuilder.subobjStart("egress"));
|
||||
it.second.egress.speculativeAuthenticate.appendAsSubobj(egressBuilder,
|
||||
auth::kSpeculativeAuthenticate);
|
||||
it.second.egress.authenticate.appendAsSubobj(egressBuilder, auth::kAuthenticateCommand);
|
||||
egressBuilder.done();
|
||||
BSONObjBuilder specAuthBuilder(mechBuilder.subobjStart(auth::kSpeculativeAuthenticate));
|
||||
specAuthBuilder.append("received", received);
|
||||
specAuthBuilder.append("successful", successful);
|
||||
specAuthBuilder.done();
|
||||
}
|
||||
|
||||
{
|
||||
const auto received = it.second.clusterAuthenticate.received.load();
|
||||
const auto successful = it.second.clusterAuthenticate.successful.load();
|
||||
|
||||
BSONObjBuilder clusterAuthBuilder(mechBuilder.subobjStart(auth::kClusterAuthenticate));
|
||||
clusterAuthBuilder.append("received", received);
|
||||
clusterAuthBuilder.append("successful", successful);
|
||||
clusterAuthBuilder.done();
|
||||
}
|
||||
|
||||
{
|
||||
const auto received = it.second.authenticate.received.load();
|
||||
const auto successful = it.second.authenticate.successful.load();
|
||||
|
||||
BSONObjBuilder authBuilder(mechBuilder.subobjStart(auth::kAuthenticateCommand));
|
||||
authBuilder.append("received", received);
|
||||
authBuilder.append("successful", successful);
|
||||
authBuilder.done();
|
||||
}
|
||||
|
||||
mechBuilder.done();
|
||||
}
|
||||
|
||||
mechsBuilder.done();
|
||||
|
||||
const auto totalIngressAuthenticationTimeMicros = _ingressAuthenticationCumulativeMicros.load();
|
||||
b->append("totalIngressAuthenticationTimeMicros", totalIngressAuthenticationTimeMicros);
|
||||
const auto totalEgressAuthenticationTimeMicros = _egressAuthenticationCumulativeMicros.load();
|
||||
b->append("totalEgressAuthenticationTimeMicros", totalEgressAuthenticationTimeMicros);
|
||||
const auto totalAuthenticationTimeMicros = _authenticationCumulativeMicros.load();
|
||||
b->append("totalAuthenticationTimeMicros", totalAuthenticationTimeMicros);
|
||||
}
|
||||
|
||||
OpCounters& serviceOpCounters(ClusterRole role) {
|
||||
|
||||
@ -278,15 +278,11 @@ public:
|
||||
public:
|
||||
MechanismCounterHandle(MechanismData* data) : _data(data) {}
|
||||
|
||||
void incSpeculativeAuthenticateSent();
|
||||
void incSpeculativeAuthenticateReceived();
|
||||
void incIngressSpeculativeAuthenticateSuccessful();
|
||||
void incEgressSpeculativeAuthenticateSuccessful();
|
||||
void incSpeculativeAuthenticateSuccessful();
|
||||
|
||||
void incAuthenticateSent();
|
||||
void incAuthenticateReceived();
|
||||
void incIngressAuthenticateSuccessful();
|
||||
void incEgressAuthenticateSuccessful();
|
||||
void incAuthenticateSuccessful();
|
||||
|
||||
void incClusterAuthenticateReceived();
|
||||
void incClusterAuthenticateSuccessful();
|
||||
@ -299,36 +295,31 @@ public:
|
||||
|
||||
void incSaslSupportedMechanismsReceived();
|
||||
|
||||
void incIngressAuthenticationCumulativeTime(long long micros);
|
||||
|
||||
void incEgressAuthenticationCumulativeTime(long long micros);
|
||||
void incAuthenticationCumulativeTime(long long micros);
|
||||
|
||||
void append(BSONObjBuilder*);
|
||||
|
||||
void initializeMechanismMap(const std::vector<std::string>&);
|
||||
|
||||
private:
|
||||
struct SuccessCounter {
|
||||
AtomicWord<long long> total;
|
||||
AtomicWord<long long> successful;
|
||||
void appendAsSubobj(BSONObjBuilder& bob, StringData fieldName) const;
|
||||
};
|
||||
struct MechanismData {
|
||||
struct {
|
||||
SuccessCounter speculativeAuthenticate;
|
||||
SuccessCounter authenticate;
|
||||
SuccessCounter clusterAuthenticate;
|
||||
} ingress;
|
||||
AtomicWord<long long> received;
|
||||
AtomicWord<long long> successful;
|
||||
} speculativeAuthenticate;
|
||||
struct {
|
||||
SuccessCounter speculativeAuthenticate;
|
||||
SuccessCounter authenticate;
|
||||
} egress;
|
||||
AtomicWord<long long> received;
|
||||
AtomicWord<long long> successful;
|
||||
} authenticate;
|
||||
struct {
|
||||
AtomicWord<long long> received;
|
||||
AtomicWord<long long> successful;
|
||||
} clusterAuthenticate;
|
||||
};
|
||||
using MechanismMap = std::map<std::string, MechanismData>;
|
||||
|
||||
AtomicWord<long long> _saslSupportedMechanismsReceived;
|
||||
AtomicWord<long long> _ingressAuthenticationCumulativeMicros;
|
||||
AtomicWord<long long> _egressAuthenticationCumulativeMicros;
|
||||
AtomicWord<long long> _authenticationCumulativeMicros;
|
||||
// Mechanism maps are initialized at startup to contain all
|
||||
// mechanisms known to authenticationMechanisms setParam.
|
||||
// After that they are kept to a fixed size.
|
||||
|
||||
@ -700,8 +700,9 @@ public:
|
||||
const std::string bestPlan("{fetch: {node: {ixscan: {pattern: {a: 1}}}}}");
|
||||
auto soln = pickBestPlan(cq.get());
|
||||
ASSERT(QueryPlannerTestLib::solutionMatches(bestPlan, soln->root()).isOK());
|
||||
auto cbrSoln = bestCBRPlan(cq.get(), static_cast<size_t>(docCount));
|
||||
ASSERT(QueryPlannerTestLib::solutionMatches(bestPlan, cbrSoln->root()).isOK());
|
||||
// TODO SERVER-100611: re-enable these tests.
|
||||
// auto cbrSoln = bestCBRPlan(cq.get(), static_cast<size_t>(docCount));
|
||||
// ASSERT(QueryPlannerTestLib::solutionMatches(bestPlan, cbrSoln->root()).isOK());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -37,12 +37,10 @@
|
||||
#include "mongo/bson/bsonobjbuilder.h"
|
||||
#include "mongo/bson/util/builder.h"
|
||||
#include "mongo/bson/util/builder_fwd.h"
|
||||
#include "mongo/client/authenticate.h"
|
||||
#include "mongo/client/client_api_version_parameters_gen.h"
|
||||
#include "mongo/client/mongo_uri.h"
|
||||
#include "mongo/config.h" // IWYU pragma: keep
|
||||
#include "mongo/db/auth/sasl_command_constants.h"
|
||||
#include "mongo/db/auth/sasl_options.h"
|
||||
#include "mongo/db/server_options.h"
|
||||
#include "mongo/db/server_parameter.h"
|
||||
#include "mongo/db/tenant_id.h"
|
||||
@ -359,8 +357,6 @@ Status storeMongoShellOptions(const moe::Environment& params,
|
||||
}
|
||||
}
|
||||
|
||||
saslGlobalParams.authenticationMechanisms = auth::kAllMechanisms;
|
||||
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
|
||||
@ -46,6 +46,7 @@ namespace mongo {
|
||||
"For non-cryptographic purposes, consider using a modern hash function like XXHash or "
|
||||
"CityHash.")]]
|
||||
void md5_init_state_deprecated(md5_state_t* pms) {
|
||||
memset(pms, 0, sizeof(md5_state_t));
|
||||
md5_init(pms);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user