Re: Problem with files size in /var/lib/postgres/data/global on Debian Woody

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Picrate <picrate(at)ibelgique(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with files size in /var/lib/postgres/data/global on Debian Woody
Date: 2003-02-07 02:50:24
Message-ID: 23206.1044586224@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Picrate <picrate(at)ibelgique(dot)com> writes:
> Here is a listing of my /var/lib/postgres/data/global directory:

> total 465076
> drwx------ 2 postgres postgres 4096 fv 3 15:43 .
> drwx------ 6 postgres postgres 4096 fv 3 15:43 ..
> -rw------- 1 postgres postgres 8192 jan 29 15:41 1260
> -rw------- 1 postgres postgres 8192 jan 29 15:41 1261
> -rw------- 1 postgres postgres 8192 fv 3 04:02 1262
> -rw------- 1 postgres postgres 16384 oct 28 11:05 16430
> -rw------- 1 postgres postgres 16384 oct 28 11:05 16431
> -rw------- 1 postgres postgres 16384 oct 29 04:00 16433
> -rw------- 1 postgres postgres 16384 oct 29 04:00 16434
> -rw------- 1 postgres postgres 16384 oct 29 04:00 16450
> -rw------- 1 postgres postgres 16384 oct 29 04:00 16451
> -rw------- 1 postgres postgres 8192 fv 3 15:43 pg_control
> -rw------- 1 postgres postgres 35 oct 28 11:18 pg_pwd
> -rw------- 1 postgres postgres 6 fv 3 15:43 pgstat.stat
> -rw------- 1 postgres postgres 0 dc 17 14:41 pgstat.tmp.32209

That's really bizarre. The only hidden overhead I can think of is
indirect blocks, but there's no reason for any of these files to
have *any* indirect blocks, let alone hundreds of meg worth.

What's the filesystem being used, exactly? What do you get with
"ls -lsa .../global" ?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-02-07 02:58:09 Re: Dealing with complex queries
Previous Message Ben 2003-02-07 02:42:01 Re: PostgreSQL v MSSQL