mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
more workload updates
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
package io.nosqlbench.adapter.mongodb;
|
||||
|
||||
/*
|
||||
* Copyright (c) 2022 nosqlbench
|
||||
*
|
||||
* Copyright (c) 2023 nosqlbench
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
@@ -18,7 +18,6 @@ package io.nosqlbench.adapter.mongodb;
|
||||
*/
|
||||
|
||||
|
||||
import com.mongodb.client.MongoCursor;
|
||||
import org.bson.Document;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
@@ -18,7 +18,7 @@ scenarios:
|
||||
drop: run driver=mongodb tags==block:drop-entire-collection threads==1 cycles==UNDEF database=baselines
|
||||
search_and_index: >-
|
||||
run driver=mongodb alias=search_and_index tags='block:main-read' labels='target:mongodbatlas'
|
||||
cycles=TEMPLATE(testsize) errors=counter,retry stride=100 striderate=7.50
|
||||
cycles=TEMPLATE(testsize) errors=counter,retry,warn stride=100 striderate=7.50
|
||||
read_ratio=1 threads=500 database=baselines
|
||||
|
||||
params:
|
||||
@@ -136,7 +136,7 @@ blocks:
|
||||
{
|
||||
"aggregate": "TEMPLATE(collection,keyvalue)",
|
||||
"cursor" : {
|
||||
"batchSize": 100
|
||||
"batchSize": TEMPLATE(top_k,100)
|
||||
},
|
||||
"pipeline": [
|
||||
{
|
||||
@@ -144,7 +144,7 @@ blocks:
|
||||
"index": "kv_value_vector_search_idx",
|
||||
"path": "value",
|
||||
"queryVector": {test_floatlist},
|
||||
"numCandidates": TEMPLATE(num_candidates,1000),
|
||||
"numCandidates": TEMPLATE(num_candidates,100),
|
||||
"limit": TEMPLATE(top_k,100)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user