偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

描述Oracle數(shù)據(jù)服務(wù)器啟動(dòng)方式

數(shù)據(jù)庫 Oracle
這里介紹Oracle數(shù)據(jù)服務(wù)器包括:實(shí)例進(jìn)程和數(shù)據(jù)庫;實(shí)例進(jìn)程包括:memory structure以及background process pmon、smon、dbwr、lgwr,ckpt等進(jìn)程;

Oracle還是比較常用的,于是我研究了一下Oracle數(shù)據(jù)服務(wù)器,在這里拿出來和大家分享一下,希望對(duì)大家有用。

1、Oracle數(shù)據(jù)服務(wù)器包括:實(shí)例進(jìn)程和數(shù)據(jù)庫;實(shí)例進(jìn)程包括:memory structure(sga)以及background process pmon(進(jìn)程監(jiān)控)、smon(系統(tǒng)監(jiān)控system monitor,空間整理3秒)、dbwr(臟數(shù)據(jù)處理)、lgwr(將redo buffer文件寫會(huì)log),ckpt(checkpoint,同步數(shù)據(jù),先寫日志、臟數(shù)據(jù))等進(jìn)程;數(shù)據(jù)庫包括:數(shù)據(jù)文件、控制文件,redo log 文件,三者是必須的,至于 參數(shù)文件、密碼文件、歸檔文件是可選的,根據(jù)數(shù)據(jù)庫的狀態(tài)而定;

2、pga:包括user process 和server process,user process通過server process來與Oracle的實(shí)例進(jìn)行進(jìn)行通信。

3、sga=share pool+database buffer cache+redo log buffer + other structures(large pool,java pool可選) shared_pool=library cache(sql共享,緩沖sql的執(zhí)行計(jì)劃,采用最近最少使用算法) + data dictionary cache(row cache,數(shù)據(jù)字典); database buffer cache(db_cache_size):Oracle以block size最為基本的數(shù)據(jù)讀寫單位 redo log buffer cache:

4、改變參數(shù): alter system set shared_pool_size=64m; alter system set db_cache_size=64m; alter system set large_pool_size=64m;

5、os驗(yàn)證用戶: create user id create group (ora_dba,ora_databasename_dba,ora_oper,ora_databasename_oper) add user id to group id edit sqlnet.ora (sqlnet.authentication_services=(nts))

6、忘記system/sys的密碼:刪掉E:\Oracle\product\10.2.0\db_1\database\pwdtestdb.ora; 使用命令:orapwd file=d:\pwdtestdb.ora password=admin1 entries=10;將密碼設(shè)置為admin1; 或則: sqlplus /@testdb as sysdba alter user sys identified by 新密碼; alter user system identified by 新密碼;

7、block(塊) extend(盤區(qū)) segment(段) tablespace(表空間)

8、網(wǎng)絡(luò)服務(wù)的配置信息在D:\Oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora文件中記錄

Oracle數(shù)據(jù)服務(wù)器的啟動(dòng)命令
1、啟動(dòng)TNS監(jiān)聽 C:\Documents and Settings\Administrator>lsnrctl start
2、啟動(dòng)Oracle Services C:\Documents and Settings\Administrator>net start OracleServiceOrcl
3、以sysdba身份登錄 SQL> connect system as sysdba
4、啟動(dòng)isqlplus C:\Documents and Settings\Administrator>isqlplusctl start
5、啟動(dòng)database control C:\Documents and Settings\Administrator>emctl start dbconsole 如果啟動(dòng)錯(cuò)誤,很可能是ip地址進(jìn)行了修改,可采取如下措施: set Oracle_hostname=主機(jī)名 emca -config dbcontrol db,進(jìn)行相應(yīng)的配置。
6、show all serveroutput OFF
7、set serveroutput on 啟動(dòng)及關(guān)閉模式 Oracle數(shù)據(jù)庫的幾種啟動(dòng)和關(guān)閉方式

Oracle數(shù)據(jù)服務(wù)器有以下幾種啟動(dòng)方式:

1、startup nomount 非安裝啟動(dòng),這種方式啟動(dòng)下可執(zhí)行:重建控制文件、重建數(shù)據(jù)庫 讀取init.ora文件,啟動(dòng)instance,即啟動(dòng)SGA和后臺(tái)進(jìn)程,這種啟動(dòng)只需要init.ora文件。

2、startup mount dbname 安裝啟動(dòng),這種方式啟動(dòng)下可執(zhí)行: 數(shù)據(jù)庫日志歸檔、 數(shù)據(jù)庫介質(zhì)恢復(fù)、使數(shù)據(jù)文件聯(lián)機(jī)或脫機(jī), 重新定位數(shù)據(jù)文件、重做日志文件。 執(zhí)行“nomount”,然后打開控制文件,確認(rèn)數(shù)據(jù)文件和聯(lián)機(jī)日志文件的位置,但此時(shí)不對(duì)數(shù)據(jù)文件和日志文件進(jìn)行校驗(yàn)檢查。

