@@ -198,8 +198,8 @@ class MongodbDriver(AbstractDriver):
198198 DEFAULT_CONFIG = {
199199 "uri" : ("The mongodb connection string or URI" , "mongodb://localhost:27017" ),
200200 "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 ),
203203 "findandmodify" : ("If true, all things to update will be fetched via findAndModify" , True ),
204204 "secondary_reads" : ("If true, we will allow secondary reads" , True ),
205205 "retry_writes" : ("If true, we will enable retryable writes" , True ),
@@ -231,7 +231,7 @@ def __init__(self, ddl, shared_event=None, worker_id=0):
231231 self .retry_writes = True
232232 self .read_concern = "majority"
233233 self .write_concern = pymongo .write_concern .WriteConcern (w = 1 )
234- self .denormalize = False
234+ self .denormalize = True
235235 self .output = open ('results.json' ,'a' )
236236 self .result_doc = {}
237237 self .warehouses = 0
0 commit comments