{"id":18029738,"url":"https://github.com/funbringer/pgconf_ru_2018_partitioning","last_synced_at":"2025-04-04T21:13:36.306Z","repository":{"id":69542605,"uuid":"119518968","full_name":"funbringer/pgconf_ru_2018_partitioning","owner":"funbringer","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-06T11:33:45.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T05:42:02.826Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/funbringer.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":"2018-01-30T10:13:33.000Z","updated_at":"2018-01-30T10:41:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"c542b0fd-bf26-460c-ace1-67b17a50aeda","html_url":"https://github.com/funbringer/pgconf_ru_2018_partitioning","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/funbringer%2Fpgconf_ru_2018_partitioning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbringer%2Fpgconf_ru_2018_partitioning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbringer%2Fpgconf_ru_2018_partitioning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbringer%2Fpgconf_ru_2018_partitioning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/funbringer","download_url":"https://codeload.github.com/funbringer/pgconf_ru_2018_partitioning/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249549,"owners_count":20908212,"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-10-30T09:10:54.753Z","updated_at":"2025-04-04T21:13:36.264Z","avatar_url":"https://github.com/funbringer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Benchmarks\n\n### Latency degradation under the large number of partitions\n\n1. Partitioning via inheritance\n\n    ```bash\n\t\tbenches/wide_partitioned/shell/inh.sh\n\t```\n\n    Before running you have to setup the environment variables:\n    - PSQL - path to psql client to postgres, default \"/usr/local/bin/psql\"\n    - DBNAME - name of database to connect, default \"postgres\"\n    - START\\_NUM_PARTS - initial number of partitions before running benchmark, default 10\n    - MAX\\_NUM_PARTS - maximum number of partitions in benchmark, default 100\n    - INTERVAL - difference in number of partitions between runnings of benchmark, default 10\n    - PREWARM_RUNS - numbers of test runnings to prewarm session cache, default 5\n    - BENCH_RUNS - number of benchmark runnings, default 5\n\n    This script prints to stdout the number of partitions and multiple (BENCH_RUNS) measurements of latency (in ms) of query that selects two partitions and main parent table based on condition in query.\n\n2. Partitioning via pg_pathman\n\n    ```bash\n\t\tbenches/wide_partitioned/shell/pathman.sh\n\t```\n\n    Environment variables are the same as before.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunbringer%2Fpgconf_ru_2018_partitioning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffunbringer%2Fpgconf_ru_2018_partitioning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunbringer%2Fpgconf_ru_2018_partitioning/lists"}