Deadlock information incomplete (3 replies)
I am investigating a deadlock in our application and find that the MySQL log is providing insufficient information. Specifically the LATEST DETECTED DEADLOCK section from SHOW ENGINE INNODB STATUS\G...
View ArticleImport Multiple CSV Files in Windows (2 replies)
I have numerous (over 2000) CSV files all with different names but they all have the same columns of data. I have a table called cc_trans all setup to accept the import of the files. How can I import...
View ArticleMySQL stalled at "Reading tablespace information from the .ibd files" (no...
Hi guys, Yesterday I experienced and unclean shutdown due a powe outage, today we found the MySQL service isn't starting and the InnoDB repair process stalls at "Reading tablespace information from...
View Articlehow to change storage location of a table? (2 replies)
I'd like to change the storage location of a table to SSD to increase the performance, but I have no idea how to do that so I ask here. I am using the MySQL shipped with XAMPP on Windows. I searched...
View Article[MySQL 5.0] Errors during migration from MyISAM to InnoDB (1 reply)
Hi, We use MySQl 5.0.67 at my workplace. In one of the databases, there are few tables that still use MyISAM engine and I am planning to change the to InnoDB. I found out that these tables together...
View ArticleModify maximum number of columns (4 replies)
Hi guys, I have trying to modify the maximum number of columns on specific table. I know that is not correct, but this was a bad design from another developer, now I need an urgent workaround while I...
View ArticleSET GLOBAL innodb_file_format=Barracuda not working (4 replies)
Hi all. I have had several MySQL servers for about 10 years, but as the are so reliable I have not had to do much with them, so I am not experienced. The server is a Windows 2012 R2 running MySQL...
View ArticleMemory/cache usage with innodb_flush_method values (no replies)
Hi. I'm running an Apache/MySql Virtual Private Server and I thought I'd set innodb_flush_method to O_DIRECT so I could avoid the 'doubling up' of InnodDB data in the filesystem cache, and thus get...
View Articleinnodb_file_per_table on raid 5 server (1 reply)
Hi All, I am about to install innodb with innodb_file_per_table on raid 5 server configuration. Will it have any impact on the server performance with raid 5 because some links I read e.g....
View ArticleStuck transaction in undo log (no replies)
I am having an issue with ibdata1 file having gotten very large (7 GB). Investigating the issue, I have a very large History: TRANSACTIONS ------------ Trx id counter 53EEAD8B Purge done for trx's n:o...
View ArticleDiagnose potential DB timeout (no replies)
Hi, I am running an instance of Jira which uses MySQL as it's DB. I am trying to diagnose an ongoing issue with the vendor without much luck. Basically every day around what seems to be the same time...
View ArticleWhether Multiple index on Single table is necessary!?? (no replies)
Hi, I have table with 60 columns. and its a huge table having more than 1 crore records. mysql>desc dummy_table; col1 int col2 varchar(10) col2 datetime . . . col60 int i have two select queries...
View ArticleMysql service hangs on ALTER TABLE only on one particular database (1 reply)
We have mysql community 5.6.23 installed on Hyper-V virtual server with 16GB ram on Windows Server2012 R2 Standard, Mysql is on drive C: and mysql data is on drive E: which is on RAID 11 when we...
View ArticleMySQL ibdata1 is lost in server (no replies)
Hi there, hope in your help. The database MySQL version 5.5.35 has suffered critic crash on windows server 2003. Now the file ibdata1 is lost; before the crash the size of ibdata1 was 5GB. I have...
View ArticleTrigger conditions (1 reply)
I have a table A with a foreign constraint on a column linked to Table B, I wrote a trigger on delete events for table A however when a row in table B is removed cascading to Table A the trigger is...
View ArticleHow to extract "@xsi:type" attribute from json-type column (no replies)
Hi, I've stored data in a json type column in mysql 5.7.9. The json data has an attribute named "@xsi:type", what is the mysql syntax to extract that attribute from the json data? The following works:...
View ArticleCannot Import InnoDB tables. Error: Operation not allowed when...
Wordpress 4.3.1 - CiviCRM 4.5.5 CivicCRM is on its own DB with all tables set as InnoDB. Wordpress is MyISAM. Old host: Apache 2.2.26 - PHP: 5.3.28 - MySQL: 5.1.73 InnoDB settings on old host: $ grep...
View ArticleHow to export data only to separated sql files (3 replies)
Hi I'm working on Windows I need to create a batch file that export all database tables data to separated files (one for table). Is it possible with mysqldump command? Thanks
View ArticleInnob db spikes at 99% Disk I/O Utilization (no replies)
Our database is spiking at 99% I/O at random times. There are not some "super" queries that are running in these intervals. We are running a vp on digitalocean with 16 GB Ram, 8 CoreProcessor and...
View ArticleHow complicated is it to change from an old MySQL (MyISAM) to the newst MySQL...
Hi! I have a very old MySQL 4.0 Installation with a MyISAM database. Now I am on the way to do a change to the newest MySQL version 5.7.x over a dump (backup/restore). So far I was able to fix all of...
View Article