pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Two questions.
7+ messages / 3 participants
[nested] [flat]

* Two questions.
@ 2002-10-08 12:58 Fabio C. Bon <fbon@adinet.com.uy>
  0 siblings, 0 replies; 7+ messages in thread

From: Fabio C. Bon @ 2002-10-08 12:58 UTC (permalink / raw)
  To: pgsql-admin

Hello !

Where I can find information, to know since one is organized the system of
files of a PostgreSQL database ? ( files of database objects ).

If I have a " disc crash " or lose accidental one or several files, since I
can realize which lack?

Thank you very much.
Fabio Bon




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

* Two questions.
@ 2002-10-08 13:13 bon@kernel.net.uy
  2002-10-09 02:21 ` Re: Two questions. Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 7+ messages in thread

From: bon@kernel.net.uy @ 2002-10-08 13:13 UTC (permalink / raw)
  To: pgsql-admin

Hello !

Where I can find information, to know since one is organized the system of
files of a PostgreSQL database ? ( files of database objects ).

If I have a " disc crash " or lose accidental one or several files, since I
can realize which lack?

Thank you very much.
Fabio Bon





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

* Re: Two questions.
  2002-10-08 13:13 Two questions. bon@kernel.net.uy
@ 2002-10-09 02:21 ` Bruce Momjian <pgman@candle.pha.pa.us>
  2002-10-09 16:48   ` Re: Two questions. bon@kernel.net.uy
  0 siblings, 1 reply; 7+ messages in thread

From: Bruce Momjian @ 2002-10-09 02:21 UTC (permalink / raw)
  To: fbon@adinet.com.uy; +Cc: pgsql-admin

bon@kernel.net.uy wrote:
> Hello !
> 
> Where I can find information, to know since one is organized the system of
> files of a PostgreSQL database ? ( files of database objects ).
> 
> If I have a " disc crash " or lose accidental one or several files, since I
> can realize which lack?

I wrote something up for 7.3:

	http://developer.postgresql.org/docs/postgres/diskusage.html

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



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

* Re: Two questions.
  2002-10-08 13:13 Two questions. bon@kernel.net.uy
  2002-10-09 02:21 ` Re: Two questions. Bruce Momjian <pgman@candle.pha.pa.us>
@ 2002-10-09 16:48   ` bon@kernel.net.uy
  2002-10-09 16:52     ` Re: Two questions. Bruce Momjian <pgman@candle.pha.pa.us>
  2002-10-09 16:52     ` Re: Two questions. Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 2 replies; 7+ messages in thread

From: bon@kernel.net.uy @ 2002-10-09 16:48 UTC (permalink / raw)
  To: 'Bruce Momjian' <pgman@candle.pha.pa.us>; +Cc: pgsql-admin


Thank you Bruce.

Really, what I would want to know is how PostgreSQL assigns a physical name
to files what represent the database objects.

I noticed that if I lose a file of the database, the pg_restore program does
not recover it, giving an error because the associated table exists on the
database. On the other hand I can't drop the table because an error occurs:
the file or directory does not exist.

How I can to solve this problem ?

Regards,
Fabio Bon

-----Mensaje original-----
De: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]En nombre de Bruce Momjian
Enviado el: martes 8 de octubre de 2002 23:22
Para: fbon@adinet.com.uy
CC: pgsql-admin@postgresql.org
Asunto: Re: [ADMIN] Two questions.


bon@kernel.net.uy wrote:
> Hello !
>
> Where I can find information, to know since one is organized the system of
> files of a PostgreSQL database ? ( files of database objects ).
>
> If I have a " disc crash " or lose accidental one or several files, since
I
> can realize which lack?

I wrote something up for 7.3:

	http://developer.postgresql.org/docs/postgres/diskusage.html

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org




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

* Re: Two questions.
  2002-10-08 13:13 Two questions. bon@kernel.net.uy
  2002-10-09 02:21 ` Re: Two questions. Bruce Momjian <pgman@candle.pha.pa.us>
  2002-10-09 16:48   ` Re: Two questions. bon@kernel.net.uy
@ 2002-10-09 16:52     ` Bruce Momjian <pgman@candle.pha.pa.us>
  1 sibling, 0 replies; 7+ messages in thread

