審計功能這時候資料庫是mount狀態SQL> alter system set audit_file_dest='/u01/gdrz/' scope=spfile;(設定審計儲存的目錄)System altered.SQL> alter system set audit_trail=db,extended scope=spfile;System altered.[Oracle@bw ~]$ sqlplus / as sysdbaSQL*Plus: Release 10.2.0.1.0
修改備份檔案的有效時間(必須用spfile啟動資料庫)SQL> alter system set control_file_record_keep_time=30 scope=both; System altered.先啟動歸檔SQL> startup mountOracle instance started.Total System Global Area 314572800 bytesFixed
複製(Replication):通過複製執行過的語句或者資料集從主伺服器上複製到一個或多個從伺服器上實現多個資料庫伺服器之間資料庫的同步。MySQL's built-in replication capability is the foundation for building large, highperformance applications on top of MySQL.MySQL supports two kinds of replication: statement-based
這個問題是Oracle的兩種情況。一種是自己的程式裡邊出現了動態執行語句。在動態執行的過程中,將對象失效了。而下面的程式還是靜態編譯產生的。對它的引用還是老的物理地址。導致報錯。原來的對象失效。另一種是Oracle本身的錯誤。針對第一種情況。1. goto fang an go to buneng huicha . jiaru chengxu zai houmian ,jiu wangxiazou
建立不了Oracle表,就登陸伺服器看下了,我試著建立了一個表,提示資料表空間不足,那這個好辦擴大資料表空間就OK了唄,正在得意洋洋的時候,出現了如下的2個錯誤:ORA-01157: cannot identify/lock data file 10 - see DBWR trace file ORA-01110: data file 10:
前提:mysql必須開啟二進位日誌功能二進位日誌會記錄 DML DCL DDL[mysqld]log-bin=/data/mysql-bin時間點1 Thu Dec 16 13:53:54 CST 2010建立一個表插入一些資料mysql> use test;mysql> create table upl (id int , user varchar(16));mysql> insert into upl values