All language subtitles for [SubtitleTools.com] Data Pump Import - Learning Oracle 12c [Video]

af Afrikaans
ak Akan
sq Albanian
am Amharic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

In this lesson, we're going to look at data migration

using Data Pump Import.

So Data Pump Import is the partner tool

to Data Pump Export.

So data is exported, or taken out of the database,

into files using Export.

And Import will take it from the file

back into a table in the database.

So again, we used to use an older tool

to import data, the imp command line

tool, that could import data that had been exported

using the exp tool.

But starting in 10g, Oracle recommends

the use of Data Pump Import.

And primarily, because it has a number of different

features, and it can be up to 15 times faster in importing data.

It also has a number of features,

such as compression, encryption, some important things that we

can use that are important when we migrate data

from one place to another.

It's also important to note that Data Pump Import and Export are

also integrated with tools such as Oracle Enterprise Manager

and can be accessed from the GUI using those tools.

So let's take a look at what we have here.

We already have some exported files.

In order to run Data Pump Import,

we're going to create a parameter

file that will specify how we want the data imported.

So to verify something here first,

let's log in as Scott and select star from dept_copy.

So we have no table called dept_copy at this point.

What we're going to do is we're going to import data

from the dump file that was dumped out of the DEPT table

into a table called dept_copy.

So we need to construct our import parameter file.

I'm just going to create a text file here called dept_imp.par.

So let's add some commands here.

User ID will be Scott.

The directory object we're using will be dept_external.

The dump file we'll specify as dept_exp01.dump.

Notice that we have that file right here.

It contains the data from the DEPT table.

Logfile will be dept_imp.log.

And here's the key.

We're going to say remap_table equals scott.dept:dept_copy.

Every reference there is in this dump file

to the scott.dept table will now be

mapped to a new table called dept_copy.

Save and close this.

And in order to invoke our Data Pump Import tool, we use impdp.

parfile will be dept_imp.par.

So that is our dept_imp parameter file, and hit Enter.

And notice that it imports the scott.dept_copy table and puts

four rows.

So let's take a look, if we can see the data.

Select star from dept_copy, which if you recall

did not exist before we ran our import.

And there is the data.

Let's look at one more thing.

What would happen if we ran this again,

if it was our intent to load the same data into the table again?

Notice that it says, completes with 1 error.

And it says the table scott.dept_copy exists.

And so it says any dependent metadata

and data will be skipped.

So if we want to do something like that, as load

the data again, we need to make a modification to our parameter

file.

We're just going to add, table_exists_action

equals append.

So there is a number of different table_exists_action

commands that we can use-- append, truncate,

a number of different ones.

So we want to append that data into the table again.

We'll save it, and run our Data Pump Import again.

Again, we're importing data from that dump file into the table.

It says it's completed successfully.

Let's log in as Scott, do a select star from dept_copy.

And then notice that the data was imported again.

So that's how we can use Data Pump

Import to leverage data migration in an Oracle

database.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.