Archive for the ‘DATABASE’ Category.

Protected: [note] chapter7 – Managing Schema Objects

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


Protected: [note] chapter6 – Administering User Security

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


Protected: [note] chapter5 – Managing Database Storage Structures

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


Protected: [note] chapter4 – Managing the Oracle Instance

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


Protected: [note] chapter2_安裝 patch / chapter3_更新patch後_upgrade_database.txt

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


Protected: [note] Linux_安裝Oracle的步驟 (with Oracle enterprise linux)

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


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

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


Protected: oracle problem 2010.0131

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


Protected: 2010.0130 shutdown web

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


Protected: mysql myisam performance tunning 過程 – sample data

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


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

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


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

在 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

[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要另外建, 如上四行

Protected: oracle problem 0115

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


Protected: install senna mysql search

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


Protected: oracle grant permission

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


Protected: [收藏] 用 sqlplus show parameter 顯示 oracle 的隱藏參數

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


Protected: 2009.0108 Oracle db2 Trace dumping / problem / crash

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


Oracle 貴到不像話! 開始 IBM DB2 解決方案 / mysql to db2 轉移

http://articles.sitepoint.com/article/php-database-db2

DB2table

http://www.ibm.com/developerworks/data/library/techarticle/scott/0614_scott.html

Application Development with DB2

http://www-01.ibm.com/software/data/db2/ad/

http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0610tham/






利用 MySQL 技能学习 DB2 Express: DB2 与 MySQL 的管理任务和基本任务
您的数据库环境要求具有跨数据库的技能吗?如果您熟悉 MySQL,那么可以使用您已经拥有的很多技能来学习 DB2 Express。本文是关于利用 MySQL 技能学习 DB2 的系列文章的第一部分,将对管理任务、数据类型、SQL、锁定等进行比较。
2006年4月3日

利用 MySQL 技能学习 DB2 Express: DB2 与 MySQL 的备份和恢复
具有 MySQL 背景的 DBA 可以利用本指南学习 DB2 中的备份和恢复实用程序是如何工作的,并与 MySQL 中的备份和恢复功能进行对比。
2006年7月18日

从 MySQL 或 PostgreSQL 迁移到 DB2 Express-C
容易使用、强大而且免费!这就是人们对 MySQL 和 PostgreSQL 的评价。但是,您知道 DB2 Express-C 是一种免费的具有专业水准且容易使用的数据库吗?学习如何轻松地从 MySQL/PostgreSQL 迁移到 DB2
2006年9月11日

利用 MySQL 技能学习 DB2 Express,第 4 部分: DB2 与 MySQL 数据转移
如果您是一位要同时管理 MySQL 和 IBM DB2 Express-C 的 DBA,就需要理解这两种数据库服务器的功能差异。本文是系列文章中的第 4 篇,这个系列帮助具有 MySQL 背景的 DBA 学习如何管理 DB2 Express。在本文中,学习在这两种产品中数据转移技术有何差异。讨论的技术包括 Import、Export、Load 以及专门用于数据转移的其他实用程序。
2007年2月1日

利用 MySQL 技能学习 DB2 Express,第 3 部分: DB2 与 MySQL 图形用户界面
DB2 for Linux, UNIX, and Windows 提供了丰富的 GUI 特性,使管理员能够执行他们的日常任务,包括空间管理、备份和恢复以及与开发相关的任务。本文帮助正在从 MySQL 迁移到 DB2 Express 的读者对比这两种数据库的功能。

Protected: oracle problem 0105 – db4 掛點

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