From: Bruce Momjian @ 2002-10-09 16:52 UTC (permalink / raw)
  To: fbon@adinet.com.uy; +Cc: pgsql-admin


The file is the oid of the pg_class row for the relation.

---------------------------------------------------------------------------

bon@kernel.net.uy wrote:
> 
> Thank you Bruce.
> 
> Really, what I would want to know is how PostgreSQL assigns a physical name
> to files what represent the database objects.
> 
> I noticed that if I lose a file of the database, the pg_restore program does
> not recover it, giving an error because the associated table exists on the
> database. On the other hand I can't drop the table because an error occurs:
> the file or directory does not exist.
> 
> How I can to solve this problem ?
> 
> Regards,
> Fabio Bon
> 
> -----Mensaje original-----
> De: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]En nombre de Bruce Momjian
> Enviado el: martes 8 de octubre de 2002 23:22
> Para: fbon@adinet.com.uy
> CC: pgsql-admin@postgresql.org
> Asunto: Re: [ADMIN] Two questions.
> 
> 
> bon@kernel.net.uy wrote:
> > Hello !
> >
> > Where I can find information, to know since one is organized the system of
> > files of a PostgreSQL database ? ( files of database objects ).
> >
> > If I have a " disc crash " or lose accidental one or several files, since
> I
> > can realize which lack?
> 
> I wrote something up for 7.3:
> 
> 	http://developer.postgresql.org/docs/postgres/diskusage.html
> 
> --
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



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

* Re: Two questions.
  2002-10-08 13:13 Two questions. bon@kernel.net.uy
  2002-10-09 02:21 ` Re: Two questions. Bruce Momjian <pgman@candle.pha.pa.us>
  2002-10-09 16:48   ` Re: Two questions. bon@kernel.net.uy
@ 2002-10-09 16:52     ` Bruce Momjian <pgman@candle.pha.pa.us>
  1 sibling, 0 replies; 7+ messages in thread

From: Bruce Momjian @ 2002-10-09 16:52 UTC (permalink / raw)
  To: fbon@adinet.com.uy; +Cc: pgsql-admin


Actually, pg_class.relfilenode.

---------------------------------------------------------------------------

bon@kernel.net.uy wrote:
> 
> Thank you Bruce.
> 
> Really, what I would want to know is how PostgreSQL assigns a physical name
> to files what represent the database objects.
> 
> I noticed that if I lose a file of the database, the pg_restore program does
> not recover it, giving an error because the associated table exists on the
> database. On the other hand I can't drop the table because an error occurs:
> the file or directory does not exist.
> 
> How I can to solve this problem ?
> 
> Regards,
> Fabio Bon
> 
> -----Mensaje original-----
> De: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]En nombre de Bruce Momjian
> Enviado el: martes 8 de octubre de 2002 23:22
> Para: fbon@adinet.com.uy
> CC: pgsql-admin@postgresql.org
> Asunto: Re: [ADMIN] Two questions.
> 
> 
> bon@kernel.net.uy wrote:
> > Hello !
> >
> > Where I can find information, to know since one is organized the system of
> > files of a PostgreSQL database ? ( files of database objects ).
> >
> > If I have a " disc crash " or lose accidental one or several files, since
> I
> > can realize which lack?
> 
> I wrote something up for 7.3:
> 
> 	http://developer.postgresql.org/docs/postgres/diskusage.html
> 
> --
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



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

* Two questions.
@ 2002-10-08 18:14 bon@kernel.net.uy
  0 siblings, 0 replies; 7+ messages in thread

From: bon@kernel.net.uy @ 2002-10-08 18:14 UTC (permalink / raw)
  To: pgsql-admin


Sorry about my previous message. It wasn't clear.

Where can I find information about how the system of
files of a PostgreSQL database is organized ? ( files of database objects ).

If I have a " disc crash " or I lose accidentally one or several files, how
can I
realize which are lacking ?

Thank you very much.
Fabio Bon




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


end of thread, other threads:[~2002-10-09 16:52 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-10-08 12:58 Two questions. Fabio C. Bon <fbon@adinet.com.uy>
2002-10-08 13:13 Two questions. bon@kernel.net.uy
2002-10-09 02:21 ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-10-09 16:48   ` bon@kernel.net.uy
2002-10-09 16:52     ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-10-09 16:52     ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-10-08 18:14 Two questions. bon@kernel.net.uy

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