自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(31)
  • 资源 (1)
  • 收藏
  • 关注

转载 共享池的SUB POOL技术以及ORA-0301

http://www.oraclefans.cn/blog/showblog.jsp?rootid=38451

2012-03-04 14:08:10 602

转载 RAC之LMS的来世今生

http://www.eygle.com/archives/2008/06/oracle_lms_process.html

2012-02-29 21:46:03 462

原创 活学或用 index_stats

select what,height,lf_blks,br_blks,btree_space,opt_cmpr_count,opt_cmpr_pctsave from idx_stat;

2012-02-29 13:16:41 736

原创 惊人发现了一个移动表的超级方法 move table

move table 比 exp/imp 和 create table xxx as select * from x;1、Privileges and constraints to be kept2、The table strcture to be changed3、Movement to another tablespace4、The command to be parallel

2012-02-29 09:10:29 1711 2

原创 oracle read rewrite 功能概述

alter session set query_rewrite_enabled = true;alter session set query_rewrite_integrity = enforced;createcreate materialized view my_all_objects_aggsbuild immediaterefresh on commitenable

2012-02-21 21:28:21 715 2

转载 shared pool的优化

点击打开链接

2012-02-12 19:54:11 389

原创 ORA-04031: unable to allocate 4096 bytes of shared memory

解决方案一、alter system flush shared_pool解决方案二、1、首先看shared_pool的两个参数设置SQL> show parameter shared_pool;NAME                                 TYPE        VALUE------------------------------------ --

2012-02-12 17:37:30 4727

原创 LOCK管理 v$session v$transaction v$lock

SQL> select sid,serial#,username from v$session;       SID    SERIAL# USERNAME---------- ---------- ------------------------------        13      15682 DLSCDB        18      24454 DLSCDB

2012-02-11 20:54:26 3111

原创 Tuning the Operating System 之二

将SGA锁入内存,减少因为换页引发的性能瓶颈 SQL> show parameter lock_sga;NAME                                 TYPE------------------------------------ --------------------------------VALUE-----------------------

2012-02-11 15:43:55 465

原创 Tuning the Operating System

NL-GLSJ01:~ # vmstatprocs -----------memory---------- ---swap-- -----io---- -system-- -----cpu------ r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st 0  0  66796 3

2012-02-09 21:02:00 568 2

原创 python中的汉语乱码问题完美解决方案

脚本中添加如下,可以防止乱码[root@aaa-brm1 aaa]# more monitor_smap_50003.py #-*- coding: gb2312 -*- linux平台下设置环境变量,即可防止vi出现乱码export   LC_ALL="zh_CN.GB2312"

2012-02-08 12:37:05 732

原创 oracle11g Real Time SQL Monitoring

两种方法监控SQL执行情况1、v$session_longops记录某个操作执行时间超过6秒2、v$SQL_MONITOR或者package DBMS_MONITOR来主动对SQL执行监控部署  该功能具备三个条件即可A) SQL> show parameter statistics_levelNAME

2012-01-28 23:41:59 495

原创 v$event_histogram柱状图分析

select event,wait_time_milli,wait_count from v$event_histogramwhere event = 'latch: shared pool'; SQL> /EVENT                     WAIT_TIME_MILLI WAIT_COUNT------------------------- --------

2012-01-28 23:06:33 1018

原创 oracle用户解锁

alter user scott account unlock;

2012-01-28 21:40:17 365

原创 SQL语句格式化时间字段

SQL> alter session set nls_date_format = 'yyyy-mm-dd hh24:mi:ss';Session altered.SQL> /Session altered.SQL> select sid,username,sql_exec_start,sql_exec_id from v$session where sql_exec_id is n

2012-01-28 21:17:08 2127

原创 等待事件之查询方法 v$system_wait_class

select * from v$system_wait_class order by time_waitedWAIT_CLASS_ID WAIT_CLASS# WAIT_CLASS                                                       TOTAL_WAITS TIME_WAITED TOTAL_WAITS_FG TIME_WAITED_

2012-01-28 20:59:34 2243

原创 查看系统端口占用情况

root用户下执行命令 lsof -i :1521

2012-01-28 20:14:28 360

原创 linux 扩充SWAP空间

