in reply to Re: Improving on MS-SQL over DBI and DBD::ODBC
in thread Improving on MS-SQL over DBI and DBD::ODBC
I would agree with mpeppler. In my experience, you can usually make the application perform more work on the database, and this can reduce the amount of data you're pushing around, especially over an ISDN line.
Also, I don't know how quickly you can connect to the database, but I've seen new connections to an oracle database take up to 20 seconds.
So if you have multiple connections in your program, it might be worthwhile to "cache" the database handle somewhere and then only connect once. Unfortunately, I don't know much about the application overall, so its hard to suggest architectural changes when one doesn't know the architecture to begin with :).
Finally, most of the time I find myself attempting to optimize something that's not a problem. Do you have mathmatical evidence (ie hard numbers) that show that the ODBC driver is solely the cause of your performance issues? I'm not saying that you're not correct, but I just want to make sure you're not trying to solve the wrong problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Improving on MS-SQL over DBI and DBD::ODBC
by mpeppler (Vicar) on Nov 24, 2004 at 16:52 UTC | |
|
Re^3: Improving on MS-SQL over DBI and DBD::ODBC
by radiantmatrix (Parson) on Nov 24, 2004 at 19:00 UTC | |
by mpeppler (Vicar) on Nov 24, 2004 at 20:01 UTC | |
by bprew (Monk) on Nov 25, 2004 at 22:24 UTC |