Re: Foreign keys in mysqldump?

2002-03-13 Thread Heikki Tuuri

David,

a Solaris version of InnoDB Hot Backup is planned, as well as a FreeBSD
version.

Currently I am working with beta testers trying to get the Large file
support on Linux to work :).

Regards,

Heikki Tuuri
Innobase Oy

-Original Message-
From: David Felio [EMAIL PROTECTED]
Newsgroups: mailing.database.mysql
Date: Tuesday, March 12, 2002 7:18 PM
Subject: Re: Foreign keys in mysqldump?


InnoDB Hot Backup-0.33 beta is now available for Windows NT/2000/XP and
Linux.

Any plans for Solaris by the May 2002 release date?

 From: Heikki Tuuri [EMAIL PROTECTED]

 The beta testing of InnoDB Hot Backup (a non-free add-on tool) started on
 Monday. If you want to take part in the beta testing, look at
 http://www.innodb.com

sql

David Felio
Software Developer
Information Network of Arkansas
http://www.AccessArkansas.org


-
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




Re: Foreign keys in mysqldump?

2002-03-12 Thread Heikki Tuuri

Bob,

I have now improved foreign key support so that version 3.23.50 does

1. show the FOREIGN KEY definitions when you call SHOW CREATE TABLE; this
should also show them in mysqldumps;
2. preserve FOREIGN KEY definitions in ALTER TABLE and CREATE INDEX;
3. allow backquotes around column and table names in foreign key
definitions: backquotes are produced by SHOW CREATE TABLE;
4. allow adding a new foreign key constraint ot a table through
ALTER TABLE ... ADD CONSTRAINT FOREIGN KEY (...) REFERENCES ... (...);
remember though that you first have to create the appropriate indexes on the
parent and child table so that InnoDB approves the constraint.

I try to get also in .50 a command SET FOREIGN KEY CONSTRAINT CHECKS=0 which
allows you to disable them when you import dumped tables in a wrong order
regarding to the foreign key definitions.

In versions  3.23.50 the only way to 'dump' foreign key definitions is to
call SHOW TABLE STATUS FROM ... which prints them in the table comments.

Best regards,

Heikki Tuuri
Innobase Oy
---
Order technical MySQL/InnoDB support at https://order.mysql.com/
Speed up adding of features to MySQL/InnoDB through support contracts
See http://www.innodb.com for the online manual and latest news on InnoDB


-Original Message-
From: Bob McLaughlin [EMAIL PROTECTED]
To: MySQL Mailing List [EMAIL PROTECTED]
Cc: Heikki Tuuri [EMAIL PROTECTED]
Date: Monday, March 11, 2002 8:11 PM
Subject: Foreign keys in mysqldump?



When I do a mysqldump and include table creation, it does not seem to
include the foreign key constraints in the create table statements of the
InnoDB tables.

Is there a command line switch or other way to make this happen?

Thanks,
-Bob



-
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




RE: Foreign keys in mysqldump?

2002-03-12 Thread Bob McLaughlin

Heikki,

You are the man!

I am glad you are addressing these issues in 3.23.50.  They will make
foreign key support in MySQL much more robust (in my opinion, anyway..)

Is the .50 release available yet? If not, do you have a timeline for when it
will be, and when it would be recommended to use in production work?

Thanks much,
-Bob


