InnoDB is the main ACID-compliant Storage Engine used in MySQL.

learn more… | top users | synonyms

13
votes
2answers
17k views

Best Mysql cache settings for 8gb RAM dedicated mysql server using only Innodb (5gb database)

I'm a pretty big noob when it comes to setting up mysql for performance. And honestly I'm not worried about the fine tuning to squeeze every last bit of performance out of mysql, but I do know that ...
0
votes
1answer
464 views

How to prevent InnoDB log files from getting corrupted?

We run a MySQL server using 600GB of storage over 4 EBS volumes on Amazon EC2. About every 2-3 weeks, the active InnoDB log file gets corrupted, and MySQL won't allow any access on those tables ...
1
vote
0answers
390 views

MySQL InnoDB: Assertion failure ibuf0ibuf.c line 4185 unrecoverable data crash

I get this assertion failure on MySQL 5.5.15 version. Here are the MySQL server errors: 110927 21:56:51 InnoDB: Assertion failure in thread 1126107456 in file ibuf0ibuf.c line 4185 InnoDB: Failing ...
1
vote
3answers
5k views

Plesk: libmysqlclient_16 not defined in file libmysqlclient_r.so.16

I've found this error in my logs: relocation error: /usr/lib64/libmyodbc5.so: symbol strmov, version libmysqlclient_16 not defined in file libmysqlclient_r.so.16 with link time reference ...
2
votes
2answers
1k views

Unknown table engine 'InnoDB' after deleting ibdata1 file

I was having innodb with one ibdata file. i have changed it in my.cnf to have ibd file for every table (innodb_file_per_table). then i run the following query on all of my innodb tables to have its ...
1
vote
1answer
274 views

MySQL: view read/write proportion, per specific table

I'm optimizing the configuration of a MySQL server, running only Bromine. This is non specific to application, and was just noted for completeness. I am trying to determine if switching from MyISAM to ...
3
votes
1answer
868 views

Transferring InnoDB database via rsync

We are in the process of switching to a new RAID array and need to copy our MySQL InnoDB database to the new RAID array while minimizing downtime (50GB database). I understand that using rsync on a ...
3
votes
1answer
119 views

mysql innodb problem

seeing the following in my mysql error log file: InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes InnoDB: than specified in the .cnf file 0 268435456 bytes! 110927 18:36:37 ...
2
votes
2answers
876 views

which is faster mysqldump/restore or alter table?

I have InnoDB databases and they are using the same ibdata file, the size of this ibdata is around 250G. now i have one of those DBs around 100G. My manager asked me to move this DB to another server ...
1
vote
1answer
140 views

Can I use a newer InnoDB plugin in Ubuntu MySQL?

The MySQL that comes with Ubuntu 10.04.2 is 5.1.41, which is distributed by MySQL with InnoDB 1.0.5. But for some reason Ubuntu ships it with InnoDB 1.0. Can I install InnoDB 1.0.5 (or newer?)
8
votes
2answers
9k views

MySQL InnoDB database 'hangs' on selects

I'm trying to fix MySQL configuration on our server. Our app's specifics is that a lot of data is stored in single table (currently over 300 millions of rows). This table is used often for inserts ...
3
votes
1answer
1k views

MySQL show table status always returns Data_free 17825792

When I execute SHOW TABLE STATUS databaseName; I get Data_free info with 17825792 value in all tables : | Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | ...
0
votes
1answer
266 views

Measuring Performance through SHOW INNODB STATUS;

When looking at the output of SHOW INNODB STATUS on mysql what are the most important values to be looking at, and what would be an indicator of poor performance? Specifically under FILE I/O and ...
2
votes
2answers
30 views

What do I need to know in order to change a table schema that is being replicated?

I need to update the schema as I accidentally left out some foreign key constraints. The database server is MySQL 5.1.48 and the tables being altered are InnoDB. The server is replicated using ...
2
votes
2answers
1k views

Whats the best practice for defragmenting a MySQL InnoDB table in production?

