Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions config/informix/sample_tpcc_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0"?>
<parameters>

<!-- Connection details -->
<type>INFORMIX</type>
<driver>com.informix.jdbc.IfxDriver</driver>
<url>jdbc:informix-sqli://localhost:9088/demo:INFORMIXSERVER=informix;user=informix;password=in4mix;sslMode=DISABLED</url>
<username>informix</username>
<password>in4mix</password>
<isolation>TRANSACTION_SERIALIZABLE</isolation>
<batchsize>128</batchsize>

<!-- Scale factor is the number of warehouses in TPCC -->
<scalefactor>1</scalefactor>

<!-- The workload -->
<terminals>1</terminals>
<works>
<work>
<time>60</time>
<rate>10000</rate>
<weights>45,43,4,4,4</weights>
</work>
</works>

<!-- TPCC specific -->
<transactiontypes>
<transactiontype>
<name>NewOrder</name>
<!--<preExecutionWait>18000</preExecutionWait>-->
<!--<postExecutionWait>12000</postExecutionWait>-->
</transactiontype>
<transactiontype>
<name>Payment</name>
<!--<preExecutionWait>3000</preExecutionWait>-->
<!--<postExecutionWait>12000</postExecutionWait>-->
</transactiontype>
<transactiontype>
<name>OrderStatus</name>
<!--<preExecutionWait>2000</preExecutionWait>-->
<!--<postExecutionWait>10000</postExecutionWait>-->
</transactiontype>
<transactiontype>
<name>Delivery</name>
<!--<preExecutionWait>2000</preExecutionWait>-->
<!--<postExecutionWait>5000</postExecutionWait>-->
</transactiontype>
<transactiontype>
<name>StockLevel</name>
<!--<preExecutionWait>2000</preExecutionWait>-->
<!--<postExecutionWait>5000</postExecutionWait>-->
</transactiontype>
</transactiontypes>
</parameters>
47 changes: 47 additions & 0 deletions config/informix/sample_ycsb_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0"?>
<parameters>

<!-- Connection details -->
<type>INFORMIX</type>
<driver>com.informix.jdbc.IfxDriver</driver>
<url>jdbc:informix-sqli://localhost:9088/demo:INFORMIXSERVER=informix;user=informix;password=in4mix;sslMode=DISABLED</url>
<username>informix</username>
<password>in4mix</password>
<isolation>TRANSACTION_SERIALIZABLE</isolation>
<batchsize>128</batchsize>

<!-- Scalefactor in YCSB is *1000 the number of rows in the USERTABLE-->
<scalefactor>1</scalefactor>

<!-- The workload -->
<terminals>1</terminals>
<works>
<work>
<time>60</time>
<rate>10000</rate>
<weights>50,5,15,10,10,10</weights>
</work>
</works>

<!-- YCSB Procedures declaration -->
<transactiontypes>
<transactiontype>
<name>ReadRecord</name>
</transactiontype>
<transactiontype>
<name>InsertRecord</name>
</transactiontype>
<transactiontype>
<name>ScanRecord</name>
</transactiontype>
<transactiontype>
<name>UpdateRecord</name>
</transactiontype>
<transactiontype>
<name>DeleteRecord</name>
</transactiontype>
<transactiontype>
<name>ReadModifyWriteRecord</name>
</transactiontype>
</transactiontypes>
</parameters>
55 changes: 55 additions & 0 deletions config/sybase/sample_tpcc_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0"?>
<parameters>

<!-- Connection details -->
<type>SybaseASE</type>
<driver>com.sybase.jdbc4.jdbc.SybDriver</driver>
<url>jdbc:sybase:Tds:localhost:8000/test</url>
<username>sa</username>
<password>myPassword</password>
<isolation>TRANSACTION_SERIALIZABLE</isolation>
<batchsize>128</batchsize>

<!-- Scale factor is the number of warehouses in TPCC -->
<scalefactor>1</scalefactor>

<!-- The workload -->
<terminals>1</terminals>
<works>
<work>
<time>60</time>
<rate>10000</rate>
<weights>45,43,4,4,4</weights>
</work>
</works>

<!-- TPCC specific -->
<transactiontypes>
<transactiontype>
<name>NewOrder</name>
<!--<preExecutionWait>18000</preExecutionWait>-->
<!--<postExecutionWait>12000</postExecutionWait>-->
</transactiontype>
<transactiontype>
<name>Payment</name>
<!--<preExecutionWait>3000</preExecutionWait>-->
<!--<postExecutionWait>12000</postExecutionWait>-->
</transactiontype>
<transactiontype>
<name>OrderStatus</name>
<!--<preExecutionWait>2000</preExecutionWait>-->
<!--<postExecutionWait>10000</postExecutionWait>-->
</transactiontype>
<transactiontype>
<name>Delivery</name>
<!--<preExecutionWait>2000</preExecutionWait>-->
<!--<postExecutionWait>5000</postExecutionWait>-->
</transactiontype>
<transactiontype>
<name>StockLevel</name>
<!--<preExecutionWait>2000</preExecutionWait>-->
<!--<postExecutionWait>5000</postExecutionWait>-->
</transactiontype>
</transactiontypes>
</parameters>

48 changes: 48 additions & 0 deletions config/sybase/sample_ycsb_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0"?>
<parameters>

<!-- Connection details -->
<type>SybaseASE</type>
<driver>com.sybase.jdbc4.jdbc.SybDriver</driver>
<url>jdbc:sybase:Tds:localhost:8000/demo</url>
<username>sa</username>
<password>myPassword</password>
<isolation>TRANSACTION_SERIALIZABLE</isolation>
<batchsize>128</batchsize>

<!-- Scalefactor in YCSB is *1000 the number of rows in the USERTABLE-->
<scalefactor>1</scalefactor>

<!-- The workload -->
<terminals>1</terminals>
<works>
<work>
<time>60</time>
<rate>10000</rate>
<weights>50,5,15,10,10,10</weights>
</work>
</works>

<!-- YCSB Procedures declaration -->
<transactiontypes>
<transactiontype>
<name>ReadRecord</name>
</transactiontype>
<transactiontype>
<name>InsertRecord</name>
</transactiontype>
<transactiontype>
<name>ScanRecord</name>
</transactiontype>
<transactiontype>
<name>UpdateRecord</name>
</transactiontype>
<transactiontype>
<name>DeleteRecord</name>
</transactiontype>
<transactiontype>
<name>ReadModifyWriteRecord</name>
</transactiontype>
</transactiontypes>
</parameters>

Loading