Skip to content Skip to sidebar Skip to footer
Showing posts with the label Locking

Using With Nolock Table Hint In Query Using View - Does It Propagate Within The View?

If a 'WITH NOLOCK' query hint is used on a View in SQL Server, does it propagate that hint … Read more Using With Nolock Table Hint In Query Using View - Does It Propagate Within The View?

Postgres, Update And Lock Ordering

I'm working on Postgres 9.2. There are 2 UPDATEs, each in their own transactions. One looks li… Read more Postgres, Update And Lock Ordering

"the Total Number Of Locks Exceeds The Lock Table Size" Deleting 267 Records

I'm trying to delete 267 records out of about 40 million. The query looks like: delete from pr… Read more "the Total Number Of Locks Exceeds The Lock Table Size" Deleting 267 Records

How I Make Result Of Sql Querys With Limit Different In Each Query?

I have the following SQL: SELECT id, url FROM link WHERE visited = false ORDER BY id LIMIT 500… Read more How I Make Result Of Sql Querys With Limit Different In Each Query?

Update Mysql Table In Chunks

I am trying to update a MySQL InnoDB table with c. 100 million rows. The query takes close to an ho… Read more Update Mysql Table In Chunks

Using Sql Server As Resource Locking Mechanism

Given a table of logical resource identifiers (one per row), what is the best way for an arbitrary … Read more Using Sql Server As Resource Locking Mechanism