A lot of my Innodb tables require 'defragmentaion'. My understanding is that 'OPTIMIZE' may not be the best way to do it. Some people suggest doing a 'ALTER TABLE' to have Mysql rebuild (and therefore ...
5
votes
1answer
1k views

16 Cores 12 GB RAM Dedicated MySql Configuration

I have a dedicated 16 Cores 12 GB RAM Mysql server which is performing quite badly since I configure it for a 16 GB server and I guess that explains why in the world the site now takes more than 500 ...
3
votes
1answer
95 views

InnoDB erratic performance

I'm doing some tests with a really simple InnoDB table (named Test) with the following structure: Id int(10) unsigned NOT NULL AUTO_INCREMENT UserId int(10) NOT NULL Body varchar(512) COLLATE ...
4
votes
1answer
343 views

Mysql InnoDB table size performance

I have a table that is closely approaching 2 million records. This table stores a history of transactions. This is on a high traffic website but also the table is not accessed regularly. We ...
0
votes
2answers
1k views

Cannot drop index from MySQL INNODB table with foreign keys/references

I'm about to drop an index from a mySQL INNODB table. There are references defined already. When I try to alter it, it says: 1025 - Error on rename of 'X/#sql-2a5f_219828' to 'X' (errno: 150) ...
0
votes
2answers
159 views

mysql error InnoDB: 13

mysql not started @ server boot automatically but I can start manually as long as log as user "mysql" by using "/etc/init.d/mysql.server" the error I got on the log is InnoDB: Operating system error ...
1
vote
1answer
315 views

fine tuning of my.cnf for InnoDB tables fails with setting of: `innodb_log_file_size=256`

I read some fine tuning recommendations on the mysqlperfomanceblog and tryed to adapt them. I added to my.cnf: innodb_buffer_pool_size = 1000M innodb_log_file_size = 256M After ...
2
votes
3answers
4k views

How to detect if InnoDB has pool size big enough?

I found out how much the innodb pool size has allocated memory from show innodb status but I couldn't figure out how much actually it uses. Maybe it needs more or I can take some memory off from it? ...
0
votes
1answer
289 views

Mysql : Cannot create Index:

Hi all we are having trouble to create/drop index(s) on a table I keep getting the following error: ERROR 1280 (42000): Incorrect index name '<>' Now the table has the following: 1. PRIMARY ...
9
votes
1answer
8k views

MySQL: InnoDB: ERROR: the age of the last checkpoint is X, which exceeds the log group capacity Y?

In a production MySQL environment the following error message is written to /var/log/mysql/error.log every fourth minute: 110723 18:36:02 InnoDB: ERROR: the age of the last checkpoint is 9433856, ...
0
votes
1answer
218 views

Cannot start MySQL on windows box with named pipes

I've installed MySQL server on Windows although in the configuration have selected to not run MySQL as a server and have disabled TCP/IP access so only named pipes can be used, I'm now having problems ...
1
vote
2answers
577 views

Copying /var/lib/mysql files over resulted in InnoDB corruption

My server had to be re-installed yesterday so they replaced the hard drive and hooked the old one up via USB. I grabbed the database files (/var/lib/mysql) and downloaded them and then I erased all ...
1
vote
3answers
785 views

MySQL / InnoDB replication: how to perform crash recovery?

How do I perform crash recovery in a MySQL/InnoDB Master-Slave asynchronous replication setup? Specifically: If a slave crashes, how do I make it syncs up with the master after I bring it back up? ...
0
votes
1answer
627 views

MySQL fails to start with one config line change - innodb_buffer_pool_size = 1G

My curent config works great but my innodb_buffer_pool_size is too small as the database is very large. All I am changing in my MySQL.cnf is innodb_buffer_pool_size = 1G to ...
0
votes
1answer
195 views

MySQL 5.1 to 5.5 Upgrade - InnoDB question

I posted this on stackoverflow, but was advised that here might be better... I am planning an upgrade of some MySQL servers (5.1 to 5.5). I am aware that the InnoDB plugin is now built in to MySQL. ...
2
votes
2answers
381 views

MySQL not using specified RAM anymore

A few days ago I got a new machine setup running CentOS 5.6 (64bit), with 12GB ddr3 ram, 4x SAS 15k rpm drives in RAID10. On this machine I'm running MySQL Server version: ...
0
votes
2answers
502 views

MySql is not picking up changes to my.cnf file on a custom Ubuntu AMI. How do I fix this?

I created an AMI from my running EC2 Ubuntu instance. I then brought it up, and MySql is not running the same way on this copied instance. 1) Changes to my my.cnf file are not getting picked up. ...
3
votes
1answer
287 views

How much disk space does innodb need to ALTER TABLE

I have a large InnoDB table that I want to alter by adding a small column to. I'm prepared to wait a while, but I'm wondering how much disk space will the ALTER TABLE command consume while it's ...
1
vote
1answer
100 views

MySQL - Best Engine(s) for 2 Tables - One running heavy updates, 1 keeping a 15 minute log

