Re: Fixing "the worst InnoDB corruption bug in 3 years" - when

2004-12-29 Thread Heikki Tuuri
Bruce, it is the bug "innodb_file_per_table corrupts secondary indexes". I fixed it with several changesets on Sunday: http://lists.mysql.com/internals Thus, it is fixed in the current 4.1 bk tree. This is indeed the worst InnoDB corruption bug since the BLOB update bug of summer 2001. Fortunately

Re: "Show Innodb Status": Output truncated

2004-12-27 Thread Heikki Tuuri
Frank, CREATE TABLE innodb_monitor(a INT) TYPE=InnoDB; causes the output to be written to the .err file untruncated. DROP the table to stop the printouts. There is a limit in the mysql client that restricts the output length to 64 kB. Best regards, Heikki Tuuri Innobase Oy Foreign keys

Re: mysql crashing after restore

2004-12-26 Thread Heikki Tuuri
backup may be severely corrupt. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php Order MySQL technical support from https

Re: InnoDB Assertion failure

2004-12-26 Thread Heikki Tuuri
, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php Order MySQL technical support from https://order.mysql.com/ - Original Message - From: "

CRITICAL BUG in 4.1: innodb_file_per_table can corrupt secondary indexes

2004-12-22 Thread Heikki Tuuri
Hi! http://bugs.mysql.com/bug.php?id=7496 A critical bug found: if one uses the 4.1 my.cnf option innodb_file_per_table to create tables, and some of the secondary index records are inserted to the InnoDB 'insert buffer', then after a normal mysqld shutdown InnoDB loses all those secondary index

Re: mysqldump and innodb - set foreign_key_checks=0

2004-12-22 Thread Heikki Tuuri
EIGN_KEY_CHECKS=0; automatically to the dump file. Grateful for and ideas ... Thanks Best regards and Season's Greetings, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables h

Re: Weird load issues

2004-12-21 Thread Heikki Tuuri
Daniel, - Original Message - From: "Daniel Andersen" <[EMAIL PROTECTED]> Newsgroups: mailing.database.myodbc Sent: Tuesday, December 21, 2004 1:04 AM Subject: Re: Weird load issues On Mon, 20 Dec 2004 09:29 pm, Heikki Tuuri wrote: Daniel, it is simply processing bi

MySQL/InnoDB-4.0.23 is released

2004-12-21 Thread Heikki Tuuri
ple if had just done a SELECT FOR UPDATE), then executed a non-transactional update, that update automatically committed the transaction (thus releasing InnoDB's row-level locks etc). (Bug #5714) Best regards, Heikki Tuuri http://www.innodb.com -- MySQL General Mailing List For list

Re: Weird load issues

2004-12-20 Thread Heikki Tuuri
Daniel, it is simply processing big SELECT queries. Maybe their optimization changed lately? You should tune your queries. You should also tune InnoDB, because you are running with the default 8 MB buffer pool size, and it is reading in 6000 pages per second! Best regards, Heikki Tuuri

Re: ibbackup and mysql slaves

2004-12-17 Thread Heikki Tuuri
) waiting for 4.0.23 to be released; or C) upgrading to innobackup-1.1 and MySQL-4.0.22. If the problem is that the internal data dictionary in the slave is out-of-sync of the .frm files in the slave, you can fix it by the advice at: http://dev.mysql.com/doc/mysql/en/InnoDB_troubleshooting_datadict.ht

Re: Weird load issues

2004-12-17 Thread Heikki Tuuri
be causing it? please post the complete outputs of SHOW PROCESSLIST; and SHOW INNODB STATUS during such CPU peak. Daniel Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISA

Re: Relative efficiency (in terms of disk io) between REPLACE and

2004-12-17 Thread Heikki Tuuri
ies, Inc. [EMAIL PROTECTED] 206.902.2027 Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php -- MySQL General Mailing List For lis

MySQL/InnoDB-4.1.8 is released

2004-12-16 Thread Heikki Tuuri
rade to 4.1 directly, because 4.1 uses UTF-8 to store metadata names. Use RENAME TABLE to overcome this if the accent character is in the table name or the database name, or rebuild the table. Best regards, Heikki Tuuri Innobase Oy http://www.innodb.com -- MySQL General Mailing List For

Re: InnoDB status: why do I see MyISAM requests?

2004-12-13 Thread Heikki Tuuri
NNODB STATUS, the "list of transactions for each sessions" part shows queries that are only related to MyISAM tables. Is it the expected behavior? yes, it prints thd->query_str which is the latest query on the connection. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions,

Re: Help interpreting SHOW INNODB Status Message

2004-12-08 Thread Heikki Tuuri
l in the 'gap'. Note that the 'next-key' locking information in InnoDB is carried by existing records in the index. You cannot lock just some subinterval of a 'gap'. Regards, Heikki - Alkuperäinen viesti - Lähettäjä: "Emmett Bishop" <[EMAI

Re: FOREIGN_KEY CHECKS

2004-12-07 Thread Heikki Tuuri
NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE="NO_AUTO_VALUE_ON_ZERO" */; Josh Best regards, Heikki Tuuri Innobase Oy For

Re: Help interpreting SHOW INNODB Status Message

2004-12-07 Thread Heikki Tuuri
hat removes almost all gap locking. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php - Original Message - From: "Emmet

Re: Help interpreting SHOW INNODB Status Message

2004-12-07 Thread Heikki Tuuri
date NOT NULL default '-00-00', `sort_id` int(11) NOT NULL default '0', `log_type` int(11) NOT NULL default '0', KEY `idx_session_guid` (`session_guid`), KEY `idx_session_label` (`session_guid`,`label`), CONSTRAINT `s_contact_log_ibfk_1` FOREIGN KEY (`session_guid`)

Re: error 1005 (errno150)

2004-12-07 Thread Heikki Tuuri
id; After the failing create, run SHOW INNODB STATUS; and post the output. http://dev.mysql.com/doc/mysql/en/InnoDB_foreign_key_constraints.html master is: 4.0.17 slave: 4.1.7 Trying to insert the dump on another 4.0.17 fails too. Any hints out there? Regards Jochen Best regards, Heikki Tuuri Innob

Re: inodb: large old ibdata1 and multiple tablespaces

2004-12-06 Thread Heikki Tuuri
DB. Or recreate everything from scratch. bye, Paul. -- Paul Mallach ARIVA.DE AG Ostseekai 2 D - 24103 Kiel Tel: +49 (0)431/97108-24 E-Mail: [EMAIL PROTECTED] Fax: +49 (0)431/97108-29 Internet: http://www.ariva.de Best regards, Heikki Tuuri Innobase Oy Foreign keys, tran

Re: Locking Issue?

2004-12-06 Thread Heikki Tuuri
rong? Please? Yes, I know we should upgrade to 4.1.7, and we will - soon. try tuning InnoDB. Your workload may be seriously disk-bound. Cheers Terry Riley Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for

Re: innodb: TRUNCATE vs. DELETE FROM

2004-12-06 Thread Heikki Tuuri
PROTECTED] Fax: +49 (0)431/97108-29 Internet: http://www.ariva.de Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php --

Re: Bug? Can't create/write to file '/root/tmp/ibu6vdue' (Errcode: 13)

2004-12-06 Thread Heikki Tuuri
Alejandro, please search the bugs.mysql.com database about known --tmpdir bugs. If TMPDIR works, it is a fine workaround. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM

Re: Foreign Key Error 1005:150

2004-12-06 Thread Heikki Tuuri
OREIGN KEY error. Since you are running 4.0.22, MySQL does not automatically create indexes on FOREIGN KEYs, and your command sequence is indeed expected to fail. Steve Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot

Re: Foreign Key Error 1005:150

2004-12-05 Thread Heikki Tuuri
K, 0 rows affected (0.12 sec) Records: 0 Duplicates: 0 Warnings: 0 mysql> alter table person_address -> add constraint address_person_address_FK1 -> foreign key (address_id) references address (address_id); Query OK, 0 rows affected (0.11 sec) Records: 0 Duplicates: 0 Warnings: 0 mys

