HenryMonster
Programmer
Hi All,
I have a FreeBSD production server and
a Linux-box, which we use for development
and as our ftp server at the same time.
Both machines host the same version of mySql: 3.23
I developed a simple C-program, which parses
ascii-files, which we receive daily
through ftp on our Linux machine from our
business partner and inserts new
records into a table (47 fields per record).
My manager want to run this program from Linux only !
When I run the program against our development mySql database on this same Linux machine, it processes
200 records in 3-5 seconds.
However when I run the same program (on Linux)
against our production database, it takes 7-10 minutes
to process the same number of records.
The tables & indexes are identical in both development and
production databases. The workload of the FreeBSD machine
is less than moderate (it can be deemed as idle).
ANY IDEA WHAT COULD CONTRIBUTE TO SUCH
DRASTIC PERFORMANCE DROP ?
Thank you very much in advance !
... and this is now becoming urgent
Henry Monster.
I have a FreeBSD production server and
a Linux-box, which we use for development
and as our ftp server at the same time.
Both machines host the same version of mySql: 3.23
I developed a simple C-program, which parses
ascii-files, which we receive daily
through ftp on our Linux machine from our
business partner and inserts new
records into a table (47 fields per record).
My manager want to run this program from Linux only !
When I run the program against our development mySql database on this same Linux machine, it processes
200 records in 3-5 seconds.
However when I run the same program (on Linux)
against our production database, it takes 7-10 minutes
to process the same number of records.
The tables & indexes are identical in both development and
production databases. The workload of the FreeBSD machine
is less than moderate (it can be deemed as idle).
ANY IDEA WHAT COULD CONTRIBUTE TO SUCH
DRASTIC PERFORMANCE DROP ?
Thank you very much in advance !
... and this is now becoming urgent
Henry Monster.