dbTalk Databases Forums  

More on creating data bases for 4 distinct users

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss More on creating data bases for 4 distinct users in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
G. Walsh
 
Posts: n/a

Default More on creating data bases for 4 distinct users - 01-03-2004 , 12:25 PM






Further to my earlier posting, I have now figured out that I have to
create clusters for each of the users in their own directory structures.
I have done that, and made all files owned by the development user id as
well as identifying that user to postgres.

That takes me to the problem of triggering multiple postmasters at
bootup. I cannot accomplish this in the furnished
/etc/rc.d/init.d/postgresql script which makes explicit mention of the
fact this is not yet provided for.

Is anyone else doing this?

My reasons for doing so are twofold:

One, I want to spread the activity in an array of fast SCSI hard drives
and

Two, I need to be able to easily extricate each of the sites
individually as the time comes for each to be transferred from the
development machine to a co-location machine.

Could I, for example, add the additional postmaster requests to the
existing .opt file in postgres' default directory?

Thanks for any pointers ...

"George"


--
G. Walsh,
DSC Directional Services Corp.,
#507 890 Academy Close,
Victoria, B.C. V8V 2Y1

(250) 386-4498


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
  #2  
Old   
Bruce Momjian
 
Posts: n/a

Default Re: More on creating data bases for 4 distinct users - 01-03-2004 , 10:45 PM






G. Walsh wrote:
Quote:
Further to my earlier posting, I have now figured out that I have to
create clusters for each of the users in their own directory structures.
I have done that, and made all files owned by the development user id as
well as identifying that user to postgres.

That takes me to the problem of triggering multiple postmasters at
bootup. I cannot accomplish this in the furnished
/etc/rc.d/init.d/postgresql script which makes explicit mention of the
fact this is not yet provided for.

Is anyone else doing this?

My reasons for doing so are twofold:

One, I want to spread the activity in an array of fast SCSI hard drives
and

Two, I need to be able to easily extricate each of the sites
individually as the time comes for each to be transferred from the
development machine to a co-location machine.

Could I, for example, add the additional postmaster requests to the
existing .opt file in postgres' default directory?
You can do this by starting multiple postmaster and having each one
listen on a distinct port number. The documentation covers this.

--
Bruce Momjian | http://candle.pha.pa.us
pgman (AT) candle (DOT) 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 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match



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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.