SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Downloaden Sie, um offline zu lesen
Oracle Exports and Imports windows 7

Below is Export and Import step for example schema ( HR, OE , PM , IX , SH , BI )

Exports dump file from SERVER A for schema ( HR, OE , PM , IX , SH , BI )

1.

Creat directory c:Temphrdump
Creat directory c:Tempxedump
Creat directory c:Temppmdump
Creat directory c:Tempixdump
Creat directory c:Tempshdump
Creat directory c:Tempbidump

2.Login in via sqlplus , connect system/passwd
sqlplus> create directory hrdump as 'C:Temphrdump';
sqlplus> create directory xedump as 'C:Tempxedump';
sqlplus> create directory pmdump as 'C:Temppmdump';
sqlplus> create directory ixdump as 'C:Tempixdump';
sqlplus> create directory shdump as 'C:Tempshdump';
sqlplus> create directory bidump as 'C:Tempbidump';

sqlplus> commit;
3.

start --> run --> cmd (full path to be mentioned ) oracleproduct11.2.0dbhome_1BIN>
[One by one ]

(for HR )expdp system/passwd schemas=HR directory=hrdump dumpfile=hrdump.dmp
logfile=rexp.log
(for OE )expdp system/passwd schemas=OE directory=oedump dumpfile=oedump.dmp
logfile=rexp.log
(for PM )expdp system/passwd schemas=PM directory=pmdump dumpfile=pmdump.dmp
logfile=rexp.log
(for IX )expdp system/passwd schemas=IX directory=ixdump dumpfile=ixdump.dmp
logfile=rexp.log
(for SH )expdp system/passwd schemas=SH directory=shdump dumpfile=shdump.dmp
logfile=rexp.log
(for BI )expdp system/passwd schemas=BI directory=bidump dumpfile=bidump.dmp
logfile=rexp.log

4. Check c:/Temp/ you will find the dumps files..,

Export done.

Import dump file to SERVER B for schema ( HR, OE , PM , IX , SH , BI )

1. login in to sqlplus .. system/passwd

sql>create tablespace EXAMPLE datafile (full path to be mentioned
)'/oradata/orcl/EXAMPLE01.DBF'
size 10M autoextend on maxsize 250M extent management local uniform size 64K;
(Info: EXAMPLE tablespace is newly created ) to check the existing or after create tablespace ,
you can check
running select tablespace_name from dba_tablespaces;
select name from v$datafile;)

2. Create the user

CREATE USER HR IDENTIFIED BY hr DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE
TEMP;
GRANT CONNECT , RESOURCE TO HR;

CREATE USER OE IDENTIFIED BY oe DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE
TEMP;
GRANT CONNECT , RESOURCE TO OE;

CREATE USER PM IDENTIFIED BY pm DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE
TEMP;
GRANT CONNECT , RESOURCE TO PM;

CREATE USER SH IDENTIFIED BY sh DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE
TEMP;
GRANT CONNECT , RESOURCE TO sh;

CREATE USER BI IDENTIFIED BY bi DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE
TEMP;
GRANT CONNECT , RESOURCE TO bi;
3. create Temp HR ,OE ,, PM , IX and SH dumps in window files first in SERVER B
Create directory c:Temphrdump
Create directory c:Tempxedump
Create directory c:Temppmdump
Create directory c:Tempixdump
Create directory c:Tempshdump
Create directory c:Tempbidump

Copy the dumps files which you exported in SERVER A TO SERVER B

4. login to sqlplus
conect system/passwd

create directory hrdump as 'C:Temphrdump';
commit;
create directory oedump as 'C:Tempoedump';
commit;
create directory pmdump as 'C:Temppmdump';
commit;
create directory ixdump as 'C:Tempixdump';
commit;
create directory shdump as 'C:Tempshdump';
commit;
create directory bidump as 'C:Tempbidump';
commit;

5. start --> run --> cmd (full path to be mentioned ) oracleproduct11.2.0dbhome_1BIN>
[Run One by one ]
>impdp system/welcome schemas=HR directory=hrdump dumpfile=HRDUMP.DMP logfile=hrimp.log
>impdp system/welcome schemas=OE directory=oedump dumpfile=OEDUMP.DMP logfile=oeimp.log
>impdp system/welcome schemas=PM directory=pmdump dumpfile=PMDUMP.DMP logfile=pmimp.log
>impdp system/welcome schemas=IX directory=ixdump dumpfile=IXDUMP.DMP logfile=iximp.log
>impdp system/welcome schemas=SH directory=shdump dumpfile=SHDUMP.DMP logfile=shimp.log
>impdp system/welcome schemas=BI directory=bidump dumpfile=BIDUMP.DMP logfile=biimp.log

