Oracle 11G PSU命名變化及Oracle 12.2.0.2開始以年度來命名版本
Oracle 11G PSU命名變化今天一個朋友說因Oracle 11.2.0.4 DB BUG需要裝PSU 11.2.0.4.171017,問我裝過有什麼問題沒很久沒有打PSU了,印象中Oracle PSU都是這樣:Database Patch Set Update : 11.2.0.4.5 (19769489)Database Patch Set Update : 11.2.0.4.6....查了下自述文 Patch 26392168 - Database Pat...
RAC实例名和主机名不对应?
另外,可以使用crsctl pin css -n rac1 固定節點當前編碼
Oracle cascading standby Parameters
Primary DatabaseDB_UNIQUE_NAME=boston FAL_SERVER=boston2 LOG_ARCHIVE_CONFIG='DG_CONFIG=(boston,boston2,denver)' LOG_ARCHIVE_DEST_1='LOCATION=USE_DB_RECOVERY_FILE_DESTVALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=boston' LOG_ARCHIVE_DEST_2='SERVICE=boston2 SYNCVALID_FOR...
Oracle ROWNUM
ROWNUM和ROWID一樣也是一個偽列,按ORACLE從buffer cache或data file中的順序開始計數的。 ROWNUM=1也就是讀到的第一條,當這條記錄被刪除ROWNUM將變為其它值。在謂詞中不允許使用ROWNUM=2,3。。。等(oracle是從rownum=1開始計數的,直接使用rownum=2不行) 如果非要取第2條可以用:S...
Oracle PL/SQL编译警告PLSQL_WARNINGS
前言:只要符合SQL和PL/SQL的語法語義,ORACLE就會成功的編譯過,不會提示任何信息 警告分類三種1. SEVERE:檢查可能出現的不可預料結果,例:參數的別名問題2. PERFORMANCE:性能問題,例:在insert時為NUMBER列提供了VARC...
Oracle PL/SQL中EXCEPTION用法
1.自定義EXCEPTION DECLARE past_due EXCEPTION; acct_num NUMBER := 2;BEGIN DECLARE ----------sub-block begins past_dueEXCEPTION; --this declaration prevails ...
COMMIT&ROLLBACK时要做哪些工作
COMMIT 提交频繁,花費的時間會上升。提交一千行和提交一行的時間相當 COMMIT前已經完成了99.9%的工作: *已在SGA中產生了回滾段記錄(UNDO) *已在SGA中產生了修改數據塊(數據高速緩存區) *已在SGA中產生了...
Oracle自治事务autonomous_transaction用法
自治事務執行某些工作(COMMIT,ROLLBACK)后不影響當前的外面執行的事務。范例1. 过程中的使用:非自治事務如下create or replace proceduresfis1.nonautonomous_insert_goalasbegin insert into t values('NONAUTONOMOUSINSERT','1','1'); ...
[SQL] rollup & cube 分组函数用法及一例
rollupFirst, itcalculates the standard aggregate values specified in the GROUP BY clause. Then, it creates progressivelyhigher-level subtotals, moving from right to left through the list of groupingcolumns. Finally, it creates a grand total.n+1次superaggregate combinationsselect gr...
Flush an Object Out The Library Cache [SGA] Using The DBMS_SHARED_POOL
修改时间 29-APR-2011 类型 HOWTO 状态 PUBLISHEDDBMS_SHARED_POOL.PURGE Is Not Working On 10.2.0.4 [ID 751876.1] ...
Objects Compiled With 'DEBUG' Option
How to Obtain List of Objects Compiled With 'DEBUG' Option in the Database [ID 231349.1]
DBMS_JOBS 连续失败16次自动Broken
Broken Jobs and the Job Queue [ID 103349.1]***Checked forrelevance on 11-Jul-2012*** NOTE:=====The discussedfunctionality is still available in Oracle 10g and Oracle 11g.However, withOracle 10gR1 the DBMS...
LISTAGG 函数
LISTAGG函數 Oracle 11.2之後推出的:字符串聚合字符串聚合就是按照分组把多行数据串联成一行,以下面的结果集为例:11.2之前有WMSYS.WM_CONCAT函數,不過是非文檔說明的 舉個列子 為實現,同一類不同行數據 在 一行中顯示出來,可以使用wmsys.wm_concat (a.FAILURE_DESC||'-'|| a...
Data Guard Support for Heterogeneous Primary and Physical Standbys
Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration [ID 413484.1]To BottomModified:08-Mar-2013Type:BULLETINStatus:PUBLISHEDPriority:1 PLATFORM_ID...
tmpfs devshm Oracle 11G
Automatic Memory ManagementStartingwith Oracle Database 11g, the Automatic Memory Management featurerequires more shared memory (/dev/shm)and file descriptors. The size of the sharedmemory must be at least the greater of the MEMORY_MAX_TARGET and MEMORY_TARGET parametersfor each Oracl...
Oracle 11G Virtual Columns
Virtual ColumnsVirtualcolumns are defined by evaluating an expression the results of which become themetadata of the columns for tables. Virtual columns can be defined at tablecreation or modification time.Virtualcolumns enable application developers to define computations andtransfor...
Oracle 11G EM建立
ogg<*dt2*/home/oracle>$emca -repos createSTARTED EMCA at Aug 20, 2013 10:50:25 AMEM Configuration Assistant, Version 11.2.0.3.0 ProductionCopyright (c) 2003, 2011, Oracle. All rights reserved.Enter the following information:Database SID: whispcListener port number: 1526Password for ...
Interval Partition table 11G
Interval PartitioningInterval partitioning is an extension of range partitioning whichinstructs the database to automatically create partitions of a specifiedinterval when data inserted into the table exceeds all of the existing rangepartitions. You must specify at least one range partition...
db_block_checksum和db_block_checking
物理一致性:硬件故障檢查,不關心內容正確與否。Checksum邏輯一致性:內容檢查,比checksum複雜的多。如:檢查記錄是否被不存在的事務鎖定、記錄和索引是否對應,檢查內容比物理一致性要多 db_block_checksum : 通過對數據塊校驗和 物理一致性檢查9i,10G中TRUE 啟用,默認參數:1、SGA數據...
Redo Transport Compression in a Data Guard Environment (文档 ID 729551.1)
ID 729551.1)转到底部In this DocumentPurpose Details Enabling Data Guard Redo Transport Compression ...