Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How good is statement caching under IDS 2000?

caching good IDs
0
Posted

How good is statement caching under IDS 2000?

0

On 6th December 1999 rferdy@americasm01.nt.com (Rudy Fernandes) wrote:- Informix’s IDS2000 does support Statement Caching (see the ONCONFIG parameters STMT_CACHE & STMT_CACHE_SIZE). The default is “no caching). However, preparing and reusing statements (which is on a by-connection basis) does provide better results, depending on how often prepared statements are reused. In tests I carried out in the context of our application, this is how they stacked up Arbitrary CPU units used by Informix to accomplish 1000 iterations of a set of SQL statements after establishing a connection • Vanilla (caching off, no preparing) : 100 • Caching ON, no preparing : 70 • Preparing ON, no caching : 30 In other words, preparing/reusing made the application more than 3 times as fast as Vanilla and more than twice as fast as Engine caching. Caution : Results will vary [ 🙂 Am I sounding like a salesman?] In our 3 tier context wherein our Application Server establishes a handful of permanent connections to

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123