Re:Things I wished more developers knew about databases
by fendy3002 on Thursday April 23, 2020 @07:55AM
(#22954986)
Does it means the report take the tables hostage for 30+ minutes? How can transactional consistency be achieved without write lock? Temporary table?
[ Parent
| on HN ]
Re:Things I wished more developers knew about databases
by CodesInChaos on Thursday April 23, 2020 @12:24PM
(#22957678)
Reporting can typically be split into two transactions. One long-running readonly transaction with snapshot consistency obtaining the data for the report and a separate transaction which publishes the result.
Re:Things I wished more developers knew about databases
by blattimwind on Thursday April 23, 2020 @08:10AM
(#22955060)
MVCC.