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
1a2a3ddd
Commit
1a2a3ddd
authored
Jan 03, 2018
by
yiwenshao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
able to backup and restore
parent
dce7ff24
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
18 deletions
+0
-18
.ASHE.hh.swp
crypto/.ASHE.hh.swp
+0
-0
backup.sh
packages/tls/tpcc-mysql/backup.sh
+0
-8
count.sh
packages/tls/tpcc-mysql/count.sh
+0
-1
count.sql
packages/tls/tpcc-mysql/count.sql
+0
-9
No files found.
crypto/.ASHE.hh.swp
0 → 100644
View file @
1a2a3ddd
File added
packages/tls/tpcc-mysql/backup.sh
deleted
100755 → 0
View file @
dce7ff24
name
=
"all.sql"
if
[
$#
=
1
]
;
then
name
=
$1
fi
mysqldump
-uroot
-pletmein
-h127
.0.0.1
-P3306
--no-create-info
--compact
tpcc1000
>
$name
packages/tls/tpcc-mysql/count.sh
deleted
100755 → 0
View file @
dce7ff24
mysql
-uroot
-pletmein
tpcc1000 < count.sql
packages/tls/tpcc-mysql/count.sql
deleted
100644 → 0
View file @
dce7ff24
select
count
(
w_id
)
as
warehouse
from
warehouse
;
select
count
(
d_w_id
)
as
district
from
district
;
select
count
(
c_w_id
)
as
customer
from
customer
;
select
count
(
h_c_id
)
as
history
from
history
;
select
count
(
no_w_id
)
as
new_orders
from
new_orders
;
select
count
(
o_w_id
)
as
orders
from
orders
;
select
count
(
ol_w_id
)
as
order_line
from
order_line
;
select
count
(
i_id
)
as
item
from
item
;
select
count
(
s_w_id
)
as
stock
from
stock
;
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