Menu

#38 Support in EXPLAIN to show the plan of a data node

Development Queue
open
nobody
General (11)
3
2012-06-03
2012-04-30
Abbas Butt
No

Currently in XC EXPLAIN shows the plan created by the coordinator. However some test cases in create_index.sql need to see plan created on data nodes. For example

SET enable_seqscan = OFF;
SET enable_indexscan = ON;
SET enable_bitmapscan = ON;
EXPLAIN (num_nodes off, nodes off, verbose on, COSTS OFF)
SELECT * FROM fast_emp4000
WHERE home_base @ '(200,200),(2000,1000)'::box
ORDER BY (home_base[0])[0];

Disabling sequence scan has no impact on the coordinator, however by being able to check the plan on the data nodes, we need to make sure the set parameters worked correctly.

Discussion

  • Koichi Suzuki

    Koichi Suzuki - 2012-06-03

    Alternative is to use autoexplain.

     
  • Koichi Suzuki

    Koichi Suzuki - 2012-06-03
    • milestone: 1084945 --> Development Queue
     
  • Koichi Suzuki

    Koichi Suzuki - 2012-06-03

    EXECUTE DIRECT could be another workaround.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.