Chris,
- Original Message -
From: "Chris Nolan" <[EMAIL PROTECTED]>
To: "Heikki Tuuri" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 12, 2004 2:26 PM
Subject: Re: InnoDB Hot Backup + MySQL embedded?
> Dear Heikki,
&g
UNIQUE secondary index, and NULL values in that
unique index; with the IS NULL predicate, InnoDB returned only the first
matching row, though there can be many. This bug was introduced in 4.0.16.
(Bug #2483)
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
--
MySQL General Mai
the mysqld server at all. It just
reads the InnoDB data and log files.
On the other hand, the innobackup Perl script does start a mysql connection
to the server.
> Regards,
>
> Chris
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row
languages on Earth.
Thank you,
Heikki
- Alkuperäinen viesti -
Lähettäjä: "Sven Woltmann" <[EMAIL PROTECTED]>
Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Lähetetty: Tuesday, February 10, 2004 3:53 PM
Aihe: RE: Foreign Key Reference
Sven,
are you using the UTF8 charset? Then a single character may use up to 3
bytes. Since MySQL cannot work with index columns longer than 255 bytes, for
columns CHAR(86) or longer, MySQL must define a 'column prefix' index, if
you define an index on the column. That is, MySQL internally creates
ext problem (bug #2490).
>
> Thanks for info,
> mirza
2 months ago I predicted 4.1.2-beta would be released Jan 25th, 2004. But
now I would guess March 5, 2004.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB
ing all lsn's and trx id's in
the .ibd file.
> Thanks for any replies,
> --
> Chris
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISA
Geoffrey,
- Original Message -
From: "Geoffrey" <[EMAIL PROTECTED]>
To: "Heikki Tuuri" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, February 07, 2004 10:11 PM
Subject: Re: Memory Leak using InnoDB ?
> Dan, Heikki,
>
>
r that.
> We have found that you can defrag a table: "From MySQL Manual: The way to
do the defragmenting is to perform a 'null' alter table operation ALTER
TABLE tablename TYPE=InnoDB." We would like to do this for the complete
database.
>
> Thanks again for a
p' line for that process.
By the way, monitoring if InnoDB has memory leaks is very easy. Just look
with SHOW INNODB STATUS at the 'total allocated memory'. If that keeps
climbing without bounds, that is an indication of a memory leak.
> --
> Dan Nelson
> [EMAIL PROTECTED]
.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM
tables
Order MySQL technical support from https://order.mysql.com/
- Original Message -
From
`databasename.tablename_fk_`
Replication does not like globally generated id's like `0_1584`, because the
id's will differ if the slave is not set up as an exact binary replica of
the master.
I hope these bug fixes make it to 4.0.18 and 4.1.2.
> Thanks
>
> Phil
Best r
ome arbitrary number? My
> table type is InnoDB.
drop the table, recreate it, insert a dummy row with the auto-inc column set
to the desired value minus 1, and delete that dummy row.
> Thanks.
>
> Hassan
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, tra
Lawrence,
- Alkuperäinen viesti -
Lähettäjä: "Lawrence Smith" <[EMAIL PROTECTED]>
Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]>
Kopio: <[EMAIL PROTECTED]>
Lähetetty: Sunday, February 01, 2004 1:03 PM
Aihe: Re: Shrinking innodb datafiles?
NSERT, sometimes as a DELETE + INSERT,
and sometimes as an UPDATE. The behavior with foreign key constraints is not
very well predictable.
You can get a detailed description of the latest FOREIGN KEY error with
SHOW INNODB STATUS\G
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
For
t
> backup or mysqldump?
Also snapshot file systems, like the Veritas file system should work, though
I have not tested them.
> Thanks,
>
> Mauro
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup -
Lawrence,
- Original Message -
From: "Lawrence Smith" <[EMAIL PROTECTED]>
To: "Heikki Tuuri" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, January 31, 2004 6:47 PM
Subject: Re: Shrinking innodb datafiles?
> Heikki,
>
> thank
Hi!
It depends on the isolation level whether locking reads set next-key locks
(= lock the record AND the gap before it), or only lock the record itself.
http://www.innodb.com/ibman.php#Set.transaction:
"
READ UNCOMMITTED
This is also called dirty read: non-locking SELECTs are performed so that
>
> If I am not using Automatic COMMITs then my backup will contain data =
> up
> to the last COMMIT (In other words, data since the last COMMIT will not
> be included in the backup. Is this true?
>
> I appreciate any guidance...Thanks Much!
>
> Mauro
Best regards,
Heikk
Lawrence,
if you use MySQL-4.1.1, and specify
innodb_file_per_table
in my.cnf, then InnoDB places each table into its own .ibd file. That is a
way to free the disk space to the OS if you drop a table.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and
Chris,
InnoDB file format changes:
4.1.0 -> 4.1.1 introduced multiple tablespaces;
4.1.1 -> 4.1.2 or .3allow multiple charsets in the same database
installation (currently only the default charset is used in InnoDB);
5.0.0 -> 5.0.x create all new InnoDB tables in a spa
Michael,
I guess the table is corrupt and its row contains a wrong trx id. InnoDB
tries to retrieve an earlier version of the row, but the roll ptr in the row
is garbage too, and it contains a nonexistent rollback segment id.
"
InnoDB: Error: trying to return an SQL NULL field in a non-null innoD
Jeremiah,
if you are using a fairly recent version of MySQL, you can print with
SHOW INNODB STATUS\G
a detailed explanation of the latest foreign key error.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot
Matthew,
sorry, InnoDB does not support deferred constraint checking. It is in the
long-term TODO.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM
single transaction.
Regards,
Heikki
- Original Message -
From: "Keith Thompson" <[EMAIL PROTECTED]>
To: "Heikki Tuuri" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 22, 2004 4:46 PM
Subject: Re: InnoDB loading: add keys before or after
&g
faster, but that is not the case for InnoDB.
DISABLE KEYS has no effect on InnoDB.
It is in the TODO to speed up index creation. Maybe in 2005 it will be
faster to add the indexes afterwards :).
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row
s a lengthy comment at the start of
the file. And the full source code of the algorithms, too :). Papers by IBM
researcher C. Mohan may also be of interest.
> Thank you for your time,
>
> Alex Zeltser
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions
backup taken with InnoDB Hot Backup, you do not need to
import table dumps. Thus restoration is much faster than if you use table
dumps as a backup (table dump = LOGICAL backup).
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MyS
se. i have trouble access iblog file. Anyone know
> how to access iblog file ?
What error message does mysqld print?
> Thanks in advance.
>
> -M. Amrin-
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB
If A holds an X-lock on gap1 and B holds an X-lock on gap2, and purge
removes the delete_marked_record, then the gaps merge, and both A and B hold
an X-lock on the gap.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB
Keith,
please see my reply to Mikel in thread 'Too slow recovering mysqldump
files'.
Since you are running a 64-bit version, you can set innodb_buffer_pool_size
as high as 3 GB in your hardware. You can monitor the progress of the big
ALTER TABLE with
SHOW INNODB STATUS\G
Best regard
can squeeze a typical table to 1 / 4 the size of a normal InnoDB
table. I believe the compressed format will be available in October 2004.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool
Mikel,
have you set the size of the InnoDB log files as recommended in the manual?
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM
tables
Order
Michael,
the crashes below happen in independent areas of code. The 2 first are
inside InnoDB, and the third inside MySQL. This looks like random thread
crashes, or random memory corruption.
I assume that you have my.cnf set so that the memory usage cannot approach 2
GB.
You are running a relati
years ago.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM
tables
Order MySQL technical support from https://order
orked.
"
I realize InnoDB should give an error if you try to create a cyclic ON
UPDATE CASCADE constraint. Or even better, we should implement it so that
also that would work! Though the behavior in the case where the constraint
recurses to update the same row twice is problematic.
Best regard
Andrew,
please check with
SHOW VARIABLES LIKE '%innodb%';
that you really have InnoDB enabled.
I tested the script below on Linux with 4.0.8 and 4.0.18, and it worked ok.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking
files).
If InnoDB's crash recovery crashes or its internal cleaning processes crash
because of database corruption, then you need to set
set-variable = innodb_force_recovery=...
in my.cnf to a value 1 ... 6. See
http://www.innodb.com/ibman.php#Forcing_recovery for details.
Best regards,
Heikki
Roman,
- Alkuperäinen viesti -
Lähettäjä: "Roman Neuhauser" <[EMAIL PROTECTED]>
Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]>
Kopio: <[EMAIL PROTECTED]>
Lähetetty: Wednesday, January 07, 2004 8:05 PM
Aihe: Re: innodb_buffer_pool_size / *_buffe
ooner.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM
tables
Order MySQL technical support from https://order.mysql.com/
- Original Message -
F
Kool,
there are no longer GPL binaries of MySQL for SCO operating systems. Only
commercial binaries that you have to buy from MySQL AB.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool
Don,
the InnoDB text below is only a help message, not an error, and is not
dangerous. It is not associated with the timeout problems you have on
Fedora.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup
yISAM type temporary tables when
processing DISTINCT or ORDER BY.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM
tables
Order MySQL technical su
Chris,
you should set max_packet_size in my.cnf.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM
tables
Order MySQL technical support from https
Pete,
what does
SHOW VARIABLES LIKE '%timeout%';
say?
Does the MNRD mysqld server crash? Anything in the .err log?
What do you have as max_packet_size in my.cnf? Could row: 13154861 be bigger
than that?
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, tr
Franky,
you apparently have just the PRIMARY KEY defined on the table and no
secondary indexes. I guess the fragmentation comes because you delete rows
from in the middle with respect to the primary key ordering? Or do you also
insert in random order? Anyway, you cannot do anything to prevent
frag
Randy,
that is expected:
http://www.innodb.com/ibman.php#Locks_set_by_statements
"
If a FOREIGN KEY constraint is defined on a table, any insert, update, or
delete which requires checking of the constraint condition sets shared
record level locks on the records it looks at to check the constraint
Franky,
since MySQL performs
ALTER TABLE ... TYPE = InnoDB;
by totally rebuilding the table, it is very normal that the space usage
temporarily doubles in ibdata files.
But if it doubles also after an immediate SECOND rebuild, then that must be
a bug. If you can reproduce that phenomenon, pleas
Michael,
- Alkuperäinen viesti -
Lähettäjä: <[EMAIL PROTECTED]>
Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]>
Kopio: <[EMAIL PROTECTED]>
Lähetetty: Monday, December 29, 2003 11:53 PM
Aihe: Re: Foreign Keys in CREATE TABLEs produced by mysqldump
> &
Ramesh,
- Alkuperäinen viesti -
Lähettäjä: "Ramesh Vadlapatla" <[EMAIL PROTECTED]>
Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]>
Lähetetty: Monday, December 29, 2003 10:48 PM
Aihe: Re: MySQL/InnoDB-5.0.0 is released
> Hello Heikki,
>
>
art the MySQL server from a command prompt so that
you see what is happening.
"
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM
tables
Order MyS
space saving table formats for InnoDB.
IMPORTANT NOTE: if you upgrade to InnoDB-4.1.1 or higher (like to 5.0.0),
you cannot downgrade to a version lower than 4.1.1 any more! That is because
earlier versions of InnoDB are not aware of multiple tablespaces.
Best regards,
Heikki Tuuri
Innobase Oy
ssentially the same as InnoDB-4.1.1.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM
tables
Order MySQL technical support from https://order
Hi!
What version of MySQL you are running?
Is the output below ALL you get into the .err log?
In >= 4.0 you can disbale InnoDB by putting the line
skip-innodb
to my.cnf.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for My
Bruce,
InnoDB in most cases uses some more CPU time than MyISAM. But the main
performance disadvantage of InnoDB is that tables in the InnoDB format
typically require 50 % - 300 % more disk space than MyISAM format tables.
Marko Mäkelä of Innobase Oy is writing a new InnoDB table format which wil
Michael,
- Original Message -
From: <[EMAIL PROTECTED]>
Newsgroups: mailing.database.myodbc
Sent: Wednesday, December 24, 2003 1:45 AM
Subject: Foreign Keys in CREATE TABLEs produced by mysqldump
> --=_alternative 008277CD88256E05_=
> Content-Type: text/plain; charset="US-ASCII"
>
> Fir
ained
in\n"
"InnoDB: section 5 of http://www.innodb.com/ibman.php";,
(ulong)srv_thread_concurrency);
fprintf(stderr,
"InnoDB: Cannot continue operation. Calling exit(1).\n");
exit(1);
}
Merry Christmas!
Heikki T
Monica,
I think there was no transaction support in MySQL-2.3.2.
You should use MySQL-4.0 and an InnoDB or BDB type table.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB
Russ,
you can also use
mysqldump --single-transaction
to back up InnoDB type tables. The advantage of InnoDB Hot Backup over that
method is that InnoDB Hot Backup takes binary backups of the ibdata files.
Restoring a binary backup is much faster than a table dump.
Best regards,
Heikki Tuuri
Karthikeyan,
replication poses no problem here. MySQL does not write to the binlog
transactions which are rolled back. Thus, a replication slave will never
perform the steps in a transaction which is rolled back in the master.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign
Drago,
you only had the default InnoDB buffer bool, that is 8 MB. InnoDB row locks
CAN fill it in a big import if you have duplicate key errors in the inserted
rowset.
Also, tell us your MySQL version.
Regards,
Heikki
- Original Message -
From: <[EMAIL PROTECTED]>
To: "H
Hi!
What MySQL version you are running?
Can you show us your my.cnf, so that we see how much memory you had
allocated to the InnoDB buffer pool?
Did you run some big DELETE, UPDATE, or SELECT ... FOR UPDATE, or SELECT ...
LOCK IN SHARE MODE query at that time, so that you could really exhaust al
eation not being rolled back.
>
> I tried to RTFM. I did find a note on how transactions are treated for
> CREATE TABLE SELECT..., but I wasn't
> able to find a clear statement that CREATE TABLE will no longer force a
> commit.
>
>
> From: "Heikki Tuuri" <[EM
Osvaneo,
you probably forgot to move also ib_logfiles.
> InnoDB: Starting log scan based on checkpoint at
> InnoDB: log sequence number 7 1021600303
> InnoDB: Doing recovery: scanned up to log sequence number 7 1021600256
It cannot scan the current ib_logfiles at all!
Best regards
n at the same time.",
(gptr*) &innobase_open_files, (gptr*) &innobase_open_files, 0,
GET_LONG, REQUIRED_ARG, 300L, 10L, ~0L, 0, 1L, 0},
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot
e SELECTs are 'consistent non-locking reads' (the default in InnoDB),
then the first SELECT sets the snapshot timepoint of the transaction. Purge
cannot remove history which is after that timepoint, until the transaction
commits. It does not matter what tables and what rows
performace? Any insights of similar type
> for using MyISAM tables?
I would just create several ibdata files and place them round-robin on
different physical disks. Also, putting the ib_logfiles to a separate disk
might be a good idea. For MyISAM, I would use symlinks to distribute big
tables to d
row_count OFFSET offset]
[PROCEDURE procedure_name(argument_list)]
[FOR UPDATE | LOCK IN SHARE MODE]]
I think the clause LOCK IN SHARE MODE has to be the very last.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
Mofeed,
- Original Message -
From: "Mofeed Shahin" <[EMAIL PROTECTED]>
To: "Heikki Tuuri" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, December 18, 2003 12:47 AM
Subject: Re: foreign keys.
> On Thu, 18 Dec 2003
Jonck,
sorry, there is currently no way to detect InnoDB locks, except by setting
globally
innodb_lock_wait_timeout=1
in the [mysqld] section of my.cnf. Then your failing lock requests return
with the error 'lock wait timeout'.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.
Mofeed,
- Original Message -
From: "Mofeed Shahin" <[EMAIL PROTECTED]>
To: "Heikki Tuuri" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, December 18, 2003 12:20 AM
Subject: Re: foreign keys.
> Hmmm, Thanks for that.
> B
ables. On Windows the setting 1 is the default.
"
That is, the best solution for portability is to have the database and table
names always in lower case. Setting globally
set-variable=lower_case_table_names=1 is a convenient way to accomplish
this.
Best regards,
Heikki Tuuri
Innoba
Mofeed,
if you are using a relatively recent version of 4.0, or 4.1.1, please look
with
SHOW INNODB STATUS\G
what is the latest FOREIGN KEY error.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - hot
Felix,
I assume this is a MySQLCC bug.
Can you perform the ALTER TABLE from using the mysql interactive SQL client
program?
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - hot backup tool for InnoDB
Dmitry,
we have to consider implementing
NOWAIT
and
SKIP LOCKED
clauses to SQL statements. The latter would be useful in implementing
transactional queues.
But there are lots of items in the TODO list. Do not expect these soon.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
column to an alphabetically
equivalent value, and rolled back your update, InnoDB failed to restore the
field in the secondary index to its original value.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
InnoDB - transactions, row level locking, and foreign keys for MySQL
InnoDB Hot Back
t; <[EMAIL PROTECTED]>
Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]>
Kopio: <[EMAIL PROTECTED]>
Lähetetty: Thursday, December 11, 2003 2:29 AM
Aihe: Re: MySQL 4.0.16 64bit crash report
>
> Hi Heikki,
>
> Heikki Tuuri wrote:
>
> > Don,
> >
you please send me your my.cnf.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - hot backup tool for InnoDB which also backs up MyISAM
tables
Order MySQL technical support from https://order.mysql.com
able
already.
> Thanks,
>
> Puny Sen
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - hot backup tool for InnoDB which also backs up MyISAM
tables
Order MySQL technical support from https://order.m
new InnoDB Hot Backup version 2.0 which supports multiple tablespaces in
4.1.1 is already ready, but the binaries not yet built.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - hot backup tool for Inno
e.
The default behavior is RESTRICT, which performs the check.
> With regards,
>
> Martijn Tonies
> Database Workbench - developer tool for InterBase, Firebird, MySQL & MS
SQL
> Server.
> Upscene Productions
> http://www.upscene.com
Best regards,
Heikki Tuuri
Innobase
Batara,
thank you for the bug report. I have to fix this bug when I overhaul the
foreign key constraint naming conventions.
Yes, to fix the problem you can drop the foreign key constraint manually in
the slave.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys
Bill,
I tested this on the latest 4.1.1 snapshot, and it worked ok: client 2
waited for client 1 to commit. Please test again.
Best regards,
Heikki
Innobase Oy
http://www.innodb.com
InnoDB - transactions, row level locking, and foreign keys for MySQL
InnoDB Hot Backup - hot backup tool for InnoD
foreign keys for MySQL
InnoDB Hot Backup - hot backup tool for InnoDB which also backs up MyISAM
tables
Order MySQL support from http://www.mysql.com/support/index.html
- Alkuperäinen viesti -
Lähettäjä: "Dwight Ian" <[EMAIL PROTECTED]>
Vastaanottaja: "Heikki Tuu
the table for more testing, and also your my.cnf.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - hot backup tool for InnoDB which also backs up MyISAM
tables
Order MySQL technical support from ht
uery". All users of 4.0.15 on Windows
should upgrade.
"
The bug is not associated with InnoDB tables, but is in the mysql client.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - hot backup tool f
ll
CFLAGS="-DUNIV_MUST_NOT_INLINE" ./configure
make
in the /innobase subdir, so that the Makefile's get that flag in the
compilation line.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - hot backup t
le execution:
BEGIN;
SELECT v1 from t1 LOCK IN SHARE MODE;
(do the computation of v2 based on v1)
UPDATE t2 set v2=;
COMMIT;
> Is the above approach the way to go or is there a more
> elegant/correct way of doing this?
>
> Thanks.
> --
> Andre Charbonneau
Best regards
as ibdata files.
You can look at http://www.innodb.com/ibman.html#Forcing_recovery about
emergency recovery using a recent MySQL-4.0 version.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - hot backup tool
Philip,
the problem is probably that the table already exists in the InnoDB internal
data dictionary. With 4.0.17, I get:
mysql> CREATE TABLE ids (id varchar(255)) TYPE=InnoDB;
ERROR 1005 (0): Can't create table './test/ids.frm' (errno: 121)
mysql>
Output to the .err log:
031112 17:48:3
-variable=query_cache_size=256M
set-variable=query_cache_limit=2M
set-variable=query_cache_type=1
"
In 4.1.1, the query cache works also in the AUTOCOMMIT=0 mode.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB H
nditions?
This bug fix in 4.0.16 may have relevance:
Fixed a bug: contrary to what was said in the manual, in a locking read
InnoDB set two record locks if a unique exact match search condition was
used on a multi-column unique key. For a single column unique key it worked
right.
> Re
Dear TS Wong,
please send the whole .err log to me [EMAIL PROTECTED]
What MySQL versions and what Linux kernel version you are running?
Thank you,
Heikki
- Original Message -
From: ""ts.wong"" <[EMAIL PROTECTED]>
Newsgroups: mailing.database.myodbc
Sent: Thursday, October 30, 2003 5:
al. The same holds for DB2, Oracle, and MS SQL Server.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - hot backup tool for InnoDB which also backs up MyISAM
tables
Order MySQL technical support from https://or
t the child table. Because of MySQL's 'silent column specification
changes' a fixed-length CHAR column can change internally to a VARCHAR and
cause this error.
"
Below a test run with the latest 4.0 tree.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign ke
fered i/o.
In Windows raw disk i/o, starting from 4.1.1, you can allocate a disk
partition as a data file like this:
innodb_data_home_dir=
innodb_data_file_path=//./D::10Gnewraw
"
> - Gabriel
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking f
Hancock" <[EMAIL PROTECTED]>
> > Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]>
> > Lähetetty: Monday, October 27, 2003 10:42 AM
> > Aihe: Re: MySQL/InnoDB-4.0.16 is released + sneak peek of 4.1.1
> >
> >
> > > Heikki,
> >
in MSSQL?
What does it count?
> Is there a way to turn ON/OFF auto-commit?
SET AUTOCOMMIT={0 | 1}
> And, are metadata operations under transaction control?
CREATE TABLE, DROP TABLE, etc. form a transaction of their own. You cannot
use ROLLBACK to roll them back.
> With
Shane,
it is not an InnoDB error message. InnoDB messages are always prefixed with
InnoDB:
The error means that there is an inconsistent row in the db.MYD system table
of MySQL.
Best regards,
Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for
Eduardo,
- Alkuperäinen viesti -
Lähettäjä: "Eduardo D Piovesam" <[EMAIL PROTECTED]>
Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Lähetetty: Friday, October 24, 2003 6:17 PM
Aihe: Re: MySQL/InnoDB-4.0.16 is released + sneak
401 - 500 of 1646 matches
Mail list logo