Top "Table-locking" questions

Create an index on a huge MySQL production table without table locking

I need to create an index on a ~5M rows MySQL table. It is a production table, and I fear …

mysql indexing production alter-table table-locking
Why is table-level locking better than row-level locking for large tables?

According to the MySQL manual: For large tables, table locking is often better than row locking, Why is this? I …

mysql locking table-locking
Mysql - Serialization failure: 1213 Deadlock found when try to get lock; try restarting transaction

I have menus, categories and products tables. I am using mysql 5.5, All tables are innoDB and in all cases id …

mysql locking database-deadlocks table-locking
Will laravel database transaction lock table?

I use laravel5.5's database transaction for online payment application. I have a company_account table to record each payment(…

php database laravel transactions table-locking
SQL Server - Merging large tables without locking the data

I have a very large set of data (~3 million records) which needs to be merged with updates and new records …

performance sql-server-2008 merge table-locking large-data
How to explicitly lock a table in Microsoft SQL Server (looking for a hack - uncooperative client)

This was my original question: I am trying to figure out how to enforce EXCLUSIVE table locks in SQL Server. …

sql-server tsql table-locking
How to know about DB health from "Table_locks_immediate" and "Table_locks_waited" in mysql

How to know the health of the mysql db by seeing the "Table_locks_immediate" and "Table_locks_waited" values …

mysql database table-locking
Teradata - how to select without locking writers? (LOCKING ROW FOR ACCESS vs. LOCKING TABLE FOR ACCESS)

I am developing an application which fetches some data from a Teradata DWH. DWH developers told me to use LOCK …

teradata rowlocking table-locking
Why would innoDB lock tables

I'm using innoDB on AWS. I keep getting a ton of the following messages in my logs: Waiting for table …

mysql innodb table-locking database-engine
Oracle Data Pump Export (expdp) locks table (or something similar)

I must export data from a partitioned table with global index that must be online all the time, but I …

oracle oracle11g database-partitioning table-locking