Is there a way to lock an entire database from writing but at the same time storing the incoming requests in a queue or in memory until the lock is released?
edit 1: I'm looking for something similar to MySQL
'FLUSH TABLES WITH READ LOCK' and 'UNLOCK TABLES'
Thanks