I realize this is for perl related questions and that my question here might be a more of a database issue. I thought someone else might have some experience using perl with an Oracle database.

A co-worker and I have been using perl to load user provided data into an Oracle 9i database. The user data is variable length so we use a split and process if data is present in the fields.

Input files can be up to 200,000 lines long half a gig in size. Process counts show us how much of the input file is being processed. We use bind variables when doing database accesses.

5,000 lines would process in so much time so we'd get an estimate of how long a particular job might take. How many lines processed would increase slowly and our estimates were way off.

My question is why would a 65,000 line input file take 1 hour to process 30,000 lines but 8 hours to do the rest?

TIA

In reply to processing slows way down by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.