优化表

MySQL拥有一套丰富的类型。你应该对每一列尝试使用最有效的类型。
ANALYSE过程可以帮助你找到表的最优类型:SELECT * FROM table_name PROCEDURE ANALYSE()。
对于不保存NULL值的列使用NOT NULL,这对你想索引的列尤其重要。
将ISAM类型的表改为MyISAM。
如果可能,用固定的表格式创建表。
不要索引你不想用的东西。
利用MySQL能按一个索引的前缀进行查询的事实。如果你有索引INDEX(a,b),你不需要在a上的索引。
不在长CHAR/VARCHAR列上创建索引,而只索引列的一个前缀以节省存储空间。CREATE TABLE table_name (hostname CHAR(255) not null, index(hostname(10)))
对每个表使用最有效的表格式。
在不同表中保存相同信息的列应该有同样的定义并具有相同的列名。

像安装windows应用程序那样安装ubuntu

免除新手的恐惧感:)

https://wiki.ubuntu.com/install.exe/Prototype

Wubi is an unofficial Ubuntu installer for Windows users that will bring you into the Linux world with a few clicks. Wubi allows you to install and uninstall Ubuntu as any other application. If you heard about Linux and Ubuntu, if you wanted to try them but you were afraid, this is for you.

Wubi is Safe
It does not require you to modify the partitions of your PC, or to use a different bootloader.

Wubi is Simple
Just run the installer, no need to burn a CD.

Wubi is Discrete
Wubi keeps most of the files in one folder, and If you do not like, you can simply uninstall it.

Wubi is Free
Wubi (like Ubuntu) is free as in beer and as in freedom. You will get this part later on,the important thing now is that it cost absolutely nothing, it is our gift to you…

So, what are you waiting for?

–EOF—
Translated by one (some bugs):
Wubi 是一个非官方的为windows用户设计的ubuntu安装程序,它会带你进入linux的世界,你需要做的就是点击几下鼠标.Wubi允许你安装和卸载ubuntu就像其他windows下的应用程序一样.如果你听说过Linux和Ubuntu,如果你想尝试一下但是又对安装过程比较恐惧,那么Wubi就是为你设计的.

Wubi是安全的
它不会要求你修改你的PC机的硬盘分区,或者使用一个另外的引导程序.

Wubi是简单的
你只需要运行安装程序,不必刻盘:)

Wubi是分散的

Wubi是把大多数文件是放在一个文件夹里的,如果你不喜欢这样,你可以很方便的卸载它

Wubi是免费的

Wubi (就像Ubuntu一样)是免费的和自由的.你待会将要得到这个部分,最重要的事情是现在它是无需任何开支的,它是我们送给你的礼物.

所以,你还在等什么呢?
–EOF–

MySQL tools released by Google

google-mysql-tools
MySQL tools released by Google
Various tools for managing, maintaining, and improving the performance of MySQL databases, originally written by Google. 

This includes:

  • mypgrep.py – a tool, similar to pgrep, for managing mysql connections
  • compact_innodb.py – compacts innodb datafiles by dumping and reloading all tables
  • patches – patches to add features to MySQL 4.0.26

visit this link:

http://code.google.com/p/google-mysql-tools/

morning

昨天,在小v的一顿索然无味的晚餐之后,就呼呼睡了。

起的早,很亲切的感觉,我需要这样的。

闻到到了好些年前的味道,很温馨、很惬意。

我应该早的。

Addon:

ubuntu 7.04 installed.

windows server 2003 sp2 uninstalled.