Connecting Tech Pros Worldwide Forums | Help | Site Map

PostGreSql database features questions

Ish Ahluwalia
Guest
 
Posts: n/a
#1: Nov 11 '05
Hi:

I'm very new to PostGreSql database and actually looking to evaluate for
one of our project needs. Below please find some questions. I'm hoping
if I can get some insight into these questions.

Thanks.

Ish...

1) Does PostGreSql allows for multiple databases to be open at the same
time?

2) Does PostGreSql have the ability to tag a Database/Table to be a
persistent or non-persistent database/table? By this question I mean,
that I may need to have a table that I don't want to be saved to the
hard disk/ flash file system and only want to keep it in memory and
other tables/database I may want to save to hard disk or flash. Does
PostGreSql allow for that?


Christopher Browne
Guest
 
Posts: n/a
#2: Nov 11 '05

re: PostGreSql database features questions


Ish Ahluwalia <ahluwalia@erinc.com> writes:[color=blue]
> 1) Does PostGreSql allows for multiple databases to be open at the same
> time?[/color]

The backend supports access to multiple databases at the same time.
[color=blue]
> 2) Does PostGreSql have the ability to tag a Database/Table to be a
> persistent or non-persistent database/table? By this question I
> mean, that I may need to have a table that I don't want to be saved
> to the hard disk/ flash file system and only want to keep it in
> memory and other tables/database I may want to save to hard disk or
> flash. Does PostGreSql allow for that?[/color]

There has been discussion of this, but no implementation has emerged.
--
let name="cbbrowne" and tld="libertyrms.info" in name ^ "@" ^ tld;;
<http://dev6.int.libertyrms.com/>
Christopher Browne
(416) 646 3304 x124 (land)
Christopher Browne
Guest
 
Posts: n/a
#3: Nov 11 '05

re: PostGreSql database features questions


Ish Ahluwalia <ahluwalia@erinc.com> writes:[color=blue]
> 1) Does PostGreSql allows for multiple databases to be open at the same
> time?[/color]

The backend supports access to multiple databases at the same time.
[color=blue]
> 2) Does PostGreSql have the ability to tag a Database/Table to be a
> persistent or non-persistent database/table? By this question I
> mean, that I may need to have a table that I don't want to be saved
> to the hard disk/ flash file system and only want to keep it in
> memory and other tables/database I may want to save to hard disk or
> flash. Does PostGreSql allow for that?[/color]

There has been discussion of this, but no implementation has emerged.
--
let name="cbbrowne" and tld="libertyrms.info" in name ^ "@" ^ tld;;
<http://dev6.int.libertyrms.com/>
Christopher Browne
(416) 646 3304 x124 (land)
Richard Huxton
Guest
 
Posts: n/a
#4: Nov 11 '05

re: PostGreSql database features questions


On Friday 12 September 2003 18:38, Ish Ahluwalia wrote:[color=blue]
> Hi:
>
> I'm very new to PostGreSql database and actually looking to evaluate for
> one of our project needs. Below please find some questions. I'm hoping
> if I can get some insight into these questions.
>
> Thanks.
>
> Ish...
>
> 1) Does PostGreSql allows for multiple databases to be open at the same
> time?[/color]

Yes, multiple clients to multiple databases.
[color=blue]
> 2) Does PostGreSql have the ability to tag a Database/Table to be a
> persistent or non-persistent database/table? By this question I mean,
> that I may need to have a table that I don't want to be saved to the
> hard disk/ flash file system and only want to keep it in memory and
> other tables/database I may want to save to hard disk or flash. Does
> PostGreSql allow for that?[/color]

You can mark a table as TEMPORARY which means it will only survive for the
length of a connection (and only be visible to that connection). I'm not sure
it makes sense to run the database from flash, but you could copy the data to
flash when you shut PG down.

--
Richard Huxton
Archonet Ltd

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

Richard Huxton
Guest
 
Posts: n/a
#5: Nov 11 '05

re: PostGreSql database features questions


On Friday 12 September 2003 18:38, Ish Ahluwalia wrote:[color=blue]
> Hi:
>
> I'm very new to PostGreSql database and actually looking to evaluate for
> one of our project needs. Below please find some questions. I'm hoping
> if I can get some insight into these questions.
>
> Thanks.
>
> Ish...
>
> 1) Does PostGreSql allows for multiple databases to be open at the same
> time?[/color]

Yes, multiple clients to multiple databases.
[color=blue]
> 2) Does PostGreSql have the ability to tag a Database/Table to be a
> persistent or non-persistent database/table? By this question I mean,
> that I may need to have a table that I don't want to be saved to the
> hard disk/ flash file system and only want to keep it in memory and
> other tables/database I may want to save to hard disk or flash. Does
> PostGreSql allow for that?[/color]

You can mark a table as TEMPORARY which means it will only survive for the
length of a connection (and only be visible to that connection). I'm not sure
it makes sense to run the database from flash, but you could copy the data to
flash when you shut PG down.

--
Richard Huxton
Archonet Ltd

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

Closed Thread