Обсуждение: comparing with oracle
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
On Mon, Dec 15, 2003 at 20:03:54 -0800, sachdev@dacafe.com wrote: > 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. > 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.
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, > sachdev@dacafe.com wrote: >> 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. > >> 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
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 sachdev@dacafe.com wrote: > 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, > >> sachdev@dacafe.com wrote: >> >>> 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. >> >> >>>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. >>
> > 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. > 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. >Thanks and regards, >Sachdev > > > > On Mon, Dec 15, 2003 at 20:03:54 -0800, > > sachdev@dacafe.com wrote: > >> 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. > > > >> 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. nwalker@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 informationthat is privileged, confidential and exempt from disclosure under applicable law. If you are not the intendedaddressee, 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 thismessage in error, please immediately advise the sender by reply email, and delete the message. Thank you.