{"id":20564522,"url":"https://github.com/tarantool/tpch","last_synced_at":"2025-04-14T15:12:51.485Z","repository":{"id":38102907,"uuid":"254483115","full_name":"tarantool/tpch","owner":"tarantool","description":"Tarantool TPC-H tests","archived":false,"fork":false,"pushed_at":"2022-11-28T08:56:41.000Z","size":24069,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-04-14T15:12:45.733Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarantool.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}},"created_at":"2020-04-09T21:34:49.000Z","updated_at":"2023-07-27T03:55:48.000Z","dependencies_parsed_at":"2022-09-18T00:41:17.922Z","dependency_job_id":null,"html_url":"https://github.com/tarantool/tpch","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/tarantool%2Ftpch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Ftpch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Ftpch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Ftpch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarantool","download_url":"https://codeload.github.com/tarantool/tpch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904637,"owners_count":21180835,"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-16T04:27:30.323Z","updated_at":"2025-04-14T15:12:51.464Z","avatar_url":"https://github.com/tarantool.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tarantool-TPCH \n\nThis is a set of script to run TPC-H benchmarks with SQLite and Tarantool\ndatabases. It was created as a development of SQLite3 benchmark from https://github.com/lovasoa/TPCH-sqlite but then heavily modified to \nactually run queries in SQLite, collect timings, and do the same\nwith Tarantool (which would be running exactly the same queries as \nSQLite)\n\nIt uses the official [tpch-dbgen v2.18.0_rc2](https://github.com/tsafin/tpch-tools) tool to generate the data, and then imports it into an databases.\n\n\n## How to use\n\nClone this repository then just run `make` from the root directory of this repo. Be sure to have `sqlite3`, C compiler and Tarantool compiled.\n\n```\ngit clone git@github.com:tsafin/tnt-tpch.git\ncd tnt-tpch\nmake\n```\n\nIt assumes that SQLite executable is available on the PATH as `sqlite3`,\nand Tarantool is built and available as `tarantool`. If you need to redefine \nTarantool executable path then override it via environment variable `$TARANTOOL`\n\n```\nTARANTOOL=../tarantool/build/src/build make\n```\n\nNB! At the moment you have to use specially patched Tarantool version, because you \nneed to have restored [datetime support](tarantool/tarantool#4898). To make those \npatches handy they are committed as [./patches/\\*.patch](./patches/). Rebuild tarantool\nwith those patches applied, and then set $TARANTOOL environment variable to the \nmodified executable.\n\nSo here are side effects generated after running `make`\n\n* Generated SQLite3 database will be located in the current directory as `TPC-H.db`.\n* Generated Tarantool snapshots will be here as `*.snap` and `*.xlog`\n* Benchmark log for SQLite will be in `bench-sqlite.log`\n* Benchmark log for Tarantool will be in `bench-tnt.log`\n* CSV with results extracted from those logs above will be saved at `bench-sqlite.csv`\n  and `bench-tnt.csv` correspondingly.\n\n### How to set a custom scale factor\n\nBy default, the database is generated with a scale factor of 1. You can set a different *scale factor* (**SF**) with\n\n```\nSCALE_FACTOR=10 make\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Ftpch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarantool%2Ftpch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Ftpch/lists"}