Re: if last binary byte is space (ascii 32) mysql drops it

2004-12-03 Thread Heikki Tuuri
RY and VARBINARY are MySQL data types now. http://dev.mysql.com/doc/mysql/en/BINARY_VARBINARY.html Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.

Re: Bug? Can't create/write to file '/root/tmp/ibu6vdue' (Errcode: 13)

2004-12-03 Thread Heikki Tuuri
14:04:56 [Note] /usr/sbin/mysqld: Shutdown complete 041203 14:04:56 mysqld ended The only way to do work innodb is chmod 777 /root and /root/tmp, =( Alejandro Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool f

Re: MySQL/InnoDB-5.0.2 is released

2004-12-03 Thread Heikki Tuuri
ndex on last_name, an index on first_name, and a combo index of (last_name, first_name). We cut the run time from 1min 57sec to 3seconds. I do not know if ROR works for that query. You have to test. walt Best regards, Heikki Heikki Tuuri wrote: Hi! InnoDB is the MySQL table type that supports FO

Re: Very Slow preformance of mysql 4.1.7 innodb

2004-12-02 Thread Heikki Tuuri
Hristo, if you are doing INSERTs, UPDATEs, or DELETEs, try setting innodb_flush_log_at_trx_commit=2 But read the caveats in the manual. You can also set innodb_buffer_pool_size bigger. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot

MySQL/InnoDB-5.0.2 is released

2004-12-02 Thread Heikki Tuuri
BLE to overcome this if the accent character is in the table name or the database name, or rebuild the table. Best regards, Heikki Tuuri Innobase Oy http://www.innodb.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: MySQL 5.0.2-alpha has been released

2004-12-02 Thread Heikki Tuuri
map at http://www.innodb.com/todo.php If someone sponsors the implementation, it could be available by the end of 2005. Otherwise, I am afraid it will take to 2006 or 2007. indexable data in that inthe past, but one of fields has a one to many relationship in the table of Best regards, Heikki Tuuri

Re: Hung MySQL queries

2004-12-02 Thread Heikki Tuuri
Joakim, please post the FULL .err log, the full output of SHOW PROCESSLIST and SHOW INNODB STATUS, as well as your my.cnf. Please also post the output of the Unix 'top'. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Back

Re: Adding Foreign Key

2004-12-01 Thread Heikki Tuuri
Here is the reference table CREATE TABLE `t_client` ( `client_id` int(11) NOT NULL default '0', `client_desc` varchar(255) NOT NULL default '', PRIMARY KEY (`client_id`) ) TYPE=InnoDB; Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locki

Re: MySQL support for AMD64

2004-12-01 Thread Heikki Tuuri
me people had to abandon it because of too many problems. Linux developers are working to fix the bugs. Thanks Lynn Bender Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyI

Re: InnoDB Log and binlog files and Solid State Disk?

2004-12-01 Thread Heikki Tuuri
ght consider placing on SSD? Placing logs on a solid state disk sounds a good idea. If the Linux (?) kernel is advanced enough, fsync() may run much faster when we flush the log files to the disk. Any input is appreciated. Thanks, Richard Best regards, Heikki Tuuri Innobase Oy Foreign keys, transa

Re: MIXING MYISAM AND INNODB

2004-12-01 Thread Heikki Tuuri
re? Can it create problems in future? you can mix InnoDB and MyISAM with no problems. Just remember that MyISAM does not support FOREIGN KEY constraints. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for

Re: Bizarre table type switch

2004-11-29 Thread Heikki Tuuri
able type switch --- Heikki Tuuri <[EMAIL PROTECTED]> wrote: Stuart, you probably have skip-innodb in my.cnf. Best regards, Heikki Tuuri Heikki - Nope , doesn't seem so. My.cnf is below. Also, I'm guessing that if it was set to skip-innodb, I wouldn't not have had the ability to chang

Re: Bizarre table type switch

2004-11-29 Thread Heikki Tuuri
Stuart, you probably have skip-innodb in my.cnf. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php - Original Message

Re: Innodb Corruption with error logs now.

2004-11-26 Thread Heikki Tuuri
e structure from the output. Then you can create the .frm files manually. See http://www.innodb.com/ibmanold.php#InnoDB.Monitor about how to start and stop InnoDB monitors. Thank you very much for helping me. Saved my life! lol [=B4z] Carlos Best regards, Heikki Tuuri Innobase Oy Foreign keys, tran

Re: Innodb Corruption with error logs now.

2004-11-26 Thread Heikki Tuuri
MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php - Alkuperäinen viesti - Lähettäjä: "Carlos Augusto" <[EMAIL PROTECTED]> Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]>; <[

Re: enrror in foreign key reference

2004-11-25 Thread Heikki Tuuri
Filippo, you used a FOREIGN KEY syntax that MySQL/InnoDB does not support. Look at the correct syntax here: http://dev.mysql.com/doc/mysql/en/InnoDB_foreign_key_constraints.html Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a

Re: Innodb Corruption with error logs now.

2004-11-25 Thread Heikki Tuuri
7M innodb_flush_log_at_trx_commit=3D1 innodb_log_buffer_size=3D4M innodb_buffer_pool_size=3D305M innodb_log_file_size=3D61M innodb_thread_concurrency=3D10 ---end my.ini--- On Thu, 25 Nov 2004 20:15:43 +0200, Heikki Tuuri <[EMAIL PROTECTED]> wrote: Carlos, =20 when filing bug reports for any soft

Re: Innodb Corruption with error logs now.

2004-11-25 Thread Heikki Tuuri
Carlos, when filing bug reports for any software, not just MySQL, you should provide the full information. You should not try to pick the relevant material yourself. What do you have in your my.cnf file? What does the '/data' directory contain? The errors below look like you would have at leas

Re: Innodb corrpution. Very Urgent

2004-11-24 Thread Heikki Tuuri
ste the full error log for you. Thanks for the help. [=B4z] =20 On Mon, 22 Nov 2004 23:09:41 +0200, Heikki Tuuri =20 =20 <[EMAIL PROTECTED]> wrote: > Carlos, > > - Original Message - > From: "Carlos Augusto" <[EMAIL PROTECTED]> > Newsgroups: mailing

Re: I need to understand INNO better.

2004-11-24 Thread Heikki Tuuri
ree) mysqlhotcopy is free, but it works only for MyISAM. See: http://dev.mysql.com/doc/mysql/en/Backing_up.html and=20 mysqldump.. This is assuming your not coping the entire db directory tree.. Maybe someone else knows of another. Jeff Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions

Re: probs with starting mysql (urgent pls)

2004-11-23 Thread Heikki Tuuri
Hi! The size limit in InnoDB is 64 TB. You have probably mixed up ibdata files or ib_logfiles. The ib_logfiles that you are using are probably completely zero-filled. No checkpoint info in them. What does mysqld-nt --console print if you move the ib_logfiles away? When creating new ibdata files,

Re: "Lock wait timeout exceeded" Errors

2004-11-23 Thread Heikki Tuuri
ES will become deprecated for pure InnoDB transactions. We will update the MySQL manual to include the above text. LOCK TABLES has caused a lot of confusion lately. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a h

Re: Innodb corrpution. Very Urgent

2004-11-22 Thread Heikki Tuuri
you try to start it? Which MySQL version this is, and what operating system? The following section: http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html contains instructions how you can start mysqld, even though the ibdata file is corrupt. Thanks Carlos Best regards, Heikki Tuuri Innobase

Re: temporary tables, replication, and innodb tables

2004-11-21 Thread Heikki Tuuri
Then we do not need locks on the SELECT table ever, because execution does not need to be serializable. All innodb tables, MySQL 4.1.7 for both master and slaves. Thanks. Mike Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a ho

Re: InnoDB data files keep growing with innodb_file_per_table

2004-11-21 Thread Heikki Tuuri
ql.com We will see how common the history list corruption is. My tests did not produce any corruption. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://w

Re: Help needed in creating primary key ,foreign key on a varchar datatype colum

