配置RMAN刪除已應用到備庫的歸檔日誌DataGuard的配置中,有時我們需要利用RMAN自動從FRA刪除已經應用到備庫的歸檔日誌。當資料庫滿足下列條件時,FRA下的歸檔日誌將被自動刪除。1) 11g之前,如果不使用mandatory ARCHIVELOG目標,資料庫(主庫和備庫)必須更改下面的參數並重新啟動:SQL> alter system set "_log_deletion_policy"='ALL' scope=spfile;2)
快速搭建Linux作業系統+Oracle資料庫環境一直想學習下Linux下Oracle資料庫方面的營運,但從頭安裝Linux作業系統,再裝Oracle資料庫的過程確實非常繁瑣,涉及到了很多的作業系統和資料庫的配置,門檻高。最近才發現Oracle已經為我們把這些繁瑣的工作都幫我們做了,方法就是Oracle VirtualBox + Oracle VM Virtual Appliances(也叫Oracle VM
Oracle不可恢複的nologging資料庫物件不可恢複的NOLOGGING 資料庫物件1) 備份users資料表空間[Oracle@ocmu ~]$ rman target /Recovery Manager: Release 11.2.0.1.0 - Production on Sat Mar 16 10:41:05 2013Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights
MongoDB 操作手冊CRUD查詢指標,mongodbcrud枚舉遍曆指標概述前面已經講過,db.collection.find()如果沒有指定給一個var聲明的變數,將自動枚舉前20條記錄。手動枚舉指標在mongo控制台中,將查詢賦給一個var聲明的變數,讓其不自動枚舉。var cur = db.testData.find();然後每次調用這個指標,將自動遍曆20條cur;也可以使用指標的next()方法來擷取下一條記錄var cur =
GoldenGate Lag For Huge Insert,goldengatelag前些天客戶的ogg延遲到達8小時左右,於是我當時用logdump追蹤了一下:看進程狀態:send extsa stausEXTRACT ZBDBA (PID 2269368) Current status: Recovery complete: Processing data with empty data queue Current read positions: Redo thread #: 1
set RowCount 與 top n,setrowcounttop有的時候,使用top n中的n是一個變數,那就需要用()來完成:declare @count1 intset @count1 = 8select top <strong>(@count1)</strong> * from MyTable如果用set RowCount一樣可以達到相同的效果declare @count1 intset @count1 = 8 set RowCount
【MongoDB】The description of index(一),mongodbdescriptionFrom this blog, we start to talk about the index in mongo Database, which is similar to the traditional database. Generally speaking, if the index need to be created in the traditional database,