Skip to content

Instantly share code, notes, and snippets.

View jmpcyc's full-sized avatar
🎯
Focusing

jmpcyc jmpcyc

🎯
Focusing
View GitHub Profile
@sh2
sh2 / tpcc_load_parallel.sh
Created August 25, 2012 02:14
Parallel load script for tpcc-mysql
#!/bin/bash
# Configration
MYSQL=/usr/bin/mysql
TPCCLOAD=./tpcc_load
TABLESQL=./create_table.sql
CONSTRAINTSQL=./add_fkey_idx.sql
DEGREE=`getconf _NPROCESSORS_ONLN`