作業系統:SUSE Linux Enterprise Server 11 (i586)資料庫版本:Oracle 10.2.0.1資料庫用戶端版本:oracle10.2.0.1引言:公司近期二期項目建設,新買的PC server 需要在上面部署oracle用戶端方便訪問資料庫,我們自然習慣使用圖形化介面來安裝了,好處省事又直觀,我們在遠程維護伺服器時使用CRT工具,顯而易見是不能啟圖形化的,但我們可以使用一個Xmanager -> Xbrowser 工具來啟圖形化哦比較神奇!哎呀
Oracle undo資料表空間爆滿的解決步驟:1. 啟動SQLPLUS,並用sys登陸到資料庫。#su - oracle $>sqlplus / as sysdba 2. 尋找資料庫的UNDO資料表空間名,確定當前常式正在使用的UNDO資料表空間:Show parameter undo_tablespace。3. 確認UNDO資料表空間;SQL> select name from v$tablespace; NAME --------------
今天刪除mysql資料庫中的一條記錄的時候,一直不能刪除,提示錯誤資訊如下:Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Editor ->
熱備份system資料表空間SQL> alter tablespace system beginbackup; Tablespace altered. SQL> !cp /u01/tiger/oradata/orcl2/system01.dbf/bk SQL> alter tablespace system end backup; Tablespace
向一個表發散彈槍: ⑴ insert into table_name [(column[,column...])] select_statement每次只能插入一個表,但效能上比寫多條insert語句要高。另外,Oracle還提供create table table_name as select ...,as不可少!實現直接建立並且插入表,依賴於後面的select語句的結果,如:create table new_table as select * from source_table where
SQL> alter database add logfile thread 1 group5('+data/myrac/onlinelog/myrac1_redolog_group5_01') size 100m;SQL> alter database add logfile member '+data/myrac/onlinelog/myrac1_redolog_group5_02' to group 5;SQL> alter database add logfile
收到一個監控使用者無法串連資料庫的警示, Oracle提示錯誤訊息ORA-28001: the password has expired, 上去查看使用者狀態竟然是expired,擷取使用者基本資料指令碼如下:connect / as sysdba;col username for a16col password for a18col user_id for 999999col account_status heading 'Account|Status' for a20col default_
1、問題描述:開啟sqlplus後用system角色登陸然後切換成scott使用者,再切換成sysD:/>sqlplus sys/admin@orcl as sysdba然後接下去操作出現 “TNS: 監聽程式無法分發客戶機串連”2、解決過程用lsnrctl service查看監聽狀態D:/Documents and Settings>lsnrctl serviceLSNRCTL for 32-bit Windows: