Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,250 --> 00:00:03,000
In this lesson, we're
going to take a look
2
00:00:03,000 --> 00:00:06,510
at pluggable databases, or PDB.
3
00:00:06,510 --> 00:00:10,620
Pluggable databases are a
core part of the Oracle 12c
4
00:00:10,620 --> 00:00:12,500
Multitenant architecture.
5
00:00:12,500 --> 00:00:16,700
Now Multitenant is a pay extra
option for the Oracle Database,
6
00:00:16,700 --> 00:00:18,210
it doesn't come included.
7
00:00:18,210 --> 00:00:21,330
But it has a number of
benefits that in many cases
8
00:00:21,330 --> 00:00:24,010
can make it well
worth the extra cost.
9
00:00:24,010 --> 00:00:27,780
The Multitenant architecture
allows for the virtualization
10
00:00:27,780 --> 00:00:28,930
of databases.
11
00:00:28,930 --> 00:00:33,300
So we have virtualization
in products like Oracle VM
12
00:00:33,300 --> 00:00:36,870
and VMware that allow you
to virtualize servers,
13
00:00:36,870 --> 00:00:39,480
a single small group
of physical servers
14
00:00:39,480 --> 00:00:42,680
that can be virtualized to
hundreds of virtual servers.
15
00:00:42,680 --> 00:00:44,430
And we can do the
same kinds of things
16
00:00:44,430 --> 00:00:47,850
here with the Oracle 12c
Multitenant architecture
17
00:00:47,850 --> 00:00:50,370
except we do them for databases.
18
00:00:50,370 --> 00:00:55,540
It allows rapid provisioning
and cloning of databases.
19
00:00:55,540 --> 00:00:57,390
So in the pluggable
architecture,
20
00:00:57,390 --> 00:00:59,040
we have container databases.
21
00:00:59,040 --> 00:01:02,520
And those containers contain
multiple pluggable label
22
00:01:02,520 --> 00:01:03,820
databases.
23
00:01:03,820 --> 00:01:07,380
So we can have an HR
database, CRM, order entry,
24
00:01:07,380 --> 00:01:11,220
all of those types of things
as pluggable databases
25
00:01:11,220 --> 00:01:13,780
within a container database.
26
00:01:13,780 --> 00:01:18,330
What this allows us to do is
manage many databases as one.
27
00:01:18,330 --> 00:01:22,290
So to a user's perspective,
they connect to the Order Entry
28
00:01:22,290 --> 00:01:24,780
database, and they
see it just as
29
00:01:24,780 --> 00:01:28,150
if it was a database on
a separate physical host.
30
00:01:28,150 --> 00:01:29,520
But the truth is
they're actually
31
00:01:29,520 --> 00:01:33,060
going through the PROD, or
production container database,
32
00:01:33,060 --> 00:01:35,220
to the OE database.
33
00:01:35,220 --> 00:01:37,870
That's actually a
pluggable database.
34
00:01:37,870 --> 00:01:43,080
However, the DBA can manage all
of the plugging all databases
35
00:01:43,080 --> 00:01:45,010
through the container database.
36
00:01:45,010 --> 00:01:48,690
So this can be incredibly
efficient for a DBA
37
00:01:48,690 --> 00:01:51,690
since they don't have
to individually manage
38
00:01:51,690 --> 00:01:54,570
every one of the
pluggable databases.
39
00:01:54,570 --> 00:01:56,250
So the benefits of
this architecture
40
00:01:56,250 --> 00:02:00,840
include the patch
wants per CDB method.
41
00:02:00,840 --> 00:02:04,470
So prior to Oracle 12c's
Multitenant architecture,
42
00:02:04,470 --> 00:02:07,610
when a DBA wanted
to do patching,
43
00:02:07,610 --> 00:02:09,660
say security
patching, they would
44
00:02:09,660 --> 00:02:12,090
have to go to each
individual machine that
45
00:02:12,090 --> 00:02:15,330
had an Oracle installation,
patch that software,
46
00:02:15,330 --> 00:02:17,490
which would require the
database in most cases
47
00:02:17,490 --> 00:02:21,330
to be down, causing an
outage for the organization,
48
00:02:21,330 --> 00:02:24,550
and then do the patching
and then bring it back up.
49
00:02:24,550 --> 00:02:26,550
But with the pluggable
build architecture,
50
00:02:26,550 --> 00:02:29,620
we can patch once per
container database.
51
00:02:29,620 --> 00:02:32,490
And that basically rolls down
to the pluggable databases
52
00:02:32,490 --> 00:02:33,740
as well.
53
00:02:33,740 --> 00:02:36,900
And this can be incredibly
beneficial in environments
54
00:02:36,900 --> 00:02:39,720
where security is
of a high concern,
55
00:02:39,720 --> 00:02:43,200
because Oracle releases
quarterly patches for security
56
00:02:43,200 --> 00:02:44,190
updates.
57
00:02:44,190 --> 00:02:46,680
And if those have to be
applied every quarter
58
00:02:46,680 --> 00:02:48,900
in your organization,
you want to try
59
00:02:48,900 --> 00:02:53,050
to limit the downtime for
patching as much as possible.
60
00:02:53,050 --> 00:02:57,240
The pluggable architecture also
allows for quick provisioning.
61
00:02:57,240 --> 00:02:59,700
So provisioning is a
term that's normally
62
00:02:59,700 --> 00:03:02,610
applied to virtualization,
server virtualization
63
00:03:02,610 --> 00:03:05,910
if you will that refers
to the act of allocating
64
00:03:05,910 --> 00:03:08,010
a resource quickly and easily.
65
00:03:08,010 --> 00:03:10,950
And we can do provisioning
with pluggable databases
66
00:03:10,950 --> 00:03:13,620
very quickly for new databases.
67
00:03:13,620 --> 00:03:15,560
In the pluggable
build architecture,
68
00:03:15,560 --> 00:03:19,140
the container database
has a seed PDB,
69
00:03:19,140 --> 00:03:21,880
or pluggable
database, by default.
70
00:03:21,880 --> 00:03:25,050
So every container database
has a seed database.
71
00:03:25,050 --> 00:03:27,810
Let's say we wanted to
make a quick allocation
72
00:03:27,810 --> 00:03:30,060
or provisioning
of a new database.
73
00:03:30,060 --> 00:03:34,070
All we would have to do is
clone that seed database.
74
00:03:34,070 --> 00:03:37,170
Then we have a copy that's
ready for day to be loaded into
75
00:03:37,170 --> 00:03:39,610
and to be operated on.
76
00:03:39,610 --> 00:03:41,380
With a pluggable
architecture, we can also
77
00:03:41,380 --> 00:03:43,030
do rapid cloning as well.
78
00:03:43,030 --> 00:03:46,810
So we can clone PDBs
in seconds rather than
79
00:03:46,810 --> 00:03:50,430
the time it would normally
take to make an entire copy.
80
00:03:50,430 --> 00:03:53,470
And that usually would involve
creating another database,
81
00:03:53,470 --> 00:03:56,320
exporting the data out
of the source database,
82
00:03:56,320 --> 00:03:57,970
importing it into
the destination,
83
00:03:57,970 --> 00:03:59,630
all of those kinds of things.
84
00:03:59,630 --> 00:04:01,390
But with the pluggable
architecture,
85
00:04:01,390 --> 00:04:04,870
we simply can clone
the PDB in seconds,
86
00:04:04,870 --> 00:04:07,180
because all of those
basic resources, data,
87
00:04:07,180 --> 00:04:09,970
information about the
database are already there
88
00:04:09,970 --> 00:04:11,030
in the container.
89
00:04:11,030 --> 00:04:12,970
So it can be easily cloned.
90
00:04:12,970 --> 00:04:17,770
We can also clone databases
or PDB is between CDBs.
91
00:04:17,770 --> 00:04:22,480
So if we had a requirement
to copy the production HR
92
00:04:22,480 --> 00:04:25,690
database, in this case,
into a test environment,
93
00:04:25,690 --> 00:04:29,410
if we were to do that
the old way prior to 12c,
94
00:04:29,410 --> 00:04:31,780
we would have to create a
new database in the test
95
00:04:31,780 --> 00:04:34,810
environment, export the
data from the source,
96
00:04:34,810 --> 00:04:37,940
import into the destination,
so on and so forth.
97
00:04:37,940 --> 00:04:41,470
But with this architecture, ,
we can easily clone that PDB
98
00:04:41,470 --> 00:04:44,680
in seconds because all the
information is already there.
99
00:04:44,680 --> 00:04:48,340
Another benefit for PDBs is
the ability to do migration.
100
00:04:48,340 --> 00:04:51,850
And migration of
data between servers
101
00:04:51,850 --> 00:04:54,580
can be a really difficult
thing to get a handle
102
00:04:54,580 --> 00:04:57,790
on in a database environment,
because normally, it
103
00:04:57,790 --> 00:05:00,910
would involve doing a
backup of the database,
104
00:05:00,910 --> 00:05:04,060
moving all those files
over to the new server,
105
00:05:04,060 --> 00:05:06,120
restoring that database,
all of those steps
106
00:05:06,120 --> 00:05:07,540
that you would
have to go through.
107
00:05:07,540 --> 00:05:09,460
But with the pluggable
architecture,
108
00:05:09,460 --> 00:05:12,850
it's called pluggable because
we simply unplug a database
109
00:05:12,850 --> 00:05:14,810
and plug it in somewhere else.
110
00:05:14,810 --> 00:05:16,900
So we have an old
container database here,
111
00:05:16,900 --> 00:05:20,830
and we want to migrate the
HR and CRM databases out
112
00:05:20,830 --> 00:05:22,450
into a new container
database, which
113
00:05:22,450 --> 00:05:25,190
might be on a different
server, different storage,
114
00:05:25,190 --> 00:05:28,280
however our requirements
aligned for us to do this.
115
00:05:28,280 --> 00:05:31,360
We simply unplug it, plug
it into the new container
116
00:05:31,360 --> 00:05:33,710
database.
117
00:05:33,710 --> 00:05:35,690
And all of this is done
with SQL statements.
118
00:05:35,690 --> 00:05:37,670
There's no special tools used.
119
00:05:37,670 --> 00:05:40,760
It's just SQL commands
that allow us to leverage
120
00:05:40,760 --> 00:05:43,480
the pluggablee architecture.
9826
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.