{"action":"created","comment":{"url":"https://api.github.com/repos/pivotal/blog/pulls/comments/82905099","pull_request_review_id":3779976,"id":82905099,"diff_hunk":"@@ -0,0 +1,110 @@\n+---\n+authors:\n+- Add another author here\n+- vraghavan \n+- d\n+- hsyuan\n+- oarap\n+- xinzweb\n+- ivannovick\n+categories:\n+- Databases\n+- GPDB\n+- HAWQ\n+- PQO\n+- GPORCA\n+- Query Optimization\n+- SQL\n+date: 2016-09-28T14:01:14-07:00\n+draft: true\n+short: |\n+  [GPORCA](https://github.com/greenplum-db/gporca) is Pivotal’s Query Optimizer for [Greenplum Database](https://github.com/greenplum-db/gpdb) and [Apache HAWQ](https://github.com/apache/incubator-hawq) (incubating). In this post, we describe how users can profile query compilation with GPORCA. This will aid user in understanding where the time and memory is being spent by and how to influence its decision making.\n+title: Profiling Query Compilation with GPORCA\n+---\n+\n+Pivotal’s Query Optimizer (PQO) is designed to find the fastest way to execute SQL queries in a distributed environments such as Pivotal’s [Greenplum Database](https://github.com/greenplum-db/gpdb). The open source version of PQO is termed as [GPORCA](https://github.com/greenplum-db/gporca). When processing large amounts of data, a ","path":"content/post/orca-profiling.md","position":null,"original_position":25,"commit_id":"9de8e8bc9b3b2c2821c14063701d8bdb2a8f6c1e","original_commit_id":"8b170ca5691147f078662fabc55abbaa804624dc","user":{"login":"oarap","id":16888138,"avatar_url":"https://avatars.githubusercontent.com/u/16888138?v=3","gravatar_id":"","url":"https://api.github.com/users/oarap","html_url":"https://github.com/oarap","followers_url":"https://api.github.com/users/oarap/followers","following_url":"https://api.github.com/users/oarap/following{/other_user}","gists_url":"https://api.github.com/users/oarap/gists{/gist_id}","starred_url":"https://api.github.com/users/oarap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oarap/subscriptions","organizations_url":"https://api.github.com/users/oarap/orgs","repos_url":"https://api.github.com/users/oarap/repos","events_url":"https://api.github.com/users/oarap/events{/privacy}","received_events_url":"https://api.github.com/users/oarap/received_events","type":"User","site_admin":false},"body":"\"in **a** distributed **environments**\" <-- inconsistent number. Plural or singular, pick one.","created_at":"2016-10-11T22:44:22Z","updated_at":"2016-10-11T22:44:22Z","html_url":"https://github.com/pivotal/blog/pull/120#discussion_r82905099","pull_request_url":"https://api.github.com/repos/pivotal/blog/pulls/120","_links":{"self":{"href":"https://api.github.com/repos/pivotal/blog/pulls/comments/82905099"},"html":{"href":"https://github.com/pivotal/blog/pull/120#discussion_r82905099"},"pull_request":{"href":"https://api.github.com/repos/pivotal/blog/pulls/120"}}},"pull_request":{"url":"https://api.github.com/repos/pivotal/blog/pulls/120","id":88916999,"html_url":"https://github.com/pivotal/blog/pull/120","diff_url":"https://github.com/pivotal/blog/pull/120.diff","patch_url":"https://github.com/pivotal/blog/pull/120.patch","issue_url":"https://api.github.com/repos/pivotal/blog/issues/120","number":120,"state":"open","locked":false,"title":"Profiling Query Compilation Time with GPORCA #130774489","user":{"login":"vraghavan78","id":12649877,"avatar_url":"https://avatars.githubusercontent.com/u/12649877?v=3","gravatar_id":"","url":"https://api.github.com/users/vraghavan78","html_url":"https://github.com/vraghavan78","followers_url":"https://api.github.com/users/vraghavan78/followers","following_url":"https://api.github.com/users/vraghavan78/following{/other_user}","gists_url":"https://api.github.com/users/vraghavan78/gists{/gist_id}","starred_url":"https://api.github.com/users/vraghavan78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vraghavan78/subscriptions","organizations_url":"https://api.github.com/users/vraghavan78/orgs","repos_url":"https://api.github.com/users/vraghavan78/repos","events_url":"https://api.github.com/users/vraghavan78/events{/privacy}","received_events_url":"https://api.github.com/users/vraghavan78/received_events","type":"User","site_admin":false},"body":"This post describes how GPDB and HAWQ users can debug where GPORCA is spending its time.\r\n\r\n@d please take a look with the team.\r\n\r\nV","created_at":"2016-10-11T21:43:59Z","updated_at":"2016-10-11T22:44:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34686e89da9177f5fbe973e6d95ad01a27b54901","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pivotal/blog/pulls/120/commits","review_comments_url":"https://api.github.com/repos/pivotal/blog/pulls/120/comments","review_comment_url":"https://api.github.com/repos/pivotal/blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pivotal/blog/issues/120/comments","statuses_url":"https://api.github.com/repos/pivotal/blog/statuses/9de8e8bc9b3b2c2821c14063701d8bdb2a8f6c1e","head":{"label":"vraghavan78:orca-profiling-#130774489","ref":"orca-profiling-#130774489","sha":"9de8e8bc9b3b2c2821c14063701d8bdb2a8f6c1e","user":{"login":"vraghavan78","id":12649877,"avatar_url":"https://avatars.githubusercontent.com/u/12649877?v=3","gravatar_id":"","url":"https://api.github.com/users/vraghavan78","html_url":"https://github.com/vraghavan78","followers_url":"https://api.github.com/users/vraghavan78/followers","following_url":"https://api.github.com/users/vraghavan78/following{/other_user}","gists_url":"https://api.github.com/users/vraghavan78/gists{/gist_id}","starred_url":"https://api.github.com/users/vraghavan78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vraghavan78/subscriptions","organizations_url":"https://api.github.com/users/vraghavan78/orgs","repos_url":"https://api.github.com/users/vraghavan78/repos","events_url":"https://api.github.com/users/vraghavan78/events{/privacy}","received_events_url":"https://api.github.com/users/vraghavan78/received_events","type":"User","site_admin":false},"repo":{"id":69297023,"name":"blog","full_name":"vraghavan78/blog","owner":{"login":"vraghavan78","id":12649877,"avatar_url":"https://avatars.githubusercontent.com/u/12649877?v=3","gravatar_id":"","url":"https://api.github.com/users/vraghavan78","html_url":"https://github.com/vraghavan78","followers_url":"https://api.github.com/users/vraghavan78/followers","following_url":"https://api.github.com/users/vraghavan78/following{/other_user}","gists_url":"https://api.github.com/users/vraghavan78/gists{/gist_id}","starred_url":"https://api.github.com/users/vraghavan78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vraghavan78/subscriptions","organizations_url":"https://api.github.com/users/vraghavan78/orgs","repos_url":"https://api.github.com/users/vraghavan78/repos","events_url":"https://api.github.com/users/vraghavan78/events{/privacy}","received_events_url":"https://api.github.com/users/vraghavan78/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vraghavan78/blog","description":"Pivotal Engineering Blog","fork":true,"url":"https://api.github.com/repos/vraghavan78/blog","forks_url":"https://api.github.com/repos/vraghavan78/blog/forks","keys_url":"https://api.github.com/repos/vraghavan78/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vraghavan78/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vraghavan78/blog/teams","hooks_url":"https://api.github.com/repos/vraghavan78/blog/hooks","issue_events_url":"https://api.github.com/repos/vraghavan78/blog/issues/events{/number}","events_url":"https://api.github.com/repos/vraghavan78/blog/events","assignees_url":"https://api.github.com/repos/vraghavan78/blog/assignees{/user}","branches_url":"https://api.github.com/repos/vraghavan78/blog/branches{/branch}","tags_url":"https://api.github.com/repos/vraghavan78/blog/tags","blobs_url":"https://api.github.com/repos/vraghavan78/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vraghavan78/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vraghavan78/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/vraghavan78/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vraghavan78/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/vraghavan78/blog/languages","stargazers_url":"https://api.github.com/repos/vraghavan78/blog/stargazers","contributors_url":"https://api.github.com/repos/vraghavan78/blog/contributors","subscribers_url":"https://api.github.com/repos/vraghavan78/blog/subscribers","subscription_url":"https://api.github.com/repos/vraghavan78/blog/subscription","commits_url":"https://api.github.com/repos/vraghavan78/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/vraghavan78/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/vraghavan78/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/vraghavan78/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/vraghavan78/blog/contents/{+path}","compare_url":"https://api.github.com/repos/vraghavan78/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vraghavan78/blog/merges","archive_url":"https://api.github.com/repos/vraghavan78/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vraghavan78/blog/downloads","issues_url":"https://api.github.com/repos/vraghavan78/blog/issues{/number}","pulls_url":"https://api.github.com/repos/vraghavan78/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/vraghavan78/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/vraghavan78/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vraghavan78/blog/labels{/name}","releases_url":"https://api.github.com/repos/vraghavan78/blog/releases{/id}","deployments_url":"https://api.github.com/repos/vraghavan78/blog/deployments","created_at":"2016-09-26T22:10:44Z","updated_at":"2016-09-26T22:10:45Z","pushed_at":"2016-10-11T21:41:28Z","git_url":"git://github.com/vraghavan78/blog.git","ssh_url":"git@github.com:vraghavan78/blog.git","clone_url":"https://github.com/vraghavan78/blog.git","svn_url":"https://github.com/vraghavan78/blog","homepage":"http://engineering.pivotal.io/","size":19475,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"pivotal:master","ref":"master","sha":"49f37dafdf91377fd8ae3927e4b25617000d420a","user":{"login":"pivotal","id":9148,"avatar_url":"https://avatars.githubusercontent.com/u/9148?v=3","gravatar_id":"","url":"https://api.github.com/users/pivotal","html_url":"https://github.com/pivotal","followers_url":"https://api.github.com/users/pivotal/followers","following_url":"https://api.github.com/users/pivotal/following{/other_user}","gists_url":"https://api.github.com/users/pivotal/gists{/gist_id}","starred_url":"https://api.github.com/users/pivotal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivotal/subscriptions","organizations_url":"https://api.github.com/users/pivotal/orgs","repos_url":"https://api.github.com/users/pivotal/repos","events_url":"https://api.github.com/users/pivotal/events{/privacy}","received_events_url":"https://api.github.com/users/pivotal/received_events","type":"Organization","site_admin":false},"repo":{"id":41665610,"name":"blog","full_name":"pivotal/blog","owner":{"login":"pivotal","id":9148,"avatar_url":"https://avatars.githubusercontent.com/u/9148?v=3","gravatar_id":"","url":"https://api.github.com/users/pivotal","html_url":"https://github.com/pivotal","followers_url":"https://api.github.com/users/pivotal/followers","following_url":"https://api.github.com/users/pivotal/following{/other_user}","gists_url":"https://api.github.com/users/pivotal/gists{/gist_id}","starred_url":"https://api.github.com/users/pivotal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivotal/subscriptions","organizations_url":"https://api.github.com/users/pivotal/orgs","repos_url":"https://api.github.com/users/pivotal/repos","events_url":"https://api.github.com/users/pivotal/events{/privacy}","received_events_url":"https://api.github.com/users/pivotal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pivotal/blog","description":"Pivotal Engineering Blog","fork":false,"url":"https://api.github.com/repos/pivotal/blog","forks_url":"https://api.github.com/repos/pivotal/blog/forks","keys_url":"https://api.github.com/repos/pivotal/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pivotal/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pivotal/blog/teams","hooks_url":"https://api.github.com/repos/pivotal/blog/hooks","issue_events_url":"https://api.github.com/repos/pivotal/blog/issues/events{/number}","events_url":"https://api.github.com/repos/pivotal/blog/events","assignees_url":"https://api.github.com/repos/pivotal/blog/assignees{/user}","branches_url":"https://api.github.com/repos/pivotal/blog/branches{/branch}","tags_url":"https://api.github.com/repos/pivotal/blog/tags","blobs_url":"https://api.github.com/repos/pivotal/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pivotal/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pivotal/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/pivotal/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pivotal/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/pivotal/blog/languages","stargazers_url":"https://api.github.com/repos/pivotal/blog/stargazers","contributors_url":"https://api.github.com/repos/pivotal/blog/contributors","subscribers_url":"https://api.github.com/repos/pivotal/blog/subscribers","subscription_url":"https://api.github.com/repos/pivotal/blog/subscription","commits_url":"https://api.github.com/repos/pivotal/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/pivotal/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/pivotal/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/pivotal/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/pivotal/blog/contents/{+path}","compare_url":"https://api.github.com/repos/pivotal/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pivotal/blog/merges","archive_url":"https://api.github.com/repos/pivotal/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pivotal/blog/downloads","issues_url":"https://api.github.com/repos/pivotal/blog/issues{/number}","pulls_url":"https://api.github.com/repos/pivotal/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/pivotal/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/pivotal/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pivotal/blog/labels{/name}","releases_url":"https://api.github.com/repos/pivotal/blog/releases{/id}","deployments_url":"https://api.github.com/repos/pivotal/blog/deployments","created_at":"2015-08-31T08:51:11Z","updated_at":"2016-09-28T04:36:49Z","pushed_at":"2016-10-11T21:43:59Z","git_url":"git://github.com/pivotal/blog.git","ssh_url":"git@github.com:pivotal/blog.git","clone_url":"https://github.com/pivotal/blog.git","svn_url":"https://github.com/pivotal/blog","homepage":"http://engineering.pivotal.io/","size":19677,"stargazers_count":24,"watchers_count":24,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":15,"forks":55,"open_issues":15,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pivotal/blog/pulls/120"},"html":{"href":"https://github.com/pivotal/blog/pull/120"},"issue":{"href":"https://api.github.com/repos/pivotal/blog/issues/120"},"comments":{"href":"https://api.github.com/repos/pivotal/blog/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/pivotal/blog/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/pivotal/blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pivotal/blog/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/pivotal/blog/statuses/9de8e8bc9b3b2c2821c14063701d8bdb2a8f6c1e"}}}}
{"actor":{"display_login":"oarap"}}