Range分區:Range分區是應用範圍比較廣的表分區方式,它是以列的值的範圍來做為分區的劃分條件,將記錄存放到列值所在的range分區中。如按照時間劃分,2010年1月的資料放到a分區,2月的資料放到b分區,在建立的時候,需要指定基於的列,以及分區的範圍值。在按時間分區時,如果某些記錄暫無法預測範圍,可以建立maxvalue分區,所有不在指定範圍內的記錄都會被儲存到maxvalue所在分區中。 如:create table pdba (id number, time date)
1,當 mysql client 發起串連請求時,MySql Server 會主動去查 client 的主機名稱。2,首先尋找Windows系統目錄下 /etc/hosts 檔案,搜尋網域名稱和IP的對應關係。3,如果hosts檔案沒有,則尋找DNS設定,如果沒有設定DNS伺服器,會立刻返回失敗;如果設定了DNS伺服器,就進行反向解析,直到timeout。解決辦法第一種方法 修改Hosts在 MySql Server 所在伺服器上,修改 Windows 的 hosts 檔案,增加一行記錄,如:1
1. 設定備份的檔案存放的位置,備份時自動備份控制檔案C:\Documents and Settings\wwang>rman target / --在目標資料庫上備份復原管理員: Release 11.2.0.1.0 - Production on 星期一 7月 2 22:15:57 2012Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.串連到目標資料庫:
環境:OS:Red Hat Linux As 5DB:Oracle 10.2.0.4 有些時候因為測試環境需要,我們需要使用生產庫的備份組在另外一台新的機器上做恢複(前提是新機器事先安裝Oracle軟體,版本跟原庫一致),下面是恢複過程. 1.在原庫上做全備(在原庫上操作)run{allocate channel c1 device type disk;allocate channel c2 device type disk;backup format '/u02/rman_
支援的平台支援的Oracle Database 版本在當前的Oracle GoldenGate 10.4版本中,支援如下Oracle Database版本Oracle 8i (DML support only)Oracle 9.1 and 9.2 (DML and DDL support)Oracle 10.1 and 10.2 (DML and DDL support)Oracle 11g (DML and DDL
slave日誌中的錯誤碼1:[ERROR] Error reading packet from server: Client requested master to start replication from impossible position; the last event was read