
oracle_base
文章平均质量分 62
lixora
MIchael.Huang_lixora 这个blog是个人学习的的一个札记筒,用以记录在学习,工作,生活上的所思,所想
展开
-
Detailed Steps for Troubleshooting ORA-00600 [kdsgrp1] (文档 ID 1492150.1)
未找到您要查找的产品?原创 2024-06-28 11:02:42 · 1011 阅读 · 0 评论 -
Duplicate for Standby fails with RMAN-05535 even when LOG_FILE_NAME_CONVERT is set (Doc ID 2756315.1
RMAN> run{3>4> spfile5>7>15> }16>......原创 2024-04-10 15:11:43 · 580 阅读 · 0 评论 -
oracle “Interested Transaction List”(ITL)的概念
总的来说,ITL是数据库块头的一部分,用于维护有关影响该块中行的事务的信息。它跟踪锁定、已提交的更改和未提交的更改。Undo段被引用以提供有关这些更改时间的详细信息。INITRANS参数帮助控制在ITL中保留的事务历史量。这个概念是数据库系统中事务管理的一部分,有助于确保数据的一致性和完整性。“Interested Transaction List”(ITL)的概念。原创 2024-01-18 11:34:32 · 874 阅读 · 0 评论 -
scripts:查看数据库历史增长情况
此处是通过计算数据库所有表空间的历史增长情况来计算数据库历史情况。------最近7天数据库增长情况。--不含undo和temp。--含undo和temp。查看数据库历史增长情况。原创 2024-01-09 16:51:08 · 545 阅读 · 0 评论 -
Script: Who’s using a database link?(找出谁在使用dblink)
(找出谁在使用dblink)原创 2024-01-09 16:45:01 · 830 阅读 · 0 评论 -
DBCA DIM-00019: Create Service Error O/S-Error: (OS 5) Access is denied
In this DocumentBelow error occurred when creating database with dbca:error in process: E:|...\bin\oradim.exe enter password for oracle service user: DIM-00019: create service error O/S-Error: (OS 5) Access is deniedWindows permission issue. I原创 2023-11-22 16:38:24 · 739 阅读 · 0 评论 -
golang 解析oracle 数据文件头
【代码】golang 解析oracle 数据文件头。原创 2023-11-15 15:20:14 · 776 阅读 · 0 评论 -
oracle Database Crashes With ORA-00494
Call stackTEMP 76.57。原创 2023-06-08 16:57:32 · 1005 阅读 · 0 评论 -
asm 加盘 udev 重启 导致网络异常
In this DocumentDynamically added new disks to storage using udev rules(as per the docs note 414897.1, 1528148.1, 371814.1 etc).During start_udev, udev has deleted the public network interface and this caused the listener to crash, and clusterware moved al原创 2023-05-15 09:49:18 · 430 阅读 · 0 评论 -
start TNSLSNR with Unable to OpenSCManager: err=5 TNS-12560: TNS:protocol adapter error TNS-00530:
启动tnslsnr: 请稍候...TNS-12560: TNS: 协议适配器错误TNS-00530: 协议适配器错误。原创 2022-12-02 09:03:24 · 2256 阅读 · 0 评论 -
RAC 集群节点故障后其vip 无法对外提供链接服务原因
#Q:RAC 集群节点故障后其vip 无法对外提供链接服务原因?原创 2022-08-04 13:21:00 · 393 阅读 · 0 评论 -
oracle 自动化运维--自动搭建oracle dataguard 运维工具(开发源代码)
AutoDG oracle dataguard 自动搭建运维工具(开放源代码)原创 2022-06-01 14:34:54 · 823 阅读 · 0 评论 -
多路径设备在linux 7上 udev 配置oracle asm disk 权限,属组设置
KERNEL=="dm-*", PROGRAM="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%k",RESULT=="3600601602b50520082016962eb1d840d", OWNER:="grid", GROUP:="asmadmin" MODE:="0660"KERNEL=="dm-*", PROGRAM="/usr/lib/udev/scsi_id --whitelisted --r.原创 2022-05-04 20:01:28 · 1237 阅读 · 0 评论 -
oracle 非容器数据库表空间使用率查询
经常遇到一些客户在查看表空间使用率时,不考虑最大可自动扩展部分的空间,因而时常会有一些空间”满误报“的告警##提供一个表空间使用监控的查询语句,适用oracle 非容器数据库col name for a20col Type for a9col status for a20col "Ext-Manage" for a10col "Total Size (M)" for a20col "Used (M)" for a20col "Free (M)" for a20col "Used %..原创 2022-04-12 20:41:19 · 207 阅读 · 0 评论 -
关于数据库索引的一些札记(1)
##leaf blocks 为什么b+tree索引叶子块 叶块上有上双向链表?为了避免由于范围查询扫描( 类似 < 10 ,>10 等谓词条件查询)导致的重复branch blocks 扫描浪费IO,增加查询延时,可以直接扫描leaf blocks 定位(leaf block 是逻辑上有序的,leaf block 中有pre block 块位置偏移,next block 块位置偏移 )...原创 2022-04-08 14:25:24 · 748 阅读 · 0 评论 -
oracle 数据库正确杀会话的建议操作
##所有环境均适用alter system disconnect session '10,7883' immediate;SELECT 'kill ' || ' -9 ' || p.spidFROM v$session sJOIN v$process p ON s.paddr = p.addrWHERE s.sid=:SID_To_Kill;##windows 环境SELECT 'orakill ' || sys_context('USERENV', 'DB_NAME')..原创 2022-04-08 09:19:08 · 903 阅读 · 0 评论 -
IPC Send timeout/node eviction etc with high packet reassembles failure
RHEL 6.6: IPC Send timeout/node eviction etc with high packet reassembles failure (文档 ID 2008933.1) 转到底部 APPLIES TO: Oracle Database - Enterprise Edition - Version 11.2.0.1 and later Oracle Database Cloud Schema Service - Version N/A..原创 2020-12-03 10:23:08 · 446 阅读 · 0 评论 -
find asm holder session
-- Connect ASM instance as sys-- 2013/09/08 kyle Heo Created-- NOTE: If this sql is run on < 11.2 ASM version, -- p.pname column should be replaced by p.program Session Information Section belowset linesize 200set pagesize 1000column user.原创 2020-08-14 15:57:53 · 141 阅读 · 0 评论 -
批量 rman 自动备份脚本
sid=`ps -ef|grep smon |egrep -v "+ASM|grep|opt"|awk '{print $8}'|awk -F "_" '{print $3}'`for id in $siddoecho $idexport ORACLE_SID=$idecho $ORACLE_SID##backup .原创 2020-08-05 23:29:33 · 268 阅读 · 0 评论 -
Database Startup On Solaris 10 Fails With Ora-27102 Out Of Memory Error (Doc ID 399895.1)
Database Startup On Solaris 10 Fails With Ora-27102 Out Of Memory Error (Doc ID 399895.1) To Bottom APPLIES TO: Oracle Database - Enterprise Edition - Version 9.2.0.8 to 12.1.0.2 [Release 9.2 to 12.1] Solaris Operating System - V.原创 2020-06-01 21:22:39 · 347 阅读 · 2 评论 -
ORA-12152: TNS:unable To Send Break Message During Inserts (Doc ID 1942951.1)
ORA-12152: TNS:unable To Send Break Message During Inserts (Doc ID 1942951.1) To Bottom In this Document Symptoms Cause Solution Refer...原创 2020-04-16 09:21:24 · 2759 阅读 · 0 评论 -
Oracle传输表空间( tts & xtts )内部操作原理
[oracle@lixora ~]$ impdp \' / as sysdba \' directory=expdp file=test.dmp log=test.log transport_datafiles='/oracle1/test11.dbf' sqlfile=imp.filImport: Release 11.2.0.4.0 - Production on Thu Jan ...原创 2020-01-09 09:19:55 · 1261 阅读 · 0 评论 -
oracle 手动搭建dg --rman 备份恢复脚本
#### rman 手动备份脚本rman msglog /home/oracle/adg_setup.log << EOFconnect targetRUN {allocate channel c1 device type disk;allocate channel c2 device type disk;allocate channel c3 device type ...原创 2019-12-26 10:20:15 · 622 阅读 · 1 评论 -
How to use the _FIX_CONTROL hidden parameter (Doc ID 827984.1)
How to use the _FIX_CONTROL hidden parameter (Doc ID 827984.1) To Bottom In this Document Goal Solution References APPLIES TO: Oracle...原创 2019-12-20 11:11:37 · 369 阅读 · 0 评论 -
Info About Hidden Parameter _fix_control (Doc ID 782926.1)
Info About Hidden Parameter _fix_control (Doc ID 782926.1) To Bottom In this Document Goal Solution References APPLIES TO: Oracle...原创 2019-12-20 11:10:51 · 387 阅读 · 0 评论 -
oracle AFD 19c Supported Platforms
ACFS and AFD19cSupported Platforms Vendor Version Update/Kernel Architecture ACFSBug or RU/RUR AFDBug or RU/RUR Oracle Linux – RedHat Compatibl...原创 2019-11-08 15:34:42 · 673 阅读 · 0 评论 -
Oracle AFD 18c Supported Platforms
ACFS and AFD18cSupported Platforms Vendor Version Update/Kernel Architecture ACFSBug or RU/RUR AFDBug or RU/RUR ...原创 2019-11-08 15:32:24 · 434 阅读 · 0 评论 -
Oracle AFD 12.2.0.1 Supported Platforms
ACFS and AFD12.2.0.1Supported Platforms Vendor Version Update/Kernel Architecture ACFS Bug or PSU or RU/RUR AFD Bug or PSU or RU/RUR Oracle...原创 2019-11-08 15:31:00 · 404 阅读 · 0 评论 -
快速搭建Oracle Linux 5 上 Oracle Database11g 测试环境
简化 Oracle Linux 5上 Oracle Database11g 的安装目录 1. 介绍适用于 Oracle Linux 的oracle-validated 的RPM2. 安装 oracle-validated RPM3. 配置目录,及设置目录的所有者所属组和权限4.安装 Oracle Database 说明:鉴于本人能力有原创 2012-10-14 12:28:20 · 1254 阅读 · 0 评论 -
有关RMAN的学习札记
local naming methodImportant: Do not set the GLOBAL_DBNAME parameterin theSID_LIST_listener_name section ofthe listener.ora. Astatically configured global database name disablesconnect-time原创 2012-11-12 19:25:56 · 493 阅读 · 0 评论 -
学习笔记
###重新创建索引SQL> CREATE INDEX rname_idx2 ON hr.region s (region_name)3 PARALLEL 4;索引丢失时,更为快速、简单的方法是重新创建而不是尝试恢复索引###重新创建口令验证文件1. 使用OS 验证登录到数据库。2. 将REMOTE_LOGIN_PASSWORDFILE参数设置为NONE 并重新启动数据库。原创 2012-11-12 19:25:59 · 572 阅读 · 0 评论 -
SQL语句大全—查看表空间(一)
查看表空间的名称及大小:SQL> SELECT T.TABLESPACE_NAME,ROUND(SUM(BYTES/(1024 * 1024)), 0)TS_SIZEFROM DBA_TABLESPACEST, DBA_DATA_FILES DWHERE T.TABLESPACE_NAME= D.TABLESPACE_NAMEGROUP BY T.TABLESPACE_NAME;原创 2012-11-12 19:26:09 · 900 阅读 · 0 评论 -
SQL_TRACE
SQL_TRACE是Oracle提供的用于进行SQL跟踪的手段,是强有力的辅助诊断工具.在日常的数据库问题诊断和解决中,SQL_TRACE是非常常用的方法。本文就SQL_TRACE的使用作简单探讨,并通过具体案例对sql_trace的使用进行说明. 一、 基础介绍 (a)SQL_TRACE说明 SQL_TRACE可以作为初始化参数在全局启用,也可以通过命令行方式在具体se原创 2012-11-12 19:26:17 · 477 阅读 · 0 评论 -
故障排除和优化视图
故障排除和优化视图实例/数据库V$DATABASEV$INSTANCEV$PARAMETERV$SPPARAMETERV$SYSTEM_PARAMETERV$PROCESSV$BGPROCESSV$PX_PROCESS_SYSSTATV$SYSTEM_EVENT磁盘V$DATAFILEV$FILESTATV$LOGV$LOG_HISTORYV$DBFILEV$TE原创 2012-11-12 19:26:26 · 560 阅读 · 0 评论 -
手动联机重组的基本步骤及使用的命…
手动联机重组的基本步骤1. 验证表是否是联机重组的候选对象。2. 创建一个临时表。3. 启动重新定义过程。4. 复制相关对象。(该操作将对临时表自动创建所有触发器、索引、授权和约束条件。)5. 查询DBA_REDEFINITION_ERRORS 视图,检查是否有错误。6. 同步临时表(可选)。7. 完成重新定义。8. 删除临时表。手动联机重组的基本步骤使用的命令和过程有原创 2012-11-12 19:26:30 · 795 阅读 · 0 评论 -
To add a multiplexed copy of the…
To add a multiplexed copy of the current control file or torename a control file:Shut down the database.Copy an existing control file to a new location, using operatingsystem commands.Edit原创 2012-11-12 19:26:32 · 548 阅读 · 0 评论 -
orainstroot.sh 脚本
可以查看$ORACLE_BASE/oraInventory/orainstRoot.sh脚本的内容。该脚本实际上完成了以下工作:(1)创建 software inventory location pointer file:/etc/oraInst.loc,内容为inventory_loc=$ORACLE_BASE/oraInventoryinst_group=oinstall 修改该原创 2012-11-12 19:26:48 · 846 阅读 · 0 评论 -
temp 表空间临时文件丢失处理
通过在 TEMP 表空间中创建一个新的临时文件并删除丢失的文件,从临时文件丢失错误中恢复。新的临时文件的大小应该为 25 MB,并且应该可以扩展到 100 MB大小。然后,请按照步骤 3 中的说明,再次尝试查看初始化参数。a. 以 SYS 用户身份登录 SQL*Plus。$ sqlplus / as sysdbab. 在 TEMP 表空间中创建新的临时文件,并将其命名为‘u原创 2012-11-12 19:26:57 · 689 阅读 · 0 评论 -
OracleRAC系列培训
很不错的oracle视频资料,很全很多,而且讲得很不错 ,强烈推荐 ~~~最全小布老师所有视频推荐--oracle视频资料库King作品:Oracle RAC系列培训 共七集 完http://www.boobooke.com/bbs/thread-11470-1-2.htmlRAC, Oracle, King,作品,培训King作品:OracleRAC系列培训 共七集 完K原创 2012-11-12 19:27:18 · 775 阅读 · 0 评论 -
环境变量设置问题导致的command no…
problem :[oracle@rac1 database]$ crs_stat -t-bash: crs_stat: command not found解决方案:crs_home环境变量配置下export path = $CRS_HOME/bin有一种可能是你在你的环境变量里没加上命令执行的路径,你到你的CRS安装目录下的BIN目录下执行一下试试原创 2012-11-12 19:32:40 · 740 阅读 · 0 评论