2004-11-21 Thread Heikki Tuuri
(a VARCHAR(100) NOT NULL PRIMARY KEY, b INT) TYPE = INNODB; Query OK, 0 rows affected, 1 warning (0.01 sec) mysql> CREATE TABLE t1(a1 INT NOT NULL PRIMARY KEY, b1 VARCHAR(50), FOREIGN KEY (b1) REFERENCES t(a)) TYPE=INNODB; Query OK, 0 rows affected, 1 warning (0.00 sec) mysql> regards daya

Re: Spatial and InnoDB: WHEN?

2004-11-19 Thread Heikki Tuuri
Chuck, demand for spatial features for InnoDB has been extremely low. They will probably never be implemented unless someone sponsors them. FULLTEXT is much more asked for. Why not use the spatial extension of MyISAM, or some dedicated GIS database? Best regards, Heikki Tuuri Innobase Oy

Re: Reg Table spaces and Rollback segments in MySQL 4.0.21

2004-11-18 Thread Heikki Tuuri
ase address these general MySQL questions to [EMAIL PROTECTED] Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php Order MyS

Re: Poor performance for executing SELECT COUNT() for 50 000 records

2004-11-18 Thread Heikki Tuuri
regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php Order MySQL technical support from https://order.mysql.com/ - Original Message

Re: innodb data file grew beyond the specified max size in config

2004-11-18 Thread Heikki Tuuri
Hristo, thank you for the bug report. I broke the :autoextend:max:2000M feature when I added multiple tablespaces in 4.1.1. The bug is fixed in 4.1.8. Unfortunately, InnoDB does not automatically add 2000 MB files if you specify the max. You have to add additional ibdata files manually, as explai

Re: Server Won't Start "Next record offset is nonsensical"

2004-11-18 Thread Heikki Tuuri
ash? Is that true? Which 4.1.x version you are running? Yes, initially I had thought that there was an issue with the installation itself, so I upgraded to v4.1.7-0. Please send the FULL .err log to me [EMAIL PROTECTED] for more detailed analysis. Do not cut anything off. Your lsn is only 300 MB. Hig

Re: Mysql & NTFS

2004-11-18 Thread Heikki Tuuri
Hi! In the thread "Re: mysqld-nt error 23. Urgent pls" you stated that the file system is corrupt. Thus, the error 995 might result from that. There are two or three 995 reports from this year. I have suspected a bug in some disk driver in Windows, but maybe they are caused by file system corru

Re: Server Won't Start "Next record offset is nonsensical"

2004-11-18 Thread Heikki Tuuri
ff. Unfortunately the mailing list stripped your domain off. Please send an email to spam at cjs226.com and I'll send you the err log. Your lsn is only 300 MB. High-end users of InnoDB on a stable Linux computer can easily reach 300 GB without any corruption. Best regards, Heikki Tuuri Innobas

Re: Mysql-4.1.7 Start - Ended error - Solaris 8

2004-11-17 Thread Heikki Tuuri
of a directory. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php Order MySQL technical support from https://order.mysql.com/ - O

Re: Mysql taking 100% Mem utilisation

2004-11-17 Thread Heikki Tuuri
Naveen, the size of the mysqld process is only 1.7 GB, and you have plenty of free memory. Swap usage is zero. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables

Re: mysqld-nt error 23. Urgent pls

2004-11-17 Thread Heikki Tuuri
indows bug. Try copy:ing ibdata1 to another file. Does it succeed? Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php Order MySQL

Re: Server Won't Start "Next record offset is nonsensical"

2004-11-17 Thread Heikki Tuuri
ng off. Your lsn is only 300 MB. High-end users of InnoDB on a stable Linux computer can easily reach 300 GB without any corruption. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also back

Re: scalability of MySQL - future plans?

2004-11-12 Thread Heikki Tuuri
h-end server, and 600 - 4000 physical disk drives. The following link describes a system with 512 GB of memory, and 2000 disk drives: http://www.tpc.org/results/individual_results/IBM/IBM_690_040217_es.pdf The system costs 5.6 million US dollars. Best regards, Jacek Becla Stanford University Best

Re: Moving innodb from Linux to Windows