3、startup open dbname 先執(zhí)行“nomount”,然后執(zhí)行“mount”,再打開包括Redo log文件在內(nèi)的所有數(shù)據(jù)庫文件, 這種方式下可訪問數(shù)據(jù)庫中的數(shù)據(jù)。

4、startup,等于以下三個(gè)命令 startup nomount alter database mount alter database open

5、startup restrict 約束方式啟動(dòng) 這種方式能夠啟動(dòng)數(shù)據(jù)庫,但只允許具有一定特權(quán)的用戶訪問非特權(quán)用戶訪問時(shí),會(huì)出現(xiàn)以下提示: ERROR: ORA-01035: Oracle 只允許具有 RESTRICTED SESSION 權(quán)限的用戶使用

6、startup force 強(qiáng)制啟動(dòng)方式 當(dāng)不能關(guān)閉數(shù)據(jù)庫時(shí),可以用startup force來完成數(shù)據(jù)庫的關(guān)閉 先關(guān)閉數(shù)據(jù)庫,再執(zhí)行正常啟動(dòng)數(shù)據(jù)庫命令

7、startup pfile=參數(shù)文件名 帶初始化參數(shù)文件的啟動(dòng)方式 先讀取參數(shù)文件,再按參數(shù)文件中的設(shè)置啟動(dòng)數(shù)據(jù)庫 例:startup pfile=E:\Oracle\admin\oradb\pfile\init.ora

8、startup EXCLUSIVE

有三種啟動(dòng)方式:

1、shutdown normal 正常方式關(guān)閉數(shù)據(jù)庫。

2、shutdown immediate 立即方式關(guān)閉數(shù)據(jù)庫。 在SVRMGRL中執(zhí)行shutdown immediate,數(shù)據(jù)庫并不立即關(guān)閉, 而是在Oracle執(zhí)行某些清除工作后才關(guān)閉(終止會(huì)話、釋放會(huì)話資源),當(dāng)使用shutdown不能關(guān)閉數(shù)據(jù)庫時(shí),shutdown immediate可以完成數(shù)據(jù)庫關(guān)閉的操作。

3、shutdown abort 直接關(guān)閉數(shù)據(jù)庫,正在訪問數(shù)據(jù)庫的會(huì)話會(huì)被突然終止, 如果數(shù)據(jù)庫中有大量操作正在執(zhí)行,這時(shí)執(zhí)行shutdown abort后,重新啟動(dòng)數(shù)據(jù)庫需要很長(zhǎng)時(shí)間。

【編輯推薦】

  1. 摘要Oracle Check約束
  2. 概論Oracle索引創(chuàng)建策略
  3. Oracle Where子句研究結(jié)論
  4. 你是否懂得Oracle UNION ALL
  5. 概述Oracle Unique約束
責(zé)任編輯:佚名 來源: 計(jì)世網(wǎng)
相關(guān)推薦

2010-08-03 16:03:00

FlexBuilder

2019-03-29 15:19:10

數(shù)據(jù)服務(wù)器數(shù)據(jù)庫

2009-08-06 15:19:44

Mozilla網(wǎng)店數(shù)據(jù)服務(wù)器漏洞

2012-10-19 13:59:53

IBMPureSystems數(shù)據(jù)服務(wù)器

2013-10-08 14:00:13

Facebook設(shè)計(jì)數(shù)據(jù)

2013-10-10 09:23:22

Facebook服務(wù)器數(shù)據(jù)中心

2009-11-16 13:24:34

Oracle數(shù)據(jù)庫服務(wù)

2016-09-08 23:47:17

大數(shù)據(jù)大數(shù)據(jù)服務(wù)

2010-08-11 15:33:33

IBM DB2 9

2010-04-15 10:20:18

連接Oracle數(shù)據(jù)庫

2010-06-10 17:05:28

2009-05-25 13:52:11

LinuxUNIXDB2數(shù)據(jù)

2010-01-26 09:31:36

Cisco千兆交換機(jī)

2013-01-23 22:52:58

惠普大數(shù)據(jù)SL4500

2010-04-14 10:56:07

Oracle數(shù)據(jù)庫

2010-04-16 16:09:41

Oracle數(shù)據(jù)庫

2010-03-02 15:16:23

Ubuntu Post

2012-07-31 17:31:41

WebLogic

2019-10-29 14:15:25

云存檔數(shù)據(jù)服務(wù)技術(shù)

2010-08-25 09:06:36

Oracle
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)