Unix Technical Forum

How to move pg_xlog to another drive on Windows????

This is a discussion on How to move pg_xlog to another drive on Windows???? within the Pgsql Performance forums, part of the PostgreSQL category; --> How can I move pg_xlog to another drive on Windows? In Linux I can use a symlink, but how ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 09:49 AM
Joost Kraaijeveld
 
Posts: n/a
Default How to move pg_xlog to another drive on Windows????

How can I move pg_xlog to another drive on Windows? In Linux I can use a
symlink, but how do I that on windows?

--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 09:49 AM
Merlin Moncure
 
Posts: n/a
Default Re: How to move pg_xlog to another drive on Windows????

On 12/4/06, Joost Kraaijeveld <J.Kraaijeveld@askesis.nl> wrote:
> How can I move pg_xlog to another drive on Windows? In Linux I can use a
> symlink, but how do I that on windows?


you can possibly attempt it with junction points. good luck:

http://support.microsoft.com/kb/205524

merlin

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-19-2008, 09:49 AM
Anthony Presley
 
Posts: n/a
Default Re: How to move pg_xlog to another drive on Windows????

Hmm ... I'm guessing you'd do it with a shortcut, and then rename the
ShortCut from "Shortcut to pg_xlog" to "pg_xlog".

Haven't done it with PostgreSQL, but it works with a few other programs
I've had to do that with.


--
Anthony Presley
Resolution Software
Owner/Founder
www.resolution.com

On Mon, 2006-12-04 at 18:48 +0100, Joost Kraaijeveld wrote:
> How can I move pg_xlog to another drive on Windows? In Linux I can use a
> symlink, but how do I that on windows?
>
> --
> Groeten,
>
> Joost Kraaijeveld
> Askesis B.V.
> Molukkenstraat 14
> 6524NB Nijmegen
> tel: 024-3888063 / 06-51855277
> fax: 024-3608416
> web: www.askesis.nl
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend



---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-19-2008, 09:49 AM
K C Lau
 
Posts: n/a
Default Re: How to move pg_xlog to another drive on

You can also use the freeware junction utility from
http://www.sysinternals.com as we do on Win 2K, XP and 2003.

After installing it, shutdown pg, move pg_xlog to another drive, create
junction as pg_xlog to point to new directory, then restart pg.

Cheers,
KC.

At 03:04 06/12/05, Merlin Moncure wrote:
>On 12/4/06, Joost Kraaijeveld <J.Kraaijeveld@askesis.nl> wrote:
>>How can I move pg_xlog to another drive on Windows? In Linux I can use a
>>symlink, but how do I that on windows?

>
>you can possibly attempt it with junction points. good luck:
>
>http://support.microsoft.com/kb/205524
>
>merlin
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: don't forget to increase your free space map settings



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:37 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com