OK, here's a problem that I've noticed with an OOD codebase that uses a MySQL wrapper for database abstraction....
It seems that when I try to insert >600 rows of Data into the MySQL database, the PHP process dies and sends some malformed header
which then becomes a DNS error page in IE about a minute later.
I've tried all kinds of stuff to get the processes to run faster, such as locking tables, using LOAD DATA INFILE rather than inserts etc.
Now the Kicker here is that I can run the same LOAD DATA INFILE statement in mysqladmin and get all 1065 rows of data inserted w/o a hitch.
I'm thinking that this may be a serious issue with Objects and external resources in PHP. I'll admit I have a funky setup with over 20 global objects floating around, but this is the first I've seen a performance hit. And it's pretty bad.
Might it be some memory overhead?
I tried using mysql_free_result...but I think the suction started with the actual mysql_query(). Maybe there is some magic command that I could use to make the software send off the query and then forget about it or better yet, allocate higher overhead clearance for the objects.
Anyone have any pointers as to how the
MySQL interaction could be tamed?