发明名称 DYNAMICALLY INDENTIFYING AND PREVENTING SKEWED PARTITIONS IN A SHARED-NOTHING DATABASE
摘要 Dynamically identifying and preventing skewed partitions in a shared-nothing database is provided. The database management system software receives a parameter for identifying a threshold value associated with at least one distribution key value. Optimizer statistics are gathered on a first table that is distributed across one or more partitions in the shared-nothing database, wherein the first table includes a first table name. Distribution key skew is identified based on the gathered optimizer statistics indicating the threshold value being exceeded. A second table with an alternate distribution key, is created having a second table name for receiving overflow data rows associated with the at least one distribution key value based on the identified distribution key skew. A union all view is created based on the first and the second table.
申请公布号 US2015261840(A1) 申请公布日期 2015.09.17
申请号 US201414535566 申请日期 2014.11.07
申请人 International Business Machines Corporation 发明人 Clifford Austin;Emanowicz Konrad;McCallig Enda
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项 1. A method for dynamically identifying and preventing skewed partitions in a shared-nothing database comprising: receiving a parameter for identifying a threshold value associated with at least one distribution key value; gathering optimizer statistics on an original table distributed across one or more partitions in the shared-nothing database, wherein the original table includes an original table name; identifying distribution key skew based on the gathered optimizer statistics indicating the threshold value being exceeded; creating an overflow table for receiving overflow data rows associated with at least one distribution key value based on the identified distribution key skew, the created overflow table having an alternate distribution key and an overflow table name; and creating a union all view based on the original table and the overflow table.
地址 Armonk NY US