ITPub博客

首页 > 应用开发 > IT综合 > Operations that Require Temporary Segments (26)

Operations that Require Temporary Segments (26)

原创 IT综合 作者:tsinglee 时间:2007-09-11 17:08:10 0 删除 编辑

The following statements sometimes require the use of a temporary segment:
■ CREATE INDEX
■ SELECT ... ORDER BY
■ SELECT DISTINCT ...
■ SELECT ... GROUP BY
■ SELECT . . . UNION
■ SELECT ... INTERSECT
■ SELECT ... MINUS
Some unindexed joins and correlated subqueries can require use of a temporary
segment. For example, if a query contains a DISTINCT clause, a GROUP BY, and an
ORDER BY, Oracle can require as many as two temporary segments.

1. 以上7种情况可能用到临时段
2. Oracle一条SQL最多可以申请两个临时段.

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10599713/viewspace-968972/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    740
  • 访问量
    2002849