{"id":18336291,"url":"https://github.com/byconity/byconity-tpcds","last_synced_at":"2026-02-09T14:31:52.822Z","repository":{"id":235470684,"uuid":"670149979","full_name":"ByConity/byconity-tpcds","owner":"ByConity","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-28T10:16:04.000Z","size":5083,"stargazers_count":0,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-26T23:43:47.299Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ByConity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-07-24T12:02:52.000Z","updated_at":"2024-11-28T10:16:07.000Z","dependencies_parsed_at":"2024-04-23T14:09:07.151Z","dependency_job_id":"6ce2ef76-0380-4f86-8728-c9003032d474","html_url":"https://github.com/ByConity/byconity-tpcds","commit_stats":null,"previous_names":["byconity/byconity-tpcds"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByConity%2Fbyconity-tpcds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByConity%2Fbyconity-tpcds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByConity%2Fbyconity-tpcds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByConity%2Fbyconity-tpcds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ByConity","download_url":"https://codeload.github.com/ByConity/byconity-tpcds/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681493,"owners_count":21144700,"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-05T20:07:12.925Z","updated_at":"2026-02-09T14:31:48.118Z","avatar_url":"https://github.com/ByConity.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# byconity-tpcds\n\n## Run TPC-DS\n\n### Install required packages\nMake sure you have following packages install in your system: gcc, make, flex, bison, byacc, git, time\n```\nsudo apt-get install gcc make flex bison byacc git time\n```\n\n### Install ByConity client\nMake sure the ByConity client are installed. You can install the package from [this page](https://github.com/ByConity/ByConity/releases), and then find  `clickhouse` binary and move it to `bin` folder in the project. Or you can copy the binary from any existing installations. E.g. an existing ByConity docker container.\n\n### Setup paramters\n```\ncp config.sh.tpl config.sh\n```\nEdit config.sh to set up paramaters. Please refer to the comments in the file.\n\n### Grant access to all scripts\n```\nchmod a+x *.sh\n```\n\n### Build tpcds tools\nRun the command to build TPD-DS tools, the tool will be generated to `build` folder\n```\n./build.sh\n```\n\n### Generate data\nRun the command to generated TPD-DS data files. In the command, $1 is the data size. The data generation is run in parallel, using the PARALLEL setting in the config.sh. The data file will be generated into `data_tpcds_{data_size}` folder. The data generation takes time. There is no output about progress during the data generation. If you want to see the progress, please watch the files generated in the folder.\n```\n./gen_data.sh 100\n```\n\n### Populate data to ByConity\nRun the command to populate the TPD-DS data from the data files to ByConity. $1 is the data size.\n```\n./populate_data.sh 100\n```\n\n### Run the benchmark\nRun TPD-DS benchmark on ByConity. $1 is the data size.\n```\n./benchmark.sh 100\n```\n\n### Check the results\nIn the logs folder, check the result.csv for the result of TPC-DS, the format is ['Query ID', 'Time in ms', 'Status' (0 is normal)]\nCheck trace.log for the detail of queries running in the benchmark.\n\n\u003cbr/\u003e\n\nTHE SOFTWARE “byconity-tpcds” PROVIDED TO YOU BY TRANSACTION PROCESSING PERFORMANCE COUNCIL (\"TPC\") WILL BE SUBJECT TO THE TERMS AND CONDITIONS OF THIS [EULA](https://github.com/ByConity/byconity-tpcds/blob/main/tpcds-v2.13.0rc1/EULA.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyconity%2Fbyconity-tpcds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyconity%2Fbyconity-tpcds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyconity%2Fbyconity-tpcds/lists"}