This content has been marked as final. Show 7 replies
These are the things I actually can think of:
1) Do you use the same driver? There mabe some restrictions. I had a similar problem sometime ago using DB/2, changed the driver (I think I used the network driver before and changed to the application) increasing performance.
2) Is it the same Database? There maybe some logging facility active on your server.
3) Are Indexes involved? They may slow down the insert. You then can insert into some table without indexes and do a "insert into XXXX select" afterwards.
4) How do you insert the rows? There may be a problem when commit is done to often. But this should also reduce performance in your developer scenario.
I will continue thinking about it ....
1) I'll definately look into "network vs local" optimised JDBC drivers (and settings)... that might explain it. Thank you!
2) It is the very same database and table in both instances, It's a "real" table (as apposed to session-temporary-table or whatever) which is (re)created in both instances at the beginning of each run. Logging is active on that database, but has not been activated on that table. More food for thought though, thanx.
3) Only Informix's internal primary index is involved... it's faster to create index's & stat's in informix after the table is loaded with data.
4) The rows are inserted in a "tight loop". It commits every 100 rows.... or else we'd run out of lock-lists before the load finished. Commiting every row didn't appear to impact performance... From experience it doesn't UNLESS logging is active on that table.
I allready owe you four beers. Thanking you sir.
Sounds like your disk can't handle the load from both the application server and your database.Yep, that's a possibility... Except... Ummm... I wouldn't have a clue where to start to "turn off logging"... and don't imagine that it'll make any difference because (presuming that this machine is our "standard" setup, and that our "standard" setup hasn't been changed from how I'm used to them being setup, certainly nobody has informed me, but they wouldn't, especially now we've got ITIL to ensure that nobody knowswhatthefucksgoingon) /home is mounted on an internal disk (for transfer speed) and /data is on a T3 disk array (for cost abatement... or come to think of it, it might even be on the SAN these days, see above mushroom syndrome, and I don't even know how to check).
I'll eliminate some other possibilities first though
Big thanks ;-) Keith.