How to set proper ibdata file?

How to set proper ibdata file?

am 14.05.2009 11:47:38 von yueliangdao0608

--0016e6476110ee6f5e0469dc372e
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi.
I want to know if there're a metric to adjust the innodb's ibdata file
size.
Any reply is appreciated.
--
David Yeung,
MySQL Senior Support Engineer,
Sun Gold Partner.
My Blog:http://yueliangdao0608.cublog.cn
Comanpy: http://www.actionsky.com

--0016e6476110ee6f5e0469dc372e--

RE: How to set proper ibdata file?

am 15.05.2009 02:05:14 von Gavin Towey

--_000_30B3DF511CEC5C4DAE4D0D290504753413336567D9AAApmgiloca l_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

David,

The only metric is "as big as it needs to be."

Personally I recommend setting innodb-file-per-table in the my.cnf, then co=
nfiguring the ibdata file to be some small size, with the autoextend option=
enabled. That way it will take up only as much space as it needs, you'l=
l be able to reduce space effectively by dropping tables.

Regards,
Gavin Towey



Message-ID: <69069d7d0905140247w29e73f81pb394981fd91930d8@mail.gmail.com>



--0016e6476110ee6f5e0469dc372e

Content-Type: text/plain; charset=3DISO-8859-1

Content-Transfer-Encoding: 7bit



Hi.

I want to know if there're a metric to adjust the innodb's ibdata file

size.

Any reply is appreciated.

--

David Yeung,

MySQL Senior Support Engineer,

Sun Gold Partner.

My Blog:http://yueliangdao0608.cublog.cn

Comanpy: http://www.actionsky.com


--0016e6476110ee6f5e0469dc372e

________________________________
The information contained in this transmission may contain privileged and c=
onfidential information. It is intended only for the use of the person(s) n=
amed above. If you are not the intended recipient, you are hereby notified =
that any review, dissemination, distribution or duplication of this communi=
cation is strictly prohibited. If you are not the intended recipient, pleas=
e contact the sender by reply email and destroy all copies of the original =
message.

--_000_30B3DF511CEC5C4DAE4D0D290504753413336567D9AAApmgiloca l_--