Skip to content

Commit

Permalink
Rewrite default BenchBase configuration URLs. (cmu-db#25)
Browse files Browse the repository at this point in the history
Rewrite default BenchBase configuration URLs.

- preferQueryMode=extended is more realistic.
- Disable reWriteBatchedInserts since our forecast can't handle that.
  • Loading branch information
lmwnshn authored Jan 20, 2022
1 parent 7a2f68b commit 60f1d28
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion config/behavior/benchbase/auctionmark_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=auctionmark&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down
2 changes: 1 addition & 1 deletion config/behavior/benchbase/epinions_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=epinions&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down
2 changes: 1 addition & 1 deletion config/behavior/benchbase/noop_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=noop&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down
2 changes: 1 addition & 1 deletion config/behavior/benchbase/seats_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=seats&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down
2 changes: 1 addition & 1 deletion config/behavior/benchbase/sibench_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=sibench&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down
2 changes: 1 addition & 1 deletion config/behavior/benchbase/smallbank_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=smallbank&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down
2 changes: 1 addition & 1 deletion config/behavior/benchbase/tatp_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=tatp&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down
2 changes: 1 addition & 1 deletion config/behavior/benchbase/tpcc_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=tpcc&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down
2 changes: 1 addition & 1 deletion config/behavior/benchbase/tpch_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=tpch&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down
2 changes: 1 addition & 1 deletion config/behavior/benchbase/twitter_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=twitter&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down
2 changes: 1 addition & 1 deletion config/behavior/benchbase/voter_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=voter&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down
2 changes: 1 addition & 1 deletion config/behavior/benchbase/wikipedia_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=wikipedia&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down
2 changes: 1 addition & 1 deletion config/behavior/benchbase/ycsb_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Connection details -->
<type>POSTGRES</type>
<driver>org.postgresql.Driver</driver>
<url>jdbc:postgresql://localhost:5432/benchbase?sslmode=disable&amp;ApplicationName=ycsb&amp;reWriteBatchedInserts=true</url>
<url>jdbc:postgresql://localhost:5432/benchbase?preferQueryMode=extended</url>
<username>admin</username>
<password>password</password>
<isolation>TRANSACTION_READ_COMMITTED</isolation>
Expand Down

0 comments on commit 60f1d28

Please sign in to comment.