2004-11-12 Thread Heikki Tuuri
ppercase letters in their name. For that, we need a MySQL function that looks from the .frm file name and directory what is the 'canonical' case of the letters in the database name and the table name. Best Regards, Boyd E. Hemphill Best regards, Heikki Tuuri Innobase Oy Foreign keys, trans

Re: InnoDB data files keep growing with innodb_file_per_table

2004-11-11 Thread Heikki Tuuri
<[EMAIL PROTECTED]> Newsgroups: mailing.database.myodbc Sent: Thursday, November 11, 2004 8:17 PM Subject: Re: InnoDB data files keep growing with innodb_file_per_table Heikki, Heikki Tuuri wrote: hmm... could it be that segments 0 1, 0 2, 0 3, etc. were printed close to the end of the output? The print routi

Re: InnoDB data files keep growing with innodb_file_per_table

2004-11-11 Thread Heikki Tuuri
Sasha, - Original Message - From: "Sasha Pachev" <[EMAIL PROTECTED]> Newsgroups: mailing.database.myodbc Sent: Thursday, November 11, 2004 8:05 PM Subject: Re: InnoDB data files keep growing with innodb_file_per_table Heikki Tuuri wrote: Ivan, hmm... could it be that s

Re: InnoDB data files keep growing with innodb_file_per_table

2004-11-11 Thread Heikki Tuuri
are there. Anyway, if we get the ibdata files, it should be relatively easy to find out what is wrong. Regards, Heikki - Original Message - From: "Heikki Tuuri" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 11, 2004 2:17 PM Subject: Re:

Re: InnoDB data files keep growing with innodb_file_per_table

2004-11-11 Thread Heikki Tuuri
em with ftp to support.mysql.com/pub/mysql/secret My guess is that if you rebuild the tablespace, the leak problem will go away. Regards, Heikki - Original Message - From: ""Heikki Tuuri"" <[EMAIL PROTECTED]> Newsgroups: mailing.database.myodbc Sent: Thursday, November 1

Re: InnoDB data files keep growing with innodb_file_per_table

2004-11-11 Thread Heikki Tuuri
oad. Please use also innodb_table_monitor, and send the output to me. Thanks for the advice. Good luck, Ivan Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://w

Re: InnoDB data files keep growing with innodb_file_per_table

2004-11-10 Thread Heikki Tuuri
ages 1; free extents 0; not full extents 0: pages 0 NUMBER of file segments: 35 Validating tablespace Validation ok --- END OF INNODB TABLESPACE MONITOR OUTPUT === Regards, Heikki - Original Message - From: "&q

Re: InnoDB data files keep growing with innodb_file_per_table

2004-11-10 Thread Heikki Tuuri
Message - From: ""John B. Ivski"" <[EMAIL PROTECTED]> Newsgroups: mailing.database.myodbc Sent: Wednesday, November 10, 2004 4:25 AM Subject: Re: InnoDB data files keep growing with innodb_file_per_table Heikki, Heikki Tuuri wrote: > John, > > please pos

Re: InnoDB data files keep growing with innodb_file_per_table

2004-11-09 Thread Heikki Tuuri
John, please post what SHOW INNODB STATUS says. The probable reason is that there are long transactions, or that purge is falling behind. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also

Re: 4.1.7 serious problems

2004-11-06 Thread Heikki Tuuri
fault, or the OS version in that computer is buggy. You can try running memtestx86 or memburn: http://v.iki.fi/~vherva/memburn.c You can also try upgrading the kernel. Thanks, Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot

Re: Upgrade glitches

2004-11-03 Thread Heikki Tuuri
e. " Also the behavior of LOCK TABLES with InnoDB has changed since 4.0.14. See http://dev.mysql.com/doc/mysql/en/News-4.1.7.html. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up

Re: Upgrade to 4.1.7 caused "Sort Aborted" errors

2004-11-03 Thread Heikki Tuuri
ese errors? Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php Order MySQL technical support from https://order.mysql.com/ filesort.cc

MySQL/InnoDB-4.0.22 is released

