Hi Danny,
It sounds like you need to increase your 4KB Buffer Cache.
Get your DBA to run a tracepoint DM420 to see how each cache is performing.
I try to aim for >95% cache hit ratio but with very large table scans it is
impossible.
Please heed the warnings about using tracepoints. (page 730 SQL reference
guide Ingres 9.2)
You will get a better response to Ingres DBA type questions at the community
forums or comp.databases.ingres
http://groups.google.com/group/comp.....ingres/topics
http://community.ingres.com/forum/dba-forum/
regards
Paul
From: Laverty, Danny [mailto

anny dot Laverty at falkirk dot gov dot uk]
Sent: Wednesday, 18 November 2009 10:19 PM
To: 'openroad-users (AT) googlegroups (DOT) com'
Subject: [openroad-users] Performance problems when table page size
increased from 2k to 4k
We hit fluctuating performance problems within our OpenROAD written
application after increasing the page size of one of its frequently used
Ingres tables from 2k to 4k. Before raising a Support call, I wondered if
anyone else had hit this problem and what was their final resolution? We
know we can fix symptoms of the problem within the application / database as
and when they are reported, but that does not address the source of the
problem.
The table had no secondary indexes. A simple select on a non-key column
resulted in a read of the whole table (as would be expected). Prior to the
change, this took between 2 and 4 seconds - which was acceptable to our
users.
We recently started using VisualDBA to add / remove columns from Ingres
tables. A prerequisite is that the table must have a page size > 2k (and
all of our existing tables are 2k). We used VisualDBA to modify the
structure to give the table a 4k page size. After the change (about a month
later), we got reports that performance was volatile and could take anything
between 2 and 100 seconds. The table is now; row width = 2347, storage
structure = btree unique, columns = 73, pages/overflow = 62302/0, rows -
61843, journaling = enabled, keyed on a single char(6) column.
Observation showed that when a user was reading the whole table, both the
disk I/O and CPU usage on the server increased significantly. Presumably,
if several whole table reads are happening at the same time then we will hit
a disk I/O and/or CPU bottleneck - giving us our volatile performance
problems.
We were able to get around the initially reported performance problems by
adding an index to the table and avoiding a full table read. However, we
can see other instances in the application where a full table read will
occur and there are bound to be other scenarios where a full table read will
need to take place.
N..B. Upgrading the server to increase disk capacity / CPU has to be an
option, but costs may prohibit this (and how much would we need to increase
these by?).
Thanks in advance for any help.
Danny Laverty