Roy,
I had to look up "abstemious" ...
Michael Leo
Kettle River Consulting Inc
612-859-2108
[email protected]
________________________________
From:
[email protected] <
[email protected]> on behalf of Roy Hann <
[email protected]>
Sent: Thursday, September 9, 2021 9:44 AM
To:
[email protected] <
[email protected]> Subject: Re: [Info-ingres] 4k Cache
Steve wrote:
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 they�re 2k) and possibly the odd users� own private tables. I figured the memory saved could be reallocated to the 8k cache. Is that
a reasonable idea?
It's not unreasonable, but generally I think Ingres is abstemious
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 larger
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.
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.
Please let us know how you get on.
Roy
_______________________________________________
Info-ingres mailing list
[email protected] https://lists.planetingres.org/mailman/listinfo/info-ingres
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Roy,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I had to look up "abstemious" ...</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0);">
<p style="margin-top: 0px; margin-bottom: 0px;">Michael Leo</p>
<p style="margin-top: 0px; margin-bottom: 0px;">Kettle River Consulting Inc</p> <p style="margin-top: 0px; margin-bottom: 0px;">612-859-2108</p>
<p style="margin-top: 0px; margin-bottom: 0px;">
[email protected]</p>
</div>
</div>
</div>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt;"><b>From:</b>
[email protected] <
[email protected]> on behalf of Roy Hann <specially@
processed.almost.meat><br>
<b>Sent:</b> Thursday, September 9, 2021 9:44 AM<br>
<b>To:</b>
[email protected] <
[email protected]><br>
<b>Subject:</b> Re: [Info-ingres] 4k Cache</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Steve wrote:<br>
> God willing, as mentioned above, I plan to increase the page size of<br> > all user tables and indexes to 8k and 4k, respectively. Currently both<br> > are 2k. This was a recommendation by Actian.<br>
> <br>
> A small portion of the tables are already 8k; that being the default<br> > page size.<br>
> <br>
> Upon making these changes, I was thinking of reducing the 2k buffer cache<br>
> by 75%, as the only 2k tables at that point would be the system catalogs<br>
> (I think they�re 2k) and possibly the odd users� own private tables. I<br> > figured the memory saved could be reallocated to the 8k cache. Is that<br> > a reasonable idea?<br>
It's not unreasonable, but generally I think Ingres is abstemious<br>
to a fault with DMF memory. Freeing up what is probably only a very<br>
small amount of memory won't make much difference.<br>
I am not the world's biggest fan of 4k pages. Owing to the larger<br>
per-row overhead of "large" pages you might find you waste less disk<br>
space if you just use 8k pages for everything.<br>
You don't mention what you are expecting to get from larger page sizes.<br> They do enable ALTER TABLE which is handy, but if you are<br>
using locking (and you will be) rather than MVCC you might find page<br>
sizes bigger than 2k aggravate any lock-contention you may have.<br>
Please let us know how you get on. <br>
Roy<br>
_______________________________________________<br>
Info-ingres mailing list<br>
[email protected]<br>
<a href="
https://lists.planetingres.org/mailman/listinfo/info-ingres">https://lists.planetingres.org/mailman/listinfo/info-ingres</a><br>
</div>
</span></font></div>
</div>
</body>
</html>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)