Oracle Database Tutorial 53 : Data pump expdp - How to Export tablespace in Oracle Database
Key Takeaways
Exports tablespace in Oracle Database using expdp Data Pump
Full Transcript
what's up internet I'm Manish from rebellionrider.com today's video is the second tutorial on the data pump in Oracle database Series in the previous video we learned how to export full database using expdp export utility of data pump if you haven't watched it then just for you link is in the description box and today we will learn how to export table spaces using expdp export utility of data pump in Oracle database exporting table spaces means only the tables contained in a specified set of table space are unloaded along with its dependent object exporting table space using expdp export bump utility is also a way of taking logical backup of table space of your database so let's move ahead and see how we can export the table space first log on to your database sis user v s DB privileges okay here we are now I'm connected to my database SS user now we have to decide which table space we want to export in order to do that first we need to know how many table spaces we have and what are their names for that we can query V do table space view provided by Oracle database as you can see I have six table spaces in my Oracle database but in your system it can be different from these six I want to export my users and example table space let's see how we can export these two table spaces using expdp export utility step one create a directory you can create a directory anywhere in your system or on your network if you remember in my previous tutorial I created a directory in my D drive by the name of data pump here it is now I will create another directory by the name of table space export inside this data bom directory the path of our table space export directory is D data pump table space export so our directory has been created let's move on to our second step step two create directory object and Grant it mandatory privileges let's get back to our Command Prompt once again and here we are we use create directory command to create a directory object let's see how this command starts with create directory keyword followed by expore tblsp which is the name of our directory object you can give whatever name you want to your directory object then we have keyword s which is followed by the directory path and closed in single code let's hit the enter directory created now we have to Grant read and write privileges on this directory object expore tblsp to the user from which you want to perform the export in my case I want to perform the export using HR user thus I will grant this privilege to my HR user this grant query is quite simple using this grant query we are granting the read and write privileges on the the directory table space export using the directory object expore tblsp to the user HR everything is set now it's time to perform the export as you can see right now I am on my SQL prompt and expdp is a command line utility which can only be executed on command prompt not on SQL prompt thus we have to come out of the SQL prompt for that simply write exit and hit enter here we are let me first clear the screen so now we are on the third and the last step of exporting table space using expdp export utility where we will perform the export of the table spaces as we decided in the beginning of the tutorial that we will export the users and example table spaces thus we will write the command to export these two table spaces let's see how let's take a look at this command at the starting we have expdp which is our data pump utility followed by the users credentials through which you want to perform the export though specifying the Sid is optional but it's a good practice for specifying a sid of the database just right at the rate followed by the Sid as I did here next we have directory parameter here we have to specify our directory object which we created in the Second Step as the value of this parameter this parameter tells export utility the location where all the files of export will get saved next we have dump file parameter dump files are the files which will contain all the exported data using this parameter you can set the name of your dump file just like here I have set the name as TBL space. DMP you can give whatever name you want if you want to have more than one Dum files then you can specify their names here separated by commas remember Dum files are written in binary language by server and they must not be tempered by any user regarding the extension of your dump file you can give whatever extension you want to it but it's recommended as well as a good practice to give them default extension which is DMP next we have loog file parameter using log file parameter you can set the name of your log files log files are human readable files which consist of all the logs of your export log files are very helpful in tracking the status of your export you can set whatever name you want to your lock file and at the end we have table space parameter first this parameter tells the data pump that we want to perform a table space export which means that we want to run a data pump expd utility in table space mode second using this table space parameter you can specify the name of the table space which you want to export for example here I have specified users and example table space let's get back to our Command Prompt and execute this expdp export command export is successful let's quickly take a look of our tabl space export directory as you can see here we have our Dum files and log files that's it for today hope you learned something you can also read my blog on the the same topic there you can find all these command which I performed here along with more in-depth knowledge thanks for all your love and support hope you all are enjoying my videos if you want to suggest some videos then comment below you can also comment your feedbacks and please hit the like button if you like my video that really makes me happy and keeps me motivated for doing more such videos also you can share my videos and blog links on your social and helps me reach out to more people and don't forget to subscribe this is Manish
Original Description
Oracle Database tutorial/SQL Tutorial 52 On Data Pump expdp export utility here in this tutorial you'll learn how to export tablespace using expdp export (a.k.a. How To Take Logical Backup of tablespaces in oracle database). Data pump expdp Tablespace Mode
------------------------------------------------------------------------
►►►LINKS◄◄◄
Blog: http://bit.ly/export_tablespace_expdp_datapump
Previous Tutorial (Tut 52 Full export) http://youtu.be/K8_PjUksT54
-------------------------------------------------------------------------
Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage
https://copy.com?r=kb4rc1
--------------------------------------------------------------------------
►Make sure you SUBSCRIBE and be the 1st one to see my videos!
--------------------------------------------------------------------------
Amazon Wishlist: http://bit.ly/wishlist-amazon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
►►►Find me on Social Media◄◄◄
Follow What I am up to as it happens on
https://twitter.com/rebellionrider
https://www.facebook.com/imthebhardwaj
http://instagram.com/rebellionrider
https://plus.google.com/+Rebellionrider
http://in.linkedin.com/in/mannbhardwaj/
http://rebellionrider.tumblr.com/
http://www.pinterest.com/rebellionrider/
You can also Email me at
RebellionRiderYT@gmail.com
Please please LIKE and SHARE my videos it makes me happy.
Thanks for liking, commenting, sharing and watching more of our videos
This is Manish from RebellionRider.com
♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Manish Sharma · Manish Sharma · 60 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
▶
Oracle Database tutorials 1: How to install Oracle Database 11g on windows 7
Manish Sharma
Oracle Database tutorials 2:How To install SQL Developer on windows 7
Manish Sharma
Oracle Database tutorials 3:How to enable Line numbers in SQL Developer.
Manish Sharma
Oracle Database tutorials 4: database connectivity using SQL developer and command prompt
Manish Sharma
Oracle Database tutorials 5: how to Fetch Data using SELECT - SQL statement by Manish Sharma
Manish Sharma
Oracle Database11g tutorials 6 | | How to use Concatenation operator, character String
Manish Sharma
Oracle Database11g tutorials 7 | |SQL DISTINCT keyword || SQL tutorials
Manish Sharma
Canon EOS 600D 2 lens kit/Canon rebell EOS T3i 2 lens kit Unboxing
Manish Sharma
First look: ORACLE CERTIFIED ASSOCIATE (OCA) CERTIFICATE - ORACLE DATABASE ADMINISTRATOR
Manish Sharma
Oracle Database11g tutorials 8 || SQL DISTINCT with multiple columns |SQL Distinct with Two columns
Manish Sharma
Oracle Database11g tutorials 9 || What is archive log mode and how to enable archive log mode
Manish Sharma
Oracle Database11g tutorials 10 || SQL Single Row Function (SQL Functions )
Manish Sharma
Oracle Database11g tutorials 11: SQL case manipulation function in Oracle Database
Manish Sharma
how to add channel trailer and section on your youtube channel 2014
Manish Sharma
Oracle Database11g tutorials 12 || SQL Concat Function - SQL character manipulation function
Manish Sharma
Oracle Database11g tutorials 13 || SQL substr function / SQL substring function
Manish Sharma
Oracle Database11g tutorials 14 : How to CREATE TABLE using sql developer and command prompt
Manish Sharma
SQL tutorials 15 || How To CREATE TABLE using enterprise manager 11g
Manish Sharma
Oracle Database11g tutorials 16: How to uninstall oracle 11g from windows 7 64 bit
Manish Sharma
ORACLE CERTIFIED PROFESSIONAL(OCP) CERTIFICATE First look - ORACLE DATABASE ADMINISTRATOR
Manish Sharma
Plantronics audio 655 USB headset with Mic Unboxing and Review and Plantronics audio 655 Mic test
Manish Sharma
SQL tutorials 17: SQL Primary Key constraint, Drop primary Key
Manish Sharma
SQL tutorials 18: SQL Foreign Key Constraint By Manish Sharma
Manish Sharma
SQL tutorial 19: ON DELETE SET NULL clause of Foreign Key By Manish Sharma (RebellionRider)
Manish Sharma
SQL tutorials 20: On Delete Cascade Foreign Key By Manish Sharma (RebellionRider)
Manish Sharma
SQL tutorial 21: How To Rename Table in SQL using ALTER TABLE statement By Manish Sharma
Manish Sharma
SQL tutorial 22: How to Add / Delete column from an existing table using alter table
Manish Sharma
SQL tutorial 23: Rename and Modify Column Using Alter Table By Manish Sharma (RebellionRider)
Manish Sharma
SQL tutorial 24 :SQLJoins- Natural Join With ON and USING clause By Manish/Rebellionrider
Manish Sharma
Oracle Database11g tutorials 25: How to install Oracle Database 11g Express Edition R2 on Windows 7
Manish Sharma
SQL tutorial 26: Introduction to SQL Joins in Oracle Database
Manish Sharma
Vidcon 2014 YouTube Fan Funding: How to enable fan funding on YouTube Channel
Manish Sharma
SQL tutorial 27: Right Outer Join in SQL by Manish Sharma for RebellionRider
Manish Sharma
SQL tutorial 28: Left Outer Join By Manish Sharma / RebellionRider
Manish Sharma
SQL tutorial 29: Full Outer Join with example By Manish Sharma/ RebellionRider
Manish Sharma
SQL tutorial 30: Inner Join In SQL by Manish Sharma/RebellionRider
Manish Sharma
SQL tutorial 31 : SQL Cross Join In Oracle Database By Manish Sharma from RebellionRider
Manish Sharma
SQL tutorial 32: How To Insert Data into a Table Using SQL Developer
Manish Sharma
SQL tutorial 33:How To Insert Data into a Table Using SQL INSERT INTO dml statement
Manish Sharma
SQL tutorial 34: How to copy /Insert data into a table from another table using INSERT INTO SELECT
Manish Sharma
SQL tutorial 35: DELETE and TRUNCATE how to delete data from a table
Manish Sharma
SQL tutorial 36: how to create database using database configuration assistant DBCA
Manish Sharma
SQL tutorial 37: How to create NEW USER account using Create User statement in Oracle database
Manish Sharma
SQL tutorial 38: How to create user using SQL Developer in Oracle database
Manish Sharma
SQL tutorial 39: How to create user in oracle using Enterprise Manager
Manish Sharma
SQL tutorial 40: DBA Trick, How to drop a user when it is connected to the database
Manish Sharma
Motorola Moto G 2nd Generation / G2 Unboxing and Review
Manish Sharma
SQL tutorial 41: How to UNLOCK USER in oracle Database
Manish Sharma
SQL tutorial 42: How to Unlock user using SQL Developer By Manish Sharma RebellionRider
Manish Sharma
SQL tutorial 43: How to create an EXTERNAL USER in oracle database By Manish Sharma RebellionRider
Manish Sharma
SQL tutorial 44: How to import data from Microsoft Excel to Oracle Database using SQL Developer
Manish Sharma
SQL tutorial 45: Introduction to user Privileges in Oracle Database By Manish Sharma RebellionRider
Manish Sharma
SQL tutorial 46: What are System Privileges & How To Grant them using Data Control Language
Manish Sharma
SQL tutorial 47: How to Grant Object Privileges With Grant Option in Oracle Database
Manish Sharma
SQL tutorial 48: How to create Roles in Oracle Database
Manish Sharma
SQL tutorial 49: CASE - Simple Case Expression in Oracle Database (1/2)
Manish Sharma
SQL tutorial 50: CASE - Searched Case Expression In Oracle (2/2)
Manish Sharma
SQL tutorial 51: DECODE function in Oracle Database By Manish Sharma (RebellionRider)
Manish Sharma
Oracle Database Tutorial 52 : Data Pump expdp - How to Export full database using expdp
Manish Sharma
Oracle Database Tutorial 53 : Data pump expdp - How to Export tablespace in Oracle Database
Manish Sharma
Related AI Lessons
🎓
Tutor Explanation
DeepCamp AI