Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"BTW, does Jesus know you flame?" -- Diane Holt, dianeh@binky.UUCP, to Ed Carp


devel / comp.databases.ingres / Re: [Info-ingres] 4k Cache

SubjectAuthor
* Re: 4k CacheSteve
+* Re: [Info-ingres] 4k CacheMartin Bowes
|`* Re: [Info-ingres] 4k CacheSteve
| +- Re: [Info-ingres] 4k CacheRoy Hann
| +- Re: [Info-ingres] 4k CacheMartin Bowes
| `- Re: [Info-ingres] 4k CacheSteve
`* Re: 4k CacheRoy Hann
 `* Re: 4k CacheSteve
  `- Re: [Info-ingres] 4k CacheFajok, Artur, (ProService Finteco)

1
Re: 4k Cache

<60e1152d-1e4a-4dc4-9755-cad3f1a82a9fn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=112&group=comp.databases.ingres#112

  copy link   Newsgroups: comp.databases.ingres
X-Received: by 2002:a05:620a:81c:: with SMTP id s28mr2868350qks.45.1631196881027;
Thu, 09 Sep 2021 07:14:41 -0700 (PDT)
X-Received: by 2002:a05:6830:4196:: with SMTP id r22mr21717otu.231.1631196880658;
Thu, 09 Sep 2021 07:14:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ingres
Date: Thu, 9 Sep 2021 07:14:40 -0700 (PDT)
In-Reply-To: <rfc4j2$c1r$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=1.145.54.154; posting-account=uL8iyAoAAABmcpUSs5hxN0c_ls8MZOL5
NNTP-Posting-Host: 1.145.54.154
References: <bfa1add3-e595-44ca-9002-0e45913a5cd5o@googlegroups.com>
<re6llu$1rth$1@gioia.aioe.org> <ae9802bf-d54a-46a4-b9de-4443ebadc92bo@googlegroups.com>
<rfc4be$88i$1@gioia.aioe.org> <rfc4j2$c1r$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <60e1152d-1e4a-4dc4-9755-cad3f1a82a9fn@googlegroups.com>
Subject: Re: 4k Cache
From: s.anders...@gmail.com (Steve)
Injection-Date: Thu, 09 Sep 2021 14:14:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 13
 by: Steve - Thu, 9 Sep 2021 14:14 UTC

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?

Steve

Re: [Info-ingres] 4k Cache

<mailman.84.1631197660.1681.info-ingres@lists.planetingres.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=113&group=comp.databases.ingres#113

  copy link   Newsgroups: comp.databases.ingres
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 09 Sep 2021 09:28:03 -0500
Return-Path: <martin.bowes@ndph.ox.ac.uk>
X-Original-To: info-ingres@lists.planetingres.org
Delivered-To: info-ingres@mort.croker.net
From: martin.b...@ndph.ox.ac.uk (Martin Bowes)
To: Steve <s.anderson.au@gmail.com>, "info-ingres@lists.planetingres.org"
<info-ingres@lists.planetingres.org>
Date: Thu, 9 Sep 2021 14:27:37 +0000
References: <bfa1add3-e595-44ca-9002-0e45913a5cd5o@googlegroups.com>
<re6llu$1rth$1@gioia.aioe.org>
<ae9802bf-d54a-46a4-b9de-4443ebadc92bo@googlegroups.com>
<rfc4be$88i$1@gioia.aioe.org> <rfc4j2$c1r$1@gioia.aioe.org>
<60e1152d-1e4a-4dc4-9755-cad3f1a82a9fn@googlegroups.com>
In-Reply-To: <60e1152d-1e4a-4dc4-9755-cad3f1a82a9fn@googlegroups.com>
Content-Language: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-WatchGuard-AntiVirus: part scanned. clean action=allow
Subject: Re: [Info-ingres] 4k Cache
X-BeenThere: info-ingres@lists.planetingres.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <info-ingres.lists.planetingres.org>
List-Unsubscribe: <https://lists.planetingres.org/mailman/options/info-ingres>,
<mailto:info-ingres-request@lists.planetingres.org?subject=unsubscribe>
List-Archive: <https://lists.planetingres.org/pipermail/info-ingres/>
List-Post: <mailto:info-ingres@lists.planetingres.org>
List-Help: <mailto:info-ingres-request@lists.planetingres.org?subject=help>
List-Subscribe: <https://lists.planetingres.org/mailman/listinfo/info-ingres>,
<mailto:info-ingres-request@lists.planetingres.org?subject=subscribe>
Newsgroups: comp.databases.ingres
Message-ID: <mailman.84.1631197660.1681.info-ingres@lists.planetingres.org>
Lines: 23
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-eXgs2zliBMZpzK1CMchCWh2McYZNZeb6u+7IGhJ+07Nq6FY+6LamYX3BADQuTAWDZ1ka/HVHE+Tg5OL!VylcCH/sk2pE/R3BalRYLrMyyobrEJhyx6jQ1EVA3CUUq2zCk168UNHdqfUgYwn6OBGi/N1KrqmP!R0cJBHMOO78eb/us0TI+FQ==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 4128
 by: Martin Bowes - Thu, 9 Sep 2021 14:27 UTC

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
-----Original Message-----
From: Steve <s.anderson.au@gmail.com>
Sent: 09 September 2021 15:15
To: info-ingres@lists.planetingres.org
Subject: Re: [Info-ingres] 4k Cache
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?
Steve
_______________________________________________
Info-ingres mailing list
Info-ingres@lists.planetingres.org
https://lists.planetingres.org/mailman/listinfo/info-ingres

Re: 4k Cache

<shd6l9$1166$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=114&group=comp.databases.ingres#114

  copy link   Newsgroups: comp.databases.ingres
Path: i2pn2.org!rocksolid2!i2pn.org!aioe.org!ow2HZ3WUoSa7bUAoHqrJ8A.user.46.165.242.75.POSTED!not-for-mail
From: specia...@processed.almost.meat (Roy Hann)
Newsgroups: comp.databases.ingres
Subject: Re: 4k Cache
Date: Thu, 9 Sep 2021 14:44:57 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <shd6l9$1166$1@gioia.aioe.org>
References: <bfa1add3-e595-44ca-9002-0e45913a5cd5o@googlegroups.com> <re6llu$1rth$1@gioia.aioe.org> <ae9802bf-d54a-46a4-b9de-4443ebadc92bo@googlegroups.com> <rfc4be$88i$1@gioia.aioe.org> <rfc4j2$c1r$1@gioia.aioe.org> <60e1152d-1e4a-4dc4-9755-cad3f1a82a9fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-7
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="33990"; posting-host="ow2HZ3WUoSa7bUAoHqrJ8A.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: XPN/1.2.6 (Street Spirit ; Windows)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Roy Hann - Thu, 9 Sep 2021 14:44 UTC

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

Re: [Info-ingres] 4k Cache

<f5423d3d-183e-4597-a98b-0ed5fe17fb52n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=115&group=comp.databases.ingres#115

  copy link   Newsgroups: comp.databases.ingres
X-Received: by 2002:ac8:187:: with SMTP id x7mr7089882qtf.66.1631268370582;
Fri, 10 Sep 2021 03:06:10 -0700 (PDT)
X-Received: by 2002:a9d:200b:: with SMTP id n11mr3913646ota.30.1631268370209;
Fri, 10 Sep 2021 03:06:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ingres
Date: Fri, 10 Sep 2021 03:06:09 -0700 (PDT)
In-Reply-To: <mailman.84.1631197660.1681.info-ingres@lists.planetingres.org>
Injection-Info: google-groups.googlegroups.com; posting-host=1.145.54.154; posting-account=uL8iyAoAAABmcpUSs5hxN0c_ls8MZOL5
NNTP-Posting-Host: 1.145.54.154
References: <bfa1add3-e595-44ca-9002-0e45913a5cd5o@googlegroups.com>
<re6llu$1rth$1@gioia.aioe.org> <ae9802bf-d54a-46a4-b9de-4443ebadc92bo@googlegroups.com>
<rfc4be$88i$1@gioia.aioe.org> <rfc4j2$c1r$1@gioia.aioe.org>
<60e1152d-1e4a-4dc4-9755-cad3f1a82a9fn@googlegroups.com> <mailman.84.1631197660.1681.info-ingres@lists.planetingres.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f5423d3d-183e-4597-a98b-0ed5fe17fb52n@googlegroups.com>
Subject: Re: [Info-ingres] 4k Cache
From: s.anders...@gmail.com (Steve)
Injection-Date: Fri, 10 Sep 2021 10:06:10 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 13
 by: Steve - Fri, 10 Sep 2021 10:06 UTC

On Friday, September 10, 2021 at 12:28:10 AM UTC+10, Martin Bowes wrote:
> 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

Thanks Martin, I like your phrase "...before going wild." :)

Could running trace point DM420 cause a drag on the system and can I leave it running (for days), or should I run it for specific periods?

Re: [Info-ingres] 4k Cache

<shfcd0$1gh7$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=116&group=comp.databases.ingres#116

  copy link   Newsgroups: comp.databases.ingres
Path: i2pn2.org!i2pn.org!aioe.org!ow2HZ3WUoSa7bUAoHqrJ8A.user.46.165.242.75.POSTED!not-for-mail
From: specia...@processed.almost.meat (Roy Hann)
Newsgroups: comp.databases.ingres
Subject: Re: [Info-ingres] 4k Cache
Date: Fri, 10 Sep 2021 10:35:13 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <shfcd0$1gh7$1@gioia.aioe.org>
References: <bfa1add3-e595-44ca-9002-0e45913a5cd5o@googlegroups.com> <re6llu$1rth$1@gioia.aioe.org> <ae9802bf-d54a-46a4-b9de-4443ebadc92bo@googlegroups.com> <rfc4be$88i$1@gioia.aioe.org> <rfc4j2$c1r$1@gioia.aioe.org> <60e1152d-1e4a-4dc4-9755-cad3f1a82a9fn@googlegroups.com> <mailman.84.1631197660.1681.info-ingres@lists.planetingres.org> <f5423d3d-183e-4597-a98b-0ed5fe17fb52n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="49703"; posting-host="ow2HZ3WUoSa7bUAoHqrJ8A.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: XPN/1.2.6 (Street Spirit ; Windows)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Roy Hann - Fri, 10 Sep 2021 10:35 UTC

Steve wrote:

> Could running trace point DM420 cause a drag on the system

If it is already absolutely on its knees you might measure the drag but
you won't notice it. Don't worry about it.

> can I leave it running (for days), or should I run it for specific
> periods?

If you leave it running for days it will fade to grey goo. It's best to
use it just while you are running a job of considerable intensity that
you are hoping to improve. (There's no point getting hung up on what may
or may not be happening in the background. You are looking for profound
improvements because minor improvements will never pay back. If the
improvement is profound it should shine through the noise of background
activity.)

Roy

Re: [Info-ingres] 4k Cache

<mailman.86.1631270132.1681.info-ingres@lists.planetingres.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=117&group=comp.databases.ingres#117

  copy link   Newsgroups: comp.databases.ingres
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 10 Sep 2021 05:36:09 -0500
Return-Path: <martin.bowes@ndph.ox.ac.uk>
X-Original-To: info-ingres@lists.planetingres.org
Delivered-To: info-ingres@mort.croker.net
From: martin.b...@ndph.ox.ac.uk (Martin Bowes)
To: Steve <s.anderson.au@gmail.com>, "info-ingres@lists.planetingres.org" <info-ingres@lists.planetingres.org>
Date: Fri, 10 Sep 2021 10:35:29 +0000
References: <bfa1add3-e595-44ca-9002-0e45913a5cd5o@googlegroups.com> <re6llu$1rth$1@gioia.aioe.org> <ae9802bf-d54a-46a4-b9de-4443ebadc92bo@googlegroups.com> <rfc4be$88i$1@gioia.aioe.org> <rfc4j2$c1r$1@gioia.aioe.org> <60e1152d-1e4a-4dc4-9755-cad3f1a82a9fn@googlegroups.com> <mailman.84.1631197660.1681.info-ingres@lists.planetingres.org> <f5423d3d-183e-4597-a98b-0ed5fe17fb52n@googlegroups.com>
In-Reply-To: <f5423d3d-183e-4597-a98b-0ed5fe17fb52n@googlegroups.com>
Content-Language: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-WatchGuard-AntiVirus: part scanned. clean action=allow
Subject: Re: [Info-ingres] 4k Cache
X-BeenThere: info-ingres@lists.planetingres.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <info-ingres.lists.planetingres.org>
List-Unsubscribe: <https://lists.planetingres.org/mailman/options/info-ingres>, <mailto:info-ingres-request@lists.planetingres.org?subject=unsubscribe>
List-Archive: <https://lists.planetingres.org/pipermail/info-ingres/>
List-Post: <mailto:info-ingres@lists.planetingres.org>
List-Help: <mailto:info-ingres-request@lists.planetingres.org?subject=help>
List-Subscribe: <https://lists.planetingres.org/mailman/listinfo/info-ingres>, <mailto:info-ingres-request@lists.planetingres.org?subject=subscribe>
Newsgroups: comp.databases.ingres
Message-ID: <mailman.86.1631270132.1681.info-ingres@lists.planetingres.org>
Lines: 47
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-62ojcKQ+Og8a/Bkb/hw94Rl1QDQ7HqC/sKgp3xMSu5Wl4KmMF3u00Lk7L07ntBIInBds6yj71+JFG8F!i0YEjgMgpB4kk9Djavx4MQSzMgJfTaGzg625kMNe1sx9paJjomUewws8rlzD5yr4O6U30eY8PDXG!L7txo0QNlFtVpZnZxR5c9w==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 4102
 by: Martin Bowes - Fri, 10 Sep 2021 10:35 UTC

Hi Steve,

Trace point dm420 is just a quick snapshot of the existing buffer stats at the time you execute it.
So it has no impact on the system. Also you don't turn it on and leave it on, it's a matter of execute, wait, execute. Typically I would suggest a day between executions.

The default output channel is II_DBMS_LOG, but this can be altered if you do as follows:
set trace output '/full/path/to/file';
set trace point dm420;
set trace nooutput;

Typically I'd connect to iidbdb to do this, but you could use any database.

Best of luck,

Marty
-----Original Message-----
From: Steve <s.anderson.au@gmail.com>
Sent: 10 September 2021 11:06
To: info-ingres@lists.planetingres.org
Subject: Re: [Info-ingres] 4k Cache

On Friday, September 10, 2021 at 12:28:10 AM UTC+10, Martin Bowes wrote:
> 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

Thanks Martin, I like your phrase "...before going wild." :)

Could running trace point DM420 cause a drag on the system and can I leave it running (for days), or should I run it for specific periods?
_______________________________________________
Info-ingres mailing list
Info-ingres@lists.planetingres.org
https://lists.planetingres.org/mailman/listinfo/info-ingres

Re: 4k Cache

<a7e61460-7e98-4e5f-898a-63d6deddf046n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=118&group=comp.databases.ingres#118

  copy link   Newsgroups: comp.databases.ingres
X-Received: by 2002:a37:ea16:: with SMTP id t22mr7449075qkj.507.1631276222453;
Fri, 10 Sep 2021 05:17:02 -0700 (PDT)
X-Received: by 2002:a05:6808:bc2:: with SMTP id o2mr3963677oik.73.1631276222079;
Fri, 10 Sep 2021 05:17:02 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ingres
Date: Fri, 10 Sep 2021 05:17:01 -0700 (PDT)
In-Reply-To: <shd6l9$1166$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=1.145.54.154; posting-account=uL8iyAoAAABmcpUSs5hxN0c_ls8MZOL5
NNTP-Posting-Host: 1.145.54.154
References: <bfa1add3-e595-44ca-9002-0e45913a5cd5o@googlegroups.com>
<re6llu$1rth$1@gioia.aioe.org> <ae9802bf-d54a-46a4-b9de-4443ebadc92bo@googlegroups.com>
<rfc4be$88i$1@gioia.aioe.org> <rfc4j2$c1r$1@gioia.aioe.org>
<60e1152d-1e4a-4dc4-9755-cad3f1a82a9fn@googlegroups.com> <shd6l9$1166$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a7e61460-7e98-4e5f-898a-63d6deddf046n@googlegroups.com>
Subject: Re: 4k Cache
From: s.anders...@gmail.com (Steve)
Injection-Date: Fri, 10 Sep 2021 12:17:02 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 38
 by: Steve - Fri, 10 Sep 2021 12:17 UTC

Roy Hann wrote:
> 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.

OK, interesting.

I possibly phrased my question poorly. I guess I want to know, in moving all the tables to 8K, should I be allocating more memory to the 8k cache and should I expect a performance hit if I don’t?

> 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.

OK.

> 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.

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 (I’m paraphrasing). They seem to be suggesting that separate table and index caches may improve performance.

Due to the Y2K38 fix in Ingres 11, 2k pages seem to be inefficient (like what you are saying about 4k pages) and at least one table is slowly approaching the hard limit for the number of rows a 2k table can hold.

I guess the proof will be in the pudding re locking contention. We haven’t seen any locking issues in test, but that may not be a great gauge.

From my perspective, I know I can push this change through, as it's recommended by Actian.

MVCC is a whole nother story (conversation).

Re: [Info-ingres] 4k Cache

<1540e1b8-efb6-4dbf-a7a9-7539c0ebc8f4n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=119&group=comp.databases.ingres#119

  copy link   Newsgroups: comp.databases.ingres
X-Received: by 2002:a05:620a:4001:: with SMTP id h1mr7501240qko.454.1631277331156;
Fri, 10 Sep 2021 05:35:31 -0700 (PDT)
X-Received: by 2002:a9d:200b:: with SMTP id n11mr4474227ota.30.1631277330859;
Fri, 10 Sep 2021 05:35:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ingres
Date: Fri, 10 Sep 2021 05:35:30 -0700 (PDT)
In-Reply-To: <mailman.87.1631274553.1681.info-ingres@lists.planetingres.org>
Injection-Info: google-groups.googlegroups.com; posting-host=1.145.54.154; posting-account=uL8iyAoAAABmcpUSs5hxN0c_ls8MZOL5
NNTP-Posting-Host: 1.145.54.154
References: <bfa1add3-e595-44ca-9002-0e45913a5cd5o@googlegroups.com>
<re6llu$1rth$1@gioia.aioe.org> <ae9802bf-d54a-46a4-b9de-4443ebadc92bo@googlegroups.com>
<rfc4be$88i$1@gioia.aioe.org> <rfc4j2$c1r$1@gioia.aioe.org>
<60e1152d-1e4a-4dc4-9755-cad3f1a82a9fn@googlegroups.com> <mailman.84.1631197660.1681.info-ingres@lists.planetingres.org>
<f5423d3d-183e-4597-a98b-0ed5fe17fb52n@googlegroups.com> <32d11bd81eab4c81a80cf84f8b369082@ndph.ox.ac.uk>
<mailman.87.1631274553.1681.info-ingres@lists.planetingres.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1540e1b8-efb6-4dbf-a7a9-7539c0ebc8f4n@googlegroups.com>
Subject: Re: [Info-ingres] 4k Cache
From: s.anders...@gmail.com (Steve)
Injection-Date: Fri, 10 Sep 2021 12:35:31 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 8
 by: Steve - Fri, 10 Sep 2021 12:35 UTC

Paul White wrote:
> 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.

Oh wow, you're handing it to me on a platter! Thanks Paul.
....and Roy and Martin.

Steve

Re: [Info-ingres] 4k Cache

<mailman.88.1631518153.1681.info-ingres@lists.planetingres.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=120&group=comp.databases.ingres#120

  copy link   Newsgroups: comp.databases.ingres
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 13 Sep 2021 02:30:03 -0500
Return-Path: <Artur.Fajok@psat.pl>
X-Original-To: info-ingres@lists.planetingres.org
Delivered-To: info-ingres@mort.croker.net
X-AuditID: 0a429409-4e9ff700000078ef-e8-613efc2b31d9
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=UD8FsCmPzJmXaO0sw9RU5TGVNQDrGsC13VVibZfm4dXkAQXlIj9J7MKvoguMmJmTSOMV7hsWf1sc/wTN4xggt70ziLwlzAmIS/fAPzpG6lPtrubJTmmVpgAEpGgTFvwRv6kztflBFuYYZt6vTxbsgng6XD2BcyO7L0ddTqHIVCxup0RlrKt2zQk3tsi67DL+u/poJq6jJ8mmaAL9gRDqt7ktOWEgjZhMD7cDDiabB9aG0DeqNw3xt1mcpK5gkQgfGuyyheVOq0uz5QhfDNmJvqcjfPH1KY2L2RNHLNsxkHq7+mlMEAr+U6qIvYPHLyucckETdFNbqHQ928bzzi5HDg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
bh=7twRAyD6/fBIlXL+owaEFhfogvZas9094g5ugSrFxDc=;
b=jRu0m4yrOR3AkBiNCN6RtVZNyYSSjRMIrle7LP9aqOd0C0jHUfRaROjbj/AhfJd5JQ6NAZuJ1lwreMC8JPcOSqUxVL0y+KENPhV2HG0EEtkOpfM+Pd/RiRCySV6fJF/VaodbmWVH2y9W8Nhz34uJsF+bNtzkHbk4rgBmY1jItX53cyruL7wcdSTdl6oz3Jj0hnm1+WJdPJghnnBCovZTn4jRZdjS5uzef/YlV1pnzEZe2PCU309u98vb3sFq5vOHUOvQ9Ynd9+Bls+ehCmcduDfeguerBB0RhG8O0QJbNaYmOci02HMlQKMYr9ZkASOmxK32Y20FvzGowldHy5CMJw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=psat.pl; dmarc=pass action=none header.from=psat.pl;
dkim=pass header.d=psat.pl; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=psfintecopl.onmicrosoft.com; s=selector1-psfintecopl-onmicrosoft-com;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=7twRAyD6/fBIlXL+owaEFhfogvZas9094g5ugSrFxDc=;
b=pYgnhH2RB3N0eP4A72cz+/S/tcrszQ7ttsvy5UTZS98odsODEMJFIZ3pNQgLh3UviNml5rUs99C56V0i8lBJhIlH1mjPp+Xwk+BX85xPtGclQ+MuYKIMQsUGIrgX+WQhGox9rjDcxXDADGH6od4mcpZzLjV/PkNsjxS+PTpLOIg=
From: Artur.Fa...@psat.pl (Fajok, Artur, (ProService Finteco))
To: "info-ingres@lists.planetingres.org" <info-ingres@lists.planetingres.org>
Thread-Topic: [Info-ingres] 4k Cache
Thread-Index: AQHWVZgtwwcvVL+mhU6IMHxMFTnW9qj+8h1ggBYd/YCAADUSfYAAAsysgokhIbeAAWc6gIAEY/2A
Date: Mon, 13 Sep 2021 07:29:00 +0000
Deferred-Delivery: Mon, 13 Sep 2021 07:28:19 +0000
References: <bfa1add3-e595-44ca-9002-0e45913a5cd5o@googlegroups.com>
<re6llu$1rth$1@gioia.aioe.org>
<ae9802bf-d54a-46a4-b9de-4443ebadc92bo@googlegroups.com>
<rfc4be$88i$1@gioia.aioe.org> <rfc4j2$c1r$1@gioia.aioe.org>
<60e1152d-1e4a-4dc4-9755-cad3f1a82a9fn@googlegroups.com>
<shd6l9$1166$1@gioia.aioe.org>
<a7e61460-7e98-4e5f-898a-63d6deddf046n@googlegroups.com>
In-Reply-To: <a7e61460-7e98-4e5f-898a-63d6deddf046n@googlegroups.com>
Accept-Language: en-US, en-001, pl-PL
Content-Language: pl-PL
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: lists.planetingres.org; dkim=none (message not signed)
header.d=none; lists.planetingres.org;
dmarc=none action=none header.from=psat.pl;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 09516a93-ea21-40c2-da4e-08d976882cef
x-ms-traffictypediagnostic: AM9PR10MB4418:
x-microsoft-antispam-prvs: <AM9PR10MB441893B42B8FD185C319E804F9D99@AM9PR10MB4418.EURPRD10.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: aDiAy6FQVXhmx+R2mwniMTyJji3JzO3jCKYDsI+djT/Y1mqKZck7pjSRa9WMMdHq/+4o31L3kfUkySIlxhBLBU0XDfojsQu+kBOZe6aYcR/Kn+AiXvQlH1MloBp+1OVsxFehWZ3BZ90kkhWESEbMzpyPD2VKM8Fvlc5OGwTiXQ7oiVXWfmm/mbl5p+udQCRab8WsFz/fP1oslj0jgGLI5KFTMUbHf6nSjzaNB4hWOH7vuJo++jOwewXgUpMB62aaCGdWVZiVsYbhVd4X+gSPbqV4DB+hyftnrXiX80eqfjfuDIAKK3cAbbHDRoJTdW3LiYUe7TfXucTNvfrjWfHvq8Nz40NAC3nVIIRXf1NomFJZbDrWMx1n6UTnFVjI9QCcSp3wAsWLxeXIz2TKuS6dyobTlbuUEc69ycQdeAc4pMWMg4noOLT3R8tL0s2UlQNvzopcNv80as6q1VqYjLgufwNsbb50mJfv24MSDFWBPPQnGSxjW0PrWCdvB1KOnQi970Cv42G9CqE6HD9hRaaKR5FP52XYNU1oHeF7IZPCuK+4EGOyaWK07wo5o2GobF+yaZhCoe6ewjGZQp0r4YkD94gh8qstRKtZAeZM+hlOg+2mc/y+XzDqKvcZg6yO5//2P9a64eT7QMKUKCeNLtcGgNBFPeX3tTT1FbEmg288i0/HwiZ+M1jbzk4plWpMEC+2sy09TMgbt1Z+ZeGSF4qwvrk3DNMA7EulsKUNJVHHCU2W/n0x9BOVEWKkz8o2aw37E2hN/nxBJk/tRwbt8HOabrAQ3spklQxtxfZ5Vpr2AOs=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:AM8PR10MB4035.EURPRD10.PROD.OUTLOOK.COM;
PTR:; CAT:NONE;
SFS:(4636009)(366004)(5660300002)(6666004)(186003)(55016002)(9686003)(86362001)(8936002)(508600001)(8676002)(71200400001)(45080400002)(2906002)(66946007)(83380400001)(76116006)(33656002)(6916009)(64756008)(53546011)(66446008)(66476007)(66556008)(316002)(6506007)(26005)(38070700005)(52536014)(966005)(122000001)(7696005)(38100700002);
DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: AOgFPpxXIdW+np7jR82bdDYjVV9UJAkOw80GQcaom+PyXRScm4MqLusiDO1H
4iaUW9hifd1VjeZ3xZlNE3cc06KCwGlbR4HcGcYTR4vhexPbZgX3+HRGzz3r
8cShhAbcsrDkRrsuaSfc+iR3CshDVGuEhSR4Q3msIHx3OUMUi92Z99yn4zVf
1eCshWmetjDfucWoBWSTQbgVS+7GwcvdDmFgScHuUxff0KVPjRMx5UbbpVhe
/HG07zBiHqvaiZcSwrgElmNCJ3dixl2MUNtNVOVl5vl6VUBnL3+6aj70k2vS
HT1hcYLiFbN3lJy+LtVe7Ts+K1xOtEaVpaYQPdd+Lmwv0Dm/1ZURRBB9yrXH
F19J0VgDNmdpZ4TygIO3Xvf6d0mRM39PojnWkZU1Ww0QOnBpEcfqf1PMl0s7
Nk9VALwZY/vQFXdDWIwazooSWnDsx/fNJz6juuPin4NT/xfeOrheYVvi5F5m
z8gKGeFI+VwQnrRdyMDaWx+93y+tXSn/rCUA0frGK1SBCaEno4fldBSuipWA
YStFQ4VD0/GDXQVzq6R3Hcg1VRCtZJVuMfgow3gjXBakdheZTus1OVZ//RVV
C1q7i46r3jqaeGlfb/xQxzn5ipNnZjjHFtSePiTpHlxfOufqaZ+3Exru9k1X
NCIzxZdORCdT0UoI4kZRiBvYPUD6OatDqvuFJ6Q7iAl48EkhbrRe4x3m2UYb
vBpkVX27eTYUWNoVJ7Xb4HRETjuXLytBju13WBoqBVjKTMeRbTfsySI3sW/+
QOvQH0z+515V4e5GzLJCv97lB/D08jBMoUGTfeH35glvCdZngiVo6ylEqTuH
t1nlj3LBEfF2fNQfbht2zCyfh0YQNCPy3/6mv+OV4vd2MlpHF52rDTh5MUa2
rg5TfrFuf8B4/N3zs/VD1osUFnGfzqKlkNzJ/gaLTc5Yruq68ZXWrTA2xCeQ
N2QxSL3W9rxxkUN0U1qugvh/QS7v9zPzbCPMDZYw3ov82c3nI0QdnHJM+6Wd
MRIBbq8VqiC90DDsJNQQHu2+U6g5ZXSsJ1ONbqjoh0QGFE/tzdQL1/ligGtq
4DeShO9WUIdA1jx4KGoWmmbc7Mk3iDbTve8abDmjFTRkopzQ9PyuT+G+3iw7
ZITAc2ePEouYc4Q7YIFLsYZJnltpql04D0hnFYdM2WMSYyXCcQTqbHeV0kEA
MUK3q7qPLq4ICkoLscs4n5/RzaBd16Q5Rc6P/VHgvo0tMz0L1szr/+7vysbu
HbZGiAz9mqgOnb4dBC1SN0Wevr62b8tAdFxWjvgANV+HPGYR5WDKxHnXT83y
/hw2eXi4ip87ugUyb6vQ2+5V
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM8PR10MB4035.EURPRD10.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 09516a93-ea21-40c2-da4e-08d976882cef
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2021 07:29:08.9917 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: ee7c45a7-6787-45ba-9b9f-2f3b38bdbf05
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: /QSLeeS1XOu56lDlTwfZuGTAjFrKDWdxHtrf+1VWMQiLvtU/Pbbbu01gRlTjZ1BAf8JVM0EF3nrRZtJ8kzloCg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR10MB4418
X-CFilter-Loop: Reflected
Received-SPF: Fail (mx04.office.local: domain of Artur.Fajok@psat.pl does not
designate 10.66.148.9 as permitted sender)
receiver=mx04.office.local;
client-ip=10.66.148.9; helo=smg-mta2.office.local;
Subject: Re: [Info-ingres] 4k Cache
X-BeenThere: info-ingres@lists.planetingres.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <info-ingres.lists.planetingres.org>
List-Unsubscribe: <https://lists.planetingres.org/mailman/options/info-ingres>,
<mailto:info-ingres-request@lists.planetingres.org?subject=unsubscribe>
List-Archive: <https://lists.planetingres.org/pipermail/info-ingres/>
List-Post: <mailto:info-ingres@lists.planetingres.org>
List-Help: <mailto:info-ingres-request@lists.planetingres.org?subject=help>
List-Subscribe: <https://lists.planetingres.org/mailman/listinfo/info-ingres>,
<mailto:info-ingres-request@lists.planetingres.org?subject=subscribe>
Newsgroups: comp.databases.ingres
Message-ID: <mailman.88.1631518153.1681.info-ingres@lists.planetingres.org>
Lines: 64
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-mV4YAnVVezra/cdDatBG6jDGuv/tV2HbpgTimEiYSRKzyCoAvr6eKbYJPlZ5u0Ovte8mPO8OfFzzXtY!ouHTtqEHiRWM/0e9+Iv60im+yzXD1bZ6dnmPyoWSwkYyv265ojd4MLBXh7l3vxGrVCWvtf1lkren!dG2FkCnjrPKpwQ50bUEH4w==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 11936
 by: Fajok, Artur, (ProSe - Mon, 13 Sep 2021 07:29 UTC

Hi Guys,
Some time ago (on Ingres ~9) I've made quite extensive performance testing on different page sizes. 8k pages (for tables and indexes) were largest improvement from 2k, 4k was in between. Larger sizes gave no real improvement in OLTP nor batch processing.
Cache was set on "huge" preset, and enlarging it was degrading performance.

Regards,
Artur Fajok

-----Original Message-----
From: info-ingres-bounces@lists.planetingres.org <info-ingres-bounces@lists..planetingres.org> On Behalf Of Steve
Sent: Friday, September 10, 2021 2:17 PM
To: info-ingres@lists.planetingres.org
Subject: Re: [Info-ingres] 4k Cache

Roy Hann wrote:
> 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.

OK, interesting.

I possibly phrased my question poorly. I guess I want to know, in moving all the tables to 8K, should I be allocating more memory to the 8k cache and should I expect a performance hit if I don't?

> 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.

OK.

> 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.

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 (I'm paraphrasing). They seem to be suggesting that separate table and index caches may improve performance.

Due to the Y2K38 fix in Ingres 11, 2k pages seem to be inefficient (like what you are saying about 4k pages) and at least one table is slowly approaching the hard limit for the number of rows a 2k table can hold.

I guess the proof will be in the pudding re locking contention. We haven't seen any locking issues in test, but that may not be a great gauge.

>From my perspective, I know I can push this change through, as it's recommended by Actian.

MVCC is a whole nother story (conversation).
_______________________________________________
Info-ingres mailing list
Info-ingres@lists.planetingres.org
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.planetingres.org%2Fmailman%2Flistinfo%2Finfo-ingres&amp;data=04%7C01%7Cartur.fajok%40psat.pl%7Ca23603fd1d1e49abe99d08d9745551f9%7Cee7c45a7678745ba9b9f2f3b38bdbf05%7C0%7C0%7C637671113707823431%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=f7Kx6pJN2B4EIeHXnEenQ7%2BsyhhDubeVDtjOL1%2BEzTI%3D&amp;reserved=0

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor