Teradata 简明教程
Teradata - Space Concepts
Teradata 中有三种类型的空间可用。
There are three types of spaces available in Teradata.
Permanent Space
永久空间是用户/数据库可用于保存数据行的最大可用空间。永久表、日记、回退表和辅助索引子表使用永久空间。
Permanent space is the maximum amount of space available for the user/database to hold data rows. Permanent tables, journals, fallback tables and secondary index sub-tables use permanent space.
永久空间不会预先分配给数据库/用户。它们仅被定义为数据库/用户可以使用的最大空间量。永久空间的数量将除以 AMP 的数量。每当 AMP 限制超过时,就会生成一个错误消息。
Permanent space is not pre-allocated for the database/user. They are just defined as the maximum amount of space the database/user can use. The amount of permanent space is divided by the number of AMPs. Whenever per AMP limit exceeds, an error message is generated.
Spool Space
池空间是未使用的永久空间,系统使用它来保留 SQL 查询的中间结果。没有池空间的用户无法执行任何查询。
Spool space is the unused permanent space which is used by the system to keep the intermediate results of the SQL query. Users without spool space cannot execute any query.
类似永久空间,池空间定义用户可以使用的最大空间量。池空间将除以 AMP 的数量。每当 AMP 限制超过时,用户都会收到池空间错误。
Similar to Permanent space, spool space defines the maximum amount of space the user can use. Spool space is divided by the number of AMPs. Whenever per AMP limit exceeds, the user will get a spool space error.