Subject | Re: [firebird-support] Dealing with inserts from multiple transactions |
---|---|
Author | Michael Ludwig |
Post date | 2012-06-07T19:57:44Z |
Doug Chamberlin schrieb am 07.06.2012 um 14:07 (-0400):
has to be processed in one fell swoop) to detect any missing entities
and then to quickly create them, or rather, assert their existence,
creating them as necessary.
Or maybe make all such screening go through one supervisor that each
ETL process is required to get clearance from. VoilĂ , another way to
serialize.
I think it boils down to create some serialization / synchronization
point to avoid races and hence duplication.
Michael
> I think I would challenge whether adding a necessary entity (toAnother possibility might be to screen the dataset (which apparently
> satisfy the FK requirement) needs to be in the same transaction
> as the overall dataset processing.
has to be processed in one fell swoop) to detect any missing entities
and then to quickly create them, or rather, assert their existence,
creating them as necessary.
Or maybe make all such screening go through one supervisor that each
ETL process is required to get clearance from. VoilĂ , another way to
serialize.
I think it boils down to create some serialization / synchronization
point to avoid races and hence duplication.
Michael