Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Deadly sins againts database performance/scalability
ctcgag_at_hotmail.com wrote:
> Daniel Morgan <damorgan_at_x.washington.edu> wrote:
>
>>Again, today, I've been called into look at a database in which it is >>impossible to connect related events. >> >>Example: >>1. Cases have a case number >>2. Citations have a case number and a citation number >>3. Fees paid for citations have a case number and a payment number >> >>If you can't see what's wrong ... you're part of the problem. ;-)
You may not be part of the problem but you are a strong candidate. ;-)
With the above you can link citations to cases.
And you can link fees to cases.
But you can not tell which fee goes with which citation.
The following simple change would provide referential integrity.
The fees are linked to the case by means of the citation number providing a complete referential join.
This is a critical skill. And one I see all too rarely.
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Thu Nov 27 2003 - 18:14:09 CST
![]() |
![]() |