|
I think it is possible to avoid extra storage with generated columns
too. These generated columns need not necessarily be in physical
storage. The language layer could evaluate the _expression_ on the fly
when requested. Again, if a query uses an _expression_ that might match a
generated column, it would be possible to use the index. It is possible to have a first implementation actually create the column in physical storage and then improve the implementation to avoid this physical column and instead just evaluate the _expression_ when needed. Satheesh Manish Khettry wrote: Adding hidden columns is an easy way to implement the feature but it does result in storage being wasted. Mike's suggestion (option 3) in Jira seems to be a better way of doing it. As I understand it, Mike is suggesting that the store is unaware of the fact that a function value is used as a key in the btree for theindex. The language layer maintains the information and uses it to maintain the index (i.e. passing the right key value in DML and index build after applying the function) as well as considering the index if the function is present in the query.Manish On 7/29/05, Satheesh Bandaram <[EMAIL PROTECTED]> wrote: |
- Re: jira question Satheesh Bandaram
- Re: jira question Rick Hillegas
- Re: jira question Mike Matrigali
- Re: jira question Manish Khettry
- Functional indexes WAS Re: jira que... Daniel John Debrunner
- Re: jira question Jeffrey Lichtman
- Re: jira question Rick Hillegas
- Re: jira question Manish Khettry
- Re: jira question Satheesh Bandaram
- Re: jira question Rick Hillegas
- Re: jira question Daniel John Debrunner
