Bind variables and SQL Monitor/DB Monitor
Posted: Thu 09 Dec 2004 10:32
I work for a company who are new to ODAC. We are currently trying to upgrade from the BDE and connect to an Oracle 8.1.7 i and 9i databases. We are currently assessing the scalability of our product and are undertaking some perfomance testing.
From the ODAC test program we are getting results that show a vast amount of queries not using bind variables. This may be probelms with legacy code, but I first wanted to ask if there are any specific differences between the way ODAC and BDE handle Bind Variables. We have just used the Migration wizard to convert the code for the test application and have yet to start tweeking the components.
The BDE TQuery component has a prepared property and I see that ODAC TOraQuery has a Keep prepared option do these provide similar functionality? In what situation should they be used?
Also when I try and look at the difference between the ODAC and BDE queries within SQL Monitor and DB monitor I get 3 pages of very comprehensive output for the BDE and only 5 lines for ODAC. Is this just differences with the way the way ODAC connects to the SQL Mointor?
Alot of questions but I would be grateful of any help you could provide.
Thanks
From the ODAC test program we are getting results that show a vast amount of queries not using bind variables. This may be probelms with legacy code, but I first wanted to ask if there are any specific differences between the way ODAC and BDE handle Bind Variables. We have just used the Migration wizard to convert the code for the test application and have yet to start tweeking the components.
The BDE TQuery component has a prepared property and I see that ODAC TOraQuery has a Keep prepared option do these provide similar functionality? In what situation should they be used?
Also when I try and look at the difference between the ODAC and BDE queries within SQL Monitor and DB monitor I get 3 pages of very comprehensive output for the BDE and only 5 lines for ODAC. Is this just differences with the way the way ODAC connects to the SQL Mointor?
Alot of questions but I would be grateful of any help you could provide.
Thanks