Weitere ähnliche Inhalte

Was ist angesagt?

Bash Script Disk Space Utilization Report and EMail
Bash Script Disk Space Utilization Report and EMailBash Script Disk Space Utilization Report and EMail
Bash Script Disk Space Utilization Report and EMailVCP Muthukrishna
 
Commit2015 kharchenko - python generators - ext
Commit2015   kharchenko - python generators - extCommit2015   kharchenko - python generators - ext
Commit2015 kharchenko - python generators - extMaxym Kharchenko
 
File Space Usage Information and EMail Report - Shell Script
File Space Usage Information and EMail Report - Shell ScriptFile Space Usage Information and EMail Report - Shell Script
File Space Usage Information and EMail Report - Shell ScriptVCP Muthukrishna
 
Cloud Foundry Command Line
Cloud Foundry Command LineCloud Foundry Command Line
Cloud Foundry Command LineJulia R Nash
 
Intro to Cascading
Intro to CascadingIntro to Cascading
Intro to CascadingBen Speakmon
 
Read, store and create xml and json
Read, store and create xml and jsonRead, store and create xml and json
Read, store and create xml and jsonKim Berg Hansen
 
From Overnight to Always On @ Jfokus 2019
From Overnight to Always On @ Jfokus 2019From Overnight to Always On @ Jfokus 2019
From Overnight to Always On @ Jfokus 2019Enno Runne
 
Shell Script to Extract IP Address, MAC Address Information
Shell Script to Extract IP Address, MAC Address InformationShell Script to Extract IP Address, MAC Address Information
Shell Script to Extract IP Address, MAC Address InformationVCP Muthukrishna
 
Hive data migration (export/import)
Hive data migration (export/import)Hive data migration (export/import)
Hive data migration (export/import)Bopyo Hong
 
Workshop on command line tools - day 1
Workshop on command line tools - day 1Workshop on command line tools - day 1
Workshop on command line tools - day 1Leandro Lima
 
Workshop on command line tools - day 2
Workshop on command line tools - day 2Workshop on command line tools - day 2
Workshop on command line tools - day 2Leandro Lima
 
Redis as a message queue
Redis as a message queueRedis as a message queue
Redis as a message queueBrandon Lamb
 

Was ist angesagt? (20)

Bash Script Disk Space Utilization Report and EMail
Bash Script Disk Space Utilization Report and EMailBash Script Disk Space Utilization Report and EMail
Bash Script Disk Space Utilization Report and EMail
 
Commit2015 kharchenko - python generators - ext
Commit2015   kharchenko - python generators - extCommit2015   kharchenko - python generators - ext
Commit2015 kharchenko - python generators - ext
 
CouchDB Day NYC 2017: Full Text Search
CouchDB Day NYC 2017: Full Text SearchCouchDB Day NYC 2017: Full Text Search
CouchDB Day NYC 2017: Full Text Search
 
File Space Usage Information and EMail Report - Shell Script
File Space Usage Information and EMail Report - Shell ScriptFile Space Usage Information and EMail Report - Shell Script
File Space Usage Information and EMail Report - Shell Script
 
Cloud Foundry Command Line
Cloud Foundry Command LineCloud Foundry Command Line
Cloud Foundry Command Line
 
File Upload
File UploadFile Upload
File Upload
 
Intro to Cascading
Intro to CascadingIntro to Cascading
Intro to Cascading
 
groovy & grails - lecture 2
groovy & grails - lecture 2groovy & grails - lecture 2
groovy & grails - lecture 2
 
Hive commands
Hive commandsHive commands
Hive commands
 
2015 555 kharchenko_ppt
2015 555 kharchenko_ppt2015 555 kharchenko_ppt
2015 555 kharchenko_ppt
 
Read, store and create xml and json
Read, store and create xml and jsonRead, store and create xml and json
Read, store and create xml and json
 
From Overnight to Always On @ Jfokus 2019
From Overnight to Always On @ Jfokus 2019From Overnight to Always On @ Jfokus 2019
From Overnight to Always On @ Jfokus 2019
 