一、创建PV[root@rac1 ~]# pvcreate /dev/sda3  Physical volume "/dev/sda3" successfully created二、扩成VG[root@rac1 ~]# vgextend VolGroup00 /dev/sda3  /dev/hdc: open failed: Read-only file system  /

2012-01-28 00:18:35 962

转载 dd命令

http://linux.chinaunix.net/doc/system/2005-02-03/1086.shtml dd if = /dev/zero of = /dev/raw/raw1 bs = 1024 count = 102400

2012-01-27 20:21:07 332

原创 linux也可以这样查看IP信息

[root@rac1 ~]# ip ad sh1: lo: mtu 16436 qdisc noqueue     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00    inet 127.0.0.1/8 scope host lo    inet6 ::1/128 scope host        valid_lf

2012-01-27 18:39:31 578

原创 RAC维护工具集 oifcfg getif

root@SHYQ-PS-MV-SV03-CDMPDB1:/#oifcfg getif -globalen0  172.16.14.0  global  publicen3  1.1.14.0  global  cluster_interconnectroot@SHYQ-PS-MV-SV03-CDMPDB1:/# 这个命令在11g中似乎变样了root@SHYQ-PS-M

2012-01-27 18:21:10 1278

原创 RAC学习笔记(RAC维护工具集) olsnodes -p -i 命令不好用

olsnodes -p -i 命令不好用

2012-01-27 17:48:39 894

转载 修改Linux默认启动级别或模式

在Linux中有7种启动级别,默认是X-Window,像是Windows的窗口模式,而Linux的操作和配置一般我们都采用输入命令的方式来完成,像DOS操作系统一样,如何让Linux一启动就进入这种模式呢?    以管理员身份进入Linux,修改文件:/etc/inittab文件    找到“id:5:initdefault:”,其中的5就是X-Window,为默认运行级别,一般我们把5改

2012-01-26 16:40:53 312

转载 Oracle Database 11g Release 2 RAC On Linux Using VirtualBox

http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVirtualBox.php

2012-01-25 22:41:08 530

原创 Oracle Database 11g Release 2 RAC On Linux Using VMware Server 2

http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVMwareServer2.php

2012-01-25 22:40:17 418

转载 Using the Oracle ASM Cluster File System (Oracle ACFS) on Linux

http://www.rampant-books.com/t_hunter_using_oracle_acfs_on_linux_part1.htm

2012-01-25 17:48:37 373

原创 CentOS5.5使用yum和光盘安装软件

一、将光盘挂载到/media/cdrom目录下1、操作前的输出如下:[root@rac1 CentOS]# df -hFilesystem            Size  Used Avail Use% Mounted on/dev/sda2             3.8G  3.0G  655M  83% //dev/sda5             4.9G  1.

2012-01-25 16:59:23 2056 1

原创 ASMLIB下载链接

http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html

2012-01-24 23:47:26 949

原创 Linux RedHat 修改主机名

临时修改只需要使用[root@yanyan ~]# hostname 新主机名查看主机名用[root@yanyan ~]# hostname如[root@yanyan ~]# hostname hui[root@yanyan ~]# hostnamehui 永久修改[root@yanyan ~]# vi /etc/sysconfig/network

2012-01-24 23:16:53 484

原创 VMware(VMware-server-installer-1.0.5-80187)模拟RAC使用的共享存储

在创建磁盘完毕后,修改VMWARE配置文件,添加如下两行数据,来修改磁盘属性disk.locking="FALSE"scsi1:1.shared = "TRUE"config.version = "8"virtualHW.version = "4"disk.locking="FALSE"scsi0.present = "TRUE"scsi0.virtua

2012-01-24 21:56:28 737

转载 11g新特性:X$DBGALERTEXT一个很酷的内部视图

http://www.oracledatabase12g.com/archives/11g%e6%96%b0%e7%89%b9%e6%80%a7xdbgalertext%e4%b8%80%e4%b8%aa%e5%be%88%e9%85%b7%e7%9a%84%e5%86%85%e9%83%a8%e8%a7%86%e5%9b%be.html

2012-01-08 13:19:33 418

查询表空间使用率的语句

查询表空间使用率的语句

2012-06-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除