我今天開機發現Oracle的service、listener兩個服務都正常啟動但是sqlplus登陸提示:ERROR:ORA-01034: ORACLE not availableORA-27101: shared memory realm does notexist網上尋找解決這個問題的辦法,大部分是說sqlplus/nologconnect / as sysdbastartup force或者sqlnet.ora中SQLNET.AUTHENTICATION_SERVICES=
Oracle工作中有時需要用到大量的測試資料,一條一條的很慢很費勁,如果用預存程序來做就快多了。舉個例子,假設有A表和它的關聯表B表,b_id等於a_id,表欄位如下,表A:a_ida_name表B:b_idb_nameb_value1、建立擷取序列的函數create or replace function get_seq return number as seq_num number; begin
8.3.5 Adding or Dropping Online Redo Log Files8.3.5 添加或刪除現在重做記錄檔Changing the size and number of the online redo log files is sometimes done to tune the database. You can add or drop online redo log file groups or members to the primary database
進入到非CDB資料庫中 查看資料檔案的位置 [Oracle@shuang ~]$ sqlplus / as sysdba SQL*Plus: Release 12.1.0.1.0 Production on Wed Feb 26 13:17:45 2014 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to an idle
原庫確定資料檔案,記錄檔,tempfile 檔案資訊 select group#,status,type, member from v$logfile; col name format a65 select file#,name,bytes/1024/1024 MB from v$datafile; select name from v$controlfile;推薦閱讀:RMAN 配置歸檔日誌刪除策略 Oracle基礎教程之通過RMAN複製資料庫
1、資料檔案位元組排序 Oracle平台一般使用兩種不同的位元組排序方案(尾數格式)。 如果多個平台使用的位元組排序方案不同,則需要在RMAN中使用convert命令來將資料表空間轉換為目標平台上所需的格式。可以通過以下查詢確定尾數格式: select endian_format from v$transportable_platform tp,v$database d where