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

2008/03/27

php , date_default_timezone_set

Filed under: Programming/php — 4:20 pm

Sets the default timezone used by all date/time functions in a script

date_default_timezone_set( “Asia/Taipei” );

useful mysql command

Filed under: DATABASE — 3:27 pm

show status like ‘Qcache%’;

explain select …..

分析 schema 

echo “select * from tbl_item procedure analyse()\G” | mysql db_name > ana.txt

mysql turning off query cache

Filed under: DATABASE, Programming/php, System/Linux/Unix* — 8:42 am

set GLOBAL query_cache_size=0

2008/03/19

File System Benchmarks for Postfix Mail Server

Filed under: System/Linux/Unix* — 10:11 pm

(more…)

2008/03/18

Protected: 在CentOS 4.5上安裝Oracle 10g

Filed under: DATABASE, System/Linux/Unix* — 9:36 pm

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


Protected: [轉貼] CentOS 5.1-初始環境設定

Filed under: Copy_N_Paste, System/Linux/Unix* — Tags: — 9:16 pm

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


Protected: centos routing

Filed under: JOB — 8:48 pm

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


2008/03/15

adject file descriptors

Filed under: DATABASE, Programming/misc, System/Linux/Unix* — 8:09 pm

On Unix, each TCP/IP connection uses a file descriptor, so you must increase the total number of descriptors available to the operating system, and also increase the maximum number of descriptors each process is allowed to use. All Unix style operating systems have a “ulimit” shell command (sh and bash) which can allow more open file descriptors to commands started in that shell, once the appropriate kernel tweak has been made. We recommend “ulimit -n 8192″. Here are our recommended kernel tweaks:

Linux: “echo 65536 > /proc/sys/fs/file-max” changes the number of system-wide file descriptors

FreeBSD: append to /etc/sysctl (or you can use sysctl -w to add these)

kern.maxfiles=65536
kern.maxfilesperproc=32768

Solaris: add the following to /etc/system and reboot:

set rlim_fd_max=0×8000
set rlim_fd_cur=0×8000

Top10SQLPerformanceTips

Filed under: DATABASE — 10:45 am

(more…)

Top 84 MySQL Performance Tips

Filed under: DATABASE — 10:44 am

You can check the same tips from here.Here is very useful tips for all mysql DBA’s,

Developers these tips are noted from MySQL Camp 2006 suggested by mysql community experts. (more…)

下頁»

www.monster.com.tw , © Copyright 2008