導航:首頁 > 程序命令 > oracle11數據命令

oracle11數據命令

發布時間:2023-01-17 11:09:09

❶ oracle 11g 安裝和使用

oracle 11g可以使用內置sysdba用戶來登錄,然後為sys和system用戶設置密碼,步驟如下:

1、打開運行窗口。

❷ oracle資料庫的常見命令

1、su – oracle 不是必需,適合於沒有DBA密碼時使用,可以不用密碼來進入sqlplus界面

2、sqlplus /nolog 或sqlplus system/manager 或./sqlplus system/manager@ora9i

3、SQL>connect / as sysdba ;(as sysoper)或connect internal/oracle AS SYSDBA (scott/tiger)conn sys/change_on_install as sysdba

4、SQL>startup; 啟動資料庫實例

5、 查看當前的所有資料庫: select * from v$database

(2)oracle11數據命令擴展閱讀:

ORACLE資料庫系統是美國ORACLE公司(甲骨文)提供的以分布式資料庫為核心的一組軟體產品,是目前最流行的客戶/伺服器(CLIENT/SERVER)或B/S體系結構的資料庫之一。

oracle資料庫邏輯結構

它由至少一個表空間和資料庫模式對象組成。這里,模式是對象的集合,而模式對象是直接引用資料庫數據的邏輯結構。

模式對象包括這樣一些結構:表、視圖、序列、存儲過程、同義詞、索引、簇和資料庫鏈等。邏輯存儲結構包括表空間、段和范圍,用於描述怎樣使用資料庫的物理空間。

文件結構

資料庫的物理存儲結構是由一些多種物理文件組成,主要有數據文件、控制文件、重做日誌文件、歸檔日誌文件、參數文件、口令文件、警告文件等。

❸ oracle資料庫 常見的數據定義命令有哪些,數據操作命令有哪些

我還有個文本文檔,如果你想要,請留下您的QQ,我發給您。
SQLPLUS常用的命令:

edit;(打開緩存中的命令記事本)
/(執行緩存中的命令)
conn連接

sys/system/sysdba
scott/hr

創建用戶:
必須以管理員或超級用戶的身份登錄,才可以創建

以sys用戶登錄
sys/as sysdba
以system登錄
system@str
password

創建用戶:
create user myuser identified by myuser;
授予連接的許可權
grant connect to myuser;
grant resource to myuser;

刪除用戶
drop user myuser;
物理結構
資料庫:日誌文件,數據文件,控制文件
表空間-----數據文件

myuser:table
create user user01
identified by user01
default tablespace users
temporary tablespace temp;
--創建表空間
create tablespace myts datafile 'd:/stu/a.data' size 50M;
--許可權
--系統許可權 create any table
--對象許可權 select on scott.emp
--角色 (一組許可權的集合 )
--connect(連接),resource
create role myrole;
grant connect,resource to myrole;
grant myrole to user01;
--修改口令
alter user user01 identified by aaa111;
--修改用戶的鎖定狀態
alter user scott account unlock;
--修改表空間
alter user user01 default/temporary tablespace myts;
--解除許可權
revoke myrole from user01;
--刪除用戶
drop user user01;

❹ oracle登錄資料庫的命令


1、啟動oracle資料庫:從root切換到oracle用戶進入:su-oracle進入sqlplus環境,nolog參數表示不登錄:sqlplus/nolog以管理員模式登錄:sqlplus。
2、資料庫監聽:啟動監聽服務:lsnrctlstart停止監聽服務:lsnrctlstop查看監聽狀態。
3、用戶許可權管理:註:以下命令都需要DBA許可權。
閱讀全文

與oracle11數據命令相關的資料

熱點內容
內江市程序員招聘 瀏覽:448
程序員老師身份 瀏覽:34
手機生兼職app的哪個比較靠譜 瀏覽:567
lua編譯有什麼用 瀏覽:350
買了伺服器如何架設 瀏覽:929
如何運用mex函數編譯c 瀏覽:896
24歲程序員倒在工作上 瀏覽:919
怎麼算梁的加密區 瀏覽:93
2016版office怎麼解壓 瀏覽:270
怎麼把安卓手機調的更暗 瀏覽:167
蘋果空間新演算法 瀏覽:91
android文字動畫效果 瀏覽:146
java調試命令 瀏覽:213
android子線程looper 瀏覽:782
linux安裝java7 瀏覽:189
單片機fdh 瀏覽:107
單片機原理與應用下載 瀏覽:590
順風車車主app在哪裡下載 瀏覽:235
雷石柏雲伺服器功率 瀏覽:102
全球服是什麼伺服器 瀏覽:237