Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------
- QUERY PLAN DESCRIPTION:
- ------------------------------
- Opt Vertica Options
- --------------------
- PLAN_OUTPUT_SUPER_VERBOSE
- EXPLAIN VERBOSE SELECT account_id, name FROM account WHERE state = 1;
- Access Path:
- Sort KEY: (account.account_id, account.name, account.currency_code, account.time_zone)
- LDISTRIB_SEGMENTED
- +-STORAGE ACCESS FOR account [Cost: 52.000000, ROWS: 46.000000 Disk(B): 0.000000 CPU(B): 0.000000 Memory(B): 0.000000 Netwrk(B): 0.000000 Parallelism: 1.000000] [OutRowSz (B): 271] (PATH ID: 1)
- | COLUMN Cost Aspects: [ Disk(B): 196608.000000 CPU(B): 65536.000000 Memory(B): 12522.000000 Netwrk(B): 0.000000 Parallelism: 1.000000 ]
- | Projection: public.account_tmp_super
- | Materialize: account.account_id, account.name
- | FILTER: (account.state = 1)/* sel=0.867925 ndv= 1 */
- | Sort KEY: (account.account_id, account.name, account.currency_code, account.time_zone)
- | LDISTRIB_SEGMENTED
- ------------------------------
- -----------------------------------------------
- Plan Extras
- -----------------------------------------------
- digraph G {
- graph [rankdir=BT, label = "JoinGraph(Base)", labelloc=t, labeljust=l ]
- node140389674934528_0[label = "node 0 account (public.account)\noid 45035996277504710 varno = 1\npreds: \n(account.state = 1)", color = "black"];
- }
- TABLE Name -> JoinGraph Node Mappings:
- public.account: Node 0(JoinGraph ID: 1)
- JOIN Descriptions:
- Projections chosen FOR TABLES:
- public.account: account_tmp_super
- Simplified JOIN ORDER:
- -----------------------
- digraph G {
- graph [label = "Simplified Join Order: \n(1,0) [account] --> account_tmp_super for public.account\n", labelloc=t, labeljust=l ]
- 0[shape = "record" label = "SELECT"];
- 0->1 [label = "" color = "black" ];
- 1[shape = "record" label = "P(1,0)"];
- }
- -----------------------------------------------
- PLAN: BASE QUERY PLAN (GraphViz Format)
- -----------------------------------------------
- digraph G {
- graph [rankdir=BT, label = "BASE QUERY PLAN\nQuery: EXPLAIN VERBOSE SELECT account_id, name FROM account WHERE state = 1;\n\nAll Nodes Vector: \n\n node[0]=v_biddy_node0001 (initiator) Up\n", labelloc=t, labeljust=l ordering=OUT]
- 0[label = "Root \nNode Set: [Name: v_biddy_node0001 , index: 0 , (initiator))]\nNode ID: 0", color = "green", shape = "house"];
- 1[label = "NewEENode \nOutBlk=[UncTuple<int, varchar(255).255>]\nNode Set: [Name: v_biddy_node0001 , index: 0 , (initiator))]\nNode ID: 0", color = "green", shape = "box"];
- 2[label = "StorageUnionStep: account_tmp_super\nstartEpoch 0\nendEpoch 70065\nthreads 8\nnodeSet: [0] \n[Local Segmented Properties: UNSEGMENTED]\nUnc: account.account_id[1,1] - Integer(8)\nUnc: account.name[1,3] - Varchar(255)", color = "purple", shape = "box"];
- 3[label = "ScanStep: account_tmp_super\n(account.state = 1)\nVALINDEX[0]\nstartEpoch 0\nendEpoch 70065\naccount_id\nstate (not emitted)\nname\nnodeSet: [0] \n[Local Segmented Properties: SEGMENTED]\nUnc: account_id[1,1] - Integer(8)\nUnc: name[1,3] - Varchar(255)", color = "brown", shape = "box"];
- 1->0 [label = "V[0] S=0, D=0",color = "black"];
- 1->0 [label = "V[0] S=1, D=1",color = "black"];
- 2->1 [label = "0",color = "blue"];
- 3->2 [label = "0",color = "blue"];
- }
- Estimated resources FOR plan:
- -----------------------------
- Scratch Memory MB: 28
- File Handles: 48
- Worker Threads: 12
- Blocking Threads: 0
- Externalizing Ops: 0
- Unbounded Mem Ops: 0
- MAX Threads: 8
- Extra Memory Reservation MB 0
- -----------------------------
- -----------------------------------------------
- PLAN: ANNOTATED BY DISTRIBUTOR (GraphViz Format)
- -----------------------------------------------
- digraph G {
- graph [rankdir=BT, label = " ANNOTATED BY DISTRIBUTOR \n", labelloc=t, labeljust=l ordering=OUT]
- 0[label = "Root \nOutBlk=[UncTuple<int, varchar(255).255>]\nNode Set: [Name: v_biddy_node0001 , index: 0 , (initiator))]\nNode ID: 0", color = "green", shape = "house"];
- 1[label = "NewEENode \nOutBlk=[UncTuple<int, varchar(255).255>]\nNode Set: [Name: v_biddy_node0001 , index: 0 , (initiator))]\nNode ID: 0", color = "green", shape = "box"];
- 2[label = "StorageUnionStep: account_tmp_super\nstartEpoch 0\nendEpoch 70065\nthreads 8\nnodeSet: [0] \n[Local Segmented Properties: UNSEGMENTED]\nUnc: account.account_id[1,1] - Integer(8)\nUnc: account.name[1,3] - Varchar(255)", color = "purple", shape = "box"];
- 3[label = "ScanStep: account_tmp_super\n(account.state = 1)\nVALINDEX[0]\nstartEpoch 0\nendEpoch 70065\naccount_id\nstate (not emitted)\nname\nnodeSet: [0] \n[Local Segmented Properties: SEGMENTED]\nUnc: account_id[1,1] - Integer(8)\nUnc: name[1,3] - Varchar(255)", color = "brown", shape = "box"];
- 1->0 [label = "V[0] S=0, D=0",color = "black"];
- 1->0 [label = "V[0] S=1, D=1",color = "black"];
- 2->1 [label = "0",color = "blue"];
- 3->2 [label = "0",color = "blue"];
- }
- 0[label = "Root \nNode Set: [Name: v_biddy_node0001 , index: 0 , (initiator))]\nNode ID: 0", color = "green", shape = "house"];
- 1[label = "NewEENode \nOutBlk=[UncTuple<int, varchar(255).255>]\nNode Set: [Name: v_biddy_node0001 , index: 0 , (initiator))]\nNode ID: 0", color = "green", shape = "box"];
- 2[label = "StorageUnionStep: account_tmp_super\nstartEpoch 0\nendEpoch 70065\nthreads 8\nnodeSet: [0] \n[Local Segmented Properties: UNSEGMENTED]\nUnc: account.account_id[1,1] - Integer(8)\nUnc: account.name[1,3] - Varchar(255)", color = "purple", shape = "box"];
- 3[label = "ScanStep: account_tmp_super\n(account.state = 1)\nVALINDEX[0]\nstartEpoch 0\nendEpoch 70065\naccount_id\nstate (not emitted)\nname\nnodeSet: [0] \n[Local Segmented Properties: SEGMENTED]\nUnc: account_id[1,1] - Integer(8)\nUnc: name[1,3] - Varchar(255)", color = "brown", shape = "box"];
- 1->0 [label = "V[0] S=0, D=0",color = "black"];
- 1->0 [label = "V[0] S=1, D=1",color = "black"];
- 2->1 [label = "0",color = "blue"];
- 3->2 [label = "0",color = "blue"];
- }
- Estimated resources FOR plan:
- -----------------------------
- Scratch Memory MB: 28
- File Handles: 48
- Worker Threads: 12
- Blocking Threads: 0
- Externalizing Ops: 0
- Unbounded Mem Ops: 0
- MAX Threads: 8
- Extra Memory Reservation MB 0
- -----------------------------
- -----------------------------------------------
- PLAN: ANNOTATED BY DISTRIBUTOR (GraphViz Format)
- -----------------------------------------------
- digraph G {
- graph [rankdir=BT, label = " ANNOTATED BY DISTRIBUTOR \n", labelloc=t, labeljust=l ordering=OUT]
- 0[label = "Root \nOutBlk=[UncTuple<int, varchar(255).255>]\nNode Set: [Name: v_biddy_node0001 , index: 0 , (initiator))]\nNode ID: 0", color = "green", shape = "house"];
- 1[label = "NewEENode \nOutBlk=[UncTuple<int, varchar(255).255>]\nNode Set: [Name: v_biddy_node0001 , index: 0 , (initiator))]\nNode ID: 0", color = "green", shape = "box"];
- 2[label = "StorageUnionStep: account_tmp_super\nstartEpoch 0\nendEpoch 70065\nthreads 8\nnodeSet: [0] \n[Local Segmented Properties: UNSEGMENTED]\nUnc: account.account_id[1,1] - Integer(8)\nUnc: account.name[1,3] - Varchar(255)", color = "purple", shape = "box"];
- 3[label = "ScanStep: account_tmp_super\n(account.state = 1)\nVALINDEX[0]\nstartEpoch 0\nendEpoch 70065\naccount_id\nstate (not emitted)\nname\nnodeSet: [0] \n[Local Segmented Properties: SEGMENTED]\nUnc: account_id[1,1] - Integer(8)\nUnc: name[1,3] - Varchar(255)", color = "brown", shape = "box"];
- 1->0 [label = "V[0] S=0, D=0",color = "black"];
- 1->0 [label = "V[0] S=1, D=1",color = "black"];
- 2->1 [label = "0",color = "blue"];
- 3->2 [label = "0",color = "blue"];
- }
- Estimated resources FOR plan:
- -----------------------------
- Scratch Memory MB: 28
- File Handles: 48
- Worker Threads: 12
- Blocking Threads: 0
- Externalizing Ops: 0
- Unbounded Mem Ops: 0
- MAX Threads: 8
- Extra Memory Reservation MB 0
- -----------------------------
- (108 ROWS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement