Re: Oracle View Machanism - Opinions Please!!!!!!

From: Ed Henderson <tedh_at_delab4.tus.ssi1.com>
Date: Tue, 17 May 1994 19:55:46 GMT
Message-ID: <tedh.769204546_at_tus.ssi1.com>


scoec_at_westminster.ac.uk (Michael j Dorey) writes:

>Does anyone on this system have any views/comments etc. on the use of the
>Oracle (SQL) view mechanism? This is a peeve directed to a particular
>lecturer here (who will remain nameless) but who is under the impression
>that when designing a database you should not create views which are
>themselves based (or partly based) on other views. When I questioned 'why?'
>I was given no specific reasoning. The solution to many database problems
>can (of course) be enhanced by using views, and in my view (no pun
>intended!) breaking a complex set of requirements into small
>problem-specific views which may then be linked together into a larger
>view and perhaps to another base table is perfectly logical, and one of the
>plusses of the relational model?? It might also be considered a simple
>extension of functional programming, breaking a problem into specific
>procedures or modules. I would be grateful on any opinions on this - I have
>to add I've seen nothing in any books which discourages it, (in fact it was
>encouraged on a course I attended in 1991) and surely it enhances future
>maintainablity of the system as well???

  Well I would not design a system based on a heirarchical system of views. I would carefully consider my project and find a better way.   I am a firm believer in structured systems. However, structured systems must balance development time - portability - maintainability - and performance.
  You seem pre-disposed toward your 'view' structure. Such a structure would most likely perform quite sluggishly. I would reccomend that you take a step back and consider your position more carefully. I have often times found myself re-evaluating a circumstance after such an 'objective' analysis of my own projects.

Ed Henderson Received on Tue May 17 1994 - 21:55:46 CEST

Original text of this message