這裡只提供指令碼,和以前寫的《Aix 5.3下自動備份Oracle多個執行個體》如出一轍,如果要加入at或者crontab,請參考《CentOS5.4下自動備份MySQL資料庫》這個大家再研究吧。#MySQL User InformationUSERNAME=資料庫使用者名稱(資訊隱藏)PASSWORD=資料庫密碼(資訊隱藏)#Back fileFILE_PREFIX=MySQL_#FTP Server
在Linux/UNIX作業系統中,使用資料庫,一般會用到mysql或Oracle.本文介紹了在RHEL4中安裝mysql的過程,其他類unix系統也適用.1.下載mysql到RHEL4系統中,也可以用共用的方法或FTP從其他電腦複製(我使用的是mysql-4.0.18.tar.gz)2.把mysql解壓到/usr/local# tar zxvf mysql-4.0.18.tar.gz -C /usr/local3.進入解壓目錄# cd
現象:GG做init data load時報錯OGG-00869 OGG-001992013-11-11 15:54:18 INFO OGG-03501 Oracle GoldenGate Delivery for Oracle, initrep.prm: WARNING: NLS_LANG environment variable is invalid or not set. Using operating system character set value of AL32UTF8.2013
impdp fail with ORA-31623FYI:Data Pump import and export job use queues, streams and java objects.If we see any job component is invalid (e.g. dbms_java, queue dictionary scripts not run, rdbms/admin/utlrp.sql not run) we may see the ORA-31623
MySQL --Binary log最近在查看監控伺服器的時候發現,有個記錄檔居然有14G之多,查了下資料,介紹如下:binary log,是mysql中一個非常重要的部分,其主要作用有兩個:1.做主從同步時用來保證master和slave一致2.做備份還原用來保證資料庫的完整性開啟binary log方法如下# vi
今天是2014-03-12,在進行資料庫效能調優過程中,突然翻到了之前一封郵件,資訊如下:從日誌中看,發現存在行級獨佔鎖定存在爭用以致產生了死結。問題描述:*** 2013-12-02 17:03:10.148DEADLOCK DETECTED ( ORA-00060 )[Transaction Deadlock]The following deadlock is not an Oracle error. It is adeadlock due to user error in the