Monster Oasis
覺得累就是進步的開始!

2010/02/10

Protected: [note] Oracle 11G R1 RAC + openfiler on xen

Filed under: DATABASE, JOB — Tags: , — 5:52 pm

This post is password protected. To view it please enter your password below:


2010/01/31

Protected: oracle problem 2010.0131

Filed under: DATABASE, JOB, System/Linux/Unix* — Tags: — 7:01 pm

This post is password protected. To view it please enter your password below:


2010/01/30

Protected: 2010.0130 shutdown web

Filed under: DATABASE, JOB — Tags: — 7:05 pm

This post is password protected. To view it please enter your password below:


2010/01/29

Protected: mysql myisam performance tunning 過程 – sample data

Filed under: DATABASE, JOB — Tags: , — 6:44 pm

This post is password protected. To view it please enter your password below:


Protected: mysql innodb 的部份參數 , my.cnf

Filed under: DATABASE, JOB — Tags: , — 5:57 pm

This post is password protected. To view it please enter your password below:


2010/01/18

解決用 NFS 當 documentroot 時會當掉的方法

Filed under: DATABASE, JOB — Tags: — 10:27 pm

在 apache 的 core document 中的 EnableMMAP Directive 有提到 ,

With an NFS-mounted DocumentRoot, the httpd may crash due to a segmentation fault if a file is deleted or truncated while the httpd has it memory-mapped.

所以,

EnableMMAP Off
  • With a network-mounted DocumentRoot (e.g., NFS or SMB), the kernel may be unable to serve the network file through its own cache.

For server configurations that are vulnerable to these problems, you should disable this feature by specifying:

EnableSendfile Off

筆記 DB2 建 table / index syntax

Filed under: DATABASE, JOB — Tags: — 9:30 am

[2010/1/16 上午 10:25:03] _RUTEN Jack神奇傑克 說 :

CREATE TABLE DB2INST1.TBL_CODE
(
  ID BIGINT  NOT NULL  GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1, NO CACHE ) ,
  XDATE VARCHAR (8)  NOT NULL  WITH DEFAULT ‘000000′ ,
  XHOUR VARCHAR (2)  NOT NULL  WITH DEFAULT ‘00′ ,
  TAG1 VARCHAR (200)  NOT NULL  WITH DEFAULT ” ,
  TAG2 VARCHAR (300)  NOT NULL  WITH DEFAULT ” ,
  VAL BIGINT  NOT NULL  WITH DEFAULT 0  ,
  CONSTRAINT CC1263604830858
  PRIMARY KEY ( ID)
) IN USERSPACE1 INDEX IN NDXSPACE1 ;

CREATE  INDEX DB2INST1.NDX_XDATE ON DB2INST1.TBL_CODE (XDATE DESC)  PCTFREE 10 MINPCTUSED 10 ALLOW REVERSE SCANS  PAGE SPLIT SYMMETRIC COLLECT  SAMPLED DETAILED  STATISTICS ;
CREATE  INDEX DB2INST1.NDX_XHOUR ON DB2INST1.TBL_CODE (XHOUR DESC)  PCTFREE 10 MINPCTUSED 10 ALLOW REVERSE SCANS  PAGE SPLIT SYMMETRIC COLLECT  SAMPLED DETAILED  STATISTICS ;
CREATE  INDEX DB2INST1.NDX_TAG1 ON DB2INST1.TBL_CODE (TAG1 ASC)  PCTFREE 10 MINPCTUSED 10 ALLOW REVERSE SCANS  PAGE SPLIT SYMMETRIC COLLECT  SAMPLED DETAILED  STATISTICS ;
CREATE  INDEX DB2INST1.NDX_TAG2 ON DB2INST1.TBL_CODE (TAG2 ASC)  PCTFREE 10 MINPCTUSED 10 ALLOW REVERSE SCANS  PAGE SPLIT SYMMETRIC COLLECT  SAMPLED DETAILED  STATISTICS ;

你的第一個table建完了, 第二個之後可以直接下同樣的指令, 非unique/primary的index要另外建, 如上四行

2010/01/16

Protected: oracle problem 0115

Filed under: DATABASE, JOB — Tags: — 10:17 am

This post is password protected. To view it please enter your password below:


2010/01/12

Protected: install senna mysql search

Filed under: DATABASE, JOB — 5:50 pm

This post is password protected. To view it please enter your password below:


Protected: oracle grant permission

Filed under: DATABASE, JOB — Tags: , , — 10:16 am

This post is password protected. To view it please enter your password below:


下頁»

www.monster.com.tw , © Copyright 2008