New answers tagged concurrency
3
votes
Accepted
I've TABLOCKed a table. How can I read it?
There are two possibilities:
1. Truncating inside a transaction
This applies if you are truncating the table then loading in batches within a transaction.
Truncating a table takes a schema ...
1
vote
I've TABLOCKed a table. How can I read it?
There are two kinds of table locks. The DML table lock which is an X lock on the object, like if you added a TABLOCKX table hint, and the excusive schema lock SCH-M, that you get from altering ...
0
votes
Accepted
Two queries to retrieve user profile and tweets, or join and get user data from first column?
Two queries to retrieve user profile and tweets, or join and get user data from first column?
Is it better to fetch them in two separate, possibly concurrent/parallel calls?
OR
make a one query, ...
Top 50 recent answers are included
Related Tags
concurrency × 318sql-server × 105
postgresql × 99
locking × 62
mysql × 57
transaction × 48
isolation-level × 45
deadlock × 21
update × 19
database-design × 16
insert × 13
performance × 12
innodb × 12
oracle × 9
sql-server-2008 × 9
sql-server-2012 × 8
index × 8
ddl × 7
mongodb × 6
mysql-5.7 × 6
sqlite × 6
blocking × 6
sql-server-2008-r2 × 5
stored-procedures × 5
trigger × 5