標籤:oracle database oracle12c startup shutdown Summarized today, using simple several words to describe how to install Oracle Database on Oracle Linux as following.**
標籤:SQL> set autotraceUsage: SET AUTOT[RACE] {OFF | ON | TRACE[ONLY]} [EXP[LAIN]] [STAT[ISTICS]]SQL> set autotrace onSP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabledSP2-0611: Error enabling STATISTICS reportSQL>
標籤:1 動態sql即拼接字串的sql,使用變數代替具體值,10萬條語句可以被hash陳一個SQL_ID,可以只解析一次for i in 1..100000 loop execute immediate‘insert into t values(:x)‘ using i;end loop;commit; commit是對log及事物的操作,不是寫資料的動作,寫資料是由CKPT進程決定的2 create table跳過資料緩衝區,直接寫入磁碟,適合海量遷移insert into t select
標籤:oracle 安裝指令碼 #!/bin/bash# echo "拷貝檔案:"# read -p "please input the server you share your os installation media and oracle software:" server # mkdir /installyationMedia# scp [email protected]${server}:/iso/*
標籤:--1、建立資料表空間DROP TABLESPACE flhis INCLUDING CONTENTS AND DATAFILES;CREATE TABLESPACE flhis DATAFILE ‘F:\app\oracle\oradata\orcl\flhis.dbf‘ SIZE 200M AUTOEXTEND ON NEXT 2M MAXSIZE UNLIMITEDLOGGINGONLINEPERMANENTEXTENT MANAGEMENT LOCAL