{"action":"closed","number":1160,"pull_request":{"url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/1160","id":87042464,"html_url":"https://github.com/greenplum-db/gpdb/pull/1160","diff_url":"https://github.com/greenplum-db/gpdb/pull/1160.diff","patch_url":"https://github.com/greenplum-db/gpdb/pull/1160.patch","issue_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/1160","number":1160,"state":"closed","locked":false,"title":"Remove pg_aoseg and pg_aocsseg index","user":{"login":"jimmyyih","id":1973115,"avatar_url":"https://avatars.githubusercontent.com/u/1973115?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmyyih","html_url":"https://github.com/jimmyyih","followers_url":"https://api.github.com/users/jimmyyih/followers","following_url":"https://api.github.com/users/jimmyyih/following{/other_user}","gists_url":"https://api.github.com/users/jimmyyih/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmyyih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmyyih/subscriptions","organizations_url":"https://api.github.com/users/jimmyyih/orgs","repos_url":"https://api.github.com/users/jimmyyih/repos","events_url":"https://api.github.com/users/jimmyyih/events{/privacy}","received_events_url":"https://api.github.com/users/jimmyyih/received_events","type":"User","site_admin":false},"body":"AO and AOCO tables do an index lookup during inserts and compaction against the segno column. Select statements do not use this index. This patch will make it so that we now do a heap scan on the pg_aoseg/pg_aocsseg tables to obtain the segment file information which removes the work on maintaining the index. This should not impact performance as there is only 128 tuples in the pg_aoseg/pg_aocsseg tables and relieves some possible index corruption issues that may uncommonly appear in rare cases.\r\n\r\n**As a warning, this patch contains catalog changes!**\r\n\r\nGreenplum Developer Group Discussion:\r\nhttps://groups.google.com/a/greenplum.org/forum/#!topic/gpdb-dev/dcU43af_yu8","created_at":"2016-09-28T01:53:13Z","updated_at":"2016-10-03T21:38:58Z","closed_at":"2016-10-03T21:38:58Z","merged_at":null,"merge_commit_sha":"e0d9500311017c43ba7a27920d1cfb7a01310ca4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/1160/commits","review_comments_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/1160/comments","review_comment_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/1160/comments","statuses_url":"https://api.github.com/repos/greenplum-db/gpdb/statuses/b623c3d67d8cb5e7d1817bc45fe3bad6200e6c21","head":{"label":"jimmyyih:remove_aoseg_index_squash","ref":"remove_aoseg_index_squash","sha":"b623c3d67d8cb5e7d1817bc45fe3bad6200e6c21","user":{"login":"jimmyyih","id":1973115,"avatar_url":"https://avatars.githubusercontent.com/u/1973115?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmyyih","html_url":"https://github.com/jimmyyih","followers_url":"https://api.github.com/users/jimmyyih/followers","following_url":"https://api.github.com/users/jimmyyih/following{/other_user}","gists_url":"https://api.github.com/users/jimmyyih/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmyyih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmyyih/subscriptions","organizations_url":"https://api.github.com/users/jimmyyih/orgs","repos_url":"https://api.github.com/users/jimmyyih/repos","events_url":"https://api.github.com/users/jimmyyih/events{/privacy}","received_events_url":"https://api.github.com/users/jimmyyih/received_events","type":"User","site_admin":false},"repo":{"id":45498365,"name":"gpdb","full_name":"jimmyyih/gpdb","owner":{"login":"jimmyyih","id":1973115,"avatar_url":"https://avatars.githubusercontent.com/u/1973115?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmyyih","html_url":"https://github.com/jimmyyih","followers_url":"https://api.github.com/users/jimmyyih/followers","following_url":"https://api.github.com/users/jimmyyih/following{/other_user}","gists_url":"https://api.github.com/users/jimmyyih/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmyyih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmyyih/subscriptions","organizations_url":"https://api.github.com/users/jimmyyih/orgs","repos_url":"https://api.github.com/users/jimmyyih/repos","events_url":"https://api.github.com/users/jimmyyih/events{/privacy}","received_events_url":"https://api.github.com/users/jimmyyih/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimmyyih/gpdb","description":"Pivotal Greenplum Database","fork":true,"url":"https://api.github.com/repos/jimmyyih/gpdb","forks_url":"https://api.github.com/repos/jimmyyih/gpdb/forks","keys_url":"https://api.github.com/repos/jimmyyih/gpdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimmyyih/gpdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimmyyih/gpdb/teams","hooks_url":"https://api.github.com/repos/jimmyyih/gpdb/hooks","issue_events_url":"https://api.github.com/repos/jimmyyih/gpdb/issues/events{/number}","events_url":"https://api.github.com/repos/jimmyyih/gpdb/events","assignees_url":"https://api.github.com/repos/jimmyyih/gpdb/assignees{/user}","branches_url":"https://api.github.com/repos/jimmyyih/gpdb/branches{/branch}","tags_url":"https://api.github.com/repos/jimmyyih/gpdb/tags","blobs_url":"https://api.github.com/repos/jimmyyih/gpdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimmyyih/gpdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimmyyih/gpdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimmyyih/gpdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimmyyih/gpdb/statuses/{sha}","languages_url":"https://api.github.com/repos/jimmyyih/gpdb/languages","stargazers_url":"https://api.github.com/repos/jimmyyih/gpdb/stargazers","contributors_url":"https://api.github.com/repos/jimmyyih/gpdb/contributors","subscribers_url":"https://api.github.com/repos/jimmyyih/gpdb/subscribers","subscription_url":"https://api.github.com/repos/jimmyyih/gpdb/subscription","commits_url":"https://api.github.com/repos/jimmyyih/gpdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimmyyih/gpdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimmyyih/gpdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimmyyih/gpdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimmyyih/gpdb/contents/{+path}","compare_url":"https://api.github.com/repos/jimmyyih/gpdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimmyyih/gpdb/merges","archive_url":"https://api.github.com/repos/jimmyyih/gpdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimmyyih/gpdb/downloads","issues_url":"https://api.github.com/repos/jimmyyih/gpdb/issues{/number}","pulls_url":"https://api.github.com/repos/jimmyyih/gpdb/pulls{/number}","milestones_url":"https://api.github.com/repos/jimmyyih/gpdb/milestones{/number}","notifications_url":"https://api.github.com/repos/jimmyyih/gpdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimmyyih/gpdb/labels{/name}","releases_url":"https://api.github.com/repos/jimmyyih/gpdb/releases{/id}","deployments_url":"https://api.github.com/repos/jimmyyih/gpdb/deployments","created_at":"2015-11-03T21:58:35Z","updated_at":"2015-11-03T21:59:22Z","pushed_at":"2016-10-03T18:18:08Z","git_url":"git://github.com/jimmyyih/gpdb.git","ssh_url":"git@github.com:jimmyyih/gpdb.git","clone_url":"https://github.com/jimmyyih/gpdb.git","svn_url":"https://github.com/jimmyyih/gpdb","homepage":"http://greenplum.org","size":177476,"stargazers_count":0,"watchers_count":0,"language":"PLpgSQL","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"greenplum-db:master","ref":"master","sha":"b5f3165ef2e952ef4d83089b6e3b2b9e0fc334e2","user":{"login":"greenplum-db","id":14097842,"avatar_url":"https://avatars.githubusercontent.com/u/14097842?v=3","gravatar_id":"","url":"https://api.github.com/users/greenplum-db","html_url":"https://github.com/greenplum-db","followers_url":"https://api.github.com/users/greenplum-db/followers","following_url":"https://api.github.com/users/greenplum-db/following{/other_user}","gists_url":"https://api.github.com/users/greenplum-db/gists{/gist_id}","starred_url":"https://api.github.com/users/greenplum-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenplum-db/subscriptions","organizations_url":"https://api.github.com/users/greenplum-db/orgs","repos_url":"https://api.github.com/users/greenplum-db/repos","events_url":"https://api.github.com/users/greenplum-db/events{/privacy}","received_events_url":"https://api.github.com/users/greenplum-db/received_events","type":"Organization","site_admin":false},"repo":{"id":44781140,"name":"gpdb","full_name":"greenplum-db/gpdb","owner":{"login":"greenplum-db","id":14097842,"avatar_url":"https://avatars.githubusercontent.com/u/14097842?v=3","gravatar_id":"","url":"https://api.github.com/users/greenplum-db","html_url":"https://github.com/greenplum-db","followers_url":"https://api.github.com/users/greenplum-db/followers","following_url":"https://api.github.com/users/greenplum-db/following{/other_user}","gists_url":"https://api.github.com/users/greenplum-db/gists{/gist_id}","starred_url":"https://api.github.com/users/greenplum-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenplum-db/subscriptions","organizations_url":"https://api.github.com/users/greenplum-db/orgs","repos_url":"https://api.github.com/users/greenplum-db/repos","events_url":"https://api.github.com/users/greenplum-db/events{/privacy}","received_events_url":"https://api.github.com/users/greenplum-db/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/greenplum-db/gpdb","description":"Greenplum Database","fork":false,"url":"https://api.github.com/repos/greenplum-db/gpdb","forks_url":"https://api.github.com/repos/greenplum-db/gpdb/forks","keys_url":"https://api.github.com/repos/greenplum-db/gpdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greenplum-db/gpdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greenplum-db/gpdb/teams","hooks_url":"https://api.github.com/repos/greenplum-db/gpdb/hooks","issue_events_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/events{/number}","events_url":"https://api.github.com/repos/greenplum-db/gpdb/events","assignees_url":"https://api.github.com/repos/greenplum-db/gpdb/assignees{/user}","branches_url":"https://api.github.com/repos/greenplum-db/gpdb/branches{/branch}","tags_url":"https://api.github.com/repos/greenplum-db/gpdb/tags","blobs_url":"https://api.github.com/repos/greenplum-db/gpdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greenplum-db/gpdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greenplum-db/gpdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/greenplum-db/gpdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greenplum-db/gpdb/statuses/{sha}","languages_url":"https://api.github.com/repos/greenplum-db/gpdb/languages","stargazers_url":"https://api.github.com/repos/greenplum-db/gpdb/stargazers","contributors_url":"https://api.github.com/repos/greenplum-db/gpdb/contributors","subscribers_url":"https://api.github.com/repos/greenplum-db/gpdb/subscribers","subscription_url":"https://api.github.com/repos/greenplum-db/gpdb/subscription","commits_url":"https://api.github.com/repos/greenplum-db/gpdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/greenplum-db/gpdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/greenplum-db/gpdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/greenplum-db/gpdb/contents/{+path}","compare_url":"https://api.github.com/repos/greenplum-db/gpdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greenplum-db/gpdb/merges","archive_url":"https://api.github.com/repos/greenplum-db/gpdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greenplum-db/gpdb/downloads","issues_url":"https://api.github.com/repos/greenplum-db/gpdb/issues{/number}","pulls_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls{/number}","milestones_url":"https://api.github.com/repos/greenplum-db/gpdb/milestones{/number}","notifications_url":"https://api.github.com/repos/greenplum-db/gpdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greenplum-db/gpdb/labels{/name}","releases_url":"https://api.github.com/repos/greenplum-db/gpdb/releases{/id}","deployments_url":"https://api.github.com/repos/greenplum-db/gpdb/deployments","created_at":"2015-10-23T00:25:17Z","updated_at":"2016-10-03T10:32:06Z","pushed_at":"2016-10-03T21:38:09Z","git_url":"git://github.com/greenplum-db/gpdb.git","ssh_url":"git@github.com:greenplum-db/gpdb.git","clone_url":"https://github.com/greenplum-db/gpdb.git","svn_url":"https://github.com/greenplum-db/gpdb","homepage":"http://greenplum.org","size":229589,"stargazers_count":1628,"watchers_count":1628,"language":"PLpgSQL","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":457,"mirror_url":null,"open_issues_count":112,"forks":457,"open_issues":112,"watchers":1628,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/1160"},"html":{"href":"https://github.com/greenplum-db/gpdb/pull/1160"},"issue":{"href":"https://api.github.com/repos/greenplum-db/gpdb/issues/1160"},"comments":{"href":"https://api.github.com/repos/greenplum-db/gpdb/issues/1160/comments"},"review_comments":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/1160/comments"},"review_comment":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/1160/commits"},"statuses":{"href":"https://api.github.com/repos/greenplum-db/gpdb/statuses/b623c3d67d8cb5e7d1817bc45fe3bad6200e6c21"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":4,"review_comments":5,"commits":4,"additions":320,"deletions":392,"changed_files":29}}
{"actor":{"display_login":"jimmyyih"}}