oracle行迁移工程日志

oracle行迁移工程日志

ID:33808068

大小:78.54 KB

页数:22页

时间:2019-03-01

oracle行迁移工程日志_第1页
oracle行迁移工程日志_第2页
oracle行迁移工程日志_第3页
oracle行迁移工程日志_第4页
oracle行迁移工程日志_第5页
资源描述:

《oracle行迁移工程日志》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、(工程部)工程日志填报日期:2013/11/06客户名称银行产品名称Oracle参与人员到达现场2013/11/06[实施目的]1.部署statspackT具;[项目环境]操作系统RedHat5.5主机名James数据库版本Oracle10.2.0字符集GHS16GBK生产库实例名prod监听LISTENER/1521[实施步骤]1.禁用sga自动管理机制,分配比较小的数据缓冲区(30m)和共享池(70m)空间1.1关闭SGA自动管理机制查看是否开启了ASSMSQL>showparametersgaNAMETYPEVAL

2、UEsga_max_sizesga_target关闭sga自动管理机制:SQL>altersystemsetsga_target=O;SQL>showparametersgabiginteger1Gbiginteger1GNAMETYPEVALUEsga_max_sizesga_targetbiginteger1Gbiginteger01.2设置数据缓冲区的大小为30mSQL>altersystemsetdbcachesize=30m;1.3设置共享池的大小为70mSQL>altersystemsetsharedpool

3、size=70mscope=spfile;1.4验证设置好的数据缓冲区和共亨池的大小SQL>selectcomponent^current_size/1024/1024fromv$sga_dynamic_componentsCOMPONENTCURRENT_SIZE/1024/1024sharedpool72DEFAULTbuffercache322.部署statspack2.1创建一个专门用于statspack的表空间toolsSQL>createtablespacetools2datafile7u01/app/ora

4、cle/oradata/prod/toolsOl.dbf3size300m;注:红色加粗部分为修改后的内容2.2以sysdba身份执行创建prefstat对象的脚本SQL>@?/rdbms/admin/spcreate.sqlChoosethePERFSTATuser'spasswordNotspecifyingapasswordwillresultintheinstallationFAILINGEntervalueforperfstat_password:oracleChoosetheDefaulttablespace

5、forthePERFSTATuserBelowisthelistofonlinetablespacesinthisdatabasewhichcanstoreuserdata.SpecifyingtheSYSTEMtablespacefortheuser'sdefaulttablespacewillresultintheinstallationFAILING,asusingSYSTEMforperformancedataisnotsupported・ChoosethePERFSTATusers'sdefaulttables

6、pace・ThisisthetablespaceinwhichtheSTATSPACKtablesandindexeswillbecreated.TABLESPACE_NAMECONTENTSSTATSPACKDEFAULTTABLESPACEEXAMPLEPERMANENTSYSAUXTOOLSUSERSPERMANENT*PERMANENTPERMANENTPressingwillresultinSTATSPACK'srecommendeddefaulttablespace(identifiedby*

7、)beingused・Entervaluefordefault_tablespace:toolsUsingtablespaceTOOLSasPERFSTATdefaulttablespace.ChoosetheTemporarytablespaceforthePERFSTATuserBelowisthelistofonlinetablespacesinthisdatabasewhichcanstoretemporarydata(e.g.forsortworkareas)・SpecifyingtheSYSTEMtables

8、pacefortheuser'stemporarytablespacewillresultintheinstallationFAILING,asusingSYSTEMforworkareasisnotsupported.ChoosethePERFSTATuser'sTemporaiytablespace・TABLES

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。