<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛 - Oracle</title>
    <link>http://bbs.cqsztech.com/forum.php?mod=forumdisplay&amp;fid=2</link>
    <description>Latest 20 threads of Oracle</description>
    <copyright>Copyright(C) 重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Fri, 17 Apr 2026 09:21:22 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://bbs.cqsztech.com/static/image/common/logo_88_31.gif</url>
      <title>重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛</title>
      <link>http://bbs.cqsztech.com/</link>
    </image>
    <item>
      <title>RDA应用_windows版本</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33327</link>
      <description><![CDATA[Oracle Remote Diagnostic Agent (RDA)
=========================
1.下载rda压缩包，并解压到指定路径。

2.进入解压出的rda文件路径
cmd
&gt; cd \\path\\to\\rda 


3.配置信息，需要收集的信息选项
&gt;rda.cmd -S

4.运行rda，自动生成为zip文件
&gt;rda.cmd -v
 ...]]></description>
      <category>Oracle</category>
      <author>Inkcup</author>
      <pubDate>Tue, 14 Apr 2026 12:12:30 +0000</pubDate>
    </item>
    <item>
      <title>Oracle 11g 用户密码抓取sql语句原理</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33320</link>
      <description><![CDATA[select \'create user \' || username || \' identified by values\' || \'\'\'\' ||
       b.password || \'\'\'\' || \' default tablespace \' || default_tablespace ||
       \' temporary tablespace \' || temporary_tablespace || \';\'
  from dba_users a, sy]]></description>
      <category>Oracle</category>
      <author>mahan</author>
      <pubDate>Sun, 12 Apr 2026 09:04:56 +0000</pubDate>
    </item>
    <item>
      <title>Oracle 使用DB_Link同步MySQL数据</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33319</link>
      <description><![CDATA[一、创建DB_LINK
1、Oracle验证MySQL驱动
注意：Oracle数据库在安装过程中会自动安装MySQL的驱动“dg4odbc”。目前仅需要验证该驱动即可。当前环境中存在该驱动。

 $ file $ORACLE_HOME/bin/dg4odbc



2、配置驱动连接
注意：此处需要在Oracle数据库中配置驱 ...]]></description>
      <category>Oracle</category>
      <author>mahan</author>
      <pubDate>Sun, 12 Apr 2026 09:01:47 +0000</pubDate>
    </item>
    <item>
      <title>OracleDG常用命令集合（搭建、维护、测试、激活）</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33318</link>
      <description><![CDATA[DG部署要素
归档配置
#确认是否开启归档
archive log list;
#是否开启强制日志
SELECT force_logging FROM v$database;

#开启归档并配置强制记录日志
shutdown immediate;
Startup mount;
alter database archivelog;
Alter database force logging;
Alter ...]]></description>
      <category>Oracle</category>
      <author>mahan</author>
      <pubDate>Sun, 12 Apr 2026 08:57:11 +0000</pubDate>
    </item>
    <item>
      <title>Oracle 19c中的自动索引（DBMS_AUTO_INDEX）</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33317</link>
      <description><![CDATA[自动索引功能执行以下操作。

根据表列使用情况确定潜在的自动索引。文档称这些为“候选索引(candidate indexes)”。
将自动索引创建为不可见索引，因此不会在执行计划中使用它们。索引名称包括“SYS_AI”前缀。
根据SQL语句测试不可见的自动索引，以确保它们能提高 ...]]></description>
      <category>Oracle</category>
      <author>刘泽宇</author>
      <pubDate>Sun, 12 Apr 2026 04:45:20 +0000</pubDate>
    </item>
    <item>
      <title>查询共享池中占用内存超大的 SQL 语句</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33305</link>
      <description><![CDATA[SELECT substr(sql_text,1,100) \&quot;Stmt\&quot;,
       count(*),
       sum(sharable_mem) \&quot;Mem\&quot;,
       sum(users_opening) \&quot;Open\&quot;,
       sum(executions) \&quot;Exec\&quot;
FROM v$sql
GROUP BY substr(sql_text,1,100)
HAVING sum(sharable_mem) &gt; 1000000
ORDER BY s]]></description>
      <category>Oracle</category>
      <author>jiawang</author>
      <pubDate>Wed, 08 Apr 2026 06:11:31 +0000</pubDate>
    </item>
    <item>
      <title>查询共享池shared pool中占用内存最大的前 20 个组件</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33303</link>
      <description><![CDATA[查看共享池TOP占用组件
SELECT name, ROUND(bytes/1024/1024, 2) AS size_mb 
FROM v$sgastatWHERE pool = \'shared pool\' 
ORDER BY bytes DESCFETCH FIRST 20 ROWS ONLY;
或者
SELECT * FROM (
    SELECT name, 
           ROUND(bytes/1024/1024, 2) AS si ...]]></description>
      <category>Oracle</category>
      <author>jiawang</author>
      <pubDate>Wed, 08 Apr 2026 03:52:22 +0000</pubDate>
    </item>
    <item>
      <title>oracle 19c rac 安装报错OUI-10021</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33300</link>
      <description><![CDATA[安装程序正在执行将 19c (19.23) 的 Oracle Home 复制到远程节点的操作，此时尝试获取 /u01/app/oraInventory 的读锁失败。这通常是因为：

后台确实有另一个 Oracle 安装程序 (runInstaller)、卸载程序或 opatch 正在运行。

之前的安装/补丁进程异常终止（ ...]]></description>
      <category>Oracle</category>
      <author>mahan</author>
      <pubDate>Mon, 06 Apr 2026 12:02:11 +0000</pubDate>
    </item>
    <item>
      <title>centos 7.9 卸载oracle 19c grid</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33299</link>
      <description><![CDATA[在 CentOS 7.9 上卸载 Oracle Grid Infrastructure（通常被称为 Grid）主要有两种方法：使用 Oracle 官方的 deinstall 工具（推荐） 和 手动强制卸载。

警告： 在执行卸载操作前，请务必确认已经备份了所有必要的数据（包括数据库数据和 ASM 磁盘组数据），并确保该 ...]]></description>
      <category>Oracle</category>
      <author>mahan</author>
      <pubDate>Mon, 06 Apr 2026 12:00:30 +0000</pubDate>
    </item>
    <item>
      <title>显示 CDB$ROOT 和所有 PDB 的表空间</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33298</link>
      <description><![CDATA[-- 正确显示 CDB$ROOT 和所有 PDB 的表空间
SELECT 
    CASE 
        WHEN d.con_id = 1 THEN \'CDB$ROOT\'
        WHEN d.con_id = 2 THEN \'PDB$SEED\'
        ELSE p.name
    END AS container_name,
    d.tablespace_name,
    ROUND(SUM(d.bytes) / 1024 ...]]></description>
      <category>Oracle</category>
      <author>Inkcup</author>
      <pubDate>Mon, 06 Apr 2026 09:21:22 +0000</pubDate>
    </item>
    <item>
      <title>RMAN查询数据文件的备份</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33297</link>
      <description><![CDATA[R1. 按日期范围查询

rman target /

# 查询3月31日当天的备份
list backup of datafile 15 completed between \'31-MAR-26\' and \'01-APR-26\';

# 或者使用具体时间范围
list backup of datafile 15 completed after \'30-MAR-26 23:59:59\' and before \'31-MAR-26 ...]]></description>
      <category>Oracle</category>
      <author>Inkcup</author>
      <pubDate>Mon, 06 Apr 2026 09:16:35 +0000</pubDate>
    </item>
    <item>
      <title>19c新特性产生的自动索引如何删除</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33296</link>
      <description><![CDATA[直接删除自动索引时，会报错：
SQL&gt; drop index \&quot;SYS_AI_600vgjmtqsgv3\&quot;;

drop index \&quot;SYS_AI_600vgjmtqsgv3\&quot;
*
ERROR at line 1:
ORA-65532: cannot alter or drop automatically created indexes


其他的方法也不行：
SQL&gt; alter index \&quot;SYS_AI_600vgjmtq ...]]></description>
      <category>Oracle</category>
      <author>刘泽宇</author>
      <pubDate>Sun, 05 Apr 2026 11:17:25 +0000</pubDate>
    </item>
    <item>
      <title>ORACLE监听器显示&quot;正常运行时间 (Uptime)&quot; 限制</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33291</link>
      <description><![CDATA[===Oracle监听器明明运行了九百多天，但只显示运行了三百多天===


这个问题是监听器存在一个显示限制。




Oracle 监听器内部用一个 32位的计数器（单位是百分之一秒，即 csec）来记录运行时长。这个计数器的上限是 2^31 - 1，即 2,147,483,647。

计算一下 ...]]></description>
      <category>Oracle</category>
      <author>Inkcup</author>
      <pubDate>Thu, 02 Apr 2026 02:45:19 +0000</pubDate>
    </item>
    <item>
      <title>SQLdb360工具的使用</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33290</link>
      <description><![CDATA[兼容环境：Oracle 11g/12c/19c/21c + RAC + Exadata + PDB


解压工具包
tar -zxvf sqldb360-24.2.tar.gz
[root@sztech setup]# tar -zxvf sqldb360-24.2.tar.gz
sqldb360-24.2/
sqldb360-24.2/Introduction to SQLD360.docx
sqldb360-24.2/README.md
sqldb360 ...]]></description>
      <category>Oracle</category>
      <author>jiawang</author>
      <pubDate>Wed, 01 Apr 2026 02:49:13 +0000</pubDate>
    </item>
    <item>
      <title>通过dba_objects定位无效对象变更时间</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33287</link>
      <description><![CDATA[直接查询所有无效 JAVA CLASS 的精确时间（时分秒）
以 SYS 或 DBA 权限执行：



SELECT
  owner,
  object_name,
  object_type,
  status,
  TO_CHAR(created, \'YYYY-MM-DD HH24:MI:SS\') AS created_time,
  TO_CHAR(last_ddl_time, \'YYYY-MM-DD HH24:MI: ...]]></description>
      <category>Oracle</category>
      <author>jiawang</author>
      <pubDate>Tue, 31 Mar 2026 08:51:22 +0000</pubDate>
    </item>
    <item>
      <title>模板；init.ora文件</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33279</link>
      <description><![CDATA[db_name=\'dbname\'
db_block_size=8192
db_files=200
control_files=\'/u01/app/oracle/oradata/dbname/control01.ctl\',\'/u01/app/oracle/oradata/dbname/control02.ctl\'
compatible=\'11.2.0.4\'  
sga_target=7G
pga_aggregate_target=3G
undo_tablespace=\'UND]]></description>
      <category>Oracle</category>
      <author>Inkcup</author>
      <pubDate>Sun, 29 Mar 2026 10:00:40 +0000</pubDate>
    </item>
    <item>
      <title>window下ODAC包的安装步骤</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33264</link>
      <description><![CDATA[Oracle数据访问组件ODAC(Oracle Data Access Components)顾名思义就是用来访问Oracle数据库的小程序。我们可以编程调用这些组件来实现在没有安装Oracle数据库软件的电脑上完成对Oracle数据库的访问。



下载ODAC安装包
下载网址：https://www.oracle.com/database ...]]></description>
      <category>Oracle</category>
      <author>jiawang</author>
      <pubDate>Mon, 23 Mar 2026 09:16:32 +0000</pubDate>
    </item>
    <item>
      <title>Oracle下删除无效的undo表空间</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33263</link>
      <description><![CDATA[在 Oracle 中删除无效的 UNDO 表空间，需遵循「确认状态→切换活跃 UNDO→清理依赖→删除表空间」的步骤，避免因误操作导致数据库崩溃。


查询当前 UNDO 表空间状态
首先确认哪些 UNDO 表空间是无效/闲置的，哪些是当前活跃的。

SQL&gt; show parameter undo_

 ...]]></description>
      <category>Oracle</category>
      <author>jiawang</author>
      <pubDate>Sun, 22 Mar 2026 10:18:04 +0000</pubDate>
    </item>
    <item>
      <title>为什么临时表空间使用大小查询结果不合实际</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33261</link>
      <description><![CDATA[=====问题语句：
select f.con_id,d.tablespace_name,
space \&quot;sum_space(g)\&quot;,
blocks sum_blocks,
used_space \&quot;used_space(g)\&quot;,
round(nvl(used_space, 0) / space * 100, 2) \&quot;used_rate(%)\&quot;,
nvl(free_space, 0) \&quot;free_space(g)\&quot;
from (select tablespace_name, .]]></description>
      <category>Oracle</category>
      <author>Inkcup</author>
      <pubDate>Sun, 22 Mar 2026 10:09:14 +0000</pubDate>
    </item>
    <item>
      <title>Oracle 数据泵 (expdp) PAR 参数文件导出操作</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33260</link>
      <description><![CDATA[一、 什么是 PAR 参数文件法？
在使用 Oracle 数据泵 (expdp) 导出数据时，如果参数过多、表名过长，直接在命令行（终端）中拼接极易出现漏字、换行错误或特殊字符无法识别的问题。
PAR 文件法是指将所有的导出配置参数预先写进一个纯文本文件（后缀通常命名为 .par ...]]></description>
      <category>Oracle</category>
      <author>mahan</author>
      <pubDate>Sun, 22 Mar 2026 09:42:01 +0000</pubDate>
    </item>
  </channel>
</rss>