Linux物理网卡bonding
Linux服务器上一般有多个NIC网卡,Linux系统提供一种技术,可以将多个网卡bonding成一个逻辑bonded的网卡,统一提供服务。(Linux bonding- involves bonding two or more physicalnetwork interface cards into a single logical “bonded” interface,下文用“虚拟网卡”这个词来代替),这样做可以为高可用...
简单回顾下过去这一年的工作
大约1年前下载了Oracle Core Essential Internals for DBAs and Developers这本书的电子文档,浏览了书中内容,感觉很深奥,同时听从了一些前辈的建议,初学者不要去看这些高深的内容,就买了Thomas kyte的那本经典教材,结合E文原版一起作为入门管理的书籍。由于之前工作的主...
What You Need to Know (文档 ID 1053147.1)
关于oracle 11g r2 grid & clusterware的基础知识,关键是文中的两个图片,一目了然,将文章转载到此。11gR2 Clusterware Key Facts11gR2 Clusterware is required to be up and running prior to installing a 11gR2 Real Application Clusters database.The GRID home consists of the Oracle Clus...
SCAN 核心概念
SCAN核心概念--来自文档 Grid Infrastructure Single Client Access Name (SCAN) Explained (文档 ID 887522.1)SCAN ConceptsSingle client access name (SCAN) is the virtual hostname to provide for all clients connecting to the cluster (as opposed to the vip hostnames in 10g and 11gR1). &nbs...
INS-20802 & SCAN
team马上要接一个新项目,需要用到rac高可用技术,这些先熟悉下基本知识。SCAN 解析在/etc/hosts 或者由DNS /GNS完成, 在安装GRID的时候,会出现INS-20802, MOS文档给出了详细的分析结果和解决方法。runInstaller (OUI) reports INS-20802 while running Oracle Cluster Verification Utility post check after succ...
linux的bond技术
Linux网口绑定通过网口绑定(bond)技术,可以很容易实现网口冗余,负载均衡,从而达到高可用高可靠的目的。前提约定:2个物理网口分别是:eth0,eth1绑定后的虚拟口是:bond0服务器IP是:192.168.0.100第一步,配置设定文件:/etc/sysconfig/network-scripts/ifcfg-bond0DEVICE=bond0BO...
Oracle11g 搭建单实例DataGuard
环境:主备库都为单实例并且数据库SID相同OS:red hat 6.5Oracle:11.2.0.4.3主库操作1. 开启归档模式 创建归档目录[root@enn ~]# mkdir -p /u01/archivelog[root@enn ~]# chown -R oracle:oinstall/u01/archivelog[root@enn ~]# chmod 777 /u01/archivelog...
How to Move a Database Using Transportable Tablespaces (文档 ID 1493809.1)
In this DocumentGoalFix How to move a database using transportable tablespaces: Assumptions: Metadata residing i...
AIX存储、LVM与文件系统(一)
AIX存储、LVM与文件系统(一)1.AIX逻辑卷存储的基本要素:物理卷PV、卷组VG、物理分区PP、逻辑分区LP、逻辑卷LV,他们之间的关系是如何维持,怎么在2个100G的硬盘的基础上建立一个容量为150G的文件系统2.数据库中有数据字典来存储有关数据库本身元素的数据,metadata,同样,有关PV、VG,LV等结构的信息存储在哪里?...
Role of Public,Private,Virtual, and SCAN IPs
引用那个Burleson的文章部分内容,简单概括下:Public IP: The public IP address is for the server. This is the same as any server IP address, a unique address with exists in /etc/hosts. public IP:client通过这个ip访问数据库服务器,也就是数据库服务器所在的服务器.Private...
AIX存储管理基本概念和操作(一)
AIX存储管理的基本概念包括(不限于)1.磁盘或者硬盘如何查看系统已有的磁盘及相关属性2.物理卷(Physical Volume,PV)物理卷和磁盘/硬盘有何关联,列出系统已有PV及相关属性,添加/删除/维护PV属性3.卷组(Volume Group,VG)VG的创建,删除,扩容,维护和导入导出迁移,查看相关属性4.物理分区(Physical Parttion,PP)...
逻辑卷管理---LVM2
逻辑卷管理(LVM)指系统将物理卷管理抽象到更高的层次,常常会形成更简单的管理模式。通过使用 LVM,所有物理磁盘和分区,无论它们的大小和分布方式如何,都被抽象为单一存储(single storage)源。例如,在图 1 所示的物理到逻辑映射布局中,最大的磁盘是 80GB 的,那么用户如何创建更大(比如 150GB)的文件系统呢?...
Apply PSU for Grid Infrastructure Standalone and DB with Oracle Restart
老外写的一个方案,很详细的。Patch 11gR2 Grid Infrastructure Standalone (Oracle Restart) (Doc ID 1089476.1)Oracle Grid Infrastructure Patch Set Update 11.2.0.3.7 (Includes Database PSU 11.2.0.3.7) - 16742216Upgrade OPatch:[oracle@san PSU]$ unzip -o -qq p6880880_112000_Linux-x86-64.zip...
虚拟列----virtual columns
Virtual Columns in Oracle Database 11g Release 1When queried, virtual columns appear to be normal table columns, but their values are derived rather than being stored on disc. The syntax for defining a virtual column is listed below.column_name [datatype] [GENERATED ALWAYS] AS (expression...
搞懂buffer cache
虽然随着Oracle版本的推进,内存管理变的不在那么复杂,9i的PGA自动管理(pga_aggregate_target),10g的SGA自动管理(sga_target),到11g把PGA和SGA都纳入自动管理的范畴(memory_target),但是Oracle内存的内部运行机制很值得去探索,能够清晰的认识Oracle每个操作...
Linux系统上安装MySQL 5.5prm
Linux系统上安装MySQL 5.5prm1.准备工作从MySQL官网上分别下载mysql服务器端于客户端包。如:MySQL-server-5.5.15-1.linux2.6.x86_64.rpm和MySQL-client-5.5.15-1.linux2.6.x86_64.rpm并放到/opt目录下2.检测系统是否安装MySQL(1)进入系统后,检测是否安装mysql.如:检测是否安装Mysql输...
记录下 patch Grid Infrastructure for Standalone
以下内容根据今天下午给GI standalone打补丁记录整理而成,参考对应的 readme 文件#### latest patch p18706472_112040_Linux-x86-64.zip## OS RedHat 6.4 64## DB 11.2.0.4.0 Single instance owner user oracle ## ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_home## GI 1...
ASM key concepts
The following points describe key concepts of ASM; for more information refer to the resources at the end of this note. ASM exists to manage file storage for the RDBMSASM does NOT perform I/O on behalf of the RDBMSI/O is performed by the RDBMS processes as it doe...
几个SQL 日期处理函数
ADD_MONTHS(d,n) --时间点d再加上n个月 ----for example select sysdate, add_months(sysdate,2) aa from dual; SYSDATE AA ---------- ---------- 21-SEP-07 21-NOV-07 &nbs...
interval year to month & INTERVAL DAY TO SECOND
INTERVAL 'integer [- integer]' {YEAR | MONTH} [(precision)][TO {YEAR | MONTH}]该数据类型常用来表示一段时间差, 注意时间差只精确到年和月. precision为年或月的精确域, 有效范围是0到9, 默认值为2.eg:INTERVAL '123-2' YEAR(3) TO MONTH 表示: 123年2个月, "YEAR(3)" 表示年的精度为3, 可见"123"刚...