Oracle DBA之手動註冊監聽(listener) — alter system set local_listener=”T02″;

記錄下剛剛做的一個為一個資料庫(t02)配置多個監聽(listener)的實驗,過程有點小曲折。 (1)新增兩個測試的監聽,listener.ora的配置內容(可純手動編輯該檔案或使用netca)如下:(LISTENER為系統原有;L1、L2為測試用新增的監聽)# listener.ora Network Configuration File: D:\oracle\product\10.2.0\db_1\network\admin\listener.ora# Generated by

Oracle 查看 Shared Pool 資訊的相關指令碼

 關於Oracle SGA中Shared Pool的詳細說明,參考我的blog:            Oracle Shared pool 詳解            http://blog.csdn.net/tianlesoftware/article/details/6560956             在上篇blog裡,介紹了shared pool 的組成和一些原理, 也有一些指令碼,在這篇blog裡,在補充幾個查看Shared Pool 的指令碼。

Oracle日期計算之INTERVAL

在計算月份的時候除了add_months,還可用INTERVAL:  Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.7.0Connected as xxpoSQL>SQL> SELECT to_char(SYSDATE,'YYYY/MM/DD HH24:MI:SS') now FROM dual;NOW-------------------2011/05/20 06:22:00SQL>

Oracle PL/SQL之GROUP BY ROLLUP

ROLLUP字面意思大概就是向上卷,用在GROUP BY 裡面可起到累積求和的作用: 沒有ROLLUP的情況下,以下查詢按department_id和job_id進行分組求和:SELECT department_id, job_id, SUM(salary)FROM employeesWHERE department_id < 60GROUP BY department_id, job_id;Output:DEPARTMENT_ID,JOB_ID,SUM(SALARY)5

自己錄製的Oracle 相關視頻(陸續更新)

  1. Oracle 10g windows 平台下安裝  :  http://download.csdn.net/source/1850497    線上觀看地址:http://v.youku.com/v_show/id_XMTM0NzA5MjY0.html 2. 虛擬機器上安裝Linux 作業系統     下  載 地   址:http://download.csdn.net/source/1855603    

管理好ORACLE資料表的幾個建議

原文地址:http://soft.ccw.com.cn/programing/database/htm2008/20080701_456158.shtml ORACLE資料庫中,表是最基本的內容。可以說,表設計的好壞直接跟資料庫的效能相關。所以,在設計表的時候,除了要遵循其固有的資料庫準則之外,還需要看個人的資料庫管理經驗。下面我就把這些經驗分享一下,或許對大家有所協助。一、

Oracle Management Server配置

Oracle Management Server配置步驟如下:1、使用enterprise manager configuration assistant建立檔案資料庫   其中可選擇建立一個資料庫執行個體或者在已有資料庫執行個體中建立資料庫(建立資料表空間)。2、啟動management server3、運行enterprise manage console,選擇登入到management server  

oracle management server

 Oracle Management Server配置 Oracle Management Server配置步驟如下:1、使用enterprise manager configuration assistant建立檔案資料庫   其中可選擇建立一個資料庫執行個體或者在已有資料庫執行個體中建立資料庫(建立資料表空間)。2、啟動management server3、運行enterprise manage console,選擇登入到management server  

oracle sqlplus指令碼建庫總結

/******************************************************************/--查詢資料表空間參數select tablespace_name,min_extents,max_extents,pct_increase,status from dba_tablespaces;--查詢資料檔案資訊--autoextensible資料庫已滿後是否自動擴充select

oracle常用命令

如何單獨備份一個或多個使用者:   D:\>exp scott/tiger file=匯出檔案   D:\>exp system/manager owner=(使用者1,使用者2,…,使用者n) file=匯出檔案2、如何單獨備份一個或多個表:   D:\>exp 使用者/密碼 tables=表   D:\>exp 使用者/密碼 tables=(表1,…,表2)   D:\>exp system/manager tables=(使用者.表)  

手工建立Oracle資料庫)

系統內容: 1、作業系統:Windows 2000 Server2、資料庫: Oracle 8i R2 (8.1.6) for NT 企業版/Oracle 9i for NT 企業版3、安裝路徑:D:\ORACLE步驟:1、手工建立相關目錄2、手工建立初始化參數檔案3、通過oradim建立一個ORACLE服務4、建立資料庫5、建立資料庫資料檔案,執行指令碼6、建立資料字典,運行手工建立資料庫完整步驟系統內容作業系統:Windows 2000 Server 資料庫:Oracle 9i安裝路徑:C:

