{"id":49844096,"url":"https://github.com/ydb-platform/tpcc-postgres","last_synced_at":"2026-05-14T08:45:30.764Z","repository":{"id":219478963,"uuid":"749152603","full_name":"ydb-platform/tpcc-postgres","owner":"ydb-platform","description":"TPC-C for PostgreSQL","archived":false,"fork":false,"pushed_at":"2025-02-18T13:18:33.000Z","size":109766,"stargazers_count":6,"open_issues_count":12,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-18T14:25:39.565Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ydb-platform.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,"publiccode":null,"codemeta":null}},"created_at":"2024-01-27T18:24:41.000Z","updated_at":"2025-02-18T13:18:41.000Z","dependencies_parsed_at":"2025-02-18T14:34:37.076Z","dependency_job_id":null,"html_url":"https://github.com/ydb-platform/tpcc-postgres","commit_stats":null,"previous_names":["ydb-platform/tpcc-postgres"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ydb-platform/tpcc-postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Ftpcc-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Ftpcc-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Ftpcc-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Ftpcc-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ydb-platform","download_url":"https://codeload.github.com/ydb-platform/tpcc-postgres/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Ftpcc-postgres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33017712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-05-14T08:45:29.040Z","updated_at":"2026-05-14T08:45:30.757Z","avatar_url":"https://github.com/ydb-platform.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\nThis is a fork of [BenchBase](https://github.com/cmu-db/benchbase) done to enhance TPC-C for PostgresSQL:\n1. Fixed some performance issues in the original benchbase to speed up the benchmark.\n2. To address issues with running high number of warehouses, we added support for virtual threads (requires Java \u003e= 21).\n3. Significantly reduced the memory footprint of the benchmark.\n4. Added Hikari as a connection pool for PostgreSQL.\n\nPlease, note that this is for PostgreSQL only.\n\n## Hardware requirements\n\nMinumum requirements for running the benchmark against YDB:\n* 2 cores and 4 GB RAM (for 100 warehouses)\n* 4 cores and 6 GB RAM (for 1000 warehouses)\n\nAbove 1000 warehouses, the memory and CPU consumption grow linearly, you need:\n* 1 core per 1000 warehouses\n* 6 MB RAM per warehouse\n\nE.g. to run 10000 warehouses you need to have at least 10 cores and 64 GB RAM. However, Instead of running 10000 warehouses on a single instance (and machine), we recommend to run at most 5000 warehouses per instance (preferably on separate machines).\n\nTo reduce memory consumption, make sure you don't use huge pages or transparent huge pages.\n\n# TPC-C benchmark for PostgreSQL\n\n## How to build\n\n```\n./mvnw clean package -P postgres -DskipTests\n```\n\nPrebuilt packages:\n* [benchbase-postgres.tgz](https://storage.yandexcloud.net/ydb-benchmark-builds/benchbase-postgres.tgz)\n\n## How to run\n\nThe simplest way is to use helper scripts from [benchhelpers](https://github.com/ydb-platform/benchhelpers). You can find the full instruction [here](https://github.com/ydb-platform/benchhelpers/blob/main/tpcc/postgres/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fydb-platform%2Ftpcc-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fydb-platform%2Ftpcc-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fydb-platform%2Ftpcc-postgres/lists"}