>Hi.
>
>I have 2 remote views that are both bringing down potentially millions of rows from 2 different database tables. I need to put indexes on these views but when I use the command..
>
>INDEX ON remove_view_name index_expression
>
>..Windows seems to like to create these huge temporary files in the docsandsetting/username/localsetting/temp folder. I suppose these temporary files are housing the indexes in some way but is there a way to do indexing on "large" remote views that doesn't take up so much disk space?
it depends on what is index expression. if it is large string then no wonder the index is large for several million records.
you can limit the index expression in length by left() fuction or index on hash function which will return integer and reduce the size of index greatly.
>
>I was also under the impression that these temp files would not be persistent since they are created by a temporary form but they last even after the form is destroyed..am I missing something here?
These indexes won't go away unless you'll delete them manually. You create them manually, then why do you expect them go away without your intervention?
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer