![]() | |
#131
| |||
| |||
|
|
"Marshall Spight" <mspight (AT) dnai (DOT) com> wrote "Paul G. Brown" <paul_geoffrey_brown (AT) yahoo (DOT) com> wrote Note that relations are disambiguated by their *entire* definition, not just their names. That doesn't seem right. Can you justify that argument? Given that you can construct a projection onto one attribute each of two tables and join them, this is hard to believe. Maybe this is just a syntax issue, though. Sorry. Missed your question. Saw Paul Vernon's reply. To clarify: the statement you quote is intended as a definition. "In a relational schema, relations are disambiguated by the combination of their names and the set of their attributes." |
|
Which lets us do this kind of thing in a relational schema: RELATION Contains ( Domain Document, Range Word); RELATION Contains ( Domain Polygon, Range Point); RELATION Contains ( Domain Polygon, Range Polygon); RELATION Species ( Id ScientificName KEY, What Document, Where Polygon ); Note that this leads to some interesting formulations of common predicates. (I'm kind of re-inventing Prolog here, only without the types, so bear with me.) Q1: For any two documents what words are found in both? RELATION Intersection (D1, D2, W1) AS ( Contains (D1=Domain, W1=Range) Contains (D2=Domain, W1=Range) ); |
#132
| |||
| |||
|
|
Say if you had a large insurance company with, say, 10000 rules, would it *really* work? |
|
Yes, absolutely. It would scale at least as well as it does today. It would be more manageable than it is today because the important business logic would not be scattered among hundreds of applications. It would easily adapt to all situations. Why would it not? [snipped] That is all very clear, and that is how I have understood the goal. But, as they say, the devil lies in the details. The Versata product has been used to create a fairly large rule-based application at American Management Systems. I wonder if anybody knows anything about this application . See this IBM red book: http://publib-b.boulder.ibm.com/Redb...6510.html?Open |
#133
| |||
| |||
|
|
"Lauri Pietarinen" <lauri.pietarinen (AT) atbusiness (DOT) com> wrote in message news:bmv01r$u69$1 (AT) nyytiset (DOT) pp.htv.fi... Say if you had a large insurance company with, say, 10000 rules, would it *really* work? Il'd say that would be exactly the kind of application that a pure relational approach would *really* work very well indeed. Yes, absolutely. It would scale at least as well as it does today. It would be more manageable than it is today because the important business logic would not be scattered among hundreds of applications. It would easily adapt to all situations. Why would it not? [snipped] That is all very clear, and that is how I have understood the goal. But, as they say, the devil lies in the details. The Versata product has been used to create a fairly large rule-based application at American Management Systems. I wonder if anybody knows anything about this application . See this IBM red book: http://publib-b.boulder.ibm.com/Redb...sg246510.html? |
|
Can't say I know about that app, but it's statistic of replacing 3.7 million lines of (COBOL) code with 12,000 business rules is not a bad start to what I suspect is possible with relational approaches (i.e. I think I'd be surprised if those 12,000 couldn't be reduced by a factor of 10 in a purer relational system). |
#134
| |||
| |||
|
|
"Paul Vernon" <paul.vernon (AT) ukk (DOT) ibmm.comm> wrote in message news:bn31fe$aie$1 (AT) gazette (DOT) almaden.ibm.com... "Lauri Pietarinen" <lauri.pietarinen (AT) atbusiness (DOT) com> wrote in message news:bmv01r$u69$1 (AT) nyytiset (DOT) pp.htv.fi... Say if you had a large insurance company with, say, 10000 rules, would it *really* work? Il'd say that would be exactly the kind of application that a pure relational approach would *really* work very well indeed. Yes, absolutely. It would scale at least as well as it does today. It would be more manageable than it is today because the important business logic would not be scattered among hundreds of applications. It would easily adapt to all situations. Why would it not? [snipped] That is all very clear, and that is how I have understood the goal. But, as they say, the devil lies in the details. The Versata product has been used to create a fairly large rule-based application at American Management Systems. I wonder if anybody knows anything about this application . See this IBM red book: http://publib-b.boulder.ibm.com/Redb...sg246510.html? Open Can't say I know about that app, but it's statistic of replacing 3.7 million lines of (COBOL) code with 12,000 business rules is not a bad start to what I suspect is possible with relational approaches (i.e. I think I'd be surprised if those 12,000 couldn't be reduced by a factor of 10 in a purer relational system). The question is not how few rules one can write, but how few rules the dbms must enforce to ensure consistency. If they wrote 12,000 but the dbms need only enforce 1,200, the dbms takes care of the reduction. |
![]() |
| Thread Tools | |
| Display Modes | |
| |