I have a system where users are submitting work to my server frequently. With 1500 active at one time, it's about 6000 units of work being submitted per minute. I've been using one large table to ...
1
vote
1answer
321 views

MySQL InnoDB random data corruptions: hardware or software errors?

I'm an administrator of a social game which uses MySQL(Percona 5.1.56 to be precise) for data storage(all tables have InnoDB type). There are about 2 millions of players in the game and database size ...
0
votes
1answer
2k views

MySQL crash with long semaphore wait

A MySQL-server crashed here yesterday, and I'm not sure why (the most irritating kind of crash). The error log is full of Semaphore waits, but I don't know how to interpret most of it (<path> = ...
2
votes
2answers
1k views

Why ibdata1 is still growing when I have used innodb_file_per_table in MySQL 5.1

All my table in the db are created after I enabled the option "innodb_file_per_table", so I don't understand why ibdata1 is still growing from time to time, even with a very slow speed.
1
vote
1answer
104 views

mysql innodb index creation for foreign keys

INNODB automatically creates an index on foreign key fields. Is there a storage engine that allows me to disable that? My googling on xtradb doesn't give me positive results. Perhaps, it is possible ...
1
vote
2answers
476 views

Switching To `innodb_file_per_table` In MySQL

If I turn on innodb_file_per_table (not currently active), will it destroy my existing tables?
0
votes
1answer
144 views

MYSQL delete optimization

I have the following delete SQL statement: delete w,r from table1 w, table2 r where (w.status=1 or r.status=1) show engine innodb status shows the following. is the read rate(237.29 reads/s) ...
2
votes
1answer
1k views

InnoDB options crashing mysql start AND mysql tuning

I have an innodb on a Ubuntu 10.10 server running on an ESXi platform. I have dedicated 8 CPUs, 32 Gigs of ram, and files stored in a Raid 5 HP SAN of SAS 10k rpm disks. I'm expecting FAST queries! ...
2
votes
1answer
856 views

show table status not showing innodb tables

After a server reboot I noticed that phpMyAdmin was not showing my innodb tables, just the myisam. I logged into mysql server directly and while show tables is showing the innodb tables, when I use ...
0
votes
1answer
1k views

Mysql: Innodb error when migrating mysql from linux to windows

I have migrated my data directory for an InnoDB mysql server from a linux machine to a windows machine. I started the server up, selected the database, and tried to query a table. Got the error "Table ...
1
vote
1answer
691 views

Will innodb benefit from memcached?

from - http://www.readwriteweb.com/hack/2011/04/you-got-nosql-in-mysql-memcach.php (correct me if does not make sense) potential benefits saving complex query calculation into distributed ...
2
votes
1answer
1k views

MySQL InnoDB: how to switch to Barracuda format?

In new MySQL versions Barracuda file format was introduced. So I havew a few questions: Is it working only with file_per_table option? How to switch existing system to it (preferably the whole ...
0
votes
3answers
136 views

Explaining the MySQL Indexing

On my journey exploring MySQL and its advanced features, especially regarding the performance optimization I bumped in some extremely important feature for SQL performance improvement mos of us knows ...
1
vote
2answers
327 views

How to enable InnoDB storage engine for Mysql in Linux

When I run the query "Show Engines" on this particular Linux host, it shows that the InnoDB storage engine is Disabled. Other storage engines (like MyISAM) are showing enabled. What steps would I ...
2
votes
1answer
2k views

Mysql InnoDB optimisation

(asked on stackoverflow but was suggested to move here!) I'm having some trouble understanding InnoDB usage - we have a drupal based DB (5:1 read:write) running on mysql (Server version: ...
1
vote
1answer
122 views

Limiting space for a MySQL user

I maintain a MySQL server. There is one user whose database size has very quickly grown enormously. Since he is using InnoDB, the /data/mysql/ibdata1 file has grown out of porpotions. I could mount a ...
3
votes
1answer
1k views

innodb memory usage mysql

I have a small vps, with only 256mb of ram, with maximum burst up to 512mb. When I configure my vps without innodb, it only uses 130 mb of ram, so that is no problem for me. But when I turn on innodb, ...
2
votes
1answer
420 views

CHECK TABLE locking a large (12GB) InnoDB table on MySQL

I'm having problems with a large MySQL InnoDB table and I was wondering if anyone here had advice for improving stabililty. The issue that I'm having is that CHECK TABLE ... FAST will lock the table, ...