{"id":22870911,"url":"https://github.com/percona-lab/eng-scripts","last_synced_at":"2025-03-31T11:27:10.347Z","repository":{"id":68883970,"uuid":"299588910","full_name":"Percona-Lab/eng-scripts","owner":"Percona-Lab","description":"Scripts from MySQL Engineering Team","archived":false,"fork":false,"pushed_at":"2023-11-24T17:08:15.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-06-07T13:37:06.083Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Percona-Lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-09-29T10:57:33.000Z","updated_at":"2023-11-24T17:08:18.000Z","dependencies_parsed_at":"2023-03-14T18:00:40.749Z","dependency_job_id":null,"html_url":"https://github.com/Percona-Lab/eng-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Feng-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Feng-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Feng-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Feng-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Percona-Lab","download_url":"https://codeload.github.com/Percona-Lab/eng-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246460564,"owners_count":20781153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T13:16:34.332Z","updated_at":"2025-03-31T11:27:10.326Z","avatar_url":"https://github.com/Percona-Lab.png","language":"Shell","readme":"# eng-scripts\nScripts from Percona Engineering Team\n\n## Examples\n\n### innodb_page_header.sh\nRead information about FSP Flags from page0 header.\nIn case of encryption, it also displays encryption information:\n\n```\n./innodb_page_header.sh ./var/mysqld.1/data/test/t1.ibd\nReading FSP_FLAGS of ./var/mysqld.1/data/test/t1.ibd\nSPACE_ID of tablespace:           5\n\nFLAGS: 24609\nANTELOPE: 1\nCOMPRESSED: NO\nATOMIC_BLOBS: 1\nDATADIR: 0\nSHARED_TABLESPACE: 0\nTEMPORARY TABLESPACE: 0\nENCRYPTION: 1\nSDI: 1\nPHYSICAL_PAGE_SIZE: 16384\nUNCOMP_PAGE_SIZE  : 16384\nENCRYPTION OFFSET : 10390\n\n------ Encryption ------\nENCRYPTION_KEY_MAGIC: lCC\nMASTER_KEY_ID: 00000000000000000000000000000001 ( 1 )\nSERVER UUID: caf6e3c6-0460-11eb-9f20-70c94eede3ef\nKey:\n000028c1: 4078 4a03 f336 606b 230c b10e 4004 f274  @xJ..6`k#...@..t\n000028d1: 57bf f9e2 35a4 cf3e 178d 50ef fdda 1c70  W...5..\u003e..P....p\niv:\n000028e1: 736f c272 f86d 553b 2683 a8af 4eb3 2fd0  so.r.mU;\u0026...N./.\n000028f1: c88d 3532 15cd 334b 6fef 98c2 476b b72b  ..52..3Ko...Gk.+\n```\n\n### dump_space_ids.sh\nDumps tablespace_ids of all tablespaces (.ibd, .ibu, undo*, ibtmp*)\n\n```\n./dump_space_ids.sh ./var/mysqld.1/data/\nfile name ./var/mysqld.1/data/satya/t3.ibd : space_id           9\nfile name ./var/mysqld.1/data/satya/t2.ibd : space_id           8\nfile name ./var/mysqld.1/data/satya/t1.ibd : space_id           7\nfile name ./var/mysqld.1/data/mysql.ibd : space_id  4294967294\nfile name ./var/mysqld.1/data/sys/sys_config.ibd : space_id           1\nfile name ./var/mysqld.1/data/test/t3.ibd : space_id           6\nfile name ./var/mysqld.1/data/test/t2.ibd : space_id           5\nfile name ./var/mysqld.1/data/test/t1.ibd : space_id           4\nfile name ./var/mysqld.1/data/mtr/test_suppressions.ibd : space_id           2\nfile name ./var/mysqld.1/data/mtr/global_suppressions.ibd : space_id           3\nfile name ./var/mysqld.1/data/undo_001 : space_id  4294967279\nfile name ./var/mysqld.1/data/undo_002 : space_id  4294967278\nfile name ./var/mysqld.1/data/ibtmp1 : space_id  4294967293\nfile name ./var/mysqld.1/data/ibdata1 : space_id           0\n```\n\n\n### innodb_read_binlog_info_from_ibdata.sh\nReads binlog information from ibdata1 files\n\n```\n./innodb_read_binlog_info_from_ibdata.sh /work/ps/ins/8.0/datadir1/ibdata1\nBinlog is not stored in /work/ps/ins/8.0/datadir1/ibdata1\n\n./innodb_read_binlog_info_from_ibdata.sh /work/ps/ins/8.0/datadir1/ibdata1\nBinlog Name and Position : binlog.000001 1105\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpercona-lab%2Feng-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpercona-lab%2Feng-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpercona-lab%2Feng-scripts/lists"}