Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Databases General > Re: Indexing vi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 3075 of 3234
Post > Topic >>

Re: Indexing views/Implementing BCNF

by Ed Prochak <edprochak@[EMAIL PROTECTED] > Jan 14, 2008 at 06:16 AM

On Jan 14, 1:49=A0am, aehc...@[EMAIL PROTECTED]
 wrote:
> Is there a commercial RDBMS that allows one to create indices on
> views?
>
> I'm asking this partly because of BCNF.
>
> A typical BCNF problem is (where -> is a FD)
>
> A, B->C
> C -> B
>
> which becomes the following relations
>
> R_A [_A_, _C_]
> R_B [_C_, B]
>
> where _X_ denotes an attribute in the primary key
>
> since
> R [_A_,_C_,B] is not in 2NF
>
> But there's an additional constraint where the equijoin of R_A and R_B
> on C would have the candidate key A,B.
>
> Is there a way to express this last constraint (i.e., a candidate key
> on a view) in an implementation system?
>
> Cecil Chua

I'm not quite sure what you are asking, but

since a view is really just a query, then indexing it does not make
sense. The DBMS should be able to derive a query executation plan
based on the underlying tables used in the query.

If you want a theoretical answer, then post over in
comp.databases.theory

HTH
 ed
 




 2 Posts in Topic:
Indexing views/Implementing BCNF
aehchua@[EMAIL PROTECTED]  2008-01-13 22:49:03 
Re: Indexing views/Implementing BCNF
Ed Prochak <edprochak@  2008-01-14 06:16:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 21:55:04 CDT 2008.