Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index taking up too much disk space
Message
From
04/12/2005 03:31:16
 
 
To
03/12/2005 19:07:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Novell 6.x
Database:
MySQL
Miscellaneous
Thread ID:
01074663
Message ID:
01074709
Views:
27
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform