From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | "Ferrell, Denise D CTR NSWCDD, H11" <denise(dot)ferrell(dot)ctr(at)navy(dot)mil> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: PostgreSQL 9.3 ERROR |
Date: | 2017-01-18 20:16:38 |
Message-ID: | 20170118201638.GD18360@tamriel.snowman.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Greetings Denise,
* Ferrell, Denise D CTR NSWCDD, H11 (denise(dot)ferrell(dot)ctr(at)navy(dot)mil) wrote:
> Running on Linux...has anyone else encountered this?
>
> Receiving the following error in the pg_log file:
>
> "could not extend the "pg_tblspc/23917/PG_9.3_201306121/16385/55041.5": wrote only 4096 of 8192 bytes at block 722183"
That error indicates that the filesystem ran out of disk space.
> I was under the impression that PostgreSQL allocates 1G per tablespace file.
That is incorrect. In PostgreSQL, a "tablespace" is a directory. Every
table in PostgreSQL consists of a set of files. None of the individual
files for a PostgreSQL table will be larger than 1G, but PostgreSQL will
use multiple files when it reaches 1G in size.
In the above case, the table/index with relfilenode 55041 in the
database with oid 16385 has grown to be over 5G in size. The files:
55041
55041.1
55041.2
55041.3
55041.4
55041.5
are all associated with that table/index.
Thanks!
Stephen
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2017-01-19 04:58:39 | Re: Queries are taking way longer in 9.6 than 9.5 |
Previous Message | Melvin Davidson | 2017-01-18 20:12:03 | Re: Queries are taking way longer in 9.6 than 9.5 |