发明名称 CREATE TABLE FOR EXCHANGE
摘要 Techniques are described herein for creating a new database table for an exchange operation with a table partition of another table. A database management system (DBMS) is configured to receive a query such as “CREATE TABLE new_table FOR EXCHANGE FROM partition_P1”. The DBMS then identifies properties of the source partition (e.g., partition P1) and creates a new database table based on the properties identified. Some of these properties (e.g., hidden columns, data modeling frameworks, and table statistics) may not otherwise be directly accessible by the external entity that sent the query. The newly created table then has all of the necessary properties to be part of the other table if swapped with the source partition in an exchange operation.
申请公布号 US2017109386(A1) 申请公布日期 2017.04.20
申请号 US201615228831 申请日期 2016.08.04
申请人 Oracle International Corporation 发明人 Baer Hermann;Kumar Ramesh;Raghavan Ananth
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项 1. A method comprising: receiving a DDL statement referring to a first database table and specifying to create a table for an exchange with at least a portion of the first database table; in response to receiving said DDL statement, creating a second database table having one or more physical properties of said first database table; wherein said one or more physical properties includes at least one of the following particular physical properties: a physical column order of data blocks of said first database table, anda position within a data block for a column truncated from said first database table.
地址 Redwood Shores CA US