public inbox for [email protected]
help / color / mirror / Atom feedFrom: Rob Sargent <[email protected]>
To: [email protected]
Subject: Re: Long running processes and commit writing to disk
Date: Fri, 8 Apr 2022 11:05:08 -0600
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <CA+i5JwbqHrQNPjWgUzcQWTs3XueGuxp82RZ4FAZ-P8dhRk22CA@mail.gmail.com>
<CA+i5JwYicGdvXLSNx_VdREEuCCWch2gWevK6avSQfPM2EgDwEQ@mail.gmail.com>
<[email protected]>
On 4/8/22 10:52, Mike Sofen wrote:
>
> *From:* Shaozhong SHI <[email protected]> *Sent:* Friday, April
> 08, 2022 9:39 AM
>
> When long running processes got disrupted, one may not see any
> expected result.
>
> How to make sure that the result of each operation is saved to disk in
> a loop?
>
> Regards,
>
> David
>
> Simple: don’t use a database – you’re asking to violate ACID.
>
> A database’s power comes from set-based operations. You’re asking to
> do single row operations. Use a spreadsheet...or a plain text file
> and treat it like a log.
>
> Mike
>
Or commit every loop (perhaps every N loops, depending on how much
you're prepared to re-do.)
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Long running processes and commit writing to disk
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox