pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedora2pg import
5+ messages / 3 participants
[nested] [flat]
* ora2pg import
@ 2019-01-29 17:09 Pepe TD Vo <pepevo@yahoo.com>
0 siblings, 2 replies; 5+ messages in thread
From: Pepe TD Vo @ 2019-01-29 17:09 UTC (permalink / raw)
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Hello expert DBAs,
would you please show me how to import scripts from Ora2pg into postgres db using each schema?From ora2pg, there's no export the whole database but one by one schema. Do I need to create each schema on postgres db and how do I run the export script per schema? If I import them by postgres all the tables, index, etc... will be under postgres user right?
what I need to do for this import from sources of Oracle?thank you. Bach-Nga
No one in this world is pure and perfect. If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely rich *** Faithful talent *** Sharing success
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: ora2pg import
@ 2019-01-30 01:48 Ricardo Martin Gomez <rimartingomez@hotmail.com>
parent: Pepe TD Vo <pepevo@yahoo.com>
1 sibling, 0 replies; 5+ messages in thread
From: Ricardo Martin Gomez @ 2019-01-30 01:48 UTC (permalink / raw)
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>; Pepe TD Vo <pepevo@yahoo.com>
Hi Pepe,
First, you have to understand some differences between PostgreSQL and Oracle.
In Oracle: schema = user. All objects there are inside the schema.
In PostgreSQL: schema does not exists. Database != user. All objects there are inside the database.
Obtener Outlook para Android<https://aka.ms/ghei36;
________________________________
From: Pepe TD Vo <pepevo@yahoo.com>
Sent: Tuesday, January 29, 2019 2:09:53 PM
To: Pgsql-admin
Subject: ora2pg import
Hello expert DBAs,
would you please show me how to import scripts from Ora2pg into postgres db using each schema?
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: ora2pg import
@ 2019-01-30 05:32 Shreeyansh Dba <shreeyansh2014@gmail.com>
parent: Pepe TD Vo <pepevo@yahoo.com>
1 sibling, 1 reply; 5+ messages in thread
From: Shreeyansh Dba @ 2019-01-30 05:32 UTC (permalink / raw)
To: Pepe TD Vo <pepevo@yahoo.com>; +Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
By default the Oracle schema is not exported into the PostgreSQL database
and all objects are created under the default Pgnamespace.
Thanks & Regards,
*Shreeyansh DBA Team*
www.shreeyansh.com
On Tue, Jan 29, 2019 at 10:40 PM Pepe TD Vo <pepevo@yahoo.com> wrote:
> Hello expert DBAs,
>
> would you please show me how to import scripts from Ora2pg into postgres
> db using each schema?
> From ora2pg, there's no export the whole database but one by one schema.
> Do I need to create each schema on postgres db and how do I run the export
> script per schema? If I import them by postgres all the tables, index,
> etc... will be under postgres user right?
>
> what I need to do for this import from sources of Oracle?
> thank you.
>
>
>
> *Bach-Nga*No one in this world is pure and perfect. If you avoid people
> for their mistakes you will be alone. So judge less, love and forgive more.
> To call him a dog hardly seems to do him justice though in as much as he
> had four legs, a tail, and barked, I admit he was, to all outward
> appearances. But to those who knew him well, he was a perfect gentleman
> (Hermione Gingold)
>
> **Live simply **Love generously **Care deeply **Speak kindly.
> *** Genuinely rich *** Faithful talent *** Sharing success
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: ora2pg import
@ 2019-01-30 06:11 Shreeyansh Dba <shreeyansh2014@gmail.com>
parent: Shreeyansh Dba <shreeyansh2014@gmail.com>
0 siblings, 0 replies; 5+ messages in thread
From: Shreeyansh Dba @ 2019-01-30 06:11 UTC (permalink / raw)
To: Pepe TD Vo <pepevo@yahoo.com>; +Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
In Addition, The oracle user name and schema have the same identity. In
PostgreSQL user and schema differ and you need to create a schema
explicitly. Otherwise, it will go into default schema.
Thanks & Regards,
*Shreeyansh DBA Team*
www.shreeyansh.com
On Wed, Jan 30, 2019 at 11:02 AM Shreeyansh Dba <shreeyansh2014@gmail.com>
wrote:
> By default the Oracle schema is not exported into the PostgreSQL database
> and all objects are created under the default Pgnamespace.
>
> Thanks & Regards,
> *Shreeyansh DBA Team*
> www.shreeyansh.com
>
>
> On Tue, Jan 29, 2019 at 10:40 PM Pepe TD Vo <pepevo@yahoo.com> wrote:
>
>> Hello expert DBAs,
>>
>> would you please show me how to import scripts from Ora2pg into postgres
>> db using each schema?
>> From ora2pg, there's no export the whole database but one by one schema.
>> Do I need to create each schema on postgres db and how do I run the
>> export script per schema? If I import them by postgres all the tables,
>> index, etc... will be under postgres user right?
>>
>> what I need to do for this import from sources of Oracle?
>> thank you.
>>
>>
>>
>> *Bach-Nga*No one in this world is pure and perfect. If you avoid people
>> for their mistakes you will be alone. So judge less, love and forgive more.
>> To call him a dog hardly seems to do him justice though in as much as he
>> had four legs, a tail, and barked, I admit he was, to all outward
>> appearances. But to those who knew him well, he was a perfect gentleman
>> (Hermione Gingold)
>>
>> **Live simply **Love generously **Care deeply **Speak kindly.
>> *** Genuinely rich *** Faithful talent *** Sharing success
>>
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: ora2pg import
@ 2019-01-30 14:44 Pepe TD Vo <pepevo@yahoo.com>
0 siblings, 0 replies; 5+ messages in thread
From: Pepe TD Vo @ 2019-01-30 14:44 UTC (permalink / raw)
To: Shreeyansh Dba <shreeyansh2014@gmail.com>; +Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
that's what I thought and I did create the schemas under CIDR db yesterday and I think I need to revise all the scripts export from Ora2pg with "schema_name." in front of the function/trigger/table names scripts.
thank you so much for the input.
v/r, Bach-Nga
No one in this world is pure and perfect. If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely rich *** Faithful talent *** Sharing success
On Wednesday, January 30, 2019 1:11 AM, Shreeyansh Dba <shreeyansh2014@gmail.com> wrote:
In Addition, The oracle user name and schema have the same identity. In PostgreSQL user and schema differ and you need to create a schema explicitly. Otherwise, it will go into default schema.
Thanks & Regards,
Shreeyansh DBA Team
www.shreeyansh.com
On Wed, Jan 30, 2019 at 11:02 AM Shreeyansh Dba <shreeyansh2014@gmail.com> wrote:
By default the Oracle schema is not exported into the PostgreSQL database and all objects are created under the default Pgnamespace.
Thanks & Regards,
Shreeyansh DBA Team
www.shreeyansh.com
On Tue, Jan 29, 2019 at 10:40 PM Pepe TD Vo <pepevo@yahoo.com> wrote:
Hello expert DBAs,
would you please show me how to import scripts from Ora2pg into postgres db using each schema?From ora2pg, there's no export the whole database but one by one schema. Do I need to create each schema on postgres db and how do I run the export script per schema? If I import them by postgres all the tables, index, etc... will be under postgres user right?
what I need to do for this import from sources of Oracle?thank you. Bach-Nga
No one in this world is pure and perfect. If you avoid people for their mistakes you will be alone. So judge less, love and forgive more.To call him a dog hardly seems to do him justice though in as much as he had four legs, a tail, and barked, I admit he was, to all outward appearances. But to those who knew him well, he was a perfect gentleman (Hermione Gingold)
**Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely rich *** Faithful talent *** Sharing success
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2019-01-30 14:44 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-01-29 17:09 ora2pg import Pepe TD Vo <pepevo@yahoo.com>
2019-01-30 01:48 ` Ricardo Martin Gomez <rimartingomez@hotmail.com>
2019-01-30 05:32 ` Shreeyansh Dba <shreeyansh2014@gmail.com>
2019-01-30 06:11 ` Shreeyansh Dba <shreeyansh2014@gmail.com>
2019-01-30 14:44 Re: ora2pg import Pepe TD Vo <pepevo@yahoo.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox