Oracle自訂函數——f_henry_ConcatRowsByColumn

Create Table henry_test (a varchar2(10),b int);Insert Into henry_test values ('aa',1);Insert Into henry_test values ('bb',1);Insert Into henry_test values ('cc',1);Insert Into henry_test values ('dd',2);Insert Into henry_test values ('ee',2);Insert

oracle資料庫如何改變資料表空間資料檔案的位置

Microsoft Windows 2000 [Version 5.00.2195](C) 著作權 1985-2000 Microsoft Corp.C:/Documents and Settings/Administrator>sqlplus /nologSQL*Plus: Release 9.2.0.6.0 - Production on 星期三 8月 1 11:42:37 2007Copyright (c) 1982, 2002, Oracle Corporation.  All

Oracle 11g即時SQL監控

Oracle 11g即時SQL監控Oracle,深入解析Oracle, 讀書筆記 四月 9th, 2010作者:dbtan |【轉載時請以超連結形式標明文章出處和作者資訊】連結:http://www.dbtan.com/2010/04/real-time-sql-monitoring-in-oracle11g.htmlOracle 11g即時SQL監控:前面提到,在Oracle Database 11g中,v$session視圖增加了一些新的欄位,這其中包括SQL_EXEC_START和SQL_

關於Oracle中split函數的實現以及函數遞迴的舉例。

今天看到網友提出了這麼一個問題。看下面這張表:指標編號  計算公式  指標值  可分解標誌   A      (B+C)+E      ?        1   B                  10        0   C        D+E        ?        1   D                  30        0   E                   5       

Oracle鎖表查詢及解鎖kill

Oracle在操作過程中,鎖表是時常發生的事情,當遇到鎖表時,該如何查詢鎖表session及進程,如何解鎖是經常困擾的事情,以下將介紹具體的操作步驟及方法供參考學習:鎖表查詢的代碼有以下的形式:select count(*) from v$locked_object;select * from v$locked_object;查看哪個表被鎖select b.owner,b.object_name,a.session_id,a.locked_mode   from v$locked_object 

oracle啟動命令

1、startup nomount 非安裝啟動,這種方式啟動下可執行:重建控制檔案、重建資料庫讀取init.ora檔案,啟動instance,即啟動SGA和後台進程,這種啟動只需要init.ora檔案。2、startup mount dbname安裝啟動,這種方式啟動下可執行:資料庫日誌歸檔、資料庫介質恢複、使資料檔案聯機或離線,重新置放資料檔案、重做記錄檔。執行“nomount”,然後開啟控制檔案,確認資料檔案和聯機記錄檔的位置,但此時不對資料檔案和記錄檔進行校正檢查。3、startup

ASP.NET和Oracle串連問題的解決方案——Unable to load DLL (oci.dll)

不少人在做ASP.NET+Oracle開發的時候都會碰到串連問題,提示“Unable to load DLL

Oracle difference projection selection intersection join 解釋說明

  在OCP 007裡有類似如下的題目: Q: 141 Evaluate this SQL statement:SELECTe.EMPLOYEE_ID,e.LAST_NAME,e.DEPARTMENT_ID, d.DEPARTMENT_NAMEFROM EMPLOYEES e, DEPARTMENTS dWHERE e.DEPARTMENT_ID = d.DEPARTMENT_ID; In the statement, which capabilities of a SELECT

Oracle自訂函數——f_henry_GetStringLength

本人當寫完這個函數後才知道已經有lengthb()這個現成的函數,無賴對Oracle認識的還是太淺薄,汗自己一個!Oracle下的Length()函數不能區分中英文,只能得到字元數而不能得到位元組數,很多時候插入string到欄位中時總要先進行一次檢查,防止string長度超過了欄位定義的長度,一般大家都是把這個檢測放到應用程式中執行,用我寫的這個小函數就可以實現在資料庫伺服器端對要插入的欄位進行檢測。create or replace function

Oracle v$session 中sql_id 為 null 說明

   先看SQL 查詢結果:select sql_id,count(1) from v$active_session_history where sample_time>to_timestamp('2012-10-25 09:00:00','yyyy-mm-ddhh24:mi:ss')and sample_time<to_timestamp('2012-10-25 09:22:00','yyyy-mm-ddhh24:mi:ss')and event='latch: library

