Thanks for the input everybody, but -- regardless of public opinion -- this solution works great! Searches that used to take 45 seconds under heavy load (to open 2000 flat files, alphabetize them, then print 20 results) now take no more than 3 seconds. And, the I/O load is MUCH happier too!
I wound up using SQL*Loader for searches with >1000 results, which adds about 1 second of overhead. SQL*Loader supports "direct load insert", but it slows things down in my situation. Direct load insert works best when creating a table from a query to another table, and it is not specific to Oracle 8. Oracle 7 can do it too.
Thanks again! If anyone decides to use my
Alba Transform :) and wants some more specific code, let me know.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.