LogMiner相关知识(摘自网络)
摘自网络
参数未配置正确导致访问tempfile表空间错误(ORA-01110: data file)
又是一则关于db_covert参数未配置正确导致tempfile表空间错误将主备DG配置好后,主备互切的后在切后的主库上导出数据出现以下问题:[oracle@OLEDB-ST1 export]$ expdp netdata/netdata directory=bak dumpfile=netdata.dmp logfile=netdata.log schemas=netdataExport: Release 11.2.0.4.0 - Production on Wed Jun 24 ...
Datagurad ORA-01111错误解决
在DBRA测试创建数据文件中遇到问题。在生产库创建了一个数据文件,备库应用相关日志时因为权限问题出错:Media recovery opens logfile: Thread: 1 Sequence: 206 Logfile name: /Tbackup/rac/archlog/1_206_750807335.dbfWARNING: File being created with same name as in PrimaryExisting file may ...
关于DG配置备库无法Real-Time Apply,无法实时查询的一个案例
好久没折腾过DG今天重新做一遍感觉问题百出。总结了一些错误检查Alert日志Destination LOG_ARCHIVE_DEST_2 is SYNCHRONIZED******************************************************************LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2************************************************...
oracle 利用flashback将备库激活为read wirte(10g 及上)
oracle 利用flashback将备库激活为read wirte(10g 及上)环境:OS: CENTOS 6.5 X64DB: ORACLE 10.2.0.5主库操作:SQL> alter system switch logfile;System altered.SQL>备库操作取消归档应用SQL> alter database recover managed standby database cancel;Database altered.SQL>创建还原点SQL> cr...
利用 Data Recovery Advisor诊断并修复失败ORA-01110
Diagnosing and Repairing Failures with Data Recovery AdvisorThe simplest way to diagnose and repair database problems is to use the Data Recovery Advisor. This Oracle Database tool provides an infrastructure for diagnosing persistent data failures, presenting repair options to the user, and automa...
RMAN修复无效的数据块(ORA-01578)
Recovering Individual Data BlocksRMAN can recover individual corrupted datafile blocks. When RMAN performs a complete scan of a file for a backup, any corrupted blocks are listed in V$DATABASE_BLOCK_CORRUPTION. Corruption is usually reported in alert logs, trace files, or results of SQL queries....
XtraBackup在线进行MySQL的主从部署一
【前言】MySQL的主从部署的方法有很多种,最常见的方法就是用mysqldump的方式进行,众所周知mysqldump方式构建主从的方法有两个很大的缺点: 1、主库需要锁表,这就意味着这期间主库不能做修改的操作(在做导出的时候需要停止相关的接口和应用,对于一些小公司可能没影响,但如果是电商平台,就是相当于停止服务; 2、当数...
将FileSystem转换为ASM存储
[grid@OLEASM1 ~]$ sqlplus / as sysasmSQL*Plus: Release 11.2.0.4.0 Production on Thu Jun 18 02:42:27 2015Copyright (c) 1982, 2013, Oracle. All rights reserved.Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit ProductionWith the Automatic Storage Management ...
Rman 单实例filesystem(Windows)恢复到ASM环境(Linux)
一.使用RMAN convert将Oracle 从Windows(windows server 2008 R2)迁移到Linux(OLE 6.5)官方文档关于RMAN CONVERT 解释(http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmxplat.htm#BRADV89986)Database ConversionTo convert a whole database to a different platform, both platforms must use the s...
浅谈 Redis 与 MySQL 的耦合性以及利用管道完成 MySQL 到 Redis 的高效迁移
㈠ Redis 与 MySQL 的耦合性 在业务架构早期、我们便该"吃着碗里的看着锅里的"、切莫让MySQL 有梦、而Redis 无心 毕竟、有些关系型的结构不适合放到Redis跑、"男女搭配、干活不累"嘛、推荐让MySQL与Redis喜结连理 其次、这 2 人、一般是在不同场景做选择、而不会在性能上选择、 &
关于添加新硬盘报错
给 VMWare EXSi 添加新磁盘时报错 : Call "HostStorageSystem.ComputeDiskPartitionInfo" for object "storageSystem" on ESXi "xxx.xxx.xxx.xxx" failed.是因为之前硬盘分区删除分区信息错误信息,这个位置标示磁盘信息~ # esxcfg-scsidevs -lmpx.vmhba2:C0:T0:L0 Device Type...
LOG_FILE_NAME_CONVERT解惑
摘自官方文档LOG_FILE_NAME_CONVERTPropertyDescriptionParameter typeStringSyntaxLOG_FILE_NAME_CONVERT = 'string1' , 'string2' , 'string3' , 'string4' , ...Where:...
lvm增加分区容量
增加硬盘略硬盘分区[root@ora10g-1 ~]# fdisk /dev/sdaWARNING: DOS-compatible mode is deprecated. It's strongly recommended to???????? switch off the mode (command 'c') and change display units to???????? sec...
10.2.0.1安装并升级到10.2.0.5
10.2.0.1->10.2.0.5->EM补丁->创建实例->修复EM中文乱码问题1.安装cenots 6.5 注意磁盘规划 内存大小建议1G以上swap设置RAM Swap SpaceUp to 512 MB 2 times the size of RAMBetween 1024 MB and 2048 MB 1.5 times the size of RAMBetween 2049 MB and...
MegaCli管理磁盘阵列
1.环境介绍。[root@hisdb02 MegaCli]# dmidecode -s system-product-nameSystem x3850 X5 -[71437Y5]-服务器是IBM x3850 X5。[root@hisdb02 MegaCli]# lspci | grep RAID09:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] (rev 03)[root@hisdb02 MegaCli]# dm...
查询命令对应的RPM包
[root@oracle10g-dg2-213-101 ~]# whereis ifconfigifconfig: /sbin/ifconfig /usr/share/man/man8/ifconfig.8.gz[root@oracle10g-dg2-213-101 ~]# rpm -qf /sbin/ifconfignet-tools-1.60-110.el6_2.x86_64[root@oracle10g-dg2-213-101 ~]# whereis sarsar: /usr/bin/sar /usr/share/man/man1/sar.1.gz[root@oracle1...
lvm增加分区容量
增加硬盘略硬盘分区[root@ora10g-1 ~]# fdisk /dev/sdaWARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sec...
利用FGA审计
增加FGAbegindbms_fga.add_policy(object_schema => 'hr',object_name => 'test',audit_column => 'name',policy_name => 't1_audit', statement_types => 'update');end; 删除FGAbegin DBMS_FGA.DROP_POLICY(object_schema => 'hr',  ...
监控表空间
create table bk_tablespacemon(id int primary key,insert_time date,TABLESPACE_NAME varchar2(50),DATAFILE_COUNT float,SIZE_GB float,FREE_GB float,USED_GB float,MAXFREE float,PCT_USED float,PCT_FREE float)create sequence seq_bk_tablespacemon_idminvalue 1maxvalue 999999999999999999999999...