MySQL5.1地的确提供了好多有力的工具来帮助我们DBA进行数据库管理。
现在看一下这个压力测试工具mysqlslap.
关于他的选项手册上以及–help介绍的很详细。 继续阅读
月度归档:2014年04月
Linux下Apache与Tomcat整合的简单方法
1、准备,下载需要的文件。
这里假定你已经正确安装配置好了JDK。
到Apache官方网站下载所需要的文件:
httpd-2.2.0.tar.gz
apache-tomcat-5.5.12.tar.gz
jakarta-tomcat-connectors-1.2.15-src.tar.gz
其中httpd和jakarta-tomcat-connectors为源码包,apache-tomcat为二进制包。 继续阅读
基于网络的 Red Hat 无人值守安装
本文介绍了 PC 平台上的一种快速 Red Hat Linux 安装方案。它具有很高的自动化程度–用户只需手工启动机器并选择从网络启动,就可以完成整个安装过程。在需要批量安装大量 Red Hat Linux 系统和需要技术人员 Red Hat Linux 安装支持的情况下,这种方案可以节省大量的时间。而且由于不需要额外的软件和光驱和软驱等硬件设备,在成本上也有很大优势。所有安装 Red Hat Linux 的开发/测试人员,和 IT 支持人员都能够从本文中获益。读者在阅读本文前需要有 Red Hat Linux 的安装经验。
vi/vim文件加密和乱码的处理
在使用vi或者vim编辑文件是,在存盘退出的时候,应该使用:wq或者:x退出,但是有时候可能不小心按了:X,
这时体统会提示:
Enter encryption key:
Enter encryption key: *
Enter same key again: *
[oracle@ts01 admin]$ vim $ORACLE_HOME/sqlplus/admin/glogin.sql
How can I improve performance with the Linux 2.6 kernel
General performance tuning tips:
-9550SX(U)/9590SE/9650SA/9690SA – Set Storsave profile to Balance (if you are using a BBU) or Performance (if you don’t have a BBU) -Make sure cache is enabled. Data loss is possible if you aren’t using a BBU, so be sure to read the 3ware User’s Guide. -Check your NCQ setting. In general enabling NCQ if your disk drives support NCQ will increase performance. It is possible that disabling NCQ can increase performance. It is best to try both NCQ enabled and disabled and measure performance to see which is higher performing for your particular application/disk drive manufacturer/model/firmware. -Make sure your unit is in optimal mode, and not degraded/initializing/verifying. 继续阅读
Ext2文件系统转换为Ext3的方法
Ext2文件系统在操作系统崩溃或者非法关机的情况下重启之后,要开始漫长的自检过程。自检的时间大致和硬盘的大小有关。因此,现在大部分LINUX系统在安装的时候都使用了Ext3。但如果使用了Ext2文件系统,又不想重装系统的话,可以采用下面提供的方法将Ext2转换为Ext3。 继续阅读
sysutils of informix
{ ********************************************************************* } { } { INFORMIX SOFTWARE, INC. } { } { Sccsid: %W% %E% %U% } { Created: June 1995 } { Description:create system utilities database tables } { } { ********************************************************************* } 继续阅读
sysmaster of informix
{ ************************************************************************* } { } { INFORMIX SOFTWARE, INC. } { } { Title: sysmaster.sql } { Sccsid: @(#)sysmaster.sql 9.35 12/3/93 18:06:28 } { Description: } { create sysmaster database and SMI tables } { } { NOTE: Ensure that any changes in the schema of the "sysmaster" database } { OR changes in the corresponding shared memory structure defns } { are reflected *appropriately* in ALL the files below: } { rsam/sysmaster.sql.IUS, } { rsam/sysmaster.sql.ODS, } { rsam/rsmem.h, } { rsam/rspseudo.h and } { rsam/rspseudo.c } { } { ************************************************************************* } 继续阅读
邮件系统存储方案:NAS存储解决方案
概述
近年来,服务器CPU的速度在不断翻番,随着ATM和千兆以太网的普遍使用,网络带宽不足的矛盾也得到很大缓解。硬盘系统的容量在不断扩大,但I/0的速度始终没有明显的提高,这就使它日益明显地成为制约整个网络系统效率的瓶颈。 继续阅读
IIS 6.0 的重定向参数详解
有时候网站需要更换域名,但是不想放弃以往的搜索引擎收录,那么就需要做 301 永久重定向了,那么 IIS 6.0 如何能做到最简单的全站重定向呢?
设置 IIS 站点属性 》主目录 》重定向到URL写入http://www.新域名.com$S$Q
并且选中 上面输入的准确URL 和资源的永久重定向 。即可使旧域名的网址参数完整传递到新的域名。 继续阅读