2.1 Oracle 伺服器

客戶應用通過網路訪問Oracle 伺服器時,用戶端會為應該程式分配使用者進程,而伺服器會為其分配伺服器處理序,並且客戶應用的所有SQL 操作最終都在由伺服器處理序來執行的。Oracle 伺服器 = 常式 + 資料庫。 1,常式常式 = 記憶體結構 + 後台進程記憶體結構(SGA── System Global Area,系統全域區)= 資料快取 + 重做日誌緩衝區 + 共用池 後台進程 = SMON + PMON + DBWR + CKPT + LGWR +

Oracle 連接字串代碼

ODBC 新版本 Driver={Microsoft ODBC for Oracle};Server=myServerAddress;Uid=myUsername;Pwd=myPassword; 舊版本 Driver={Microsoft ODBC Driver for Oracle};ConnectString=OracleServer.world;Uid=myUsername;Pwd=myPassword;

重建Oracle 10g EM

無法啟動EM,後在網上查了下資料,解決如下:C:\>set oracle_sid=demoC:\>emctl start dbconsole OC4J Configuration issue. D:\oracle\product\10.2.0\db_1/oc4j/j2ee/OC4J_DBConsole _Colin-dell_demo not found.C:\>emca -deconfig dbcontrol db -repos dropEMCA 開始於 2009-3-1 1

Oracle 檢測clog欄位錯誤的SQL

Codedeclare pag number; len number; c varchar2(10); charpp number := 8132/2;begin for r in (select rowid rid,log_id, dbms_lob.getlength (CONTENT) len from temp_data_collect_log ) loop if r.len is not null then for

java語言操作Oracle資料庫中的CLOB資料類型

  有關oracle欄位類型的相關資訊可以查閱oracle技術網。下面摘抄一些有關blob.clob等類型的說明。又便於大家的瞭解。 欄位類型:blob,clob,nclob 說明:三種大型物件(LOB),用來儲存較大的圖形檔案或帶格式的文字檔,如Miceosoft Word文檔,以及音頻、視頻等非文字檔,最大長度是4GB。LOB有幾種類型,取決於你使用的位元組的類型,Oracle 8i實實在在地將這些資料存放區在資料庫內部儲存。可以執行讀取、儲存、寫入等特殊操作。

windows-unix sql-oracle (from:白色果樹)

windows--unix     微軟使用了 Windows NT 的技術,推出了 Windows NT 的升級版本 Windows 2000 。但 WINDOWS系列作業系統在記憶體和CPU資源方面的管理存在缺陷的老毛病並沒有得到很大的改善。如WINDOWS

Oracle中賬戶被鎖定的解決方案

今天進使用orcle中,發現系統中,system賬戶(或其他賬戶)登入裡提示賬戶被鎖定 ,後來查了查資料,問題解決,方法如下: cmdC:\Documents and Settings\Administrator>sqlplus /nologSQL*Plus: Release 10.2.0.3.0 - Production on 星期三 5月 11 09:04:34 2011Copyright (c) 1982, 2006, Oracle.  All Rights

入侵oracle資料庫時常用的操作命令整理

最近遇到一個使用了oracle資料庫的伺服器,在狂學oracle+請教高手後終於搞到了網站後台管理介面的所有使用者密碼,我發現oracle操作起來真是太麻煩,為了兄弟們以後少走些彎路,我把入侵當中必需的命令整理出來,一個星期的心血,著作權,轉載請註明作者.1、su – oracle 不是必需,適合於沒有DBA密碼時使用,可以不用密碼來進入sqlplus介面。2、sqlplus /nolog 或sqlplus system/manager 或./sqlplus

ORACLE學習–安裝

這一章會逐步的講解ORACLE 11g R2的安裝,以及在安裝過程中碰到的一些問題。我的安裝環境如下:OS: Cent OS 6.2;Oracle 11g R2;VMWare 7; 1. create oracle user安裝oracle不能在root使用者下,需要create一個user作為dba並且安裝oracle首先create oracle需要的一些usergroup:Oracle Inventory grouproot> /usr/sbin/groupadd

總頁數: 1509 1 .... 929 930 931 932 933 .... 1509 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.