Discussion:
comparing with oracle
(too old to reply)
s***@dacafe.com
2003-12-16 04:03:54 UTC
Permalink
Hi,
I was able to migrate the Oracle database to Postgres, including
functions, procedures. Thanks to ora2pg script and postgres documentation
on porting from oracle to Postgres.

I have now two tuff task. We are running Oracle in stadby mode and apply
archive logs at remote place to maintain our DR site. Is there any way I
can generate archive logs.?

I need to know postgres datacrash recovery techniques also. If the
database crashes we have around 25Gb of data, is there any way apart from
restoring the full back up?

Thanks in advance,

Sachdev





-----------------------------------------
This email was sent using DACafeMail.
Get Your FREE 25 MB eMail Account Now.
http://cafemail.dcccafe.com

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ***@postgresql.org so that your
message can get through to the mailing list cleanly
Bruno Wolff III
2003-12-16 05:55:34 UTC
Permalink
On Mon, Dec 15, 2003 at 20:03:54 -0800,
Post by s***@dacafe.com
Hi,
I was able to migrate the Oracle database to Postgres, including
functions, procedures. Thanks to ora2pg script and postgres documentation
on porting from oracle to Postgres.
I have now two tuff task. We are running Oracle in stadby mode and apply
archive logs at remote place to maintain our DR site. Is there any way I
can generate archive logs.?
You would need to look at one of the replication solutions. I don't know
lot about them.
Post by s***@dacafe.com
I need to know postgres datacrash recovery techniques also. If the
database crashes we have around 25Gb of data, is there any way apart from
restoring the full back up?
It depends on what kind of crash. If the machine unexpectedly shutdown,
then should be able to just start the server back up. If you lost a hard
drive then you will need to restore from backup. Note that backing up the
data directory while the postmaster is running will not give you a usable
backup. You either need to use pg_dump or you need to do a backup while
the postmaster is shutdown. There is no point in time recovery available
at this time.

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ***@postgresql.org
s***@dacafe.com
2003-12-17 04:02:31 UTC
Permalink
Hi Bruno,
Thanks for the reply. Still my questions were unanswered. Pl could
anyone give a solution.

1. Is there any way I can generate archive log in postgres
2. Is it possible to run the postgres in standby mode (like Oracle stnd
by server) and apply the archive logs

Thanks and regards,
Sachdev



On Mon, Dec 15, 2003 at 20:03:54 -0800,
Post by Bruno Wolff III
Post by s***@dacafe.com
Hi,
I was able to migrate the Oracle database to Postgres, including
functions, procedures. Thanks to ora2pg script and postgres
documentation
on porting from oracle to Postgres.
I have now two tuff task. We are running Oracle in stadby mode and apply
archive logs at remote place to maintain our DR site. Is there any way I
can generate archive logs.?
You would need to look at one of the replication solutions. I don't know
lot about them.
Post by s***@dacafe.com
I need to know postgres datacrash recovery techniques also. If the
database crashes we have around 25Gb of data, is there any way apart from
restoring the full back up?
It depends on what kind of crash. If the machine unexpectedly shutdown,
then should be able to just start the server back up. If you lost a hard
drive then you will need to restore from backup. Note that backing up the
data directory while the postmaster is running will not give you a usable
backup. You either need to use pg_dump or you need to do a backup while
the postmaster is shutdown. There is no point in time recovery available
at this time.
-----------------------------------------
This email was sent using DACafeMail.
Get Your FREE 25 MB eMail Account Now.
http://cafemail.dcccafe.com

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org
Patrick Spinler
2003-12-17 04:41:29 UTC
Permalink
Your pardon, but I submit that the responder did answer your question.
Unfortunately, your question may be meaningless in the context asked.

Specifically, you are asking for an Oracle specific feature, which may
not have any direct comparison in another system. Instead, it is better
to ask how to accomplish whatever your requirement is in postgres. As
an analogy, it's like asking a person who only understands windows how
to grep. Their response would be 'huh' ? Instead, if you ask them how
to search files for text ...

Given this, you seem to be asking 'how do a keep a hot backup dbms
server', and the responder said 'using database replication'. That's
the same answer I'd give, with the additional tidbit 'using ha/failover'.

Hope this is what you wanted !
-- Pat
Post by s***@dacafe.com
Hi Bruno,
Thanks for the reply. Still my questions were unanswered. Pl could
anyone give a solution.
1. Is there any way I can generate archive log in postgres
2. Is it possible to run the postgres in standby mode (like Oracle stnd
by server) and apply the archive logs
Thanks and regards,
Sachdev
On Mon, Dec 15, 2003 at 20:03:54 -0800,
Post by Bruno Wolff III
Post by s***@dacafe.com
Hi,
I was able to migrate the Oracle database to Postgres, including
functions, procedures. Thanks to ora2pg script and postgres
documentation
on porting from oracle to Postgres.
I have now two tuff task. We are running Oracle in stadby mode and apply
archive logs at remote place to maintain our DR site. Is there any way I
can generate archive logs.?
You would need to look at one of the replication solutions. I don't know
lot about them.
Post by s***@dacafe.com
I need to know postgres datacrash recovery techniques also. If the
database crashes we have around 25Gb of data, is there any way apart from
restoring the full back up?
It depends on what kind of crash. If the machine unexpectedly shutdown,
then should be able to just start the server back up. If you lost a hard
drive then you will need to restore from backup. Note that backing up the
data directory while the postmaster is running will not give you a usable
backup. You either need to use pg_dump or you need to do a backup while
the postmaster is shutdown. There is no point in time recovery available
at this time.
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Naomi Walker
2003-12-17 16:36:04 UTC
Permalink
Post by s***@dacafe.com
1. Is there any way I can generate archive log in postgres
I run cron jobs that dump all my databases each evening, plus GLOBALS. The
cronlogs are then my archive log.
Post by s***@dacafe.com
2. Is it possible to run the postgres in standby mode (like Oracle stnd
by server) and apply the archive logs
Nope. We do have write ahead logs, but you cannot yet do point in time
recovery.
Post by s***@dacafe.com
Thanks and regards,
Sachdev
On Mon, Dec 15, 2003 at 20:03:54 -0800,
Post by Bruno Wolff III
Post by s***@dacafe.com
Hi,
I was able to migrate the Oracle database to Postgres, including
functions, procedures. Thanks to ora2pg script and postgres
documentation
on porting from oracle to Postgres.
I have now two tuff task. We are running Oracle in stadby mode and apply
archive logs at remote place to maintain our DR site. Is there any way I
can generate archive logs.?
You would need to look at one of the replication solutions. I don't know
lot about them.
Post by s***@dacafe.com
I need to know postgres datacrash recovery techniques also. If the
database crashes we have around 25Gb of data, is there any way apart
from
restoring the full back up?
It depends on what kind of crash. If the machine unexpectedly shutdown,
then should be able to just start the server back up. If you lost a hard
drive then you will need to restore from backup. Note that backing up the
data directory while the postmaster is running will not give you a usable
backup. You either need to use pg_dump or you need to do a backup while
the postmaster is shutdown. There is no point in time recovery available
at this time.
-----------------------------------------
This email was sent using DACafeMail.
Get Your FREE 25 MB eMail Account Now.
http://cafemail.dcccafe.com
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
-------------------------------------------------------------------------------------------------------------------------
Naomi Walker Chief Information Officer
Eldorado Computing, Inc.
***@eldocomp.com 602-604-3100
-------------------------------------------------------------------------------------------------------------------------
Never eat more than you can lift. - Miss Piggy
------------------------------------------------------------------------------------------------------------------------

-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Loading...