2004-10-30 Thread Heikki Tuuri
sertion failure in row_build_row_ref(). (Bug #5180) Best regards, Heikki Tuuri Innobase Oy http://www.innodb.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: deadlock caused by odbc and transaction handling

2004-10-27 Thread Heikki Tuuri
ume that you are using two DIFFERENT connections for the threads? That is the correct way. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.

MySQL/InnoDB-4.1.7 is released

2004-10-26 Thread Heikki Tuuri
s. Use RENAME TABLE to overcome this if the accent character is in the table name or the database name, or rebuild the table. Best regards, Heikki Tuuri Innobase Oy http://www.innodb.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Cloned machine mysql startup problem with innodb

2004-10-26 Thread Heikki Tuuri
1019 13:05:25 Can't init databases 041019 13:05:25 Aborting TIA, Paul W Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php Or

Re: mysql and innoDB

2004-10-21 Thread Heikki Tuuri
be that InnoDB is not able to create its ibdata and ib_logfiles. Look what mysqld prints when it starts. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http

Re: Char to Varchar on Innodb

2004-10-21 Thread Heikki Tuuri
Gary, - Alkuperäinen viesti - Lähettäjä: "Gary Richardson" <[EMAIL PROTECTED]> Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]> Kopio: <[EMAIL PROTECTED]> Lähetetty: Thursday, October 21, 2004 4:49 AM Aihe: Re: Char to Varchar on Innodb > I

Re: migration of InnoDB 4.1.3 to 4.1.6

2004-10-21 Thread Heikki Tuuri
quez, Ste 6 http://www.predict.com Santa Fe, NM 87505 Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php Order MySQL technical support from https:/

Re: Innodb foreign keys names

2004-10-20 Thread Heikki Tuuri
Martijn, - Alkuperäinen viesti - Lähettäjä: "Martijn Tonies" <[EMAIL PROTECTED]> Vastaanottaja: <[EMAIL PROTECTED]> Kopio: <[EMAIL PROTECTED]> Lähetetty: Wednesday, October 20, 2004 11:34 AM Aihe: Re: Innodb foreign keys names > Hello Heikki, > ... > Thank you for your reply. > > One qu

Re: MySQL Database Corruption (InnoDB), according to Innodb Hot Backup

2004-10-20 Thread Heikki Tuuri
David, - Alkuperäinen viesti - Lähettäjä: "David Griffiths" <[EMAIL PROTECTED]> Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]> Kopio: <[EMAIL PROTECTED]> Lähetetty: Tuesday, October 19, 2004 9:33 PM Aihe: Re: MySQL Database Corruption (InnoDB),

Re: Char to Varchar on Innodb

2004-10-20 Thread Heikki Tuuri
to reduce fragmentation if there are lots of updates to that column. A CHAR column takes a fixed space. Silent column specification changes in many cases defeat this optimization which would otherwise be available to users. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and

Re: Innodb foreign keys names

