Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
Practical-Cryptdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhaozhen
Practical-Cryptdb
Commits
7e6eccb6
Commit
7e6eccb6
authored
May 12, 2017
by
casualet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add bench
parent
4a413546
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
crypt.sql
packages/tls/tpcc-mysql/crypt.sql
+0
-0
cryptbenchmark.sh
packages/tls/tpcc-mysql/cryptbenchmark.sh
+6
-2
normalbenchmark.sh
packages/tls/tpcc-mysql/normalbenchmark.sh
+5
-1
No files found.
packages/tls/tpcc-mysql/crypt.sql
deleted
100644 → 0
View file @
4a413546
packages/tls/tpcc-mysql/cryptbenchmark.sh
View file @
7e6eccb6
mysqladmin create tpcc1000
-uroot
-pletmein
-h127
.0.0.1
-P3399
echo
"=============================================CREATE DATABASE====================================================="
mysql
-uroot
-pletmein
-h127
.0.0.1
-P3399
-e
"create database tpcc1000"
echo
"=============================================CREATE TABLE====================================================="
mysql
-uroot
-pletmein
-h127
.0.0.1
-P3399
tpcc1000 < create_table.sql
mysql
-uroot
-pletmein
-h127
.0.0.1
-P3399
tpcc1000 < create_table.sql
echo
"=============================================LOAD DATA====================================================="
mysql
-uroot
-pletmein
-h127
.0.0.1
-P3399
tpcc1000 < all.sql
mysql
-uroot
-pletmein
-h127
.0.0.1
-P3399
tpcc1000 < all.sql
mysqldump
--skip-extended-insert
-uroot
-pletmein
-h127
.0.0.1
-P3399
tpcc1000
>
crypt.sql
echo
"=============================================DUMP DATABASE====================================================="
mysqldump
--skip-extended-insert
-uroot
-pletmein
-h127
.0.0.1
-P3399
tpcc1000
>
back.sql
packages/tls/tpcc-mysql/normalbenchmark.sh
View file @
7e6eccb6
mysqladmin create tpcc1000
-uroot
-pletmein
-h127
.0.0.1
# load data and dump all.sql
mysql
-uroot
-pletmein
-h127
.0.0.1
-e
"drop database if exists tpcc1000"
mysql
-uroot
-pletmein
-h127
.0.0.1
-e
"create database tpcc1000"
mysql
-uroot
-pletmein
-h127
.0.0.1 tpcc1000 < create_table.sql
mysql
-uroot
-pletmein
-h127
.0.0.1 tpcc1000 < create_table.sql
./tpcc_load
-h127
.0.0.1
-uroot
-pletmein
-d
tpcc1000
-w
2
./tpcc_load
-h127
.0.0.1
-uroot
-pletmein
-d
tpcc1000
-w
2
mysqldump
--skip-extended-insert
-uroot
-pletmein
-h127
.0.0.1 tpcc1000
>
all.sql
mysqldump
--skip-extended-insert
-uroot
-pletmein
-h127
.0.0.1 tpcc1000
>
all.sql
mysql
-uroot
-pletmein
-h127
.0.0.1
-e
"drop database if exists tpcc1000"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment