Creating non-locking temporary tables (1 reply)
Hi there! I am having an issues with temporary tables that I was curious if anyone else had encountered before. In our environment, we have slave servers that we are utilizing for the purposes of...
View Article#1036 - Table 'gain' is read only (13 replies)
It started that I had a power outage longer than my UPS could hold, ... After that MySQL on my Ubuntu server could not start anymore. I added into /etc/my.cnf the two lines: [mysqld]...
View ArticleExclusive lock (3 replies)
Hi Everybody, I have a mysql error and I didn't find the answer till now on the internet: "Wait on a lock was aborted due to a pending exclusive lock" I have a lot of transaction in the same time....
View ArticleDenormalization to allow use UNQIUE index? (6 replies)
Post has many Comment. Post contain issue_id field and Comment contains comment_id field. The request to create a comment with (issue_id, comment_id) which already exists in the DB should be ignored....
View ArticleQuery Replacement (2 replies)
Hi, Anyone can help on how to replace some word in select statement. TextFile abc@abc.com test@testmail.com check@mycompany.com choice@yourcompany.com etc... OutputFile abc@abc.com test@abc.com...
View ArticleFast Update (6 replies)
Hi, Anyone can help for fast update? The update statement below take 4hours for 65k records. update exclusive a set a.deleted_date=now() where...
View ArticleFast Insert Where Not Exist (4 replies)
Hi, Anyone can help on how this insert where not exist faster, currently the sql statement below working but it takes 1hour 42minutes for 65k records. INSERT INTO exclusive...
View ArticleIssue on UPSERT when concurrency is high (4 replies)
Hello All, We are using apache storm application for message processing. The messages are parsed and inserted/updated on MySQL 5.7.16 which is installed on a Linux machine. We are trying to replicate...
View ArticleDeleted data automatically recovered (3 replies)
i have a table for store devices data. And now i need to delete all/truncate this table. I tried to remove one by one, but deleted data inserts in the and with new ID. i tried "Delete *" , "Truncate...
View ArticleGeneral Tablespaces (1 reply)
hi, where store innodb user data ? In general tablespaces or system tablespace ?
View ArticleRecovery Data (no replies)
I have the same problem, I only have the IBDATA1 file, I do not have the IB_LOGFILES and I need to recover the data from my INNODB engine database. I have a backup that I'm working on. What can I do...
View Article"create table as select ..." failed with unknown reason (4 replies)
Environment: MySQL 5.7.16 on RHL6 I have the following SQL statements listed below. If I execute STMT_1, STMT_2 or STMT_3, I get the expected result without problem. Execution of STMT_4 fails with...
View Article1205 Lock Wait Timeout on heavy SELECT load? (3 replies)
Hi folks, We're running a very small database (a few hundred rows) on Community Edition 5.6.21 (clustered). It stores access rights information for our application. The application itself is entirely...
View ArticleLocking preventing users being allocated work (1 reply)
I have a stored procedure that is being used to allocate customer's work requests to users when they press a button on a UI. The SQL within the stored procedure is split in the following way Allocate...
View ArticleAnalyze on INNODB Tables (2 replies)
Hello Team, we have 150 tables and planning to perform an ANALYZE on same. I would like to know what is the system table that helps in checking stats on the table are stale.
View ArticleInnoDB is default engine for 5.7, but why does the code go into myisam while...
Hi all, Today, I download the source code of mysql 5.7.16, and build it with debug. It is said from 5.5, the default DB engine is InnoDB. But after I import my data with 8000000+ records into it. The...
View ArticleError in procedure only throught ODBC connection (4 replies)
Does anybody knowns why this code work throught command line with mysql.exe, but it doesn't work throught ODBC connection: create procedure executa_comando (IN p_comando text, OUT p_cod_erro...
View ArticleReindex Innodb Tables (no replies)
Hi, How to Reindex or rebuild Innodb tables. -- Ragu Thangavel
View ArticleTemporary table - Error recovery failure (9001) (1 reply)
I have made temporary table like this: CREATE TEMPORARY TABLE temp1 (towkod varchar(20), townaz varchar(40), wartnetto DECIMAL(9,2), wartzysk DECIMAL(9,2), ilotow DECIMAL(9,2)) ENGINE = InnoDB and...
View ArticleCould not increase number of max_open_files to more than 65536 (request:...
Hi Sir, I understand the warning message "Could not increase number of max_open_files to more than 65536 (request: 1050635)" is a common topic and solutions can be easily found in Google. My question...
View Article