Transactions transaction_insert_update_chain
Transactions benchmark · all Transactions queries
Representative SQL
Rendered in the benchmark’s native SQL with default parameters (no dialect translation available).
BEGIN TRANSACTION;INSERT INTO txn_customer VALUES (9000001, 'Customer#000000001', '123 Main St', 1, '555-1234', 1000.00, 'AUTOMOBILE', 'initial');INSERT INTO txn_customer VALUES (9000002, 'Customer#000000002', '456 Oak Ave', 1, '555-5678', 2000.00, 'BUILDING', 'initial');UPDATE txn_customer SET c_comment = 'updated', c_acctbal = c_acctbal * 1.5 WHERE c_custkey >= 9000001;COMMIT;Representative DataFrame
No DataFrame implementation is registered for this query.
Get the exact query for your run
The blocks above are representative. To get the precise statement a specific platform runs at a specific scale, substitute your own values:
from benchbox import TransactionPrimitives
bench = TransactionPrimitives(scale_factor=0.01) # your scale factorprint(bench.get_queries()['transaction_insert_update_chain'])Source
Query text: benchbox/core/transaction_primitives/operations.py