@@ -198,8 +198,8 @@ class MongodbDriver(AbstractDriver):
198
198
DEFAULT_CONFIG = {
199
199
"uri" : ("The mongodb connection string or URI" , "mongodb://localhost:27017" ),
200
200
"name" : ("Database name" , "tpcc" ),
201
- "denormalize" : ("If true, data will be denormalized using MongoDB schema design best practices" , False ),
202
- "notransactions" : ("If true, transactions will not be used (benchmarking only)" , True ),
201
+ "denormalize" : ("If true, data will be denormalized using MongoDB schema design best practices" , True ),
202
+ "notransactions" : ("If true, transactions will not be used (benchmarking only)" , False ),
203
203
"findandmodify" : ("If true, all things to update will be fetched via findAndModify" , True ),
204
204
"secondary_reads" : ("If true, we will allow secondary reads" , True ),
205
205
"retry_writes" : ("If true, we will enable retryable writes" , True ),
@@ -231,7 +231,7 @@ def __init__(self, ddl, shared_event=None, worker_id=0):
231
231
self .retry_writes = True
232
232
self .read_concern = "majority"
233
233
self .write_concern = pymongo .write_concern .WriteConcern (w = 1 )
234
- self .denormalize = False
234
+ self .denormalize = True
235
235
self .output = open ('results.json' ,'a' )
236
236
self .result_doc = {}
237
237
self .warehouses = 0
0 commit comments