oracle 10.2 temporary tablespace

Temporary Tablespaces

temporary tablespace contains transient data that persists only for the duration of the session. Temporary tablespaces can improve the concurrency of multiple sort operations, reduce their overhead, and avoid Oracle Database space management operations. A temporary tablespace can be assigned to users with the CREATE USER or ALTER USER statement and can be shared by multiple users.

Within a temporary tablespace, all sort operations for a given instance and tablespace share a single sort segment. Sort segments exist for every instance that performs sort operations within a given tablespace. The sort segment is created by the first statement that uses a temporary tablespace for sorting, after startup, and is released only at shutdown. An extent cannot be shared by multiple transactions.

You can view the allocation and deallocation of space in a temporary tablespace sort segment using the V$SORT_SEGMENT view. The V$TEMPSEG_USAGE view identifies the current sort users in those segments.

You cannot explicitly create objects in a temporary tablespace.

 

临时表空间

 

临时表空间包含仅在该会话期间的瞬态数据。临时表空间可以提高多个排序操作的并发性,减少他们的开销,并避免Oracle数据库的空间管理操作。临时表空间可以分配给用户使用通过CREATE USER或ALTER USER语句,并可以由多个用户共享。

在一个临时表空间,对于一个给定的实例和表空间的所有排序操作共享一个排序段。排序段为执行一个给定的表空间中排序操作的每一个实例存在。排序段由第一个使用临时表空间进行排序,启动后的第一个语句创建的,只有在关机时被释放。一个区间不能被多个事务共享。

您可以使用V $ SORT_SEGMENT视图查看临时表空间排序段空间的分配和释放。在V $ TEMPSEG_USAGE视图识别当前排序用户在这些段内。

你不能显式地创建对象在一个临时表空间。

 

你可能感兴趣的:(oracle,oracle,tablespace,temporary,10.2)