server crashing (no replies)
My server is crashing with the following messages in the /var/log/mysql/error.log file. It happens when i call a stored procedure that is inserting records into a table that has about 700K records....
View Articleproblem in show engine innodb status (no replies)
i read the innodb code about how to get the rw s/x lock and mutex and here is a question about "show engine innodb status" output of SEMAPHORES session,i do not know the mutex rounds is what?,...
View Articleinnodb memory usage vs swap (8 replies)
Hi I have a question about keeping mysql using innodb engine out of swap. I see this from top output: PID USER PR NI VIRT SWAP RES SHR S %CPU %MEM TIME+ COMMAND 3194 mysql 0 -15 5272m 2.9g 2.3g 6568 S...
View ArticleHow to change a data file from autoextend to fixed (larger) size? (1 reply)
I would like to use 32GB data files and have to that effect; innodb_data_file_path = ibdata1:7650M:autoextend:max:32G where 7650M happens to be the current size. Is there a way to change this to:...
View ArticleStored Procedure source (no replies)
My database is corrupt (see below). I have a backup from a week ago, but there is one new stored procedure I'd like to get the source for. Where is it physically stored in the file system - I'd like...
View ArticleError Code: 1005 (1 reply)
Hi, am getting the Error Code: 1005 Can't create table 'db.contract' (errno: 150) Does anything seem wrong with the code! I have Employee and Customer tables ready. CREATE TABLE `contract` (...
View ArticleInnoDB consumes swap on Solaris 10 (3 replies)
Hello, I installed MySQL 5.1.48 on Solaris 10 with 32 GB RAM.Then I configured the innodb_buffer_pool_size to 10 GB. To my surprise I noticed that when I started the server it too the 10GB out of the...
View ArticleAudit Trail (5 replies)
Will there be any audit plugin for the innodb engine for database tables with mysql 5.5?
View Articledeadlock message in Restore Backup (no replies)
Hello Guys, I've make a backup of a big table InnoDB (5'0000,000 reg.), and when I try to make the restore, This message appear "The server has returned this error message:Deadlock found when trying...
View ArticleUse IF() in ON DUPLICATE KEY UPDATE (2 replies)
Hi, Is it possible to use the IF() function in the ON DUPLICATE KEY UPDATE part of a query? I have this table: CREATE TABLE IF NOT EXISTS `table1` ( `ZOEKCODE` INT(5) UNSIGNED NOT NULL PRIMARY KEY,...
View ArticleSlow Down of queries after minimal updates to tables (3 replies)
I have 2 tables and they are all indexed as well as we can setup. There is a query select opentransa0_.ID as col_0_0_, opentransa0_.ORDERID as col_1_0_ from OPENTRANSACTIONS opentransa0_ where...
View ArticleHuge row size compared to MyIsam (3 replies)
I have a table with for columns, a smallint, an integer and two floats. Expected memory for each row is 14bytes (2+4+2*4). I have around 700,000 rows in my table. I've set no primary keys and indices....
View Articlewhat's the purpose of InnoDB (2 replies)
Hi,All i'm the abecedarian of learning mysql.i'm not fully understand InnoDB, Q:what's the purpose of InnoDB. thanks and best regrads.
View ArticleHow to resolve deadlock caused during concurrent inserts into one table (11...
Hello, guys, Could you please help me? I'm getting the error mentioned below during two simultaneous transactions very often. Does this deadlock relate to attempt for X lock from two concurrent...
View Articleinnodb with some myisam tables, possible? (2 replies)
We have a live database running innodb that is currently at around 180GB. We are running out of hdd space. The problem is, the tablespace is currently at 170GB and it keep growing. Never shrink. The...
View ArticleExtremely slow index handling with innodb (8 replies)
Hi Using MySQL 5.1.34 on Mac OS X Snow Leopard I have a few issues with InnoDB indexes beeing extremely slow. I have a very simple table: mysql> describe interceptionresulttype -> ;...
View ArticlePreventing others from accessing locked row in InnoDB (3 replies)
I need to prevent other sessions from accessing rows that I've locked, even those not contained in a transaction. For example, I know I can lock a record by doing something like the following - START...
View ArticleJoining 2 tables from 2 deferent databases (1 reply)
Hi, I need to join 2 tables each in a separate database (INNER JOIN, LEFT JOIN, RIGHT JOIN,...) I know this is possible in SQL server by referencing each table to a user of its database, like:...
View ArticleStorage engine used by temporary tables (4 replies)
What storage engine do temporary tables use? I mean, if MySQL thinks that create a temporary table when executing a complex query is needed, what storage engine does it use? Can it be modified? Is it...
View ArticleQuery Between Specific Times (2 replies)
I'm very new to MySQL and I'm trying to query between 4 specific times each day; 1. Where >= PREVIOUS DAY 15:00:00 and < TODAY 11:00:00 OR 2. Where >= TODAY 11:00:00 and < TODAY 15:00:00...
View Article