pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Ferrell, Denise D CTR NSWCDD, H11 <denise.ferrell.ctr@navy.mil>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: PostgreSQL 9.3 ERROR
Date: Wed, 18 Jan 2017 15:16:38 -0500
Message-ID: <20170118201638.GD18360@tamriel.snowman.net> (raw)
In-Reply-To: <2BC18916DE4BF141AC1EFC55CE2CAE7D36C5A44F@NAEANRFKXM01V.nadsusea.nads.navy.mil>
References: <2BC18916DE4BF141AC1EFC55CE2CAE7D36C5A44F@NAEANRFKXM01V.nadsusea.nads.navy.mil>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Greetings Denise,

* Ferrell, Denise D CTR NSWCDD, H11 (denise.ferrell.ctr@navy.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

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (2+ messages)

Message-ID: <20170118201638.GD18360@tamriel.snowman.net>
Permalink:  ../20170118201638.GD18360@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20170118201638.GD18360@tamriel.snowman.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: sfrost@snowman.net, denise.ferrell.ctr@navy.mil
  Subject: Re: PostgreSQL 9.3 ERROR
  In-Reply-To: <20170118201638.GD18360@tamriel.snowman.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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