God willing, as mentioned above, I plan to increase the page size of
all user tables and indexes to 8k and 4k, respectively. Currently both
are 2k. This was a recommendation by Actian.
A small portion of the tables are already 8k; that being the default
page size.
Upon making these changes, I was thinking of reducing the 2k buffer cache
by 75%, as the only 2k tables at that point would be the system catalogs
(I think theyore 2k) and possibly the odd userso own private tables. I figured the memory saved could be reallocated to the 8k cache. Is that
a reasonable idea?
Hi Steve,
Catalogs are typically 8k, but this would be version dependent. You can find out for sure by querying iitables.
select distinct table_pagesize from iitables\g
It's certainly reasonable to reduce the 2k cache and expand the 8k in its place, but you may like to monitor with dm420 to get some cache usage stats before going wild.
Martin Bowes
Hi Steve,Thanks Martin, I like your phrase "...before going wild." :)
Catalogs are typically 8k, but this would be version dependent. You can find out for sure by querying iitables.
select distinct table_pagesize from iitables\g
It's certainly reasonable to reduce the 2k cache and expand the 8k in its place, but you may like to monitor with dm420 to get some cache usage stats before going wild.
Martin Bowes
Could running trace point DM420 cause a drag on the system
can I leave it running (for days), or should I run it for specific
periods?
It's not unreasonable, but generally I think Ingres is abstemiousOK, interesting.
to a fault with DMF memory. Freeing up what is probably only a very
small amount of memory won't make much difference.
I am not the world's biggest fan of 4k pages. Owing to the largerOK.
per-row overhead of "large" pages you might find you waste less disk
space if you just use 8k pages for everything.
You don't mention what you are expecting to get from larger page sizes.Moving the indexes to 4k and the tables to 8k was Actian's recommendation to benefit from improved query performance, not available with 2k tables (IrCOm paraphrasing). They seem to be suggesting that separate table and index caches may improve performance.
They do enable ALTER TABLE which is handy, but if you are
using locking (and you will be) rather than MVCC you might find page
sizes bigger than 2k aggravate any lock-contention you may have.
Hi Steve,
I run DM420 each hour on all my machines and find no performance hit.
I have a daily report, just tracking FIX CALLS, HITS and GREADIOS. You can imagine there is a lot of variation through the day. eg: Business hours transactions Vs Nightly batch updates and data warehouse type rebuilds.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 60 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 04:25:40 |
| Calls: | 812 |
| Files: | 1,289 |
| D/L today: |
8 files (5,275K bytes) |
| Messages: | 213,836 |