tscloud / HiveNotes

Android app for keeping tabs on your bees.
1 stars 0 forks source link

use transaction boundaries #19

Open tscloud opened 8 years ago

scottsamia commented 8 years ago

What the hell is a transaction boundary?

tscloud commented 8 years ago

Multiple SQL operations can be grouped together and their success or failure be committed or rolled back as a whole. This would be done for 1) atomicity: the success of each operation is contingent upon the success of all others, a single atomic operation or 2) performance: one big I/O is more efficient than a bunch of little ones.

tscloud commented 8 years ago

In use for WeatherHistory inserts (untested) but should be used elsewhere as well.