[重庆思庄每日技术分享]-oracle ins,INS-32027 during Oracle 12 upgrade
This is due to theOracle12C installation not done by local ID "ORACLE" as mentioned in Oracle 12C upgrade guide (Based on Windows Server)Item 3.1 from the upgrade guide mentioned to create O
[重庆思庄每日技术分享]-ORA-38775: cannot disable recovery area 异常处理
取消快速恢复区报错ORA-38775,如下:SQL> show parameter db_recovery_file_destNAME
GI安装完成后mount磁盘组一个节点报错ora-15032 ora-15017 ora-15040
在GI安装完成后查看集群状态时发现,磁盘组状态不对ora.ASMNET1LSNR_ASM.lsnr(ora.asmgroup)1 ONLINE ONLINE rac1 &nbs
[重庆思庄每日技术分享]-11G 打补丁遇到:unable to get oracle owner for
/u01/app/11.2.0/grid/OPatch/opatch auto /tmp/27475913 -ocmrf /home/grid/ocm.rspExecuting/u01/app/11.2.0/grid/perl/bin/perl/u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /tmp -patchn27475913 -
[重庆思庄每日技术分享]-数据库报 ORA-00020错误且sys用户无法正常登录
数据库内连接会话超过参数配置,导致报错ORA-00020:maximum number of processes (500) exceeded同时sys用户无法正常登录[oracle@xiaowu ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Wed Oct 23 10:48:12 2013Copyright (
[重庆思庄每日技术分享]-在为表添加了列后执行ALTER TABLE SHRINK SPACE 提示ORA-8102
APPLIES TO:Oracle Database - Standard Edition - Version 12.1.0.1 to 19.7.0.0.0 [Release 12.1 to 19]Information in this document applies to any platform.SYMPTOMSALTER TABLE SHRINK SPACE command returns
DataPump Export (EXPDP) Fails With Error LPX-216 Invalid Character
DataPump Export (EXPDP) Fails With Error LPX-216 Invalid Character (Doc ID 1302916.1)In this DocumentSymptomsCauseSolutionReferencesAPPLIES TO:Oracle Database - Enterprise Edition - Version 10.2.0.4 a
[重庆思庄每日技术分享]-psu报错“CheckActiveFilesAndExecutables” failed
在打补丁时出现报错:Verifying environment and performing prerequisite checks...Prerequisite check "CheckActiveFilesAndExecutables" failed.The details are:Following executables are active :/oracle/app/
[重庆思庄每日技术分享]-expdp导数据时评估导出文件大小
使用expdp导出命令时,通常需要评估导出文件的大小来作为空间是否足够的依据,特别是在做全库导出的场景中。设置参数estimate_only=y|n 来指定是否仅做评估而不导数据设置参数estimate=statistic 根据最近统计值估算对象占用空间测试过程如下:[oracle@hisdb1:/home/oracle]$ expdp \'/ as sysdba\' full=y
[重庆思庄每日技术分享]-EXPDP报输入密码,而且报 ora-31626,ora-ora-31638,ora-39077
[oracle@easdb2 ~]$ expdp \'/ as sysdba\' directory=OABAK dumpfile=oabak.dmp full=yExport: Release 19.0.0.0.0 - Production on Wed Feb 23 14:07:40 2022Version 19.13.0.0.0Copyright (c) 1982, 2021
[重庆思庄每日技术分享]-local_listener导致登录异常
local_listener导致登录异常 ------------------------------------------------------------------------------------------- DB:12.1.0.2 OS:Windows 64bit 现象如下: SQL> startup nomount; ORA-00119: invalid specific
[重庆思庄每日技术分享]-执行DROP USER ... CASCADE操作删除很慢
在删除用户及其对象时使用命令:drop user XXX cascade;操作执行很慢,要删除很久原因是:如果目标用户有太多表等对象的话,执行可能会非常慢。作为临时处理方法可以先删除目标用户Schema中的所有对象,然后删除用户。1.通过如下SQL列出目标用户所有对象的删除语句脚本(drop.sql)SQL> set pages 0SQL> spool drop.sqlSQL>
[重庆思庄每日技术分享]-备库开启日志应用出现ORA-00331报错
主库版本为11.2.0.1升级到的11.2.0.4,备库版本为新安装的11.2.0.4备库活动复制完成后,开启日志应用时,出现报错:ORA-00331: log version 1 incompatible with ORACLE version 1ORA-00312: online log 1 thread 1: '+DATA/test/onlinelog/group_1.257.720
[重庆思庄每日技术分享]-由于备库闪回区过小导致的备库无法实时应用日志
在搭建好备库之后,发现开启实时应用后却同步存在延迟查看备库alter日志发现能够接收主库日志并应用,但是并不是实时的检查备库备用日志状态,发现全是unassigned状态:select group#,status from v$standby_log;group# status--------- ------------4 &n
[重庆思庄每日技术分享]-报警日志中不停出现ORA-21780
Receiving ORA-21780 Continuously in the Alert Log and SMON Trace Reports "Drop transient type". (Doc ID 1081950.1)In this DocumentSymptomsCauseSolutionReferencesAPPLIES TO:Oracle Database Cl
[重庆思庄每日技术分享]-如何禁止普通用户使用crontab 命令?
操作系统限定为rhel7以上版本。有些时候,我们不希望操作系统上普通用户去创建crontab计划任务,统一由ROOT用户创建,那么怎么禁止普通用户,比如 oracle用户调用crontab 命令呢 ?修改 /etc/cron.deny,或者修改/etc/cron.allow加上对应得用户即可如果只是允许root,就在 /etc/cron.allow 中,加一行root即可。
[重庆思庄每日技术分享]-ORACLE19c删除EM配置信息的脚本
执行一下脚本即可。ORACLE_HOME/rdbms/admin/emremove.sql有些时候,我们升级到19C后,发现大量的 SYSMAN用户的PLSQL对象无效,可以使用这个脚本把他删除。
[重庆思庄每日技术分享]-重建 oracle Bootstrap Indexes
How to Create/Rebuild Bootstrap Indexes (文档 ID 1587581.1)SymptomsThe Following Indexes are Missing after Upgrade from 10gR2 to 11gR2:SYS.I_OBJ1SYS.I_OBJ2SYS.I_OBJ3SYS.I_OBJ4SYS.I_OBJ5SYS.I_USER1SYS.I_
[重庆思庄每日技术分享]-监听的静默配置安装
在配置监听时,可以选择使用静默配置方式 在解压出来的安装包下,有可以使用的静默安装配置文件 在/database/response目录下,存在配置文件netca.rsp 通过使用netca.rsp可以实现监听的静默配置 命令为:netca -silent -responsefile /home/oracle/database/response/netca.rsp 正在对命令行参数进行语法解析: 参
[重庆思庄每日技术分享]-使用RMAN活动复制数据库时出现报错Ora-19625
在通过RMAN活动复制数据库时,出现这样的报错:RMAN-03002: failure of Duplicate Db command at 05/23/2021 14:54:54RMAN-03015: error occurred in stored script Memory ScriptORA-19625: error identifying file //system01.dbfORA-2