Subject | Re: [ib-support] High CPU usage AFTER bulk insert completed |
---|---|
Author | Kenneth |
Post date | 2002-03-20T04:01:13Z |
Hi
This is getting interesting :-)
I tried with forced writes=true, and still get the same results.
I did 2000 item inserts, and after that processor usage lingers at 100% for
about 25 seconds.
This on a Athlon 900MHz system with 384MB RAM.
Insertion too, was a bit slow. (somewhere about 50 items per second).
Btw, not sure if this info is useful, but my code code creates a prepared
statement
everytime i perform the insertion. (This limitation is unfortunately, due to
the fact the
Type4 FB JDBC driver doesn't support reusing a statement after commits)
Just wondering if this has something to do with some internal memory
management?
But then again, it's just 2000 prepared statements. It can't possibly take
25 seconds to
free them all right?
Regards
Kenneth
"Helen Borrie" <helebor@...> wrote in message
news:5.1.0.14.0.20020319220403.045175c0@......
This is getting interesting :-)
I tried with forced writes=true, and still get the same results.
I did 2000 item inserts, and after that processor usage lingers at 100% for
about 25 seconds.
This on a Athlon 900MHz system with 384MB RAM.
Insertion too, was a bit slow. (somewhere about 50 items per second).
Btw, not sure if this info is useful, but my code code creates a prepared
statement
everytime i perform the insertion. (This limitation is unfortunately, due to
the fact the
Type4 FB JDBC driver doesn't support reusing a statement after commits)
Just wondering if this has something to do with some internal memory
management?
But then again, it's just 2000 prepared statements. It can't possibly take
25 seconds to
free them all right?
Regards
Kenneth
"Helen Borrie" <helebor@...> wrote in message
news:5.1.0.14.0.20020319220403.045175c0@......
> At 06:57 PM 19-03-02 +0800, you wrote:database,
> >Hi
> >
> >After my application is done performing roughly 3000 inserts into a
> >ibserver.exe seems to be hogging the processor power for about 30seconds.
> >Hard disk access is minimal.behavious
> >
> >I'm just curious what IB is doing, as I don't notice this kind of
> >in other databases that I've worked with before.each
> >
> >Have I missed some configuration settings or something?
> >
> >The table consists of several columns of short BLOBs. (about 4 or so,
> >having
> >a length of less than 200 bytes), and 4 indices (including PK).
> >
> >Machine spec:
> >Win2k,
> >Forced Writes=false <---------
>
> 30 seconds sounds like a reasonable time to hog the CPU while committing
> 12,000 blobs to the disk cache...2.5 millisecs per blob.
>
> H.
>
>
> All for Open and Open for All
> Firebird Open SQL Database 7 http://firebirdsql.org 7
> http://users.tpg.com.au/helebor/
> _______________________________________________________
>
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>