Scripts--Show Sessions with bad Buffer Cache Hit Ratio in %
在Oracle DB中我們可以通過下面的sql來查看各session的buffer cache hit ratio,當然hit ratio越低我們就要根據實際session在執行的動作做分析。select substr(a.username, 1, 12) "User",a.sid "sid",a.SERIAL#,a.PR...
Tips--因EXP和DB component的版本不一致而exp出错
在一台用于恢复测试的服务器上对一个刚恢复完的DB做结构的export备份。以备不时之需。写好一个parfile后做exp出现ORA-924的错,看到它很熟悉,就是因为exp的版本和DB数据字典中的版本不一致所致的。确认一下我的想法...
10G--install 10g on rhas4.0(zt)
In this article I'll describe the installation of Oracle Database 10g (10.1.0.2) on RedHat Advanced Server 4.0. The article assumes you've performed the standard advanced server installation including...
Tips--记一个关于RAC的link
记一个关于RAC的link包括9i&10ghttp://www.dizwell.com/oracle/articles/laptop_rac.html
ERR--今天的生產系統的ap上一直會有ora-12502的error!
今天剛到公司,例行檢查各台server的狀況。當看到ap server時,發現有好多的session出錯,都是ora 12502的error查看了DB上的listener 的狀態都為正常,tnsnames.ora也沒有人改( 還是做了checke),再listener.log的內...
RNAM--常用的change命令列表
在rman中change命令允許 用戶修改備份的狀態,如果某備份當前為不可用,則在還原和恢復時不會被考慮的1. list backup of database;2. change backupset 2 keep forever logs; --備份集2不受冗余策...
How do I move a LONG column from one table to another(zt)
from http://asktom.oracle.com/~tkyte/Misc/MoveLongs.htmlMoving LONGS AroundThe question "How do I move a LONG column from one table to another" comes up from time to time. The following shows ho...
RMAN--how to register & unregister DB in RMAN
當然我們應用catalog來做rman的備份與恢復時就要求我們先要在catalog的DB中注冊我們的目標DB來完成目標DB的控制文件與catalog的同步。如果我們想取消注冊某個目標DB要如何來做呢。。我們來看一個例子。。C:Documents...
Tips--These links about Bulk Binds and Record Processing
記錄几個關于bluk binds的連結http://www.oracle-base.com/articles/9i/BulkBindsAndRecordProcessing9i.phphttp://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adg10pck.htm#37506http://downlo...
Oracle Object Privileges Version 10.1(zt)
General Information Note: While the data dictionary objects are named tab, as in table, the privileges that can be granted and revoked extend to other object types including functions, packages, and p...
10G--在10G中取得當前SCN的几種方法
收集在不同的Oracle版本中取得當前SCN的方法:8i前select max(ktuxescnw * power(2, 32) + ktuxescnb) from x$ktuxe;9iselect max(ktuxescnw * power(2, 32) + ktuxescnb) from x$ktuxe;select dbms_flashback.get_s...
EXP-IMP--在8i中的中文说明
认识8i中exp ,imp中每个参数的中文意思。C:Documents and SettingsAdministrator>exp help=yExport: Release 8.1.7.0.0 - Production on 星期日 3月 20 07:22:48 2005(c) Copyright 2000 Oracle Corporation. ...
SQL--如何取得Oracle中所有事件的列表
在Oracle我们可以通过对事件的跟踪来取得我们分析各种异常有用的信息,可以通过下面的这个代码取得所有的Oracle事件Listing All EventsSQL参考:http://julian.dyke.users.btopenworld.com/Oracle/Diagnostics/Event...
Linux--Check Kernel Parameters For Oracle install on Linux
For Oracle, the following kernel parameters have to be set to values greater than or equal to the recommended values which can be changed in the proc filesystem:Needed Chec...
Oracle9i New Features(zt學習大綱)
Study Brief: Oracle9i New Featuresby Michael Ritacco, Oraclenotes.com Version 1.3Oracle Server SecurityCONNECT INTERNAL has been discontinued and is no longer available as a DBA access method.Server M...
BAK--EXP.IMP.小记
在做exp and imp时我们都想提高它的性能,可以这性能的提高也是有硬件条件的前题下才是可行的。我们可以从下面几点入手来做EXPORT: 增加 BUFFER (如 2800000) &n...
PERF--帖一些影響成本的init參數
下面這些參數對成本的計算會有影響: ALWAYS_ANTI_JOIN B_TREE_BITMAP_PLANS COMPLEX_VIEW_MERGING DB_FILE_MULTIBLOCK_READ_COUNT FAST_FULL_SCAN_ENABLED HASH_AREA_SIZE HASH_JOIN_ENABLED HASH_MULTIBLOC...
UMAN-- 關于 using backup controlfile(ZT)
using backup control file 一发出,不管是不是当前的控制文件,oracle一开始就认为你是要做不完全恢复,即使你apply了最新的log。 所以要求你resetlogs实际上,即使你apply了最新的log,...
10gR2--ASMCMD的官方参考手册
http://www.itpub.net/422197.html
Tips--对V$log这个view中status列常见值的中文说明
对V$log这个view中status列常见值的中文说明SQL> SELECT group#, sequence#, bytes, members, status FROM v$log;对STATUS 列的常见值的说明如下:• UNUSED:表示从未对联机重做日志文件组进行写入。这是刚添...