Oracle latch:library cache 導致 資料庫掛起 故障

 這個一個普通的周四,和往日一樣,到公司,開電腦,收郵件。 還沒幾分鐘,收到一條手機警示簡訊,看了一下,放那沒管了,一天能收到上百條的警示資訊,麻木掉了,過了幾分鐘,又收到一條相同庫的警示,還是看了一眼,不過此時心裡已經提高警惕了,第三次收到警示,知道這個庫肯定出問題了,迅速連內網。 Sun 5.1 的系統,DB 11.2.0.2.  登陸的過程是個苦逼的過程,登陸30多秒才登陸成功,不用查看就知道CPU 肯定100%了。 oracle@h25k06dc$vmstat 5 5kthr     

Oracle Data Pump 工具系列:Data Pump 許可權配置相關錯誤及解決辦法匯總

與 Data Pump 許可權相關的錯誤及解決辦法:樣本語句:> expdp scott/tiger DIRECTORY=my_dir DUMPFILE=exp_s.dmp \ LOGFILE=exp_s.log SCHEMAS=scott錯誤1:UDE-00008: operation generated ORACLE error 1045 ORA-01045: user SCOTT lacks CREATE SESSION privilege; logon denied解決方案:

Oracle 11g R2 RAC:CRS 管理使用者的管理

To query the list of users that are CRS Administrators:[grid@rac1 ~]$ crsctl query crs administratorCRS Administrator List: *To enable role-separated management and grant privileges to non-permanent CRSAdministrators, you must add specific users to

Oracle 10g RAC (linux) ASM 共用儲存的管理詳解

---------ASM 的管理(共用磁碟的管理)1、以 instance 的方式管理 ASM,啟動 database 之前必須先啟動 ASM instance,ASM instance 啟動後,掛載 ASM 磁碟組。---------安裝 ASM 管理軟體、驅動1、查看作業系統核心版本(OS Kernel 版本)[root@rac11 ~]# uname -aLinux rac11 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686

Oracle 10g 單一實例資料庫 Data Guard 之 Physical Standby 配置詳解(根據官方文檔總結)

--------Creating Physical Standby Database---------------------------------------Settings for the primary database--------------------------------1、Enable Forced LoggingALTER DATABASE FORCE LOGGING;2、Create a Password Fileorapwd

Oracle 10g 單一實例資料庫Data Guard 之 Logical Standby 配置詳解(根據官方文檔總結)

-----------Step-by-Step Instructions for Creating a Logical Standby Database-----------1.Create a Physical Standby Database (EXSITING NOW)2.Stop Redo Apply on the Physical Standby Database    Executing the following statement in the sqlplus on the

在VMware Server 2.0.2 上安裝 Oracle 10g RAC 手把手詳解

一步一步,完全不會報錯IP 規劃192.168.8.241192.168.8.242192.168.8.248192.168.8.249rac1->export LANG=en_US.UTF-8vi /etc/sysconfig/network-scripts/ifcfg-eth0vi /etc/sysconfig/network-scripts/ifcfg-eth1[root@rac2 ~]# more /etc/sysconfig/network-scripts/ifcfg-eth0#

在 Solaris 10 上安裝 Oracle 10g 完全詳解

硬體要求[#root@sun10g /]#/usr/sbin/prtconf | grep "Memory size"Memory size: 1024 Megabytes[#root@sun10g /]#[#root@sun10g /]#/usr/sbin/swap -stotal: 159060k bytes allocated + 26872k reserved = 185932k used, 2167140k available[#root@sun10g /]#df -h

Oracle 11g direct path read 等待事件的理解

在11g中,全表掃描可能使用direct path read方式,繞過buffer cache,這樣的全表掃描就是物理讀了。 在10g中,都是通過gc buffer來讀的,所以不存在direct path read的問題。  direct path read較高的可能原因有:  1. 大量的磁碟排序操作,order by, group by, union, distinct, rollup, 無法在PGA中完成排序,需要利用temp資料表空間進行排序。

在虛擬機器上安裝 Oracle 11g RAC 過程中遇 SCAN Name 配置錯誤的處理辦法

Cause?-?The plug-in failed in its perform method  Action?-?Refer to the logs or contact Oracle Support Services.  Log File Location/u01/app/oraInventory/logs/installActions2013-01-04_08-37-53PM.log/u01/app/oraInventory/logs/installActions2013-01-04_0

總頁數: 1509 1 .... 418 419 420 421 422 .... 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.