2010-01-01から1年間の記事一覧
1、put_lineの空白問題 set serveroutput on exec dbms_output.put_line(' abc'); 頭の空白を表示したいなら「format wrapped」オプションを使えばOK set serveroutput on format wrapped exec dbms_output.put_line(' abc'); 2、空行エラー このSQL文をコ…
[oracle@CentOS53 ~]$ /u01/oracle/app/product/11.2.0/dbhome_1/deinstall/deinstall Checking for required files and bootstrapping ... Please wait ... Location of logs /tmp/deinstall2010-05-24_11-13-21-午前/logs/ ############ ORACLE DEINSTALL …
1、インストールしたいソースをダウンロードする wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz 2、変換ソフトcheckinstallをインストールする yum --enablerepo=rpmforge install checkinstall * rpmforgeが見つからないエラー発生し…
SQLトレースの有効化 いくつの方法でトレースを有効にできます。 ・インスタンスレベルのトレース ・トリガーを利用したトレース ・セッションレベルのトレース ・ログイン中のセッショントレース ・その他のセッションのトレース (1)インスタンスレベル…
1. パワーフル(RESTORE DATABASE, BACKUP DATABASE) (1)コマンドひとつで複雑な操作が可能 (2)書いたスクリプトはCATALOGに保存可能、一回書いたら何回でも利用可能 2. 信頼性(VALIDATE) VALIDATE コマンドで整合性を検証し、災害前に修復可能 3. 軽量…
Code Description 10000 Controlfile debug event, name ‘control_file’. 10001 Controlfile crash event1. 10002 Controlfile crash event2. 10003 Controlfile crash event3. 10004 Controlfile crash event4. 10005 Trace latch operations for debugging…
1,Create a RMAN script named rman.bkp to do the task. [oracle@CentOS53 Oracle_Scripts]$ more rman.bkp CONFIGURE CONTROLFILE AUTOBACKUP ON; configure channel device type disk format='/u01/oracle/app/admin/o11g2/backups/full_db_%U'; configur…
1.Don't believe in myths - reason for yourself! ・"伝説"を信じないこと、自分で考えよう。 2.Don't follow "conventional wisdom" - often the things everybody knows are simply wrong! ・知られたことを信じないこと、みんなが知っていることは通常間…
2. Statspack Configuration --------------------------- 2. Statspack設定2.1. Database Space Requirements 2.1. データベース必要な領域 The amount of database space required by the package will vary considerably based on the frequency of snaps…
Statspackとは? 公式定義: A set of SQL, PL/SQL, and SQL*Plus scripts that allow the collection, automation, storage, and viewing of performance data. This feature has been replaced by the Automatic Workload Repository. パフォーマンスデー…
(1)カレントトレースファイル(TraceFile)ファイル名を取得する SELECT d.VALUE || '/' || LOWER (RTRIM (i.INSTANCE, CHR (0))) || '_ora_' || p.spid || '.trc' trace_file_name FROM (SELECT p.spid FROM v$mystat m, v$session s, v$process p WHERE…
ASM関連のテストコードに下記の文字列が・・・ [oracle@CentOS53 bin]$ strings oracle|grep radiohead I'm a creep, I'm a winner, what the hell am I doing here.I don't belong here - radiohead なんとradioheadの歌詞じゃないか! 少なくともバージョ…
RedHatがオープンソースHP: http://opensource.com/ を立ち上がりました。 The open source way is about possibility. Open source presents a new way to solve old problems. To share ideas and effort. The open source way opens doors. Open source …