临时表存储在用户临时表空间中。
考虑使用表变量来代替临时表。
例1:创建引用临时表的过程。
Example 1: Building a procedure which references a temporary table.
创建数据库时不存在用户临时表空间。
No user temporary table Spaces exist when a database is created.
扩展的索引或声明的临时表。
清单9展示了一个已声明临时表的示例。
完成了通过存储过程声明临时表的封装。
It completes the encapsulation of the temporary table declaration through stored procedures.
没有创建用户临时表空间。
创建一个用作全局临时表的用户表空间。
Create a user temporary table space for use by the global temporary table.
运行close_temp删除临时表。
向临时表填充三行记录。
——临时表空间,tempspace1。
本节讨论应该考虑的已创建的临时表的行为。
This section discusses the behaviors of created temporary tables that should be taken into account.
临时表空间可以是系统的,也可以是用户的。
最好从系统临时表空间创建用户临时表空间。
It is best to create user temporary table space from the system one.
清单7给出了与临时表创建有关的统计信息。
Listing 7 shows the statistics associated with temporary-table creation.
最后,使用临时表来修改现有数据表的结果。
Finally, you used a temporary table to modify the structure of an existing database table.
Tempspace1——存储系统临时表。
所消耗的用户临时表空间中的空间将得到释放。
The consumed space in the user temporary table space will be freed.
定义在声明的全局临时表上的索引不能被转移。
Indexes defined on a declared global temporary table cannot be transferred.
应用程序将继续消费越来越多的用户临时表空间。
The application will keep on consuming more and more user temporary table space.
表变量、会话与临时表。
对于经常用于执行排序操作的临时表空间,也应该这样。
The same is true for temporary tablespaces often used for performing sort operations.
确保系统目录和系统临时表空间中具有足够的自由空间。
Ensure that there is sufficient free space on the system catalog and the system temporary tablespaces.
创建临时表,锁表。
毕竟,您可以相当容易地重新构建临时表的内容。
After all, the content of the temp can be reconstructed easily enough.
支持临时表、常规表以及范围和列表类型的分区表。
Supports temporary, regular and partitioned tables of different types of range and list.
至少应当创建一个用户临时表空间以允许定义已声明的临时表。
At least one user temporary table space should be created to allow the definition of declared temporary tables.
用户临时表空间: 用户临时表空间存储已声明的全局临时表。
User temporary table spaces: User temporary table spaces store declared global temporary tables.
这些统计信息存储在表示声明的临时表的目录信息的内存结构中。
These statistics are stored in memory structures that represent the catalog information for declared temporary tables.
应用推荐