- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Oracle基础体结构及性能优化,oracle性能优化,oracle数据库性能优化,oraclesql性能优化,oracle性能调整与优化,oracle性能优化视频,oracle性能优化书籍,oracle11g性能优化,oracle性能优化艺术,oracle性能优化面试题
Oracle基础体系结构及性能优化
1、基础体系结构介绍
Oracle 数据库基础对象
Tablespaces and Datafile
Oracle stores data logically in tablespaces and physically in datafiles associated with the corresponding tablespace. Figure 3-1 illustrates this relationship.
Figure 3-1 Datafiles and Tablespaces
Temporary Tablespaces and tempfiles
What are Temporary Tablespaces:
Temporary tablespaces are used to manage space for database sort operations and for storing global temporary tables. For example, if you join two large tables, and Oracle cannot do the sort in memory (see SORT_AREA_SIZE initialisation parameter), space will be allocated in a temporary tablespace for doing the sort operation.
Other SQL operations that might require disk sorting are: CREATE INDEX, ANALYZE, Select DISTINCT, ORDER BY, GROUP BY, UNION, INTERSECT, MINUS, Sort-Merge joins, etc.
What are TEMPFILES?
Unlike normal data files, TEMPFILEs are not fully initialised (sparse). When you create a TEMPFILE, Oracle only writes to the header and last block of the file. This is why it is much quicker to create a TEMPFILE than to create a normal database file.
TEMPFILEs are not recorded in the databases control file. This implies that one can just recreate them whenever you restore the database, or after deleting them by accident. This opens interesting possibilities like having different TEMPFILE configurations between permanent and standby databases, or configure TEMPFILEs to be local instead of shared in a RAC environment.
One cannot remove datafiles from a tablespace until you drop the entire tablespace. However, one can remove a TEMPFILE from a database. Look at his example:
SQL ALTER DATABASE TEMPFILE /oradata/temp02.dbf DROP INCLUDING DATAFILES;
If you remove all tempfiles from a temporary tablespace, you may encounter error: ORA-25153: Temporary Tablespace is Empty. Use the following statement to add a TEMPFILE to a temporary tablespace:
SQL ALTER TABLESPACE temp ADD TEMPFILE /oradata/temp03.dbf SIZE 100M;
Except for adding a tempf
您可能关注的文档
最近下载
- 1桌签格式.doc VIP
- 丰富多彩的中华传统体育+课件 2025-2026学年人教版(2024)初中体育与健康八年级全一册.pptx VIP
- XX能源公司XX风电场×MW工程建设管理制度汇编(总承包项目部)完整版.doc
- 2020抽水蓄能电站施工设计方案.pdf VIP
- 儿童糖尿病酮症酸中毒诊疗指南(2024).pptx VIP
- 虚拟电厂管理平台需求及设计-方案合集.docx VIP
- 茶饮料灭菌技术概述.pdf VIP
- 2025新高考高一函数定义域值域解析式易错培优竞赛试题(解析板).docx
- 常用NTC47KΩ阻值B=3950阻温R-T对照表.pdf VIP
- 歌曲《我和我的祖国》课件.pptx
文档评论(0)