-Original Message-
From: Heikki Tuuri [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 4:50 AM
To: Bob McLaughlin; MySQL Mailing List
Subject: Re: Foreign keys in mysqldump?


Bob,

I have now improved foreign key support so that version 3.23.50 does

1. show the FOREIGN KEY definitions when you call SHOW CREATE TABLE; this
should also show them in mysqldumps;
2. preserve FOREIGN KEY definitions in ALTER TABLE and CREATE INDEX;
3. allow backquotes around column and table names in foreign key
definitions: backquotes are produced by SHOW CREATE TABLE;
4. allow adding a new foreign key constraint ot a table through
ALTER TABLE ... ADD CONSTRAINT FOREIGN KEY (...) REFERENCES ... (...);
remember though that you first have to create the appropriate indexes on the
parent and child table so that InnoDB approves the constraint.

I try to get also in .50 a command SET FOREIGN KEY CONSTRAINT CHECKS=0 which
allows you to disable them when you import dumped tables in a wrong order
regarding to the foreign key definitions.

In versions  3.23.50 the only way to 'dump' foreign key definitions is to
call SHOW TABLE STATUS FROM ... which prints them in the table comments.

Best regards,

Heikki Tuuri
Innobase Oy
---
Order technical MySQL/InnoDB support at https://order.mysql.com/
Speed up adding of features to MySQL/InnoDB through support contracts
See http://www.innodb.com for the online manual and latest news on InnoDB


-Original Message-
From: Bob McLaughlin [EMAIL PROTECTED]
To: MySQL Mailing List [EMAIL PROTECTED]
Cc: Heikki Tuuri [EMAIL PROTECTED]
Date: Monday, March 11, 2002 8:11 PM
Subject: Foreign keys in mysqldump?



When I do a mysqldump and include table creation, it does not seem to
include the foreign key constraints in the create table statements of the
InnoDB tables.

Is there a command line switch or other way to make this happen?

Thanks,
-Bob



-
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




Re: Foreign keys in mysqldump?

2002-03-12 Thread Heikki Tuuri

Bob,

thank you!

I believe 3.23.50 will be out in two weeks. It is a stable version. The
changes in foreign keys were actually rather small. I hope they do not
degrade .50 to the beta category.

Best regards,

Heikki Tuuri
Innobase Oy
---
Order technical MySQL/InnoDB support at https://order.mysql.com/
Speed up adding of features to MySQL/InnoDB through support contracts
See http://www.innodb.com for the online manual and latest news on InnoDB


-Original Message-
From: Bob McLaughlin [EMAIL PROTECTED]
To: Heikki Tuuri [EMAIL PROTECTED]; MySQL Mailing List
[EMAIL PROTECTED]
Date: Tuesday, March 12, 2002 4:00 PM
Subject: RE: Foreign keys in mysqldump?


Heikki,

You are the man!

I am glad you are addressing these issues in 3.23.50.  They will make
foreign key support in MySQL much more robust (in my opinion, anyway..)

Is the .50 release available yet? If not, do you have a timeline for when
it
will be, and when it would be recommended to use in production work?

Thanks much,
-Bob


-Original Message-
From: Heikki Tuuri [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 4:50 AM
To: Bob McLaughlin; MySQL Mailing List
Subject: Re: Foreign keys in mysqldump?


Bob,

I have now improved foreign key support so that version 3.23.50 does

1. show the FOREIGN KEY definitions when you call SHOW CREATE TABLE; this
should also show them in mysqldumps;
2. preserve FOREIGN KEY definitions in ALTER TABLE and CREATE INDEX;
3. allow backquotes around column and table names in foreign key
definitions: backquotes are produced by SHOW CREATE TABLE;
4. allow adding a new foreign key constraint ot a table through
ALTER TABLE ... ADD CONSTRAINT FOREIGN KEY (...) REFERENCES ... (...);
remember though that you first have to create the appropriate indexes on
the
parent and child table so that InnoDB approves the constraint.

I try to get also in .50 a command SET FOREIGN KEY CONSTRAINT CHECKS=0
which
allows you to disable them when you import dumped tables in a wrong order
regarding to the foreign key definitions.

In versions  3.23.50 the only way to 'dump' foreign key definitions is to
call SHOW TABLE STATUS FROM ... which prints them in the table comments.

Best regards,

Heikki Tuuri
Innobase Oy
---
Order technical MySQL/InnoDB support at https://order.mysql.com/
Speed up adding of features to MySQL/InnoDB through support contracts
See http://www.innodb.com for the online manual and latest news on InnoDB


-Original Message-
From: Bob McLaughlin [EMAIL PROTECTED]
To: MySQL Mailing List [EMAIL PROTECTED]
Cc: Heikki Tuuri [EMAIL PROTECTED]
Date: Monday, March 11, 2002 8:11 PM
Subject: Foreign keys in mysqldump?



When I do a mysqldump and include table creation, it does not seem to
include the foreign key constraints in the create table statements of the
InnoDB tables.

Is there a command line switch or other way to make this happen?

Thanks,
-Bob




-
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




Re: Foreign keys in mysqldump?

2002-03-12 Thread Philip Molter

On Tue, Mar 12, 2002 at 11:50:12AM +0200, Heikki Tuuri wrote:
: Bob,
: 
: I have now improved foreign key support so that version 3.23.50 does
: 
: 1. show the FOREIGN KEY definitions when you call SHOW CREATE TABLE; this
: should also show them in mysqldumps;
: 2. preserve FOREIGN KEY definitions in ALTER TABLE and CREATE INDEX;
: 3. allow backquotes around column and table names in foreign key
: definitions: backquotes are produced by SHOW CREATE TABLE;
: 4. allow adding a new foreign key constraint ot a table through
: ALTER TABLE ... ADD CONSTRAINT FOREIGN KEY (...) REFERENCES ... (...);
: remember though that you first have to create the appropriate indexes on the
: parent and child table so that InnoDB approves the constraint.

Heikki,

That is fantastic news!  As far as everyday usage of InnoDB tables
goes, those are the number one issues we have to work around.
Thanks for taking the time to implement that.

Speaking of InnoDB development, what is the status on the InnoDB
backup utility?

* Philip Molter
* Texas.net Internet
* http://www.texas.net/
* [EMAIL PROTECTED]

-
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




Re: Foreign keys in mysqldump?

2002-03-12 Thread Heikki Tuuri

Philip,

-Original Message-
From: Philip Molter [EMAIL PROTECTED]
To: Heikki Tuuri [EMAIL PROTECTED]
Cc: Bob McLaughlin [EMAIL PROTECTED]; MySQL Mailing List
[EMAIL PROTECTED]
Date: Tuesday, March 12, 2002 4:21 PM
Subject: Re: Foreign keys in mysqldump?


On Tue, Mar 12, 2002 at 11:50:12AM +0200, Heikki Tuuri wrote:
: Bob,
:
: I have now improved foreign key support so that version 3.23.50 does
:
: 1. show the FOREIGN KEY definitions when you call SHOW CREATE TABLE; this
: should also show them in mysqldumps;
: 2. preserve FOREIGN KEY definitions in ALTER TABLE and CREATE INDEX;
: 3. allow backquotes around column and table names in foreign key
: definitions: backquotes are produced by SHOW CREATE TABLE;
: 4. allow adding a new foreign key constraint ot a table through
: ALTER TABLE ... ADD CONSTRAINT FOREIGN KEY (...) REFERENCES ...
(...);
: remember though that you first have to create the appropriate indexes on
the
: parent and child table so that InnoDB approves the constraint.

Heikki,

That is fantastic news!  As far as everyday usage of InnoDB tables
goes, those are the number one issues we have to work around.
Thanks for taking the time to implement that.


thank you!

Speaking of InnoDB development, what is the status on the InnoDB
backup utility?


The beta testing of InnoDB Hot Backup (a non-free add-on tool) started on
Monday. If you want to take part in the beta testing, look at
http://www.innodb.com

* Philip Molter
* Texas.net Internet
* http://www.texas.net/
* [EMAIL PROTECTED]



-
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




Re: Foreign keys in mysqldump?

2002-03-12 Thread David Felio

InnoDB Hot Backup-0.33 beta is now available for Windows NT/2000/XP and
Linux.

Any plans for Solaris by the May 2002 release date?

 From: Heikki Tuuri [EMAIL PROTECTED]

 The beta testing of InnoDB Hot Backup (a non-free add-on tool) started on
 Monday. If you want to take part in the beta testing, look at
 http://www.innodb.com

sql

David Felio
Software Developer
Information Network of Arkansas
http://www.AccessArkansas.org


-
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