摘要:
一.说明1.1 相关内容在如下官方文档中提到了一些优化工具的说明:Monitoring and Tuning the Databasehttp://docs.oracle.com/cd/E11882_01/server.112/e10897/montune.htmUsing Advisors to Optimize DatabasePerformance Oracle Databaseincludes a set ofadvisorsto help you manage and tune your database.This section contains background inform
阅读全文
posted @ 2012-01-31 22:08
davedba
阅读(170)
推荐(0)
摘要:
一.说明1.1 相关内容在如下官方文档中提到了一些优化工具的说明:Monitoring and Tuning the Databasehttp://docs.oracle.com/cd/E11882_01/server.112/e10897/montune.htmUsing Advisors to Optimize DatabasePerformance Oracle Databaseincludes a set ofadvisorsto help you manage and tune your database.This section contains background inform
阅读全文
posted @ 2012-01-31 22:08
davedba
阅读(348)
推荐(0)
摘要:
一./etc/oratab说明直接使用cat 查看这个文件:gg1:/home/oracle> cat /etc/oratab# # This file is used by ORACLEutilities. It is created by root.sh# and updated by the Database ConfigurationAssistant when creating# a database. # A colon, ':', is used as the fieldterminator. A new line terminates# the entry
阅读全文
posted @ 2012-01-30 21:41
davedba
阅读(296)
推荐(0)
摘要:
一./etc/oratab说明直接使用cat 查看这个文件:gg1:/home/oracle> cat /etc/oratab# # This file is used by ORACLEutilities. It is created by root.sh# and updated by the Database ConfigurationAssistant when creating# a database. # A colon, ':', is used as the fieldterminator. A new line terminates# the entry
阅读全文
posted @ 2012-01-30 21:41
davedba
阅读(268)
推荐(0)
摘要:
官网的链接说明About Oracle Database Resource Managerhttp://docs.oracle.com/cd/E11882_01/server.112/e25494/dbrm001.htm#i1007556一.Solutions Does the Resource ManagerProvide for Workload Management?When databaseresource allocation decisions are left to the operating system, you mayencounter the following prob
阅读全文
posted @ 2012-01-23 13:08
davedba
阅读(294)
推荐(0)
摘要:
官网的链接说明About Oracle Database Resource Managerhttp://docs.oracle.com/cd/E11882_01/server.112/e25494/dbrm001.htm#i1007556一.Solutions Does the Resource ManagerProvide for Workload Management?When databaseresource allocation decisions are left to the operating system, you mayencounter the following prob
阅读全文
posted @ 2012-01-23 13:08
davedba
阅读(179)
推荐(0)
摘要:
MOS上有关TIMED_STATISTICS参数说明: Init.ora Parameter "TIMED_STATISTICS" Reference Note [ID 30824.1] Health CheckAlert: Consider setting TIMED_STATISTICS and STATISTICS_LEVEL to recommendedlevels [ID 957433.1] Version Parameter Type Modifiable 11.1.0.7 timed_statistics BOOLEAN ALTER SESSION ...
阅读全文
posted @ 2012-01-11 16:24
davedba
阅读(297)
推荐(0)
摘要:
MOS上有关TIMED_STATISTICS参数说明: Init.ora Parameter "TIMED_STATISTICS" Reference Note [ID 30824.1] Health CheckAlert: Consider setting TIMED_STATISTICS and STATISTICS_LEVEL to recommendedlevels [ID 957433.1] Version Parameter Type Modifiable 11.1.0.7 timed_statistics BOOLEAN ALTER SESSION ...
阅读全文
posted @ 2012-01-11 16:24
davedba
阅读(138)
推荐(0)
摘要:
一.Resumable Space Allocation 说明 从9i开始,Oracle提供了一种避免因为space Error而导致事务异常的操作: resumable spaceallocation. 在Oracle 10g的OCP 考试中有考resumable session 的这个知识点。官网对Resumable的解释: Advantage is forDBAs who are running yearly reports and do not know how much extra disk spaceis required for TEMP, UNDO or DATA tables
阅读全文
posted @ 2012-01-10 22:47
davedba
阅读(172)
推荐(0)
摘要:
一.Resumable Space Allocation 说明 从9i开始,Oracle提供了一种避免因为space Error而导致事务异常的操作: resumable spaceallocation. 在Oracle 10g的OCP 考试中有考resumable session 的这个知识点。官网对Resumable的解释: Advantage is forDBAs who are running yearly reports and do not know how much extra disk spaceis required for TEMP, UNDO or DATA tables
阅读全文
posted @ 2012-01-10 22:47
davedba
阅读(280)
推荐(0)
摘要:
关于Expdp/Impdp 命令的具体使用,在之前的blog里有说明,参考:Oracle expdp/impdp 使用示例http://blog.csdn.net/tianlesoftware/article/details/6260138exp/imp 与 expdp/impdp 对比 及使用中的一些优化事项http://blog.csdn.net/tianlesoftware/article/details/6093973Oracle 客户端 使用expdp/impdp 示例 说明http://blog.csdn.net/tianlesoftware/article/details/707
阅读全文
posted @ 2012-01-10 20:02
davedba
阅读(232)
推荐(0)
摘要:
关于Expdp/Impdp 命令的具体使用,在之前的blog里有说明,参考:Oracle expdp/impdp 使用示例http://blog.csdn.net/tianlesoftware/article/details/6260138exp/imp 与 expdp/impdp 对比 及使用中的一些优化事项http://blog.csdn.net/tianlesoftware/article/details/6093973Oracle 客户端 使用expdp/impdp 示例 说明http://blog.csdn.net/tianlesoftware/article/details/707
阅读全文
posted @ 2012-01-10 20:02
davedba
阅读(170)
推荐(0)
摘要:
在一套DB服务器上运行DBCA 命令,报错:[oracle@game_db ~]$ dbcaException in thread "main" [oracle@game_db ~]$ [oracle@game_db ~]$ exportDISPLAY=1921.68.3.189:0.0[oracle@game_db ~]$ dbcaException in thread "main" 几年都没有遇到这种问题了,起初以为是DISPLAY变量的问题,设置以后也不行,查看了一个DBCA的log 日志:[oracle@game_db scripts]$ cd
阅读全文
posted @ 2012-01-04 13:54
davedba
阅读(181)
推荐(0)
摘要:
在一套DB服务器上运行DBCA 命令,报错:[oracle@game_db ~]$ dbcaException in thread "main" [oracle@game_db ~]$ [oracle@game_db ~]$ exportDISPLAY=1921.68.3.189:0.0[oracle@game_db ~]$ dbcaException in thread "main" 几年都没有遇到这种问题了,起初以为是DISPLAY变量的问题,设置以后也不行,查看了一个DBCA的log 日志:[oracle@game_db scripts]$ cd
阅读全文
posted @ 2012-01-04 13:54
davedba
阅读(133)
推荐(0)
摘要:
一.Alerts 和 Metrics说明官方链接:Monitoring and Tuning the Databasehttp://docs.oracle.com/cd/E11882_01/server.112/e10897/montune.htm#CACCIHAB Alerts help you monitor your database. Most alerts notify youof when particularmetric thresholds are exceeded.For each alert, you can set critical and warning thresho
阅读全文
posted @ 2011-12-28 17:02
davedba
阅读(239)
推荐(0)
摘要:
一.Alerts 和 Metrics说明官方链接:Monitoring and Tuning the Databasehttp://docs.oracle.com/cd/E11882_01/server.112/e10897/montune.htm#CACCIHAB Alerts help you monitor your database. Most alerts notify youof when particularmetric thresholds are exceeded.For each alert, you can set critical and warning thresho
阅读全文
posted @ 2011-12-28 17:02
davedba
阅读(247)
推荐(0)
摘要:
官网的链接:Overview of PL/SQLhttp://docs.oracle.com/cd/E11882_01/appdev.112/e25519/overview.htmServer-Side Programming: PL/SQL and Javahttp://docs.oracle.com/cd/E11882_01/server.112/e25789/srvrside.htm一.PL/SQL 定义 PL/SQL is theOracle Database procedural extension to SQL. PL/SQL is integrated with thedatab
阅读全文
posted @ 2011-12-27 20:54
davedba
阅读(124)
推荐(0)
摘要:
官网的链接:Overview of PL/SQLhttp://docs.oracle.com/cd/E11882_01/appdev.112/e25519/overview.htmServer-Side Programming: PL/SQL and Javahttp://docs.oracle.com/cd/E11882_01/server.112/e25789/srvrside.htm一.PL/SQL 定义 PL/SQL is theOracle Database procedural extension to SQL. PL/SQL is integrated with thedatab
阅读全文
posted @ 2011-12-27 20:54
davedba
阅读(151)
推荐(0)
摘要:
在之前的Blog里提到了VBox 的4中网络类型:NATBridged AdapterInternalHost-onlyAdapter具体参考:Oracle Virtual Box 安装使用 说明http://blog.csdn.net/tianlesoftware/article/details/6826389 今天升级了一个VBox 到4.1.8,在这个版本中对网络这块有加强,增加了UDP的支持,升级之后看了下Vbox,多了一种Generic Driver,因为之前没有留意是否有这种模式,所以这里也不能确定GenericDriver 是新版本里才有的。 不过查看了参考文档,确实有了增加的内
阅读全文
posted @ 2011-12-24 21:34
davedba
阅读(150)
推荐(0)
摘要:
在之前的Blog里提到了VBox 的4中网络类型:NATBridged AdapterInternalHost-onlyAdapter具体参考:Oracle Virtual Box 安装使用 说明http://blog.csdn.net/tianlesoftware/article/details/6826389 今天升级了一个VBox 到4.1.8,在这个版本中对网络这块有加强,增加了UDP的支持,升级之后看了下Vbox,多了一种Generic Driver,因为之前没有留意是否有这种模式,所以这里也不能确定GenericDriver 是新版本里才有的。 不过查看了参考文档,确实有了增加的内
阅读全文
posted @ 2011-12-24 21:34
davedba
阅读(155)
推荐(0)
摘要:
一.相关概述在之前的Bulk的那篇blog里提到了Oracle 的2个引擎:PL/SQL 引擎和SQL 引擎。Oracle PL/SQL 优化与调整 -- Bulk 说明http://blog.csdn.net/tianlesoftware/article/details/6578351 Oracle使用2个引擎来执行SQL和代码块:SQL引擎和PL/SQL引擎,Oracle使用这2个引擎来执行PL/SQL blocks和subprograms。那么在执行的时候,PL/SQL引擎把DML语句发送给SQL引擎,然后由SQL引擎执行,执行完毕后,SQL引擎把结果集在发送给PL/SQL引擎。因此在不
阅读全文
posted @ 2011-12-23 22:05
davedba
阅读(206)
推荐(0)
摘要:
一.相关概述在之前的Bulk的那篇blog里提到了Oracle 的2个引擎:PL/SQL 引擎和SQL 引擎。Oracle PL/SQL 优化与调整 -- Bulk 说明http://blog.csdn.net/tianlesoftware/article/details/6578351 Oracle使用2个引擎来执行SQL和代码块:SQL引擎和PL/SQL引擎,Oracle使用这2个引擎来执行PL/SQL blocks和subprograms。那么在执行的时候,PL/SQL引擎把DML语句发送给SQL引擎,然后由SQL引擎执行,执行完毕后,SQL引擎把结果集在发送给PL/SQL引擎。因此在不
阅读全文
posted @ 2011-12-23 22:05
davedba
阅读(176)
推荐(0)
摘要:
官网的链接:http://docs.oracle.com/cd/E11882_01/server.112/e16638/instance_tune.htm#PFGRF13015一.Instance Recovery Instance andcrash recovery are the automatic application of redo log records to Oracle datablocks after a crash or system failure. During normal operation, if an instanceis shut down cleanly (
阅读全文
posted @ 2011-12-23 00:52
davedba
阅读(200)
推荐(0)
摘要:
官网的链接:http://docs.oracle.com/cd/E11882_01/server.112/e16638/instance_tune.htm#PFGRF13015一.Instance Recovery Instance andcrash recovery are the automatic application of redo log records to Oracle datablocks after a crash or system failure. During normal operation, if an instanceis shut down cleanly (
阅读全文
posted @ 2011-12-23 00:52
davedba
阅读(263)
推荐(0)
摘要:
一.官网说明Using Oracle Managed Fileshttp://docs.oracle.com/cd/E11882_01/server.112/e25494/omf.htm#ADMIN0031.1 What Are Oracle Managed Files?官网链接:http://docs.oracle.com/cd/E11882_01/server.112/e25494/omf001.htm#i1006122 UsingOracle Managed Files simplifies the administration of anOracle Database. Oracle
阅读全文
posted @ 2011-12-20 22:31
davedba
阅读(359)
推荐(0)
摘要:
一.官网说明Using Oracle Managed Fileshttp://docs.oracle.com/cd/E11882_01/server.112/e25494/omf.htm#ADMIN0031.1 What Are Oracle Managed Files?官网链接:http://docs.oracle.com/cd/E11882_01/server.112/e25494/omf001.htm#i1006122 UsingOracle Managed Files simplifies the administration of anOracle Database. Oracle
阅读全文
posted @ 2011-12-20 22:31
davedba
阅读(266)
推荐(0)
摘要:
官网链接如下:http://docs.oracle.com/cd/E11882_01/install.112/e24321/appendix_ofa.htm#i633068一.Overview of the Optimal Flexible Architecture Standard The Optimal Flexible Architecture standard helps you to organize database software andconfigure databases to allow multiple databases, of different versions,
阅读全文
posted @ 2011-12-20 00:23
davedba
阅读(145)
推荐(0)
摘要:
官网链接如下:http://docs.oracle.com/cd/E11882_01/install.112/e24321/appendix_ofa.htm#i633068一.Overview of the Optimal Flexible Architecture Standard The Optimal Flexible Architecture standard helps you to organize database software andconfigure databases to allow multiple databases, of different versions,
阅读全文
posted @ 2011-12-20 00:23
davedba
阅读(169)
推荐(0)
摘要:
一.默认表空间说明 在oracle9i中,如果未用 DEFAULT TABLESPACE 子句创建的所有用户将以SYSTEM表空间作为它们的默认表空间。同时也不能为数据库指定一个默认的表空间。 在Oracle 10g中定义了数据库级别的默认表空间USERS,在创建用户时没有定义默认表空间,就会把数据库级别的默认表空间当作自己的默认表空间。在10g以前,是把系统表空间(SYSTEMS)当作默认表空间。这样很不合理。 可以使用如下命令查看默认表空间:/* Formatted on 2011/12/19 15:57:48(QP5 v5.185.11230.41888) */SELECT PROPER
阅读全文
posted @ 2011-12-19 16:33
davedba
阅读(256)
推荐(0)
摘要:
一.默认表空间说明 在oracle9i中,如果未用 DEFAULT TABLESPACE 子句创建的所有用户将以SYSTEM表空间作为它们的默认表空间。同时也不能为数据库指定一个默认的表空间。 在Oracle 10g中定义了数据库级别的默认表空间USERS,在创建用户时没有定义默认表空间,就会把数据库级别的默认表空间当作自己的默认表空间。在10g以前,是把系统表空间(SYSTEMS)当作默认表空间。这样很不合理。 可以使用如下命令查看默认表空间:/* Formatted on 2011/12/19 15:57:48(QP5 v5.185.11230.41888) */SELECT PROPER
阅读全文
posted @ 2011-12-19 16:33
davedba
阅读(188)
推荐(0)
摘要:
一.官网说明MOS 上的一篇文章: Setting Listener Passwords With an Oracle10g or Newer Listener [ID 260986.1]这里面提到如下内容: In Oracle 10gand newer versions of the listener, the listener is secure out of the box.There should be no need to set a listener password to prohibit privilegedLSNRCTL commands from being execute
阅读全文
posted @ 2011-12-18 21:54
davedba
阅读(269)
推荐(0)
摘要:
一.官网说明MOS 上的一篇文章: Setting Listener Passwords With an Oracle10g or Newer Listener [ID 260986.1]这里面提到如下内容: In Oracle 10gand newer versions of the listener, the listener is secure out of the box.There should be no need to set a listener password to prohibit privilegedLSNRCTL commands from being execute
阅读全文
posted @ 2011-12-18 21:54
davedba
阅读(177)
推荐(0)
摘要:
之前整理的相关链接:Oracle 监听(Listener) 中services 说明http://blog.csdn.net/tianlesoftware/article/details/6617827Oracle Listener 动态注册 与 静态注册http://blog.csdn.net/tianlesoftware/article/details/5543166OracleDedicated server 和Shared server(专用模式 和 共享模式) 说明http://blog.csdn.net/tianlesoftware/article/details/5695784官
阅读全文
posted @ 2011-12-18 20:00
davedba
阅读(153)
推荐(0)
摘要:
之前整理的相关链接:Oracle 监听(Listener) 中services 说明http://blog.csdn.net/tianlesoftware/article/details/6617827Oracle Listener 动态注册 与 静态注册http://blog.csdn.net/tianlesoftware/article/details/5543166OracleDedicated server 和Shared server(专用模式 和 共享模式) 说明http://blog.csdn.net/tianlesoftware/article/details/5695784官
阅读全文
posted @ 2011-12-18 20:00
davedba
阅读(154)
推荐(0)
摘要:
在AWR中,如果有部分选项是:Nodata exists for this section of the report.那么属正常现象。如:那么现在看一个有数据的AWR:在下面的这个图中就显示了显示的条件:(1)SQL orderedby Sharable Memory:Only Statements with Sharable Memory greater than 1048576 are displayed(2)SQL orderedby Version Count:Only Statements with Version Count greater than 20 are display
阅读全文
posted @ 2011-12-16 11:23
davedba
阅读(209)
推荐(0)
摘要:
在AWR中,如果有部分选项是:Nodata exists for this section of the report.那么属正常现象。如:那么现在看一个有数据的AWR:在下面的这个图中就显示了显示的条件:(1)SQL orderedby Sharable Memory:Only Statements with Sharable Memory greater than 1048576 are displayed(2)SQL orderedby Version Count:Only Statements with Version Count greater than 20 are display
阅读全文
posted @ 2011-12-16 11:23
davedba
阅读(226)
推荐(0)
摘要:
一.客户端使用expdp/impdp说明有关Oracle expdp/impdp 命令之前也整理了一些文档,链接如下:exp/imp 与 expdp/impdp 对比 及使用中的一些优化事项http://blog.csdn.net/tianlesoftware/article/details/6093973Oracle 10g Data Pump Expdp/Impdp 详解http://blog.csdn.net/tianlesoftware/article/details/4674224Oracle expdp/impdp 使用示例http://blog.csdn.net/tianleso
阅读全文
posted @ 2011-12-15 19:03
davedba
阅读(346)
推荐(0)
摘要:
一.客户端使用expdp/impdp说明有关Oracle expdp/impdp 命令之前也整理了一些文档,链接如下:exp/imp 与 expdp/impdp 对比 及使用中的一些优化事项http://blog.csdn.net/tianlesoftware/article/details/6093973Oracle 10g Data Pump Expdp/Impdp 详解http://blog.csdn.net/tianlesoftware/article/details/4674224Oracle expdp/impdp 使用示例http://blog.csdn.net/tianleso
阅读全文
posted @ 2011-12-15 19:03
davedba
阅读(158)
推荐(0)
摘要:
在我们创建实例的时候可以保存为模板,其实也可以直接用DBCA命令来创建我们的实例模板,并且利用这个功能进行实例的复制。只是这个功能很少被关注。这里我们选择ManageTemplate:注意创建模板的三种类型,官网也有相关的说明:Installing Oracle Database and Creating aDatabasehttp://docs.oracle.com/cd/E11882_01/server.112/e10897/install.htm#ADMQS023(1)From an existing template Using anexisting template, you can
阅读全文
posted @ 2011-12-14 20:07
davedba
阅读(138)
推荐(0)
摘要:
在我们创建实例的时候可以保存为模板,其实也可以直接用DBCA命令来创建我们的实例模板,并且利用这个功能进行实例的复制。只是这个功能很少被关注。这里我们选择ManageTemplate:注意创建模板的三种类型,官网也有相关的说明:Installing Oracle Database and Creating aDatabasehttp://docs.oracle.com/cd/E11882_01/server.112/e10897/install.htm#ADMQS023(1)From an existing template Using anexisting template, you can
阅读全文
posted @ 2011-12-14 20:07
davedba
阅读(167)
推荐(0)