Ask HN: Dirty Reads for Databases: Good Thing or Bad?
1–9 of 9 posts
Re: Ask HN: Dirty Reads for Databases: Good Thing or Bad?
#2Re: Ask HN: Dirty Reads for Databases: Good Thing or Bad?
#3I'm certainly not the most knowledgeable in this at all, but if I'm not mistaken most environments I've worked in have been only the dev instance allows it, while UAT and production won't allow any dirty reads.
Re: Ask HN: Dirty Reads for Databases: Good Thing or Bad?
#4Only useful use I've found for them: emulating sequences on a DB without them.
Re: Ask HN: Dirty Reads for Databases: Good Thing or Bad?
#5Since the transaction that did the write is uncommitted, dirty reads are generally a bad idea as you may act based on something that is subsequently thrown away. Only useful use I've found for them: emulating sequences on a DB without them.
http://codingsight.com/understanding-dirty-read-problem-sql-...
Re: Ask HN: Dirty Reads for Databases: Good Thing or Bad?
#6Since the transaction that did the write is uncommitted, dirty reads are generally a bad idea as you may act based on something that is subsequently thrown away. Only useful use I've found for them: emulating sequences on a DB without them.
https://stackoverflow.com/questions/2471055/why-use-a-read-u...
Re: Ask HN: Dirty Reads for Databases: Good Thing or Bad?
#7Re: Ask HN: Dirty Reads for Databases: Good Thing or Bad?
#8Like everything, it depends on the use case. Public facing financial transactions have different objectives than an RSS feed of LoL Cat pictures.
Re: Ask HN: Dirty Reads for Databases: Good Thing or Bad?
#9Like everything, it depends on the use case. Public facing financial transactions have different objectives than an RSS feed of LoL Cat pictures.
Fair enough. In my case I am making recommendations to clients, so it sounds like it is best to take it on a case by case basis. The majority of the literature seems to be about avoiding Dirty Reads, but there are some beneficial uses.