Shell Script to Extract IP Address, MAC Address Information
Shell Script to Extract IP Address, MAC Address InformationShell Script to Extract IP Address, MAC Address Information
Shell Script to Extract IP Address, MAC Address Information
 
Hive data migration (export/import)
Hive data migration (export/import)Hive data migration (export/import)
Hive data migration (export/import)
 
Rhel6
Rhel6Rhel6
Rhel6
 
Avro introduction
Avro introductionAvro introduction
Avro introduction
 
Workshop on command line tools - day 1
Workshop on command line tools - day 1Workshop on command line tools - day 1
Workshop on command line tools - day 1
 
Sql cheat sheet
Sql cheat sheetSql cheat sheet
Sql cheat sheet
 
Workshop on command line tools - day 2
Workshop on command line tools - day 2Workshop on command line tools - day 2
Workshop on command line tools - day 2
 
Redis as a message queue
Redis as a message queueRedis as a message queue
Redis as a message queue
 

Andere mochten auch

Youtube Policy Primer
Youtube Policy PrimerYoutube Policy Primer
Youtube Policy PrimerESutton17
 
2015 03 30_theme_week_unicefthemeday_nuclearpowerplant_firstofmay_grades2-5_pak
2015 03 30_theme_week_unicefthemeday_nuclearpowerplant_firstofmay_grades2-5_pak2015 03 30_theme_week_unicefthemeday_nuclearpowerplant_firstofmay_grades2-5_pak
2015 03 30_theme_week_unicefthemeday_nuclearpowerplant_firstofmay_grades2-5_pakNummenpakan koulu
 

Andere mochten auch (6)

Perfil gbi
Perfil gbiPerfil gbi
Perfil gbi
 
Youtube Policy Primer
Youtube Policy PrimerYoutube Policy Primer
Youtube Policy Primer
 
Erasmus+ esittely1 pak
Erasmus+ esittely1 pakErasmus+ esittely1 pak
Erasmus+ esittely1 pak
 
2015 03 30_theme_week_unicefthemeday_nuclearpowerplant_firstofmay_grades2-5_pak
2015 03 30_theme_week_unicefthemeday_nuclearpowerplant_firstofmay_grades2-5_pak2015 03 30_theme_week_unicefthemeday_nuclearpowerplant_firstofmay_grades2-5_pak
2015 03 30_theme_week_unicefthemeday_nuclearpowerplant_firstofmay_grades2-5_pak
 
Professions
ProfessionsProfessions
Professions
 
Veso esitys 180415 mok
Veso esitys 180415 mokVeso esitys 180415 mok
Veso esitys 180415 mok
 

Ähnlich wie Oracle Schema Export and Import

Drupal Deployment Troubles and Problems
Drupal Deployment Troubles and ProblemsDrupal Deployment Troubles and Problems
Drupal Deployment Troubles and ProblemsAndrii Lundiak
 
Symfony console: build awesome command line scripts with ease
Symfony console: build awesome command line scripts with easeSymfony console: build awesome command line scripts with ease
Symfony console: build awesome command line scripts with easeOscar Merida
 
How to create a non managed standby database
How to create a non managed  standby databaseHow to create a non managed  standby database
How to create a non managed standby databaseJorge Batista
 
Introduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command lineIntroduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command lineBehzod Saidov
 
WordCamp Vancouver 2012 - Manage WordPress with Awesome using wp-cli
WordCamp Vancouver 2012 - Manage WordPress with Awesome using wp-cliWordCamp Vancouver 2012 - Manage WordPress with Awesome using wp-cli
WordCamp Vancouver 2012 - Manage WordPress with Awesome using wp-cliGetSource
 
Manage WordPress with Awesome using wp cli
Manage WordPress with Awesome using wp cliManage WordPress with Awesome using wp cli
Manage WordPress with Awesome using wp cliGetSource
 
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...Puppet
 
Challenges of container configuration
Challenges of container configurationChallenges of container configuration
Challenges of container configurationlutter
 
Create an auto-extractible shell script linux
Create an auto-extractible shell script linuxCreate an auto-extractible shell script linux
Create an auto-extractible shell script linuxThierry Gayet
 
