Hi!

----- Original Message -----
From: "walt" <[EMAIL PROTECTED]>
Newsgroups: mailing.database.mysql
Sent: Thursday, May 23, 2002 10:24 PM
Subject: Re: Ibdata1 file thats just too big...


> "Williamson, David" wrote:
>
> > Hi there,
> >
> > My Ibdatafile is set too big (the disk is full to the point that nothing
is
> > executing properly) I am wondering is it safe to delete this file and
then
> > in the my.cnf file reset the size to something smaller... - how does the
> > Ibdata file work in conjunction with mysql...
> > Will I lose data if I do this?

Yes, you will lose the data since InnoDB tables are contained in the ibdata
files.

You should first convert your InnoDB tables to MyISAM with

ALTER TABLE tablename TYPE=MyISAM

Then you can delete and resize the ibdata files. Then convert back.

Best regards,

Heikki Tuuri
Innobase Oy
---
InnoDB - transactions, hot backup, and foreign key support for MySQL
See http://www.innodb.com, download MySQL-Max from http://www.mysql.com


> > Many thanks,
> >
> > David
> >
> > ---------------------------------------------------------------------
> > Before posting, please check:
> >    http://www.mysql.com/manual.php   (the manual)
> >    http://lists.mysql.com/           (the list archive)
> >
> > To request this thread, e-mail <[EMAIL PROTECTED]>
> > To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
> windows or linux?
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to