Old files .1 and .2

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Old files .1 and .2

Postby dwr2 » Fri May 02, 2008 9:16 pm

I've got some sql files which look as though they are from some previous db creations. The files are called 35053 and 16443. There are 3 versions of the file, the orginal, .1 and .2 where .2 is the latest.

Can I delete the previous verions? Are there any more I can/should delete?
dwr2
 
Posts: 8
Joined: Wed Feb 27, 2008 12:00 am

Re: Old files .1 and .2

Postby APerfect10 » Sat May 03, 2008 12:24 am

Are these files in your PostgreSQL data/base directory? I am a little confused...

Best regards,

Derek
APerfect10
Site Admin
 
Posts: 4466
Joined: Sat Dec 08, 2007 6:03 pm

Re: Old files .1 and .2

Postby dwr2 » Sat May 03, 2008 8:43 am

postgresql/8.2/data/base/16403/16443.<blank> (25 april)
postgresql/8.2/data/base/16403/16443.1 (30 april)
postgresql/8.2/data/base/16403/16443.2 (2 may)

postgresql/8.2/data/base/16403/35053.<blank> (25 april)
postgresql/8.2/data/base/16403/35053.1 (30 april)
postgresql/8.2/data/base/16403/35053.2 (2 may)

The date are when I created new databases and populated them; I did however delete (through PT3) the old databases.
dwr2
 
Posts: 8
Joined: Wed Feb 27, 2008 12:00 am

Re: Old files .1 and .2

Postby APerfect10 » Sat May 03, 2008 8:59 pm

I would not touch any files in the PostgreSQL data/base directory. If you delete the database then PostgreSQL should have deleted the corresponding files.

The only way I would clean out the directory is if you do a full backup then completely wipe PostgreSQL clean then reinstall and restore. To be honest, I doubt its worth the trouble.

Best regards,

Derek
APerfect10
Site Admin
 
Posts: 4466
Joined: Sat Dec 08, 2007 6:03 pm

Re: Old files .1 and .2

Postby dwr2 » Sat May 03, 2008 9:33 pm

Ok thanks. I'm only bothering with it because they are 1GB+ files (each).

Just deleted them (well it is a beta....), and everything is Ok (they hadn't been altered anyway since the new db was created).

If I find out where came from/why they were left I'll post it, in case it happens to anyone else.
dwr2
 
Posts: 8
Joined: Wed Feb 27, 2008 12:00 am


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 7 guests

cron