Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: When to Commit?
joel-garry_at_home.com wrote:
>>Billing is seldom an OLTP process.
I should have been clearer and said "monthly billing" rather than just billing. (the comment was in context of telecom billing) Billing and invoicing for me currently have less than normal meaning. Creating an invoice is certainly somthing done at point of sale. I've been thinking of Billing separately because of the POS system I work on seldom involves cash tranactions. An Invoice is generated at the sale and then the billing statement is sent later to the company (that billing statement might be an EDI file with data from lots of invoices).
We have the locking issue with Stock tables also, BUT it never stops the invoice from being printed. The stock update process just WAITs until the lock has been freed. (And this is in UNIFY Data Server DBMS which doesn't have ORACLE's nice concurrency model, it is hard locks and occasional dirty reads.) I cannot imagine holding up a printout, especially an invoice. My first year here was in dealing with this issue and I now have it so that short of a a system crash or users trying to payout right at the nightly cleanup (when all users are automatically logged off for a couple minutes) we no longer have any of what we call ghost work orders.
So as much as I respect your opinion, Joel, I still say the concurrency issue about generating last month's bill holding up updating this month's data that Mark raised is false. (or as Car Talk's Tom would say: BoooGUS!) It is BAD design.
On the minor rant side >> Hey I DO KNOW about "Those darn business people!" The marketting manager here is know on occasion to ask us to change some process to do exactly the opposite of what he requested a year earlier. (Being able to do Rapid Application Development can be a curse sometimes!) We manage to keep his requests under control most of the time.
-- Ed Prochak running http://www.faqs.org/faqs/running-faq/ netiquette http://www.psg.com/emily.html -- "Two roads diverged in a wood and I I took the one less travelled by and that has made all the difference." robert frostReceived on Fri Jul 08 2005 - 22:20:26 CDT