cgtt

cgtt

 英

  • 网络临时表;全局临时表(Created Global Temporary Table);临时表建立

例句

If you do not, the script will be unable to define the CGTTs used by the delta table functions.

如果这样脚本无法定义函数使用CGTT

First, CGTT behaves more like a regular table for SQL programmers, but with the potential of a performance advantage.

首先CGTT行为SQL程序员而言一个普通具有提升性能潜力

Because there is no locking requirement (all data is local), CGTT performs better than regular tables.

由于需要锁定所有数据本地),因此CGTT性能普通更好

Class enrollment, where each student has all of the course schedule selections, each student having his own bucket in the CGTT.

班级入学每个学生所有课程安排选择每个学生自己选择CGTT

Create a table function that wraps the underlying monitoring table function and takes deltas against the baseline data stored in the CGTT.

创建一个函数包装底层监控函数产生相对CGTT存储基线数据

Use a created global temporary table (CGTT) for per-session storage of the baseline data (use one CGTT per table function).

使用基线数据会话存储创建全局临时CGTT)(对于每个函数使用一个CGTT)。

CGTTs do not support unique constraints or primary keys, but you can create a unique index.

CGTT支持唯一约束可以创建唯一索引

CGTT tables can be defined up front, and users can use them much like regular tables.

可以提前定义CGTT并且用户可以普通一样使用

CGTTs can also be used in the body of the trigger.

CGTT可以触发器主体使用

The procedure simply selects from the monitoring table function and inserts the data returned into the CGTT in order to take a baseline.

这个过程监控函数执行选择返回数据插入CGTT取得基线

To adapt the method to support global reset, simply change the table creation statements to create regular tables rather than CGTTs.

调整方法支持全局重置只需修改创建语句它们创建常规不是CGTT

You will convert this DGTT to a CGTT in a later listing.

稍后清单中将这个DGTT转换CGTT

Unlike DGTTs, CGTTs are created in a session and persist after the session is terminated.

DGTT不同CGTT会话创建并且会话终止仍然持久保存

Listing 2 defines a CGTT for storing the baseline monitoring data for tables.

清单2定义用于存储基线监控数据CGTT

Once they commit their selections, they are moved from the CGTT to the real tables.

提交选择之后它们CGTT移动实际

Because CGTTs are persistent, they can be created and shared for all sessions during system setup.

由于CGTT持久因此可以系统设置创建共享它们

CGTT essentially moves the table setup process outside the session.

本质上CGTT设置流程会话外部

Convert a declared global temporary table (DGTT) to a created global temporary table (CGTT)

声明全局临时DGTT转换创建全局临时CGTT