{"id":18408383,"url":"https://github.com/pingcap/tpcc-mysql","last_synced_at":"2025-10-26T12:32:49.012Z","repository":{"id":34576716,"uuid":"38523107","full_name":"pingcap/tpcc-mysql","owner":"pingcap","description":"forked from https://code.launchpad.net/~percona-dev/perconatools/tpcc-mysql","archived":false,"fork":false,"pushed_at":"2018-12-03T02:29:41.000Z","size":220,"stargazers_count":11,"open_issues_count":1,"forks_count":10,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-22T16:02:14.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/pingcap.png","metadata":{"files":{"readme":"README","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}},"created_at":"2015-07-04T05:37:51.000Z","updated_at":"2021-07-04T10:50:50.000Z","dependencies_parsed_at":"2022-09-04T06:50:15.947Z","dependency_job_id":null,"html_url":"https://github.com/pingcap/tpcc-mysql","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/pingcap%2Ftpcc-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Ftpcc-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Ftpcc-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Ftpcc-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pingcap","download_url":"https://codeload.github.com/pingcap/tpcc-mysql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247626461,"owners_count":20969307,"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-11-06T03:18:52.659Z","updated_at":"2025-10-26T12:32:43.982Z","avatar_url":"https://github.com/pingcap.png","language":"C","readme":"1. Build binaries\n   * cd scr ; make\n   ( you should have mysql_config available in $PATH)\n\n2. Load data\n   * create database\n     mysqladmin create tpcc1000\n   * create tables\n     mysql tpcc1000 \u003c create_table.sql\n   * create indexes and FK ( this step can be done after loading data)\n     mysql tpcc1000 \u003c add_fkey_idx.sql\n   * populate data\n     - simple step\n       tpcc_load 127.0.0.1:33000 tpcc1000 root \"\" 1000\n                 |hostname:port| |dbname| |user| |password| |WAREHOUSES|\n       ref. tpcc_load --help for all options\n     - load data in parallel \n       check load.sh script\n\n3. start benchmark\n   * ./tpcc_start -h127.0.0.1 -P33000 -dtpcc1000 -uroot -w1000 -c32 -r10 -l10800\n                  |hostname| |port| |dbname| |user| |WAREHOUSES| |CONNECTIONS| |WARMUP TIME| |BENCHMARK TIME|\n   * ref. tpcc_start --help for all options \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingcap%2Ftpcc-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpingcap%2Ftpcc-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingcap%2Ftpcc-mysql/lists"}