{"id":20643970,"url":"https://github.com/adjust/pg_nice_cluster","last_synced_at":"2025-05-10T08:31:12.175Z","repository":{"id":4534522,"uuid":"5674818","full_name":"adjust/pg_nice_cluster","owner":"adjust","description":"a tool to use cluster while being able to read from tables","archived":true,"fork":false,"pushed_at":"2013-09-30T18:23:34.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":77,"default_branch":"master","last_synced_at":"2025-03-09T14:41:38.551Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/adjust.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":"2012-09-04T15:55:10.000Z","updated_at":"2024-09-10T12:51:25.000Z","dependencies_parsed_at":"2022-09-18T20:51:36.988Z","dependency_job_id":null,"html_url":"https://github.com/adjust/pg_nice_cluster","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/adjust%2Fpg_nice_cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg_nice_cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg_nice_cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg_nice_cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adjust","download_url":"https://codeload.github.com/adjust/pg_nice_cluster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253389748,"owners_count":21900806,"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-16T16:14:25.450Z","updated_at":"2025-05-10T08:31:11.816Z","avatar_url":"https://github.com/adjust.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pg_nice_cluster\nthis is a little tool to help you use the CLUSTER command of postgres while maintaining the ability to read from the table.\n\n## installation\nin your Gemfile add\n\n    gem 'pg_nice_cluster', :git =\u003e 'git://github.com/adeven/pg_nice_cluster.git'\n    \nthen\n\n    bundle install\n\n## usage\n    pg_nice_cluster --help\n\n    Options:\n         --db,      -d \u003cs\u003e:   database name\n         --user,    -u \u003cs\u003e:   user name (default: postgres)\n         --pass,    -p \u003cs\u003e:   password\n         --host,    -h \u003cs\u003e:   host name (default: localhost)\n         --prefix,  -r \u003cs\u003e:   prefix for the temporary tables and indexes (default 'cluster_') (default: cluster)\n         --minsize, -m \u003ci\u003e:   cut off size for small tables in mb (default: 100)\n         --table,   -t \u003cs\u003e:   table name if only one table should be clustered\n         --index,   -i \u003cs\u003e:   index to cluster on when using single table (otherwise ignored)\n         --help,    -e:   Show this message\n\n## requirements\n* tables will be EXCLUSIVE locked for the operation\n* enough disk space for the biggest table times two\n* enough ram for the indexes of the table with the largest combined indexes\n* depending on your table size, quite some time","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjust%2Fpg_nice_cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadjust%2Fpg_nice_cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjust%2Fpg_nice_cluster/lists"}