Command line for the beginner - Using the command line in developing for the...
Command line for the beginner -  Using the command line in developing for the...Command line for the beginner -  Using the command line in developing for the...
Command line for the beginner - Using the command line in developing for the...Jim Birch
 
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData AnalysisDA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData AnalysisAbishek86232
 
Web development automatisation for fun and profit (Artem Daniliants)
Web development automatisation for fun and profit (Artem Daniliants)Web development automatisation for fun and profit (Artem Daniliants)
Web development automatisation for fun and profit (Artem Daniliants)LumoSpark
 
Install apache on centos
Install apache on centosInstall apache on centos
Install apache on centoshengko
 
Document Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OSDocument Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OSSiddharth Ram Dinesh
 
2011 384 hackworth_ppt
2011 384 hackworth_ppt2011 384 hackworth_ppt
2011 384 hackworth_pptmaclean liu
 
Building robust and friendly command line applications in go
Building robust and friendly command line applications in goBuilding robust and friendly command line applications in go
Building robust and friendly command line applications in goAndrii Soldatenko
 

Ähnlich wie Oracle Schema Export and Import (20)

Tablespaces
TablespacesTablespaces
Tablespaces
 
Dc kyiv2010 jun_08
Dc kyiv2010 jun_08Dc kyiv2010 jun_08
Dc kyiv2010 jun_08
 
Drupal Deployment Troubles and Problems
Drupal Deployment Troubles and ProblemsDrupal Deployment Troubles and Problems
Drupal Deployment Troubles and Problems
 
Symfony console: build awesome command line scripts with ease
Symfony console: build awesome command line scripts with easeSymfony console: build awesome command line scripts with ease
Symfony console: build awesome command line scripts with ease
 
How to create a non managed standby database
How to create a non managed  standby databaseHow to create a non managed  standby database
How to create a non managed standby database
 
Introduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command lineIntroduction to WP-CLI: Manage WordPress from the command line
Introduction to WP-CLI: Manage WordPress from the command line
 
WordCamp Vancouver 2012 - Manage WordPress with Awesome using wp-cli
WordCamp Vancouver 2012 - Manage WordPress with Awesome using wp-cliWordCamp Vancouver 2012 - Manage WordPress with Awesome using wp-cli
WordCamp Vancouver 2012 - Manage WordPress with Awesome using wp-cli
 
Digital Strategy Works - Moving Wordpress
Digital Strategy Works - Moving WordpressDigital Strategy Works - Moving Wordpress
Digital Strategy Works - Moving Wordpress
 
Manage WordPress with Awesome using wp cli
Manage WordPress with Awesome using wp cliManage WordPress with Awesome using wp cli
Manage WordPress with Awesome using wp cli
 
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
 
Challenges of container configuration
Challenges of container configurationChallenges of container configuration
Challenges of container configuration
 
Create an auto-extractible shell script linux
Create an auto-extractible shell script linuxCreate an auto-extractible shell script linux
Create an auto-extractible shell script linux
 
Command line for the beginner - Using the command line in developing for the...
Command line for the beginner -  Using the command line in developing for the...Command line for the beginner -  Using the command line in developing for the...
Command line for the beginner - Using the command line in developing for the...
 
WP migrations
WP migrationsWP migrations
WP migrations
 
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData AnalysisDA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
DA Lab Manual Data Analysis Data AnalysisData AnalysisData AnalysisData Analysis
 
Web development automatisation for fun and profit (Artem Daniliants)
Web development automatisation for fun and profit (Artem Daniliants)Web development automatisation for fun and profit (Artem Daniliants)
Web development automatisation for fun and profit (Artem Daniliants)
 
Install apache on centos
Install apache on centosInstall apache on centos
Install apache on centos
 
Document Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OSDocument Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OS
 
2011 384 hackworth_ppt
2011 384 hackworth_ppt2011 384 hackworth_ppt
2011 384 hackworth_ppt
 
Building robust and friendly command line applications in go
Building robust and friendly command line applications in goBuilding robust and friendly command line applications in go
Building robust and friendly command line applications in go
 

Kürzlich hochgeladen

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 

Kürzlich hochgeladen (20)

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 

