Production mode locking table
See original GitHub issueConnecting to a MySQL 5.5.49 database using DBeaver 4.0.3 on Mac OS 10.12.3.
My table is being locked by running a select statement.
- Use mysqldump to dump a table
- Connect to MySQL in Production mode
- Run simple select statement select * from mydb.sdp_test;
- Attempt to import the same table using command line
mysql -umy_username -pmy_password mydb < sdp_test.sql
The import hangs. - Query active processes:
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST where command != 'Sleep';
ID USER HOST DB COMMAND TIME STATE INFO
1,142 my_username localhost mydb Query 2 Waiting for table metadata lock DROP TABLE IF EXISTS `sdp_test`
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Dbeaver table locking - Stack Overflow
I'm using DBeaver 5.0.5. I created a database connection and setted it to "production" type ...
Read more >Resolve blocking problem caused by lock escalation - SQL ...
Lock escalation is the process of converting many fine-grained locks (such as row or page locks) to table locks. Microsoft SQL Server ...
Read more >Database Locking: What it is, Why it Matters and What to do ...
This paper sheds light on the nature of database locking and how it varies between ... tables with row counts in the order...
Read more >Mode locking - Wikipedia
Mode locking is a technique in optics by which a laser can be made to produce pulses of light of extremely short duration,...
Read more >Chapter 5 Active Mode Locking
for some mode-locked laser polarization dynamics will become important. ... Table 5.1 shows that soliton formation in actively mode-locked lasers may.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
SELECT queries will activate Commit/Rollback in the next version.
Yes. Now SELECT queries triggers Commit/Rollback command activation.