more workload updates

This commit is contained in:
Madhavan Sridharan
2023-10-16 13:24:07 -04:00
parent d87aac58a4
commit cc26734956
2 changed files with 7 additions and 8 deletions

View File

@@ -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;

View File

@@ -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)
}
},