2013年7月3日

查看表空间使用率及shrink 表空间

摘要: 首先,可以通过下面的sql statement来查看表空间的使用情况。注意,该语句是在10g下测试过。SELECT FREE.TABLESPACE_NAME, FREE.FREE_SPACE/TOTAL.TOTAL_SPACE FROM (select TABLESPACE_NAME,sum(bytes)/1024/1024 AS FREE_SPACE from dba_free_space group by TABLESPACE_NAME) FREE, (select TABLESPACE_NAME,sum(BYTES)/1024/1024 AS TOTAL_SPACE from dba_. 阅读全文

posted @ 2013-07-03 13:42 kramer 阅读(629) 评论(0) 推荐(0) 编辑

2013年7月2日

RAC fail over 测试

摘要: oracle rac 11gr2中提供了多种 failover方式,这里只测试 server side TAF. 也就是说在server端配置的failover。这种配置方式的好处就是,如果有什么改动可以在server端改动,不必去多个client端改。OK 实验步骤如下:首先,创建service[oracle@racnode1 ~]$ srvctl add service -d orcl -s my_service -r "orcl1" -a "orcl2" -P basic然后,启动service并查看状态。 可以看到service启动在了orcl1 阅读全文

posted @ 2013-07-02 17:21 kramer 阅读(329) 评论(0) 推荐(0) 编辑

2013年6月10日

qa

摘要: 1. Do you have virtual environment as lab? Labs with free access of vm can be very convince 阅读全文

posted @ 2013-06-10 09:15 kramer 阅读(142) 评论(0) 推荐(0) 编辑

2013年6月8日

ORA-01618: redo thread 2 is not enabled - cannot mount & ORA-1613 Error

摘要: Recently, I installed a new RAC database on a local enviroment. The oracle version is 11.0.2.3. Operating system is OEL 6. When I install, I put all the database files into only one ASM disk group called data. The redundency level is normal which means only about 1/2 of the total space can be used. 阅读全文

posted @ 2013-06-08 13:44 kramer 阅读(13922) 评论(0) 推荐(0) 编辑

2013年6月5日

Solrais LU PATCH

摘要: LU CREATEThis step is to create a new boot enviroment. It contains the following steps.detach mirrormodified detached root mirror so it can be a boot device if error happensprepare exclusive listhousekeep var, determine zone infor, shutdown zone if you canlucreatedetach mirrorUse metastat -a , metas 阅读全文

posted @ 2013-06-05 10:39 kramer 阅读(210) 评论(0) 推荐(0) 编辑

2013年6月4日

test check this three

摘要: Configuring Shared StorageConfiguring Files on an NAS Device for Use with Oracle ASMUsing ASMLib to Mark the Shared Disks as Candidate Disks 阅读全文

posted @ 2013-06-04 23:46 kramer 阅读(117) 评论(0) 推荐(0) 编辑

linux图形界面基本知识(X、X11、Xfree86、Xorg、GNOME、KDE之间的关系)(转自互联网)

摘要: LINUX初学者经常分不清楚linux和X之间,X和Xfree86之间,X和KDE,GNOME等之间是什么关系。常常混淆概念,本文以比较易于理解的方式来解释X,X11,XFREE,WM,KDE,GNOME等之间的关系。一、linux本身没有图形界面,linux现在的图形界面的实现只是linux下的应用程序实现的。图形界面并不是linux的一部分,linux只是一个基于命令行的操作系统,linux和Xfree的关系就相当于当年的DOS和 WINDOWS3.0一样,windows3.0不是独立的操作系统,它只是DOS的扩充,是DOS下的应用程序级别的系统,不是独立的操作系统,同样 XFree只是l 阅读全文

posted @ 2013-06-04 10:38 kramer 阅读(1410) 评论(1) 推荐(1) 编辑

2013年5月29日

ORA-12154: TNS:could not resolve the connect identifier specified

摘要: Hit a error while trying to connect one oracle database. Normally this should because the tnsname.ora not configured right. Firstly I can sure that the database and listener is working fine. Because there is client connecting to database. So it definitely the local tnsname configuration. So I check 阅读全文

posted @ 2013-05-29 10:53 kramer 阅读(784) 评论(0) 推荐(0) 编辑

2013年5月28日

ORA-00210 ORA-00202 ORA-27086

摘要: One oracle database crushed due to NFS issue. The database binary was mounted from another server A. So once the NFS was disconnected, the database was crushed. I tried to start it up today but hit below issue.SQL> startupORACLE instance started.Total System Global Area 2138521600 bytesFixed Size 阅读全文

posted @ 2013-05-28 18:39 kramer 阅读(2451) 评论(0) 推荐(0) 编辑

2013年5月24日

ORACLE RAC install plan and implementation

摘要: Configuration Insatallation Direcotries and Shared Storage.Oracle Inventory DirectoryDocuments(rac 2 day) says the oraInventory directory is created by OUI during installation. But based on what I remember, we need to create this directory beore run OUI. So need to test. ???????????????1. Run the fo 阅读全文

posted @ 2013-05-24 11:33 kramer 阅读(195) 评论(0) 推荐(0) 编辑

导航