<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆 - 79  文章 - 11  trackbacks - 0
    <2025年5月>
    27282930123
    45678910
    11121314151617
    18192021222324
    25262728293031
    1234567

    不再墮落。
    Oracle documents: 
    http://tahiti.oracle.com/

    常用鏈接

    留言簿

    隨筆分類(66)

    隨筆檔案(79)

    相冊(cè)

    收藏夾(11)

    搜索

    •  

    積分與排名

    • 積分 - 53353
    • 排名 - 949

    最新隨筆

    最新評(píng)論

    閱讀排行榜

         摘要:   閱讀全文
    posted @ 2009-04-06 11:50 donnie 閱讀(161) | 評(píng)論 (0)編輯 收藏
    http://v.youku.com/v_playlist/f2076316o1p28.html
    posted @ 2009-04-04 18:26 donnie 閱讀(116) | 評(píng)論 (0)編輯 收藏
    http://edu.136z.com/DataBase/32042.html

    目錄

    一、       前言... 4

    二、       思路... 4

    三、       vmstat腳本及步驟... 4

    1.       安裝statspack. 4

    2.       創(chuàng)建stats$vmstat表... 4

    3.       創(chuàng)建vmstat目錄... 6

    4.       創(chuàng)建get_vmstat.ksh腳本... 6

    5.       創(chuàng)建run_vmstat.ksh腳本... 8

    6.       創(chuàng)建crontab作業(yè),定時(shí)執(zhí)行run_vmstat.ksh腳本... 9

    7.       分析數(shù)據(jù)... 9

    1)    異常報(bào)告... 9

    2)    每小時(shí)趨勢(shì)報(bào)告... 13

    3)    周趨勢(shì)報(bào)告... 14

    4)    長(zhǎng)期趨勢(shì)報(bào)告... 14

    四、       使用Excel生成趨勢(shì)圖... 15

    五、       參考資料... 15
    posted @ 2009-04-02 10:46 donnie 閱讀(138) | 評(píng)論 (0)編輯 收藏
     改用傳統(tǒng)的pfile方式啟動(dòng),具體pfile的內(nèi)容可從spfile文件中copy,或者從數(shù)據(jù)庫(kù)的警告日志文件中獲取。
    posted @ 2009-03-30 22:32 donnie 閱讀(227) | 評(píng)論 (0)編輯 收藏

    在oracle中,NULL與NULL既不相等,也不完全不相等。SQL Server與Sybase中,NULL等于NULL.
    --REF: oracle expert....

     

    scott@ORCL> select * from dual where null=null;

    未選定行

    scott
    @ORCL> select * from dual where null <> null;

    未選定行

    scott
    @ORCL> select * from dual where null is null;

    D
    -
    X
    posted @ 2009-03-27 22:47 donnie 閱讀(120) | 評(píng)論 (0)編輯 收藏
    scott@ORCL> select count(*from t;

      
    COUNT(*)
    ----------
            28

    scott
    @ORCL> begin
      
    2     for x in (select * from t)
      
    3     loop
      
    4        insert into t values (x.username,x.user_id,x.created);
      
    5     end loop;
      
    6   end;
      
    7  /

    PL
    /SQL 過(guò)程已成功完成。

    scott
    @ORCL> select count(*from t;

      
    COUNT(*)
    ----------
            56
    posted @ 2009-03-26 23:18 donnie 閱讀(124) | 評(píng)論 (0)編輯 收藏
    SET SERVEROUTPUT ON;

    DECLARE
       stock_price 
    NUMBER := 9.73;
       net_earnings 
    NUMBER := 0;
       pe_ratio 
    NUMBER;
    BEGIN
    -- Calculation might cause division-by-zero error.
       pe_ratio := stock_price / net_earnings;
       dbms_output.put_line(
    'Price/earnings ratio = ' || pe_ratio);

    EXCEPTION  
    -- exception handlers begin

    -- Only one of the WHEN blocks is executed.

       
    WHEN ZERO_DIVIDE THEN  -- handles 'division by zero' error
          dbms_output.put_line('Company must have had zero earnings.');
          pe_ratio :
    = null;

       
    WHEN OTHERS THEN  -- handles all other errors
          dbms_output.put_line('Some other kind of error occurred.');
          pe_ratio :
    = null;

    END;  -- exception handlers and block end here
    /
    ref : http://www.sc.ehu.es/siwebso/KZCC/Oracle_10g_Documentacion/appdev.101/b10807/07_errs.htm
    posted @ 2009-03-25 10:52 donnie 閱讀(101) | 評(píng)論 (0)編輯 收藏
    scott@ORCL> connect / as sysdba
    已連接。
    sys
    @ORCL> grant execute on dbms_flashback to scott;

    授權(quán)成功。

    sys
    @ORCL> connect scott/tiger
    已連接。
    scott
    @ORCL> variable SCN number
    scott
    @ORCL> exec :scn := sys.dbms_flashback.get_system_change_number

    PL
    /SQL 過(guò)程已成功完成。

    scott
    @ORCL> print scn

           SCN
    ----------
        762534

    scott
    @ORCL> select count(*from emp;

      
    COUNT(*)
    ----------
            14

    scott
    @ORCL> delete from emp;

    已刪除14行。

    scott
    @ORCL> select count(*from emp;

      
    COUNT(*)
    ----------
             0

    scott
    @ORCL> select count(*from emp AS OF SCN :scn;

      
    COUNT(*)
    ----------
            14

    scott
    @ORCL> commit;

    提交完成。

    scott
    @ORCL> select *
      
    2   from (select count(*from emp),
      
    3        (select count(*from emp as of scn :scn)
      
    4  /

      
    COUNT(*)   COUNT(*)
    ---------- ----------
             0         14

    scott
    @ORCL> select *
      
    2   from (select count(*from emp),
      
    3        (select count(*from emp as of scn :scn)
      
    4  /

      
    COUNT(*)   COUNT(*)
    ---------- ----------
             0         14

    scott
    @ORCL> alter table emp enable row movement;

    表已更改。

    scott
    @ORCL> flashback table emp to scn :scn;

    閃回完成。

    scott
    @ORCL> select *
      
    2   from (select count(*from emp),
      
    3        (select count(*from emp as of scn :scn)
      
    4  /

      
    COUNT(*)   COUNT(*)
    ---------- ----------
            14         14

    scott
    @ORCL>
    posted @ 2009-03-24 22:58 donnie 閱讀(311) | 評(píng)論 (1)編輯 收藏
    scott@ORCL> drop table t;

    表已刪除。

    scott@ORCL
    >
    scott@ORCL
    > create table t
      
    2  as
      
    3  select *
      
    4    from all_users;

    表已創(chuàng)建。

    scott@ORCL
    >
    scott@ORCL
    > variable x refcursor
    scott@ORCL
    >
    scott@ORCL
    > begin
      
    2     open :x for select * from t;
      
    3  end;
      
    4  /

    PL
    /SQL 過(guò)程已成功完成。

    scott@ORCL
    > delete from t;

    已刪除28行。

    scott@ORCL
    >
    scott@ORCL
    > commit;

    提交完成。

    scott@ORCL
    >
    scott@ORCL
    > print x

    USERNAME                          USER_ID CREATED
    ------------------------------ ---------- --------------
    BI                                     
    60 13-3月 -09
    PM                                     
    59 13-3月 -09
    SH                                     
    58 13-3月 -09
    IX                                     
    57 13-3月 -09
    OE                                     
    56 13-3月 -09
    HR                                     
    55 13-3月 -09
    SCOTT                                  
    54 30-8月 -05
    MGMT_VIEW                              
    53 30-8月 -05
    MDDATA                                 
    50 30-8月 -05
    SYSMAN                                 
    51 30-8月 -05
    MDSYS                                  
    46 30-8月 -05
    SI_INFORMTN_SCHEMA                     
    45 30-8月 -05
    ORDPLUGINS                             
    44 30-8月 -05
    ORDSYS                                 
    43 30-8月 -05
    此處 open 不復(fù)制任何數(shù)據(jù),只是在你獲取數(shù)據(jù)時(shí)它才從表中讀數(shù)據(jù)。
    posted @ 2009-03-24 22:46 donnie 閱讀(129) | 評(píng)論 (0)編輯 收藏
    http://blogs.sun.com/chrisoliver/entry/javafx_vs_actionscript_performance
    posted @ 2009-03-23 15:34 donnie 閱讀(159) | 評(píng)論 (0)編輯 收藏
    僅列出標(biāo)題
    共8頁(yè): 上一頁(yè) 1 2 3 4 5 6 7 8 下一頁(yè) 
    主站蜘蛛池模板: 亚洲va无码专区国产乱码| 亚洲精品一级无码鲁丝片 | 综合一区自拍亚洲综合图区| 青青青国产在线观看免费网站| 亚洲综合区图片小说区| 亚洲视频免费播放| 亚洲冬月枫中文字幕在线看 | 性生大片视频免费观看一级 | 亚洲人成在线影院| 99爱在线观看免费完整版| 一区二区三区亚洲| 免费看污成人午夜网站| 亚洲欧美日韩综合久久久久| 午夜网站免费版在线观看| 日本系列1页亚洲系列| 久久久久亚洲AV成人网人人软件| fc2成年免费共享视频网站| 亚洲免费观看视频| 亚洲免费电影网站| 久久亚洲欧美国产精品| 亚洲真人日本在线| 99在线视频免费| 亚洲精品理论电影在线观看| 免费一级毛片免费播放| 在线观看片免费人成视频无码| 亚洲视频欧洲视频| 国产精品酒店视频免费看| 在线免费视频你懂的| 亚洲高清在线mv| 免费99热在线观看| 久久免费公开视频| 亚洲色在线无码国产精品不卡| 亚洲精品A在线观看| 毛片免费全部播放无码| 国产成人+综合亚洲+天堂| 久久精品国产亚洲香蕉| 国内精品免费视频自在线| 最新国产乱人伦偷精品免费网站| 亚洲一区二区三区深夜天堂| 亚洲国产精品综合久久网络| 啦啦啦完整版免费视频在线观看 |