Skip to content

Commit

Permalink
增加db_tools
Browse files Browse the repository at this point in the history
  • Loading branch information
haisheng committed Jan 27, 2019
1 parent d4089fa commit 589f858
Show file tree
Hide file tree
Showing 312 changed files with 2,193 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .idea/PPGo_ApiAdmin.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

351 changes: 351 additions & 0 deletions .idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions db_tools/dev/_db/auto.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[auto]
server-uuid=42851044-21db-11e9-b63a-0242ac120003
27 changes: 27 additions & 0 deletions db_tools/dev/_db/ca-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEArRhqCEaW/twQERxjX37i5mgi5ft1BL0KnLax7WKBHvtViBxM
Uj37y7O+kiK+IwBMM6VLgiJm0Rmzrrdd5sT42rLpdAsFG3av2KIcnF9VmlPO+Eqe
dWBQQttINrOqRBCTYPtdLgDt/swf8iTGjhysTBfRCc6mKt4xMtkHXMeOvaTalHyW
J/S65TpYH1EIIUDeV47iVcRCafgaRHzY8/NUc6SOeP27NjpOmfhBbOUOnu4n/knX
eRrJ1Ukqjg9koIaOQKNQStAIFnnybkcfj3+bsdQ0gfe+L+3fO2A1hf3HhrQFwVfV
04+l7ewV9RB0MYHco1+ZZETT2AI0haO/CouqDwIDAQABAoIBAFoNHISnrMB0Xkt4
mF5DFepGfPlm448OhinXhiN4nrIukWXZSv9yTb/BCEDgoEh3TC2GLg1KtnDMTUV1
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2twh+6hlX+HNuY8R926S
iC6N5IWquuHlsM5H1AFWZiRytIm6eKcYh6jiNi+NB0hc7xaspug=
-----END RSA PRIVATE KEY-----
19 changes: 19 additions & 0 deletions db_tools/dev/_db/ca.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDAzCCAeugAwIBAgIBATANBgkqhkiG9w0BAQsFADA8MTowOAYDVQQDDDFNeVNR
TF9TZXJ2ZXJfNS43LjIwX0F1dG9fR2VuZXJhdGVkX0NBX0NlcnRpZmljYXRlMB4X
DTE5MDEyNzAyMjg0OVoXDTI5MDEyNDAyMjg0OVowPDE6MDgGA1UEAwwxTXlTUUxf
U2VydmVyXzUuNy4yMF9BdXRvX0dlbmVyYXRlZF9DQV9DZXJ0aWZpY2F0ZTCCASIw
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK0YaghGlv7cEBEcY19+4uZoIuX7
dQS9Cpy2se1igR77VYgcTFI9+8uzvpIiviMATDOlS4IiZtEZs663XebE+Nqy6XQL
BRt2r9iiHJxfVZpTzvhKnnVgUELbSDazqkQQk2D7XS4A7f7MH/Ikxo4crEwX0QnO
pireMTLZB1zHjr2k2pR8lif0uuU6WB9RCCFA3leO4lXEQmn4GkR82PPzVHOkjnj9
uzY6Tpn4QWzlDp7uJ/5J13kaydVJKo4PZKCGjkCjUErQCBZ58m5HH49/m7HUNIH3
vi/t3ztgNYX9x4a0BcFX1dOPpe3sFfUQdDGB3KNfmWRE09gCNIWjvwqLqg8CAwEA
AaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEATc3USjr6x6du
PxJgJHuEFAnp2Lwo3RbVHDuamAQFp6m+mENeryumOeGdQdDxcSo7VFFXkB6UQ6FY
DBwuPgo5EHYLA+jKjmPlrNx4Twc2jKkfB3R0knpvYoLZYxBpccOFz0t7UAq6wVDN
ue0SqnhEU7xHbhjNTfkty81LfIbEdt/IqjwEO5Jr62svxOvSP4p32lzAsd9VfMxK
pYG0CJP6A+0G2z5tUK38xEqeAkNDW/R2P+G6W8wUl1iPV4c9xJqhrWXQyfeeg95g
e2pC+ykiYlRYV1sB1MP4wnHD8/rqMKltVaRHWIqtmYK0y1Hfzy94RkzS27u7lNd0
Ng+nzClaig==
-----END CERTIFICATE-----
19 changes: 19 additions & 0 deletions db_tools/dev/_db/client-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDBDCCAeygAwIBAgIBAzANBgkqhkiG9w0BAQsFADA8MTowOAYDVQQDDDFNeVNR
TF9TZXJ2ZXJfNS43LjIwX0F1dG9fR2VuZXJhdGVkX0NBX0NlcnRpZmljYXRlMB4X
DTE5MDEyNzAyMjg1MFoXDTI5MDEyNDAyMjg1MFowQDE+MDwGA1UEAww1TXlTUUxf
U2VydmVyXzUuNy4yMF9BdXRvX0dlbmVyYXRlZF9DbGllbnRfQ2VydGlmaWNhdGUw
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC17c6+oqhNhQvZdavW6pxd
hBRCjE6hT98HO0g7OkLqVODgTkN+Ulq5qX58kp+N3xcAud/jwoDkyD4rOomUOuhR
Jzx6oQNTFKKzWksUyC0E/vlS+trStsi5bhqoPwFI7qtWWR8I2BSwod5+NyxKPasz
BkaLlRyPZcjm6h+HzkloIMfPeP+YLFlhp/Mzn/wiZNQyWpI7YUCBjkDPogQNEYHb
g8muZXSwp9UTQ/1f0TPCIycqgZH2TfdIYCP+UoAcvWFaWzTHsXZnehGj5uAGZ1YQ
DMrZY1KwfrZPeXFkDiRle/zf9+A7TikOeYwy9BDJENnHNdp/lCfk7LSlO96W9v2n
AgMBAAGjDTALMAkGA1UdEwQCMAAwDQYJKoZIhvcNAQELBQADggEBAD7kQHdCombf
sOhzcvgglWWIBXu7Gp6MH2CNO9cIbJP/jMi3Cjzg0Rxc51ZlYgcH1EaZ7n1cR7Jg
L7pCaJLXMFvyBo5JYW0GgY+vH2/09feH/IbIJ2dumwviqPaukJ3tHEESX405HsD+
J5vEtU21RwXke+MF59aW4e9ghjUqjm7dzbLAf++56YKWwJd13zkelOPo/zqc32PV
XVudRLNPznRX2HLBzAoPRbq54pOWlaQw1vY5sdexRNOzMeCH6rm9wL/pyF94Ly0w
CY4ZuWqlPEgfyM+ZOnXjaUYKmKSS0b5sb9Ad6vw+QI80XKlCNy2gAxJyJYx6ooOJ
fAEudb0Dj6U=
-----END CERTIFICATE-----
27 changes: 27 additions & 0 deletions db_tools/dev/_db/client-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAte3OvqKoTYUL2XWr1uqcXYQUQoxOoU/fBztIOzpC6lTg4E5D
flJaual+fJKfjd8XALnf48KA5Mg+KzqJlDroUSc8eqEDUxSis1pLFMgtBP75Uvra
0rbIuW4aqD8BSO6rVlkfCNgUsKHefjcsSj2rMwZGi5Ucj2XI5uofh85JaCDHz3j/
mCxZYafzM5/8ImTUMlqSO2FAgY5Az6IEDRGB24PJrmV0sKfVE0P9X9EzwiMnKoGR
9k33SGAj/lKAHL1hWls0x7F2Z3oRo+bgBmdWEAzK2WNSsH62T3lxZA4kZXv83/fg
O04pDnmMMvQQyRDZxzXaf5Qn5Oy0pTvelvb9pwIDAQABAoIBAQCY47UveDrAiuMe
aUl0X83wuSLdmlQqNJlV1ngpbhj2HUauupb1/ffIt6xYvE/iRm1qasrA+aCgo7e7
VIJyU98Q9ExbMh09IMZqu6MFYASVgkG9fpuPIZUmYGV+pxRJWmobMuJl6FHa7u2w
XGWYLqNFSizW+QT7baqchHzjAHWoTxcEfYEW3eL+FYQ8DhMSgKamq+bQ3Ar//0cR
i1f55HmwtvvE9Brgf9Oc+OYykuMDf7OMXWmdwP2TzkKBDZ1R65PjWfh2g7AYphzC
ZUOJDUpYibA6V/KIH+Cd74q8f7QdMFddFQurWJR5mCZx4Auc8nHOHW0cyZI/Krky
AFwSlU4BAoGBAPHjiW3G5DUWRIVLFbmsfauZ+WzMpd3KB11jYQ/T6+BdsKxieZzb
Uf5S7fIAWawQO9MRd5J90zj1LVp5SpssU15biGx+uqzlN49B2tL5day6jnv8YjdE
05NbOFM7JUVL5NrgVm0o4Q1Jo8GYMKTMGc91ejWybLRPw0YMw8TeaEDnAoGBAMCK
zmSsV+GHa9KGC4AEgjbu5aXicDeB/RELhj27cOnsHLhIqwyPD8zphB7XefVS4iVI
F5kyfDciorQHqT9bR5HrvSQ9wIWpy7cgpduQr8D+Yy2VJL6uT7a8xg0N9TIJczDi
cETUpGdDTF/IAYOKS6kYtqCbl7eqOP4DwllntgVBAoGBALoYB/8A6Uk+XHEAFzLF
1dlTmGVv/JvpdkkOz/nRXMM80VOOX2miAi7btlxckKCjzKLR6WA2lW5Ykg/tCMzh
CTKq0QZHaW7i2h/I1oVBjprY3A3fWeCTfwL7RxYhhscNYIBT36oTrTD/2pByedoP
fDvzcZYmMyN1yhH2eBbZ1PM5AoGAMV2la1Rwt8dD0tdBbZI6XKFFyhFTmje+zbb5
tSww2BkMiAdBq9emQnCAynOOtmKIzuw7+LBj/rLnqmbocvERWY1qkjcu/FY7f/lj
7PacyUuv3AkIQcdpcr3VvZUdj7Wyjg8Qn+UxPbSYiVo7YSF9Ip7OfEFIVfPT5vTJ
yKh5l8ECgYEAxEbQBmbsPg1oqa6vo4v2B7CBprQUz36xKRWWDBsI/BGxONYYAzDN
aR46X+MV5uQWb2+0GLicR/obOmTVgGaqeiOUy/97+amZ8wGZsY6WbuBEll2iF+4F
eNyQwTZWZqXTF4QchucNGIivvnG1t1WRnrZat1lzUDIWR5tyROAcIa4=
-----END RSA PRIVATE KEY-----
72 changes: 72 additions & 0 deletions db_tools/dev/_db/ib_buffer_pool
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
29,35
3,2
10,30
10,242
10,72
10,196
10,170
10,268
10,184
10,20
10,2
10,3
9,4
9,6
9,2
9,3
8,15
8,6
8,11
8,16
8,12
8,2
8,3
20,3
20,2
20,1
19,2
19,3
19,1
12,3
12,2
12,1
11,27
11,26
11,25
11,24
11,23
11,22
11,21
11,20
11,19
11,18
11,17
11,16
11,14
11,13
11,11
11,10
11,7
11,6
11,4
11,3
11,2
11,1
10,309
10,308
10,307
10,306
10,305
10,304
10,303
10,302
10,301
10,300
10,299
10,298
10,297
10,296
10,295
10,294
10,293
10,292
Binary file added db_tools/dev/_db/ib_logfile0
Binary file not shown.
Binary file added db_tools/dev/_db/ib_logfile1
Binary file not shown.
Binary file added db_tools/dev/_db/ibdata1
Binary file not shown.
Binary file added db_tools/dev/_db/ibtmp1
Binary file not shown.
Empty file.
Binary file added db_tools/dev/_db/mysql/columns_priv.MYI
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/columns_priv.frm
Binary file not shown.
1 change: 1 addition & 0 deletions db_tools/dev/_db/mysql/db.MYD
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
�localhost performance_schema mysql.session �localhost sys mysql.sys 
Binary file added db_tools/dev/_db/mysql/db.MYI
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/db.frm
Binary file not shown.
2 changes: 2 additions & 0 deletions db_tools/dev/_db/mysql/db.opt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
default-character-set=utf8mb4
default-collation=utf8mb4_unicode_ci
Binary file added db_tools/dev/_db/mysql/engine_cost.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/engine_cost.ibd
Binary file not shown.
Empty file.
Binary file added db_tools/dev/_db/mysql/event.MYI
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/event.frm
Binary file not shown.
Empty file added db_tools/dev/_db/mysql/func.MYD
Empty file.
Binary file added db_tools/dev/_db/mysql/func.MYI
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/func.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/general_log.CSM
Binary file not shown.
Empty file.
Binary file added db_tools/dev/_db/mysql/general_log.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/gtid_executed.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/gtid_executed.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/help_category.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/help_category.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/help_keyword.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/help_keyword.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/help_relation.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/help_relation.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/help_topic.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/help_topic.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/innodb_index_stats.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/innodb_index_stats.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/innodb_table_stats.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/innodb_table_stats.ibd
Binary file not shown.
Empty file.
Binary file added db_tools/dev/_db/mysql/ndb_binlog_index.MYI
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/ndb_binlog_index.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/plugin.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/plugin.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/proc.MYD
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/proc.MYI
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/proc.frm
Binary file not shown.
Empty file.
Binary file added db_tools/dev/_db/mysql/procs_priv.MYI
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/procs_priv.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/proxies_priv.MYD
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/proxies_priv.MYI
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/proxies_priv.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/server_cost.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/server_cost.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/servers.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/servers.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/slave_master_info.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/slave_master_info.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/slave_relay_log_info.frm
Binary file not shown.
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/slave_worker_info.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/slave_worker_info.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/slow_log.CSM
Binary file not shown.
Empty file.
Binary file added db_tools/dev/_db/mysql/slow_log.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/tables_priv.MYD
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/tables_priv.MYI
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/tables_priv.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/time_zone.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/time_zone.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/time_zone_leap_second.frm
Binary file not shown.
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/time_zone_name.frm
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/time_zone_name.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/time_zone_transition.frm
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/user.MYD
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/user.MYI
Binary file not shown.
Binary file added db_tools/dev/_db/mysql/user.frm
Binary file not shown.
Binary file added db_tools/dev/_db/performance_schema/accounts.frm
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions db_tools/dev/_db/performance_schema/db.opt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
default-character-set=utf8
default-collation=utf8_general_ci
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added db_tools/dev/_db/performance_schema/hosts.frm
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added db_tools/dev/_db/performance_schema/threads.frm
Binary file not shown.
Binary file not shown.
Binary file added db_tools/dev/_db/performance_schema/users.frm
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions db_tools/dev/_db/ppgo_api_admin/db.opt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
default-character-set=utf8mb4
default-collation=utf8mb4_unicode_ci
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_api_detail.frm
Binary file not shown.
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_api_public.frm
Binary file not shown.
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_api_source.frm
Binary file not shown.
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_set_code.frm
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_set_code.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_set_env.frm
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_set_env.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_set_group.frm
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_set_group.ibd
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_uc_admin.frm
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_uc_admin.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_uc_auth.frm
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_uc_auth.ibd
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_uc_role.frm
Binary file not shown.
Binary file added db_tools/dev/_db/ppgo_api_admin/pp_uc_role.ibd
Binary file not shown.
Binary file not shown.
Binary file not shown.
27 changes: 27 additions & 0 deletions db_tools/dev/_db/private_key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEApd53hP8Wh2LeIXgfBN11wpi8cF5N1uBQ9b6/6WsANrYRWZyQ
9z6M1C7+IEpB1bKWlEI5hmIqIogb3zGyQpeq+NcYPaM6gfeGH9OMiTGi5F5vPrxu
8aITc3JfGita3f5EXWO1F62+aR704G3JffTH2SQ442E/BMvR4m6k0KLflwgpQSMY
cAhKGtiSlexm4uQCNR+GpPxuU1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31z
4FTwbm7jU89HAmbGA1hoOxLTTxd0q5GJCOH6dIZVcxvYkiPWO+zI86Su7fmjykrF
LHJ+eQANAS24ZHDO7aR+2AQY5BZEmkqQliKxPeJQfyoP6p90QCcV8CyPIofyKV3Q
S3GTAoGAC2mHglyGjqtkotFVv9F87corM0K6WQKxMzXEwBs7hh9CmAt12PZFmmwj
MmfImv4jqGdvv54yW8Zb5weBPPzXARghBEpaArCFEGLuI2dfDpDxdOzORp6bFEpz
n/z7I3gnV3Id/Ah732qfywQUIt76ob4x1WDqkhMuj+XgZ4i0KDI=
-----END RSA PRIVATE KEY-----
9 changes: 9 additions & 0 deletions db_tools/dev/_db/public_key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApd53hP8Wh2LeIXgfBN11
wpi8cF5N1uBQ9b6/6WsANrYRWZyQ9z6M1C7+IEpB1bKWlEI5hmIqIogb3zGyQpeq
+NcYPaM6gfeGH9OMiTGi5F5vPrxu8aITc3JfGita3f5EXWO1F62+aR704G3JffTH
2SQ442E/BMvR4m6k0KLflwgpQSMYcAhKGtiSlexm4uQCNR+GpPxuU1Gn/BF66WLk
MGjL9MrQNJ1hLxV/mnvAn9QIFiGwi0RGVgbxbMTjeg7SY2PKGkhqxvHZKIW3JfoY
NGXInlG5IsbCttAbNX9iPxCPoLgyuwDkhKCYPcG+WnE0LcSl5MUp3Sn09I7y57sI
1wIDAQAB
-----END PUBLIC KEY-----
19 changes: 19 additions & 0 deletions db_tools/dev/_db/server-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDBDCCAeygAwIBAgIBAjANBgkqhkiG9w0BAQsFADA8MTowOAYDVQQDDDFNeVNR
TF9TZXJ2ZXJfNS43LjIwX0F1dG9fR2VuZXJhdGVkX0NBX0NlcnRpZmljYXRlMB4X
DTE5MDEyNzAyMjg0OVoXDTI5MDEyNDAyMjg0OVowQDE+MDwGA1UEAww1TXlTUUxf
U2VydmVyXzUuNy4yMF9BdXRvX0dlbmVyYXRlZF9TZXJ2ZXJfQ2VydGlmaWNhdGUw
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCq3FzFXmOc+qkjeyWCTs8f
dw7EKK2kt6N4qXSfywInbnRzS/8TYG04GInyLbaDhgNI/SyXq4CWP5wUb1rB/twz
bDGaS4l+ytYjf8YH0zWsFpZ2LDsPPVVmWgvsrXlhn4MbNeKFet6mODgwBJRNt29Q
DqELsMdl3onTjig8qrgnB+I9Qebh0AuHxM7hKILooBm76uTGYSFTIlnPQvCWhWVp
feGyn6KL4NsID1wEaOyzjD2oGVmOl24FoEA+kAlmcWUuaEe9nzx5qzKY8Mtnq2Xy
BCL29NqI6+gagASn4mtj2Osf+5zDsxgbxrub3KGVicgtgqJMb/J6dPR8fsRixbx/
AgMBAAGjDTALMAkGA1UdEwQCMAAwDQYJKoZIhvcNAQELBQADggEBAIxJ3J7wsJkj
d7zb9voGHgi0neAc0gsv/46Ktvhkj9kV3D427N+Wz2OzrW90UnqFcrVL97CmUgkJ
QXYT+cU0cf0LNDA5mS0su+fLfQkBG2YuqS7lJitmpbZoV1YWJBQzsW3LLzMjbfKf
1Pt2t4VMua+jJCv0VavhOhqtIBKxMBx2j3wxxuWCYS5BUeHeAcR5Py3uuHz/k/ip
tMxXxidrBYztFsV5h4bMb6t6zqrYWwlQ/du3rRy+NTOyeazjt+CVCGqLEvz2CItF
4F0kt56GNuj/3+LABDYqvJtRKZVYLcL1tPDiV3hKSVpMdOL6id7huNDa4qkkaeG1
xh+reaCz078=
-----END CERTIFICATE-----
27 changes: 27 additions & 0 deletions db_tools/dev/_db/server-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAqtxcxV5jnPqpI3slgk7PH3cOxCitpLejeKl0n8s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wtDumqp7u0kkvFXQcgrHFnLHIHIRxd9wODuRvyM
Vr1Zpk2BaLJbYbq5DahFuGNak6Ne4dC0rIelmRD5w1NUjPKXZSekDulW5Ui0Udx1
twPUN7SgK0JCOxlQFh6zBQKBgAeYGU7f8q7Lr/fCwUPGON13JiWmGM/GiToYhZzM
QbGVn86ROe5CDMsLQTJolLD6pIo6xcEExyOKNcTvPr1oWFn2qa3YqiJ/p5mn1/z8
ABqonWWiAkAwLfVuxEemKjf6O9sFzoYcafeNHBV76zRrpnlTUFZxI5mmX5hGh3mK
QgAhAoGARB9koyqEuxOXNEb8o1oegqc/a1yI7DJDet6f+BV7f3V1UBge4kSkg7CE
AIAPXuXlfyeVyDlPW2vOY+V42Au0G3q3utvMbWz5e36O2aF/Ip5Lw0s3n7YKsMHn
DmAL6AJS4DCzx+6CDBSyiA5Z1f5kpLm/JkA09T0V60xObUS4xeU=
-----END RSA PRIVATE KEY-----
2 changes: 2 additions & 0 deletions db_tools/dev/_db/sys/db.opt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
default-character-set=utf8
default-collation=utf8_general_ci
15 changes: 15 additions & 0 deletions db_tools/dev/_db/sys/host_summary.frm
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
TYPE=VIEW
query=select if(isnull(`performance_schema`.`accounts`.`HOST`),\'background\',`performance_schema`.`accounts`.`HOST`) AS `host`,sum(`stmt`.`total`) AS `statements`,`sys`.`format_time`(sum(`stmt`.`total_latency`)) AS `statement_latency`,`sys`.`format_time`(ifnull((sum(`stmt`.`total_latency`) / nullif(sum(`stmt`.`total`),0)),0)) AS `statement_avg_latency`,sum(`stmt`.`full_scans`) AS `table_scans`,sum(`io`.`ios`) AS `file_ios`,`sys`.`format_time`(sum(`io`.`io_latency`)) AS `file_io_latency`,sum(`performance_schema`.`accounts`.`CURRENT_CONNECTIONS`) AS `current_connections`,sum(`performance_schema`.`accounts`.`TOTAL_CONNECTIONS`) AS `total_connections`,count(distinct `performance_schema`.`accounts`.`USER`) AS `unique_users`,`sys`.`format_bytes`(sum(`mem`.`current_allocated`)) AS `current_memory`,`sys`.`format_bytes`(sum(`mem`.`total_allocated`)) AS `total_memory_allocated` from (((`performance_schema`.`accounts` join `sys`.`x$host_summary_by_statement_latency` `stmt` on((`performance_schema`.`accounts`.`HOST` = `stmt`.`host`))) join `sys`.`x$host_summary_by_file_io` `io` on((`performance_schema`.`accounts`.`HOST` = `io`.`host`))) join `sys`.`x$memory_by_host_by_current_bytes` `mem` on((`performance_schema`.`accounts`.`HOST` = `mem`.`host`))) group by if(isnull(`performance_schema`.`accounts`.`HOST`),\'background\',`performance_schema`.`accounts`.`HOST`)
md5=e079676ec756edbb811a11a2d649f6e4
updatable=0
algorithm=1
definer_user=mysql.sys
definer_host=localhost
suid=0
with_check_option=0
timestamp=2019-01-27 02:28:47
create-version=1
source=SELECT IF(accounts.host IS NULL, \'background\', accounts.host) AS host, SUM(stmt.total) AS statements, sys.format_time(SUM(stmt.total_latency)) AS statement_latency, sys.format_time(IFNULL(SUM(stmt.total_latency) / NULLIF(SUM(stmt.total), 0), 0)) AS statement_avg_latency, SUM(stmt.full_scans) AS table_scans, SUM(io.ios) AS file_ios, sys.format_time(SUM(io.io_latency)) AS file_io_latency, SUM(accounts.current_connections) AS current_connections, SUM(accounts.total_connections) AS total_connections, COUNT(DISTINCT user) AS unique_users, sys.format_bytes(SUM(mem.current_allocated)) AS current_memory, sys.format_bytes(SUM(mem.total_allocated)) AS total_memory_allocated FROM performance_schema.accounts JOIN sys.x$host_summary_by_statement_latency AS stmt ON accounts.host = stmt.host JOIN sys.x$host_summary_by_file_io AS io ON accounts.host = io.host JOIN sys.x$memory_by_host_by_current_bytes mem ON accounts.host = mem.host GROUP BY IF(accounts.host IS NULL, \'background\', accounts.host)
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select if(isnull(`performance_schema`.`accounts`.`HOST`),\'background\',`performance_schema`.`accounts`.`HOST`) AS `host`,sum(`stmt`.`total`) AS `statements`,`sys`.`format_time`(sum(`stmt`.`total_latency`)) AS `statement_latency`,`sys`.`format_time`(ifnull((sum(`stmt`.`total_latency`) / nullif(sum(`stmt`.`total`),0)),0)) AS `statement_avg_latency`,sum(`stmt`.`full_scans`) AS `table_scans`,sum(`io`.`ios`) AS `file_ios`,`sys`.`format_time`(sum(`io`.`io_latency`)) AS `file_io_latency`,sum(`performance_schema`.`accounts`.`CURRENT_CONNECTIONS`) AS `current_connections`,sum(`performance_schema`.`accounts`.`TOTAL_CONNECTIONS`) AS `total_connections`,count(distinct `performance_schema`.`accounts`.`USER`) AS `unique_users`,`sys`.`format_bytes`(sum(`mem`.`current_allocated`)) AS `current_memory`,`sys`.`format_bytes`(sum(`mem`.`total_allocated`)) AS `total_memory_allocated` from (((`performance_schema`.`accounts` join `sys`.`x$host_summary_by_statement_latency` `stmt` on((`performance_schema`.`accounts`.`HOST` = `stmt`.`host`))) join `sys`.`x$host_summary_by_file_io` `io` on((`performance_schema`.`accounts`.`HOST` = `io`.`host`))) join `sys`.`x$memory_by_host_by_current_bytes` `mem` on((`performance_schema`.`accounts`.`HOST` = `mem`.`host`))) group by if(isnull(`performance_schema`.`accounts`.`HOST`),\'background\',`performance_schema`.`accounts`.`HOST`)
15 changes: 15 additions & 0 deletions db_tools/dev/_db/sys/host_summary_by_file_io.frm
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
TYPE=VIEW
query=select if(isnull(`performance_schema`.`events_waits_summary_by_host_by_event_name`.`HOST`),\'background\',`performance_schema`.`events_waits_summary_by_host_by_event_name`.`HOST`) AS `host`,sum(`performance_schema`.`events_waits_summary_by_host_by_event_name`.`COUNT_STAR`) AS `ios`,`sys`.`format_time`(sum(`performance_schema`.`events_waits_summary_by_host_by_event_name`.`SUM_TIMER_WAIT`)) AS `io_latency` from `performance_schema`.`events_waits_summary_by_host_by_event_name` where (`performance_schema`.`events_waits_summary_by_host_by_event_name`.`EVENT_NAME` like \'wait/io/file/%\') group by if(isnull(`performance_schema`.`events_waits_summary_by_host_by_event_name`.`HOST`),\'background\',`performance_schema`.`events_waits_summary_by_host_by_event_name`.`HOST`) order by sum(`performance_schema`.`events_waits_summary_by_host_by_event_name`.`SUM_TIMER_WAIT`) desc
md5=53b0d9b1a70d1f81690a79d9d4d8f59c
updatable=0
algorithm=1
definer_user=mysql.sys
definer_host=localhost
suid=0
with_check_option=0
timestamp=2019-01-27 02:28:47
create-version=1
source=SELECT IF(host IS NULL, \'background\', host) AS host, SUM(count_star) AS ios, sys.format_time(SUM(sum_timer_wait)) AS io_latency FROM performance_schema.events_waits_summary_by_host_by_event_name WHERE event_name LIKE \'wait/io/file/%\' GROUP BY IF(host IS NULL, \'background\', host) ORDER BY SUM(sum_timer_wait) DESC
client_cs_name=utf8
connection_cl_name=utf8_general_ci
view_body_utf8=select if(isnull(`performance_schema`.`events_waits_summary_by_host_by_event_name`.`HOST`),\'background\',`performance_schema`.`events_waits_summary_by_host_by_event_name`.`HOST`) AS `host`,sum(`performance_schema`.`events_waits_summary_by_host_by_event_name`.`COUNT_STAR`) AS `ios`,`sys`.`format_time`(sum(`performance_schema`.`events_waits_summary_by_host_by_event_name`.`SUM_TIMER_WAIT`)) AS `io_latency` from `performance_schema`.`events_waits_summary_by_host_by_event_name` where (`performance_schema`.`events_waits_summary_by_host_by_event_name`.`EVENT_NAME` like \'wait/io/file/%\') group by if(isnull(`performance_schema`.`events_waits_summary_by_host_by_event_name`.`HOST`),\'background\',`performance_schema`.`events_waits_summary_by_host_by_event_name`.`HOST`) order by sum(`performance_schema`.`events_waits_summary_by_host_by_event_name`.`SUM_TIMER_WAIT`) desc
Loading

0 comments on commit 589f858

Please sign in to comment.