海量数据迁移之误操作和防范建议
在生产环境的数据迁移中,发生误操作真是很不愿意看到,今天自己总结了一下,从个人的经验来看有以下的几种操作或者是失误导致的问题。有一些错误自己已经犯过。外键不管是使用imp/impdp,sqlldr还是使用Insert append的方式导入数据,如果存在外键的约束,在数据导入前最好都设置为disable,要不数据导入的时候很可能发生...
海量数据迁移之一个误操作的问题总结
在生产环境中的数据迁移还是很惊心动魄的,毕竟生产的数据不容许有任何潜在的问题,很小的问题也可能导致业务的终端,这个时候dba的角色是很重要的,如果dba犯了一个很细小的问题,在海量数据迁移中可能会导致灾难性的结果,所以今天和大家讨论一下关于由vi误操作导致的问题及总结。结合今天早上的例子来说明。目前生产环...
使用RAM将文件系统迁移到ASM
1,全备数据库PRODrun{allocate channel c1 device type disk;allocate channel c2 device type disk;backup tag 'SH_DB' as compressed backupset format ‘/home/oracle/full_%U.bak' databaseinclude current controlfile;backup tag 'SH_ARCH' archivelog al format ‘/home/oracle/arch_%U.bak’l;release cha...
【数据迁移】RMAN迁移数据库到ASM(二)切换数据文件到ASM
使用RMAN将文件系统中oracle 10g数据库文件迁移到ASM磁盘组。文章分为三个部分:一、创建ASM磁盘组 二、切换数据文件到ASM 三、迁移临时文件、online log等到ASM
【数据迁移】RMAN迁移数据库到ASM(一)创建ASM磁盘组
使用RMAN将文件系统中oracle 10g数据库文件迁移到ASM磁盘组。文章分为三个部分:一、创建ASM磁盘组 二、切换数据文件到ASM 三、迁移临时文件、online log等到ASM
【数据迁移】RMAN迁移数据库到ASM(三)迁移onlinelog等到ASM
使用RMAN将文件系统中oracle 10g数据库文件迁移到ASM磁盘组。文章分为三个部分:一、创建ASM磁盘组 二、切换数据文件到ASM 三、迁移临时文件、online log等到ASM
【kingsql分享】逻辑数据库结构 之 数据块
数据块:数据块是oracle数据库的存储基础,它由磁盘空间上的若干字节组成。 数据块是oracle数据库的最小逻辑部件。例如,可以定义oracle的数据块为2KB,4KB,8KB,16KB或32KB(甚至更大的块),通常称数据块为oracle块。驻留oracle块的存储磁盘分成若干磁盘快(disk&nbs...
ORACLE一句话问答(一)
Oracle一句话问答
ORACLE 一句话问答(二)
ORACLE 一句话问答系列
Oracle Performance Tuning 11g2 (3)
此篇文章作为性能调优概要介绍的最后一篇,是一定要读的。oracle写的非常的棒! 可能有人会说,在网上完全可能搜索到相关的翻译文章的,为什么还要自己再去翻译一下呢?我的理解是这样子的:别人已经学习过oracle了,为什么自己还要学?别人已经教了如何吃螃蟹的步骤,为什么自己还要去钻研?因此通过自己的深入学习,在这...
Oracle Performance Tuning 11g2 (4)
4 Configuring a Database for Performance This chapter contains an overview of the Oracle methodology for configuring a database for performance. Although performance modifications can be made to Oracle Database on an ongoing basis, significant benefits can be gained by proper initial confi...
Oracle Performance Tuning 11g2 (5)
5 Automatic Performance Statistics This chapter discusses the gathering of performance statistics. This chapter contains the following topics: 这章讨论收集性能统计数据。包含以下主题: Overview of Data Gathering 数据收集概要 Overview of the Automatic Workload Repository AWR简介 Managing t...
Oracle Performance Tuning 11g2 (5-1)
5.2 Overview of the Automatic Workload Repository AWR简介 The Automatic Workload Repository (AWR) collects, processes, and maintains performance statistics for problem detection and self-tuning purposes. This data is both in memory and stored in the database. The gathered data can be displayed in b...
Oracle Performance Tuning 11g2 (5-2)
5.3 Managing the Automatic Workload Repository This section describes how to manage the AWR and contains the following topics: 这节讨论怎样去管理AWR,包含以下主题: Managing Snapshots (先介绍...
Oracle Performance Tuning 11g2 (5-3)
5.3.7 Generating Automatic Workload Repository Compare Periods Reports While an AWR report shows AWR data between two snapshots (or two points in time), the AWR Compare Periods report shows the difference between two periods (or two AWR reports, which equates to four snapshots). Using...
Oracle Performance Tuning 11g2 (6-2)
下面是我的一个试验: 第一阶段是准备工作: 1. 创建一个用户 2. 查看一下系统启动和目前的时间,我用的是虚拟机,所以从10号就没关机,是从13:33:16开始启动的 3. 先创建一个表 4. 第一次插入数据后,有76166条记录 5. 不断的向里面插入数据,最后达到了1218656 * 2条数据,即有2437312数据。 6. 然后执行s...
Oracle Performance Tuning 11g2 (6)
6 Automatic Performance Diagnostics This chapter describes Oracle Database automatic features for performance diagnosing and tuning. 这章描述oracle自动性能诊断和调优特性(其实也就是ADDM了),包括如下几点: This chapter contains the following topics: Ove...
Oracle Performance Tuning 11g2 (7-1)
7 Configuring and Using Memory This chapter explains how to allocate memory to Oracle Database memory caches, and how to use those caches. Proper sizing and effective use of the Oracle Database memory caches greatly improves database performance. Oracle recommends using automatic memory...
Oracle Performance Tuning 11g2 (7-2)
7.2 Configuring and Using the Buffer Cache For many types of operations, Oracle Database uses the buffer cache to store blocks read from disk. Oracle Database bypasses the buffer cache for particular operations, such as sorting and parallel reads. For operations that use the buffer ca...
使用SQL来分析数据库参数(一)(r10笔记第68天)
对于10g,11g,12c中的参数变化有时候感觉就是使不上劲,因为参数好像很多,但是了解的又很少。隐含参数经常是碰到问题的时候关联思考发现有这么一个隐含参数,有些问题可能有意识还会主动去查查,如果恍惚一下就算了。如此一来,其实对于数据库参数而言我们很多人也还是一知半解。怎么得到去分析数据库参数的变化情况...