pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Understaning postgresql instance vs database
2+ messages / 2 participants
[nested] [flat]

* Understaning postgresql instance vs database
@ 2021-08-14 17:34  Open _ <opensheart@yahoo.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Open _ @ 2021-08-14 17:34 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

In Informix, the instance is everything.   Buffer pools, transaction logging, backup and restores and all monitoring is done at the instance level
databases are just logical collections of tables in an instance.
In DB2 there is some instance configuration, but most everything is at the database level.   Buffer pools, logging, backups and restores are done at the database level.   Process load monitoring might be done at the instance level with db2top.
It seems like Postgres is like DB2, there are some things at the instance level and some at the database level.
But I'm having a hard time sorting out what is where.
 Like what in PostgreSQL's statistics collector is an instance statistic verses a database statistic. 

I found a pgtop utility but it seems to require a database parameter
So are all stats database specific?or is the top info instance stats and the list portion database specific?

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Understaning postgresql instance vs database
@ 2021-08-14 17:41  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Open _ <opensheart@yahoo.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Adrian Klaver @ 2021-08-14 17:41 UTC (permalink / raw)
  To: Open _ <opensheart@yahoo.com>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

On 8/14/21 10:34 AM, Open _ wrote:

> 
> Like what in PostgreSQL's statistics collector is an instance statistic 
> verses a database statistic.
> 
> I found a pgtop utility but it seems to require a database parameter
> So are all stats database specific?
> or is the top info instance stats and the list portion database specific?
> 

You probably want to start by looking at this page:

https://www.postgresql.org/docs/current/monitoring-stats.html


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-08-14 17:41 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-08-14 17:34 Understaning postgresql instance vs database Open _ <opensheart@yahoo.com>
2021-08-14 17:41 ` Adrian Klaver <adrian.klaver@aklaver.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox