一朋友问了我一个问题,说 19c DBCA 的时候不能修改 blocksize,这个理论上是没有问题的,结果一看确实是灰色,不可选: 上 MOS 搜了一下,要在”Custom Database”选项才能修改, 很久没玩 Oracle 了,确实有点手生,随笔记之。 How to change DB_BLOCK_SIZE while creating database using DBCA? (Doc ID 847784.1) Only way to change DB_BLO...
2024-04-19 22:25 32 0
在之前的博客我们介绍了Oracle 19.22 之前版本RU发布信息,如下: Oracle 12.2 家族的补丁 RU 和 RUR 说明 https://www.cndba.cn/dave/article/4063 Oracle RU 19.21 发布了 https://www.cndba.cn/dave/article/131466 Oracle 19.21 单实例 安装 手册 https://www.cndba.cn/dave/article/131492 Oracle 19c 做为该版本的长期支持板,将会持续发...
2024-04-19 21:39 37 0
1 LSLT特性说明 Oracle 从 12c 开始引入了Last Successful Logon Time (LSLT) 特性, 该特性就是记录用户最后一次成功登录的时间。可以通过dba_users 表的last_login 列查看这个时间。 How to find the Last login date time for Database users ? (Doc ID 2185763.1) [dave@www.cndba.cn ~]$ sqlplus / as sysdba SQL*Plus: Release 19.0.0.0....
2024-02-04 14:45 357 0
在迁移数据库的时候,如果不知道旧用户的密码,可以通过密文密码来创建用户。 1 创建测试用户 SQL> create user dave identified by cndba; User created. SQL> grant connect,resource to dave; Grant succeeded. SQL> col name for a20 SQL> col password for a50 SQL> set lines 160 SQL> select user#,name,p...
2024-02-02 16:29 185 0
关于Oracle 19c 的RU和RUR的说明,参考我之前的博客: Oracle 12.2 家族的补丁 RU 和 RUR 说明 https://www.cndba.cn/dave/article/4063 19.3 单实例的安装参考之前的博客: Linux 7.4 平台下 Oracle 19.3 单实例安装手册 https://www.cndba.cn/dave/article/3427 Oracle 19.21 单实例 安装 手册 https://www.cndba.cn/dave/article/131492 当然...
2024-01-28 13:03 415 0
1 SQL Version 说明 Troubleshooting: High Version Count Issues (Doc ID 296377.1) High Version Counts For SQL Statements (>1024) Post Upgrade To 12.2 and Above Causing Database Slow Performance (Doc ID 2431353.1) 可以从 AWR 报告查看SQL Version,也可以通过如下 SQL 查看: select count() as version_count, sql_id from v$s
2024-01-21 11:42 272 0
在之前的博客我们介绍了Oracle 19.21 之前版本RU发布信息,如下: Oracle 12.2 家族的补丁 RU 和 RUR 说明 https://www.cndba.cn/dave/article/4063 Oracle RU 19.21 发布了 https://www.cndba.cn/dave/article/131466 Oracle 19.21 单实例 安装 手册 https://www.cndba.cn/dave/article/131492 Oracle 19c 做为该版本的长期支持板,将会持续发...
2024-01-17 20:22 442 0
1 问题现象 虽然 19c 已经出来了很多年,但主要还是玩 11g 多一些,而且 19 年以后主要精力也是在研究国产数据库上。 下午业务说新部署的一个业务连不上12c 的RAC 集群,就看了下日志,发现里面有很多的WARNING: too many parse errors,如下: [dave@www.cndba.cn ~]# orz log 20 BEGIN P_SMON_ISDBNORMAL(); END; Additional information: h...
2024-01-16 23:58 440 0
1 enable_ddl_logging 参数说明 正常情况下,Oracle 的 log 日志中是不会记录 DDL 操作的,所以对于 DDL 操作的分析,只能通过审计平台来进行。 如果要跟踪 Oracle 的 DDL 操作记录,可以启动 DDL Logging 功能,配置ENABLE_DDL_LOGGING参数即可。 官网对该参数的说明如下: https://docs.oracle.com/en/database/oracle/oracle-database/23/ref...
2024-01-15 21:17 292 0
1 Adaptive Query Plans 特性说明 adaptive plans 是 Oracle 12c 中引入的新特性,官网对该特性的说明如下: https://docs.oracle.com/database/121/TGSQL/tgsql_optcncpt.htm#TGSQL94982 https://docs.oracle.com/database/121/TGSQL/tgsql_influence.htm#TGSQL257 MOS 的文章: Adaptive Execution Plans (Doc ID 1409636.1) Adaptive Query O...
2024-01-15 20:29 329 0
1 Automatic Report Capturing 特性说明 Oracle 在 12c 中引入了一个新特性:”Automatic Report Capturing Feature”。MMON_SLAVE会识别资源密集型SQL,并为这些SQL自动生成SQL monitoring报告。 As part of this feature, some monitoring SQLs are executed by MMON_SLAVE to identify the resource-intensive SQLs and generate the SQL Mon...
2024-01-14 13:46 335 0
Oracle 中 有时候需要通过隐含参数控制一些功能,但是查看隐含参数的 SQL 比较长,可以通过如下视图封装后,简化查询过程: CREATE VIEW hparams as SELECT a.ksppinm paramName, a.ksppdesc description, b.ksppstvl SessionValue, c.ksppstvl InstanceValue, decode(bitand(a.ksppiflg/256,1),1,'TRUE','FALSE') IS_SESSION_MODIFIABLE...
2024-01-14 13:27 276 0
1 real-time statistics 特性说明 Oracle 在 19c 中引入了 real-time statistics 的特性,官网说明如下: https://docs.oracle.com/en/database/oracle/oracle-database/23/tgsql/optimizer-statistics-concepts.html#GUID-972CC658-D615-4071-86BB-371D43D9CF95 Oracle Database 19c introduces real-time statistics, which extends online st
2024-01-14 12:44 241 0
1 CLIENT_STATISTICS_LEVEL 参数说明 Oracle 在 19c 中引入了新参数:client_statistics_level, 官网对该参数的说明如下: https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/CLIENT_STATISTICS_LEVEL.html CLIENT_STATISTICS_LEVEL controls whether database clients report network statistics to the database. This p...
2024-01-12 17:31 248 0
1 Oracle LGWR worker group 说明 What is LGWR worker group? (Doc ID 2985280.1) LGWR worker group 是 Oracle 12c 中引入的一个新特性,并在在 12c 以后版本默认启用, 该特性也叫"LGWR slave group" 或 "multiple Log Writers"。 在启用该特性的情况下,后台至少会有 2 个 LGWR 进程:lg00, lg01 [dave@www.cndba.cn ~]# ps -ef | grep cndb...
2024-01-10 13:47 293 0
人的一生应该是这样度过的:当他回首往事的时候,他不会因为虚度年华而悔恨,也不会因为碌碌无为而羞耻;这样,在临死的时候,他就能够说:“我的整个生命和全部精力,都已经献给世界上最壮丽的事业....."
ACE 搜索
中国ORACLE用户组
中国DBA联盟(ACDU)· 核心伙伴
墨天轮 · MVP
CNDBA_2: 142216823(2k群)
CNDBA_3: 283816689(2k群)
CNDBA_4: 391125754
CNDBA_5: 104207940
CNDBA_6: 62697977