------------------------------------------------------------------
-- Backup Oracle User Account With Password
-- Applied Version: Oracle 9i and up
目前分類:Oracle in General (111)
- May 17 Mon 2010 14:50
Backup Oracle User Account With Password
- May 12 Wed 2010 11:30
Quickly Disable / Enable Foreign Key Constraints
If you encounter an issue that you need to truncate a particular schema's tables which may have foreign key constraints linked to each other, you will need to disable all the foreign key constraints in this schema first.
Here's the quick way to do it:
- May 11 Tue 2010 11:28
DBMS_OUTPUT.PUT_LINE + 空白行 (empty line)
set serveroutput on size 1000
begin
dbms_output.put_line('This is the test!');
- Apr 19 Mon 2010 10:42
How to Resolve ORA-00060:Deadlock detected ?
A ORA-00060 "deadlock detected" can be the fact that the table and index INITRANS is set too low. In addition, bitmap index can also affect the OTLP system.
- Apr 14 Wed 2010 11:37
Connect to Oracle ASM Instance Remotely
#Server Site
listener.ora
>>
- Apr 08 Thu 2010 15:17
Views Relevant to Oracle Data Guard (Physical Standby Database)
View |
Description |
- Apr 07 Wed 2010 14:35
Synchronize Standby database [Oracle 10g Dataguard]
8 Steps for Synchronizing Standby database:
1. Find the current SCN of the standby database:
- Mar 24 Wed 2010 15:44
Automatic startup and shutdown Oracle database (10g Linux)
( Login as root)
1. create a file named "dbora" in the directory of /etc/init.d
- Mar 17 Wed 2010 12:38
Enterprise Manager (EM) Re-Configuration (Oracle10g & 11g)
The following steps can re-configure the corrupted EM :
>>
Step1:
- Mar 10 Wed 2010 17:13
Oracle RAC Useful Commands (Linux)
olsnodes: Listing cluster nodes information
Usage: olsnodes [-n] [-p] [-i] [ | -l] [-g] [-v]
- Mar 09 Tue 2010 11:34
Oracle10gR2(10.2.0.4) RHEL4.8 x86-64 Installation Guide
#############################################
# Oracle10gR2 RHEL4.8 x86-64 Installation Guide
# Written by Dan Brother
- Jan 05 Tue 2010 15:08
"FORALL with Record-Base Insert" Example
SQL> desc emp
名稱 空值? 類型
----------------------------------------- -------- ---------------
- Dec 10 Thu 2009 15:23
FORALL & FOR LOOP 的效能比較
create table test_table
(id varchar2(12)
) pctfree 10 pctused 75 nologging;
- Nov 23 Mon 2009 16:09
防止某table被誤刪除的方法(Prevent Row Deletion Accidentally)
防止某table被誤刪除的方法(Prevent Row Deletion Accidentally) :
-- Package
- Nov 11 Wed 2009 16:18
DB_FILE_MULTIBLOCK_READ_COUNT
DB_FILE_MULTIBLOCK_READ_COUNT 是在DB執行 full table scan 時能降低I/O的重要參數之一. 它指明了在連續的table scan過程中一次I/O可讀取的最大區塊數
- Nov 09 Mon 2009 11:43
Display Session CPU Usage
-- Display Session CPU Usage
select s.username as "Oracle User",
- Nov 09 Mon 2009 11:13
Show Oracle Locking Status
--------------------------------------------
-- create views of oracle locks:
--------------------------------------------
- Nov 05 Thu 2009 17:26
SYS_CONNECT_BY_PATH的應用
當我們需要一份報表以橫式方現呈現時,可以用 SYS_CONNECT_BY_PATH 函式達成:
-- 建立測試資料表
- Nov 05 Thu 2009 15:21
Top 10 Analysis Using Rank() Over
/* Top 10 Analysis Using Rank() Over */
-- 建立測試資料表:
- Oct 27 Tue 2009 11:49
Set Current User to Another Schema