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

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

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

    隨筆 - 79  文章 - 11  trackbacks - 0
    <2009年3月>
    22232425262728
    1234567
    891011121314
    15161718192021
    22232425262728
    2930311234

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

    常用鏈接

    留言簿

    隨筆分類(66)

    隨筆檔案(79)

    相冊

    收藏夾(11)

    搜索

    •  

    積分與排名

    • 積分 - 53311
    • 排名 - 949

    最新隨筆

    最新評論

    閱讀排行榜

         摘要:   閱讀全文
    posted @ 2009-07-16 22:33 donnie 閱讀(312) | 評論 (0)編輯 收藏
    http://www.oracle.com/technology/global/cn/products/timesten/index.html
    posted @ 2009-06-22 16:34 donnie 閱讀(214) | 評論 (0)編輯 收藏
    http://r.book118.com/files/article/html/19/19931/index.htm
    posted @ 2009-06-12 12:55 donnie 閱讀(193) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-06-12 12:06 donnie 閱讀(332) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-06-12 11:46 donnie 閱讀(203) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-06-12 11:45 donnie 閱讀(193) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-12 22:31 donnie 閱讀(245) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-12 17:21 donnie 閱讀(245) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-12 17:13 donnie 閱讀(4646) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-12 16:53 donnie 閱讀(205) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-12 16:49 donnie 閱讀(199) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-12 16:46 donnie 閱讀(181) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-08 12:06 donnie 閱讀(297) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-08 12:05 donnie 閱讀(3812) | 評論 (2)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-06 22:45 donnie 閱讀(616) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-05 23:06 donnie 閱讀(906) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-05 22:55 donnie 閱讀(229) | 評論 (1)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-05 22:31 donnie 閱讀(149) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-05 22:27 donnie 閱讀(106) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-05-05 22:23 donnie 閱讀(150) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-28 17:48 donnie 閱讀(2790) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-28 17:03 donnie 閱讀(256) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-28 15:12 donnie 閱讀(350) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-28 15:09 donnie 閱讀(143) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-28 14:41 donnie 閱讀(368) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-28 11:48 donnie 閱讀(1007) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-28 11:32 donnie 閱讀(1026) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-24 21:43 donnie 閱讀(241) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-24 21:43 donnie 閱讀(445) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-24 11:39 donnie 閱讀(291) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-24 10:54 donnie 閱讀(259) | 評論 (0)編輯 收藏
    巧用虛擬股權留住人心
    天津B公司:虛擬股份制 
    虛擬股權激勵方案設計
    posted @ 2009-04-23 11:25 donnie 閱讀(144) | 評論 (0)編輯 收藏

    http://www.hadoop.org/
    The Apache Hadoop project develops open-source software for reliable, scalable, distributed computing, including:

    • Hadoop Core, our flagship sub-project, provides a distributed filesystem (HDFS) and support for the MapReduce distributed computing metaphor.
    • HBase builds on Hadoop Core to provide a scalable, distributed database.
    • Pig is a high-level data-flow language and execution framework for parallel computation. It is built on top of Hadoop Core.
    • ZooKeeper is a highly available and reliable coordination system. Distributed applications use ZooKeeper to store and mediate updates for critical shared state.
    • Hive is a data warehouse infrastructure built on Hadoop Core that provides data summarization, adhoc querying and analysis of datasets.
    posted @ 2009-04-17 15:20 donnie 閱讀(143) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-17 11:02 donnie 閱讀(359) | 評論 (0)編輯 收藏

    http://www.hadoop.org/
    The Apache Hadoop project develops open-source software for reliable, scalable, distributed computing, including:

    • Hadoop Core, our flagship sub-project, provides a distributed filesystem (HDFS) and support for the MapReduce distributed computing metaphor.
    • HBase builds on Hadoop Core to provide a scalable, distributed database.
    • Pig is a high-level data-flow language and execution framework for parallel computation. It is built on top of Hadoop Core.
    • ZooKeeper is a highly available and reliable coordination system. Distributed applications use ZooKeeper to store and mediate updates for critical shared state.
    • Hive is a data warehouse infrastructure built on Hadoop Core that provides data summarization, adhoc querying and analysis of datasets.
    posted @ 2009-04-17 10:32 donnie 閱讀(140) | 評論 (0)編輯 收藏
    http://rdc.taobao.com/blog/dw/archives/286
    posted @ 2009-04-17 10:27 donnie 閱讀(175) | 評論 (0)編輯 收藏
    http://www.hadoop.org/
    http://cn.hadoop.org/
    posted @ 2009-04-17 10:26 donnie 閱讀(158) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-13 21:15 donnie 閱讀(136) | 評論 (0)編輯 收藏

    A SQL query walks into a bar and sees two tables. He walks up to them and says 'Can I join you?'


    from:  http://tkyte.blogspot.com/

    posted @ 2009-04-06 17:03 donnie 閱讀(119) | 評論 (0)編輯 收藏
    select to_date('Mon Jan 21 13:25:47 2008', 'dy mon dd hh24:mi:ss yyyy') from dual
    Ora-01846: not a valid day of the week
    出現的是中文的字符日期,如下:星期五 12月 19 13:53:15 2008
     是字符集的問題,解決:
    alter session set nls_date_language = 'American'
    posted @ 2009-04-06 16:00 donnie 閱讀(1140) | 評論 (0)編輯 收藏
         摘要:   閱讀全文
    posted @ 2009-04-06 11:50 donnie 閱讀(161) | 評論 (0)編輯 收藏
    http://v.youku.com/v_playlist/f2076316o1p28.html
    posted @ 2009-04-04 18:26 donnie 閱讀(116) | 評論 (0)編輯 收藏
    http://edu.136z.com/DataBase/32042.html

    目錄

    一、       前言... 4

    二、       思路... 4

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

    1.       安裝statspack. 4

    2.       創建stats$vmstat表... 4

    3.       創建vmstat目錄... 6

    4.       創建get_vmstat.ksh腳本... 6

    5.       創建run_vmstat.ksh腳本... 8

    6.       創建crontab作業,定時執行run_vmstat.ksh腳本... 9

    7.       分析數據... 9

    1)    異常報告... 9

    2)    每小時趨勢報告... 13

    3)    周趨勢報告... 14

    4)    長期趨勢報告... 14

    四、       使用Excel生成趨勢圖... 15

    五、       參考資料... 15
    posted @ 2009-04-02 10:46 donnie 閱讀(138) | 評論 (0)編輯 收藏
     改用傳統的pfile方式啟動,具體pfile的內容可從spfile文件中copy,或者從數據庫的警告日志文件中獲取。
    posted @ 2009-03-30 22:32 donnie 閱讀(227) | 評論 (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 閱讀(119) | 評論 (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 過程已成功完成。

    scott
    @ORCL> select count(*from t;

      
    COUNT(*)
    ----------
            56
    posted @ 2009-03-26 23:18 donnie 閱讀(123) | 評論 (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) | 評論 (0)編輯 收藏
    scott@ORCL> connect / as sysdba
    已連接。
    sys
    @ORCL> grant execute on dbms_flashback to scott;

    授權成功。

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

    PL
    /SQL 過程已成功完成。

    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 閱讀(310) | 評論 (1)編輯 收藏
    scott@ORCL> drop table t;

    表已刪除。

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

    表已創建。

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

    PL
    /SQL 過程已成功完成。

    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 不復制任何數據,只是在你獲取數據時它才從表中讀數據。
    posted @ 2009-03-24 22:46 donnie 閱讀(127) | 評論 (0)編輯 收藏
    http://blogs.sun.com/chrisoliver/entry/javafx_vs_actionscript_performance
    posted @ 2009-03-23 15:34 donnie 閱讀(158) | 評論 (0)編輯 收藏

    demo:   https://openjfx.dev.java.net/

    posted @ 2009-03-23 11:58 donnie 閱讀(131) | 評論 (0)編輯 收藏
    sudo passwd root;
    posted @ 2009-03-19 23:44 donnie 閱讀(102) | 評論 (0)編輯 收藏
    This solution worked perfectly for me: http://www.insecure.ws/2008/10/20/vm...nd-kernel-2627
    add this patch: vmware-update-2.6.27-5.5.7-2
    posted @ 2009-03-18 22:23 donnie 閱讀(496) | 評論 (2)編輯 收藏
    $sudo apt-get install scim scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh scim-gtk2-immodule scim-qtimm
    $sudo im-switch -s scim
    重新啟動Xwindow完成。按 Ctrl + 空格 鍵激活輸入法。

    posted @ 2009-03-18 14:56 donnie 閱讀(337) | 評論 (0)編輯 收藏
    sudo apt-get install  linux-restricted-modules-2.6.27-11-server
    sudo apt-get install  linux-headers-server
    sudo apt-get install  linux-image-server linux-server
    --it works.

    posted @ 2009-03-18 14:54 donnie 閱讀(194) | 評論 (0)編輯 收藏
    sudo apt-get install pidgin
    ——————————————————————
    pidgin是一個多協議的聊天工具,只要你有對應的帳戶,就可以同時和幾個帳戶下的好友同時聊。
     按提示添加帳戶就行了。
    posted @ 2009-03-17 21:35 donnie 閱讀(162) | 評論 (0)編輯 收藏
    系統-系統管理-軟件源,choose chinese site to get higher speed.
    posted @ 2009-03-17 21:14 donnie 閱讀(160) | 評論 (0)編輯 收藏
    http://msdn.microsoft.com/en-us/library/aa366778.aspx#physical_memory_limits_windows_xp
    posted @ 2009-03-17 16:40 donnie 閱讀(7815) | 評論 (1)編輯 收藏
    需以sysdba身份連接才能安裝。
    1,cd [oracle_home]\rdbms\admin;
    2,run  @spcreate.sql;
    按提示輸入必要的信息。
    如果輸入錯誤或者取消了安裝,下次安裝前需要先執行 spdrop.sql刪除用戶和已安裝的視圖。
    --SPCPKG complete. Please check spcpkg.lis for any errors.
    posted @ 2009-03-16 22:47 donnie 閱讀(92) | 評論 (0)編輯 收藏
    1,cd  [oracle_home]\rdbms\admin;
    2, run  @utlxplan;
    3, create public synonym plan_table to public; --no need to run in oracle10,oracle default
    4, grant all on plan_table to public;--no need to run in oracle10,oracle default, here public can be any user;
    ----create role plustrace and grant it to user
    1, cd [oracle_home]\sqlplus\admin;
    2, conn sqlplus as sysdba;
    3, run @plustrce;
    4, grant plustrace to public;
    ---test
     1, conn sqlplus with user scott;
    1.1, set autotrace on; 
     2, run : select * from dual;
     3, show stat info;
    --1.1 可選項: set autotrace off: 不生成報告,默認;
                               set autotrace on explain: 報告只顯示優化器執行路徑;
                               set autotrace on statistics: 報告只顯示sql語句執行統計信息;
                               set autotrace on: 報告顯示優化器執行路徑,sql語句統計信息;
                                set autotrace traceonly: 報告顯示優化器執行路徑,sql語句統計信息,不顯示查詢輸出;

                              
    ref:oracle 9i、10g編程藝術。

                             


    posted @ 2009-03-16 22:35 donnie 閱讀(106) | 評論 (0)編輯 收藏
    ref:oracle 9i、10g編程藝術。
       sqlplus允許建立一個login.sql,通過設置環境變量SQLPATH,指向文件所在目錄,每次啟動sqlplus都會執行這個腳本。
    login.sql例子:

     

        
    define _editor
    =notepad
    set serveroutput on size 1000000
    set trimspool on
    set long 5000
    set linesize 100
    set pagesize 9999
    column plan_plus_exp format a80
    column global_name new_value gname
    set termout off
    define gname
    =idle
    column global_name new_value gname
    select lower(user|| '@' || substr( global_name, 1, decode( dot, 0,
    length(global_name), dot
    -1) ) global_name
      
    from (select global_name, instr(global_name,'.') dot from global_name );
    set sqlprompt '&gname> '
    set termout on

     

    define _editor: sqlplus默認的編輯器;
    set serveroutput on size 1000000:默認打開DBMS_OUTPUT,將緩沖區設置盡可能大;
    posted @ 2009-03-16 22:07 donnie 閱讀(287) | 評論 (0)編輯 收藏
    現象:
    sys@ORCL> grant select on v$session to scott;
    grant select on v$session to scott
                    *
    第 1 行出現錯誤:
    ORA-02030: 只能從固定的表/視圖查詢

    解決:
     grant select on v_$session to  scott;
    posted @ 2009-03-16 21:59 donnie 閱讀(826) | 評論 (0)編輯 收藏
      HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\FlashPlayer\SafeVersions]
    將"9.0",“10.0” 項刪除,重新安裝。
    posted @ 2009-03-16 15:31 donnie 閱讀(2925) | 評論 (2)編輯 收藏
    主站蜘蛛池模板: 精品亚洲成a人片在线观看| 亚洲国产成人精品不卡青青草原| 亚洲精品无码专区在线在线播放| 亚洲精品日韩专区silk| 久久精品国产亚洲av瑜伽| 巨胸狂喷奶水视频www网站免费| 国产2021精品视频免费播放| 国产一区二区三区在线免费观看 | 午夜私人影院免费体验区| 国产亚洲午夜高清国产拍精品| 亚洲日韩乱码中文无码蜜桃| 人体大胆做受免费视频| 4hu四虎最新免费地址| 久久久久亚洲AV成人网人人软件| 亚洲va在线va天堂va手机| 国产免费久久精品丫丫| 成人黄18免费视频| 亚洲va无码va在线va天堂| 亚洲gay片在线gv网站| 8x8x华人永久免费视频| 亚洲日本中文字幕天堂网| 国产成人精品日本亚洲专区6| 青柠影视在线观看免费高清| 日本无卡码免费一区二区三区| 亚洲av日韩综合一区在线观看| 美女被爆羞羞网站免费| 在线看片无码永久免费视频| 亚洲欧洲∨国产一区二区三区| 国产精品亚洲lv粉色| 国产大片免费网站不卡美女| 亚洲熟妇无码乱子AV电影| 亚洲av无码成人精品国产| 天天影院成人免费观看| 亚洲精品白浆高清久久久久久| 羞羞漫画小舞被黄漫免费| 青青久在线视频免费观看| 久久久久亚洲av无码专区喷水| a毛片免费观看完整| 夜色阁亚洲一区二区三区| 亚洲综合精品伊人久久| 免费无码又爽又刺激高潮视频|