当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Discussion about optimise MySQL
 

 

 ·环境变量与保留字符    »显示摘要«
    摘要:狂晕!谁知道“\”的资料 (6)shell环境变量 cdpath 用于cd命令的查找路径 home /etc/passwd文件中列出的用户主目录 ifs internal field separator,默认为空格,tab及换行符 mail /var/mail/$username mail等程序使用 path ps1,ps2 默认提示符($)及换行提示符(>) term 终端类型,常用的有v......
    摘要:把if语句看了看,做了一个练习 ^_^ 一个猜随机数的小脚本! (附测试结果) 点击查看文件==>lx.txt......


Tuning MySQL
上一页   ...per day each. so, at peak times, we have to handle about 2000 concurrent users.

when configured correctly, php and mysql can handle this load wonderfully on fairly 【程序编程相关:锁定控制台的一个脚本

【推荐阅读:stty技巧小全

cheap intel architecture. first off, hardware. 【扩展信息:如何为普通用户分配特权

1) it is better to have 2 separate servers for apache/php and mysql with the linux of your choice.

2) try not to run too much else on either box; leave the resources for apache/php and mysql.

here are the specs on each box in my config:

1) apache/php: pentium 3, 600 mhz, 512 megs ram.

2) mysql: dual pentium 3, 750 mhz (1500 mhz total), 2 gigs ram.

the reason for this configuration is that it is very database heavy;

it is a members only web site with username and password required for login, fully personalized.

it is an online school, so each student has their suite of tools for attending school,

their courses, report cards, time logging, and much more. teachers have web based tools to create

their courses, including lessons, text to speech audio, and more.

1) php coding: be sure to use persistent connections!

opening and closing a connection from your apache/php box to your mysql box is a very heavy load.


...   下一页
 ·用perl写的一个脚本    »显示摘要«
    摘要:今天看论坛上有人问问题,我尝试用perl写了一个perl script ^_^ 感觉perl真的很有趣 :-)由于代码无法正确显示,点击 此文件 即可查看......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE