home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!infix.de!oliver
- From: oliver@infix.de (Oliver Okrongli)
- Subject: Re: Informix Performance Tips Query
- In-Reply-To: nh@cbnewsg.cb.att.com's message of Wed, 23 Dec 1992 08:44:42 GMT
- Message-ID: <OLIVER.92Dec23220135@snoopy.infix.de>
- Sender: oliver@infix.de (Oliver Okrongli)
- Organization: infix Software-Systeme GmbH
- References: <1992Dec23.084442.16657@cbfsb.cb.att.com>
- Date: Wed, 23 Dec 1992 21:01:35 GMT
- Lines: 37
-
- >>>>> On Wed, 23 Dec 1992 08:44:42 GMT, nh@cbnewsg.cb.att.com (nicholas.hounsome) said:
-
- > Has anybody got any tips on how to get the best performance out
- > of informix (online) ESQL?
- > The database is about 10M with the largest table being about
- > 20K rows.
- > Increasing the cache size seems like a good idea. I have tried a lot
- > of other stuff that they recommend and it doesn't seem to make much
- > difference (eg. extent sizes).
-
- You could try to figure out the maximum amount of main memory your OS
- and applications need (avoid paging). Then dedicate the remaining
- available memory to OnLine as shared memory segment (you may also need
- to increase kernel parameters). This might increase OnLine's cache
- hit rate (tbmonitor should show you). Generic cache problems apply -
- at some point further increasing cache size yields neglectable
- performance improvements.
-
- Increasing cache does not protect you against CPU bottlenecks.
-
- BTW - 10M does not sound like a typical OnLine environment. We do
- databases >100M with SE with larger tables containing 150k rows.
-
- > How nuch difference does preparing statements make compared to
- > statements fully parsed by esql?
-
- Depends on your statements. Using prepared statements we have noticed
- execution times at 75% to 50% the time of non-prepared statements.
- This is especially true in case of small operations involving little
- I/O. The disadvantage is that syntax checking is done at run time.
-
- Hope this helps.
-
- --
- Oliver Okrongli infix Software-Systeme GmbH Phone +49 531 238090
- Rebenring 33 Fax +49 531 3801152
- oliver@infix.de D-W-3300 Braunschweig F.R. Germany
-