2004-10-20 Thread Heikki Tuuri
on. (Bug #2167) " I agree that in the future, we have to try to make less changes to stable versions of MySQL, and put new features only in new major versions. The good thing: this is an addition, unlike renaming a column returned from SHOW TABLES :-/ Thanks for pointing this out. With rega

Re: Chinese

2004-10-19 Thread Heikki Tuuri
Elim, - Alkuperäinen viesti - Lähettäjä: "Elim Qiu" <[EMAIL PROTECTED]> Vastaanottaja: "Heikki Tuuri" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Lähetetty: Tuesday, October 19, 2004 8:07 PM Aihe: Re: Chinese > > you can use MySQL-4.1.6 and t

Re: InnoDB crash issue

2004-10-19 Thread Heikki Tuuri
Ian, FILE I/O I/O thread 0 state: waiting for i/o request (insert buffer thread) I/O thread 1 state: waiting for i/o request (log thread) I/O thread 2 state: waiting for i/o request (read thread) I/O thread 3 state: waiting for i/o request (write thread) Pending normal aio reads: 0, aio w

Re: InnoDB backup + replication problem?

2004-10-19 Thread Heikki Tuuri
Hi! Guilhem has now fixed this bug to 4.0.22. Best regards, Heikki Innobase Oy InnoDB - transactions, row level locking, and foreign keys for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php Order MySQL support from http://

Re: MySQL Database Corruption (InnoDB), according to Innodb Hot Backup

2004-10-19 Thread Heikki Tuuri
David, I am sorry for a late reply. The corruption clearly is in the ibdata file of the production database. InnoDB Hot Backup checks the page checksums when it copies the ibdata files. Since CHECK TABLE fails, the corruption probably is in that table. You can try to repair the corruption by dum

Re: innodb monitoring

2004-10-19 Thread Heikki Tuuri
Boyd, sorry, only the output of innodb_monitor can be accessed through an SQL statement. The other monitors contain information mostly for special error situations. But it is in the TODO to implement SHOW LOCKS ... That would be useful for application developers. Best regards, Heikki Innobase

Re: Weirdness (or bug) with DROP TABLE

2004-10-19 Thread Heikki Tuuri
Adolfo, the following patch in the 4.0 tree may fix the misleading error message: D 1.222 04/10/12 18:11:50+03:00 [EMAIL PROTECTED] 357 356 1/1/5101 P sql/ha_innodb.cc C Change error code to HA_ERR_ROW_IS_REFERENCED if we cannot DROP a parent table

Re: Innodb foreign keys names

2004-10-19 Thread Heikki Tuuri
Martijn, List: mysql Subject:Re: Innodb foreign keys names From: "Martijn Tonies" Date: 2004-10-19 9:53:28 Message-ID: <01ad01c4b5c1$7c1e69a0$0a02a8c0 () martijn> [Download message RAW] >Heikki, > >> you have to use a fairly recent 4.0 or 4.1 version of MySQL. > >Does a new

Re: InnoDB deadlock problem

2004-10-19 Thread Heikki Tuuri
David, next-key locks are purely inhibitive. Even though transaction (2) has an X-lock on the 'supremum' of the index, it cannot insert because also transaction (1) has an X-lock on the 'supremum'. Why is it allowed that two transactions can both have an X-lock on a 'gap' in the index (the suprem

Re: corruption after database restore

2004-10-19 Thread Heikki Tuuri
the tablespace bounds. Look, it says that page number 142 000 is outside the tablespace data files, though above you had over 5 million pages in data files! You have probably forgotten some data files when you restarted mysqld. Thanks, baba Best regards, Heikki Tuuri Innobase Oy Foreign keys, tr

Re: Innodb foreign keys names

2004-10-19 Thread Heikki Tuuri
Richard, you have to use a fairly recent 4.0 or 4.1 version of MySQL. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.innodb.com/order.php Order MySQL

Re: Chinese

2004-10-19 Thread Heikki Tuuri
ou can use MySQL-4.1.6 and the UTF-8 character set for both Chinese and European languages. Thanks. Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables http://www.inno

Re: CORRECT WAY TO SQUEEZE INNODB 4.0.17

2004-10-19 Thread Heikki Tuuri
use 4.1.6 with the my.cnf option innodb_file_per_table then each table goes into its own .ibd file, and you can free unused space in individual tables with OPTIMIZE TABLE t; Beware that the table rebuild that OPTIMIZE does can last very long if the table is bigger than your buffer pool. Massimo

Re: Table creation Time stamp

2004-10-19 Thread Heikki Tuuri
ir of MySQL. Actually, I do not know why MySQL does not fetch the creation date from there. We will look at this. Shawn Green Database Administrator Unimin Corporation - Spruce Pine Best regards, Heikki Tuuri Innobase Oy Foreign keys, transactions, and row level locking for MySQL InnoDB Hot Backu

Re: Which Filesystem to choose?

2004-10-19 Thread Heikki Tuuri
system to choose.. ext3? ReiserFS? XFS? What's your experience? my impression is that all three have the same performance and reliability. Opteron + Linux as a platform, on the other hand, still seems to have quite a few unexplained hardware faults or OS bugs. Thanks chris Best regards, Hei

<    1   2   3   4   5   6   7   8   9   10   >