1. 21 7月, 2017 3 次提交
    • J
      Improve partition selection logging (#2796) · 038aa959
      Jesse Zhang 提交于
      Partition Selection is the process of determining at runtime ("execution
      time") which leaf partitions we can skip scanning. Three types of Scan
      operators benefit from partition selection: DynamicTableScan,
      DynamicIndexScan, and BitmapTableScan.
      
      Currently, there is a minimal amount of logging about what partitions
      are selected, but they are scattered between DynamicIndexScan and
      DynamicTableScan (and so we missed BitmapTableScan).
      
      This commit moves the logging into the PartitionSelector operator
      itself, when it exhausts its inputs. This also brings the nice side
      effect of more granular information: the log now attributes the
      partition selection to individual partition selectors.
      038aa959
    • V
      Fix rtable index of FunctionScan when translating GPORCA plan. · 3b24a561
      Venkatesh Raghavan 提交于
      Arguments to the function scan can themselve have a subquery
      that can create new rtable entries. Therefore, first translate all
      arguments of the FunctionScan before setting scanrelid of the
      FunctionScan.
      3b24a561
    • C
      Fix backup/restore tests for dumping database grants · d63cb7af
      Chris Hajas 提交于
      The changes in commit bdafd0ce should
      not be tested against the backup43/restore5 test since this code is not yet
      present in 4.3. Additionally, query the 'template1' database when
      verifying roles exist.
      d63cb7af
  2. 20 7月, 2017 7 次提交
  3. 19 7月, 2017 14 次提交
  4. 18 7月, 2017 7 次提交
  5. 16 7月, 2017 1 次提交
  6. 15 7月, 2017 1 次提交
    • H
      Remove PartOidExpr, it's not used in GPDB. (#2481) · 941327cd
      Heikki Linnakangas 提交于
      * Remove PartOidExpr, it's not used in GPDB.
      
      The target lists of DML nodes that ORCA generates includes a column for the
      target partition OID. It can then be referenced by PartOidExprs. ORCA uses
      these to allow sorting the tuples by partition, before inserting them to the
      underlying table. That feature is used by HAWQ, where grouping tuples that
      go to the same output partition is cheaper.
      
      Since commit adfad608, which removed the gp_parquet_insert_sort GUC, we
      don't do that in GPDB, however. GPDB can hold multiple result relations open
      at the same time, so there is no performance benefit to grouping the tuples
      first (or at least not enough benefit to counterbalance the cost of a sort).
      
      So remove the now unused support for PartOidExpr in the executor.
      
      * Bump ORCA version to 2.37
      Signed-off-by: NEkta Khanna <ekhanna@pivotal.io>
      
      * Removed acceptedLeaf
      Signed-off-by: NEkta Khanna <ekhanna@pivotal.io>
      941327cd
  7. 14 7月, 2017 5 次提交
  8. 13 7月, 2017 2 次提交