Oracle Schema Export and Import

  • 1. Oracle Exports and Imports windows 7 Below is Export and Import step for example schema ( HR, OE , PM , IX , SH , BI ) Exports dump file from SERVER A for schema ( HR, OE , PM , IX , SH , BI ) 1. Creat directory c:Temphrdump Creat directory c:Tempxedump Creat directory c:Temppmdump Creat directory c:Tempixdump Creat directory c:Tempshdump Creat directory c:Tempbidump 2.Login in via sqlplus , connect system/passwd sqlplus> create directory hrdump as 'C:Temphrdump'; sqlplus> create directory xedump as 'C:Tempxedump'; sqlplus> create directory pmdump as 'C:Temppmdump'; sqlplus> create directory ixdump as 'C:Tempixdump'; sqlplus> create directory shdump as 'C:Tempshdump'; sqlplus> create directory bidump as 'C:Tempbidump'; sqlplus> commit;
  • 2. 3. start --> run --> cmd (full path to be mentioned ) oracleproduct11.2.0dbhome_1BIN> [One by one ] (for HR )expdp system/passwd schemas=HR directory=hrdump dumpfile=hrdump.dmp logfile=rexp.log (for OE )expdp system/passwd schemas=OE directory=oedump dumpfile=oedump.dmp logfile=rexp.log (for PM )expdp system/passwd schemas=PM directory=pmdump dumpfile=pmdump.dmp logfile=rexp.log (for IX )expdp system/passwd schemas=IX directory=ixdump dumpfile=ixdump.dmp logfile=rexp.log (for SH )expdp system/passwd schemas=SH directory=shdump dumpfile=shdump.dmp logfile=rexp.log (for BI )expdp system/passwd schemas=BI directory=bidump dumpfile=bidump.dmp logfile=rexp.log 4. Check c:/Temp/ you will find the dumps files.., Export done. Import dump file to SERVER B for schema ( HR, OE , PM , IX , SH , BI ) 1. login in to sqlplus .. system/passwd sql>create tablespace EXAMPLE datafile (full path to be mentioned )'/oradata/orcl/EXAMPLE01.DBF' size 10M autoextend on maxsize 250M extent management local uniform size 64K;
  • 3. (Info: EXAMPLE tablespace is newly created ) to check the existing or after create tablespace , you can check running select tablespace_name from dba_tablespaces; select name from v$datafile;) 2. Create the user CREATE USER HR IDENTIFIED BY hr DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE TEMP; GRANT CONNECT , RESOURCE TO HR; CREATE USER OE IDENTIFIED BY oe DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE TEMP; GRANT CONNECT , RESOURCE TO OE; CREATE USER PM IDENTIFIED BY pm DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE TEMP; GRANT CONNECT , RESOURCE TO PM; CREATE USER SH IDENTIFIED BY sh DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE TEMP; GRANT CONNECT , RESOURCE TO sh; CREATE USER BI IDENTIFIED BY bi DEFAULT TABLESPACE EXAMPLE TEMPORARY TABLESPACE TEMP; GRANT CONNECT , RESOURCE TO bi;
  • 4. 3. create Temp HR ,OE ,, PM , IX and SH dumps in window files first in SERVER B Create directory c:Temphrdump Create directory c:Tempxedump Create directory c:Temppmdump Create directory c:Tempixdump Create directory c:Tempshdump Create directory c:Tempbidump Copy the dumps files which you exported in SERVER A TO SERVER B 4. login to sqlplus conect system/passwd create directory hrdump as 'C:Temphrdump'; commit; create directory oedump as 'C:Tempoedump'; commit; create directory pmdump as 'C:Temppmdump'; commit; create directory ixdump as 'C:Tempixdump'; commit; create directory shdump as 'C:Tempshdump';
  • 5. commit; create directory bidump as 'C:Tempbidump'; commit; 5. start --> run --> cmd (full path to be mentioned ) oracleproduct11.2.0dbhome_1BIN> [Run One by one ] >impdp system/welcome schemas=HR directory=hrdump dumpfile=HRDUMP.DMP logfile=hrimp.log >impdp system/welcome schemas=OE directory=oedump dumpfile=OEDUMP.DMP logfile=oeimp.log >impdp system/welcome schemas=PM directory=pmdump dumpfile=PMDUMP.DMP logfile=pmimp.log >impdp system/welcome schemas=IX directory=ixdump dumpfile=IXDUMP.DMP logfile=iximp.log >impdp system/welcome schemas=SH directory=shdump dumpfile=SHDUMP.DMP logfile=shimp.log >impdp system/welcome schemas=BI directory=bidump dumpfile=BIDUMP.DMP logfile=biimp.log