Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,420 --> 00:00:04,510
In this lesson, we
continue with the creation
2
00:00:04,510 --> 00:00:05,890
of an Oracle database.
3
00:00:05,890 --> 00:00:08,020
We've put in our
password information.
4
00:00:08,020 --> 00:00:10,100
And we click Next.
5
00:00:10,100 --> 00:00:13,400
Our next option is for
Listener Selection.
6
00:00:13,400 --> 00:00:16,160
So we've already configured
a listener called
7
00:00:16,160 --> 00:00:19,370
listener running on port 1521.
8
00:00:19,370 --> 00:00:21,410
And that status is up.
9
00:00:21,410 --> 00:00:23,630
And so that's the listener
that it wants to use.
10
00:00:23,630 --> 00:00:27,700
And we will allow it to do
so and leave that selected.
11
00:00:27,700 --> 00:00:29,730
Click next.
12
00:00:29,730 --> 00:00:31,100
Now, we come to
the portion where
13
00:00:31,100 --> 00:00:34,970
we choose a lot of the
configuration parameters of how
14
00:00:34,970 --> 00:00:37,050
the database will be stored.
15
00:00:37,050 --> 00:00:39,020
So if we click this
dropdown, notice
16
00:00:39,020 --> 00:00:42,050
that we have a couple of
options for storage type,
17
00:00:42,050 --> 00:00:45,650
either File System or
Automatic Storage Management.
18
00:00:45,650 --> 00:00:49,880
So ASM is Oracle's file
system for databases.
19
00:00:49,880 --> 00:00:53,120
And that requires a
separate installation
20
00:00:53,120 --> 00:00:56,510
of the grid infrastructure,
which is the software that's
21
00:00:56,510 --> 00:00:58,330
used for RAC.
22
00:00:58,330 --> 00:01:01,360
We can use ASM
without running RAC,
23
00:01:01,360 --> 00:01:04,570
but it does require us to
install all of that framework.
24
00:01:04,570 --> 00:01:07,150
So a lot of times,
that's not done as often
25
00:01:07,150 --> 00:01:11,170
as just installing
it to a file system.
26
00:01:11,170 --> 00:01:14,990
We can use database file
locations from a template.
27
00:01:14,990 --> 00:01:17,570
But we're going to choose
Use Common Location
28
00:01:17,570 --> 00:01:19,610
for All Database Files.
29
00:01:19,610 --> 00:01:24,890
And that location will be in the
Oracle base directory /oradata.
30
00:01:24,890 --> 00:01:27,980
We can browse and choose
somewhere else if we wish.
31
00:01:27,980 --> 00:01:30,260
But that will be satisfactory.
32
00:01:30,260 --> 00:01:33,740
We also want to click
Use Oracle-Managed Files.
33
00:01:33,740 --> 00:01:37,190
That's going to give us the
option of allowing Oracle
34
00:01:37,190 --> 00:01:41,510
to size our database
files to allow
35
00:01:41,510 --> 00:01:45,110
them to automatically
extend and really manage
36
00:01:45,110 --> 00:01:49,970
a lot of the day-to-day aspects
of data file management.
37
00:01:49,970 --> 00:01:51,980
So that's the
database file section.
38
00:01:51,980 --> 00:01:54,650
Now we have the Recovery
Related Files Section.
39
00:01:54,650 --> 00:01:57,890
And this is something that's
really new in 12c, at least
40
00:01:57,890 --> 00:02:01,430
this part of the DBCA process.
41
00:02:01,430 --> 00:02:04,040
It defines this a
little more specifically
42
00:02:04,040 --> 00:02:07,940
than it did in previous
versions of the DBCA.
43
00:02:07,940 --> 00:02:11,720
So again, we have storage type
of either putting our recovery
44
00:02:11,720 --> 00:02:16,620
area on ASM or File
System, which we'll leave.
45
00:02:16,620 --> 00:02:19,860
We do have the option of just
not specifying a Fast Recovery
46
00:02:19,860 --> 00:02:20,880
Area at all.
47
00:02:20,880 --> 00:02:22,960
But we'll leave that selected.
48
00:02:22,960 --> 00:02:26,430
So the Fast Recovery
Area is just a directory
49
00:02:26,430 --> 00:02:31,830
that Oracle defines to hold all
of the Recovery Related Files--
50
00:02:31,830 --> 00:02:36,450
so backup files, image
copy backup files,
51
00:02:36,450 --> 00:02:37,680
archive log files.
52
00:02:37,680 --> 00:02:40,110
All of those types
of files are kept
53
00:02:40,110 --> 00:02:44,430
in one place for easy
access and for safety.
54
00:02:44,430 --> 00:02:46,770
Rather than having
those files spread
55
00:02:46,770 --> 00:02:49,950
all over the file system, it
keeps them all in one place
56
00:02:49,950 --> 00:02:51,870
and manages them.
57
00:02:51,870 --> 00:02:55,680
Now, we also need to specify
this size for the Fast Recovery
58
00:02:55,680 --> 00:02:56,790
Area.
59
00:02:56,790 --> 00:03:00,550
So it has it as
being 4815 megabytes.
60
00:03:00,550 --> 00:03:02,610
So that will be adequate for us.
61
00:03:02,610 --> 00:03:06,240
If we did have a database
that required more than that--
62
00:03:06,240 --> 00:03:09,210
so we did lots of backups
and we wanted to keep lots
63
00:03:09,210 --> 00:03:10,230
of backups--
64
00:03:10,230 --> 00:03:12,330
we might need to increase that.
65
00:03:12,330 --> 00:03:15,060
Click Next.
66
00:03:15,060 --> 00:03:17,190
Next is the Database
Components section,
67
00:03:17,190 --> 00:03:19,260
of the options that we have.
68
00:03:19,260 --> 00:03:22,080
If we've installed these options
as a part of the Enterprise
69
00:03:22,080 --> 00:03:26,160
Edition, we have the option
here of including all
70
00:03:26,160 --> 00:03:29,490
of the tables, views, indexes--
71
00:03:29,490 --> 00:03:31,110
all of the schema
components that
72
00:03:31,110 --> 00:03:33,850
go along with those options.
73
00:03:33,850 --> 00:03:37,440
Now, what I'm going to do
is deselect most of these.
74
00:03:37,440 --> 00:03:40,410
Because they're really not
necessary for our purposes
75
00:03:40,410 --> 00:03:43,650
and they can create a lot
of clutter in the database.
76
00:03:43,650 --> 00:03:47,250
I'm going to go ahead and
leave the JVM running here.
77
00:03:47,250 --> 00:03:51,300
But next, I'm going to
click the Sample Schemas.
78
00:03:51,300 --> 00:03:54,180
The Sample Schemas
make it easy to do
79
00:03:54,180 --> 00:03:56,340
some simple select statements.
80
00:03:56,340 --> 00:04:01,410
It has some basic database
tables that we could play with.
81
00:04:01,410 --> 00:04:03,990
So they're a useful
thing to have.
82
00:04:03,990 --> 00:04:05,970
From a security
standpoint, however, we
83
00:04:05,970 --> 00:04:09,930
wouldn't want to put them in
an actual company database
84
00:04:09,930 --> 00:04:12,510
because they are
accounts that are known.
85
00:04:12,510 --> 00:04:15,940
And so that lends itself
to poor security framework.
86
00:04:15,940 --> 00:04:19,500
But for our purposes, we
want to include those.
87
00:04:19,500 --> 00:04:23,100
It's a bug in the installer--
or the DBCA, rather--
88
00:04:23,100 --> 00:04:27,010
that the sample schemas are
not allowed to be selected.
89
00:04:27,010 --> 00:04:28,470
So what we're going
to do is, we're
90
00:04:28,470 --> 00:04:30,840
going to go down to
this Custom Scripts.
91
00:04:30,840 --> 00:04:33,630
And we're going to actually
find the script in the database
92
00:04:33,630 --> 00:04:36,500
installation that
creates these scripts.
93
00:04:36,500 --> 00:04:38,550
So I'm going to click Browse.
94
00:04:38,550 --> 00:04:41,750
This is going to take us to
the Oracle base directory.
95
00:04:41,750 --> 00:04:48,960
Click product, 12.10, dbhome_1.
96
00:04:48,960 --> 00:04:55,330
And we want to go over to
a directory called RDBMS.
97
00:04:55,330 --> 00:04:58,310
Then, the directory ADMIN.
98
00:04:58,310 --> 00:05:03,470
We want to go all
the way over to find
99
00:05:03,470 --> 00:05:14,250
a script called utlsampl,
or utl sample dot SQL.
100
00:05:14,250 --> 00:05:17,240
So that's the full directory.
101
00:05:17,240 --> 00:05:19,730
Click next.
102
00:05:19,730 --> 00:05:22,880
Next, we have options about how
we will size this in memory.
103
00:05:22,880 --> 00:05:27,230
So how much memory are we giving
to Oracle to run this database?
104
00:05:27,230 --> 00:05:29,720
This is going to
run by default based
105
00:05:29,720 --> 00:05:33,140
on a percentage of the available
memory that the machine has.
106
00:05:33,140 --> 00:05:36,110
So this machine has about
8 gigabytes of memory.
107
00:05:36,110 --> 00:05:40,040
It's going to take
40% to run Oracle.
108
00:05:40,040 --> 00:05:42,800
I'm going to scale
this back a little bit.
109
00:05:42,800 --> 00:05:44,630
For the purposes of
a learning database,
110
00:05:44,630 --> 00:05:47,470
we really don't need to
use quite that much memory.
111
00:05:47,470 --> 00:05:51,320
I like to put it around 2 gig.
112
00:05:51,320 --> 00:05:53,090
We have a lot of
options here as far
113
00:05:53,090 --> 00:05:55,640
as using automatic
memory management.
114
00:05:55,640 --> 00:05:59,640
We'll allow Oracle to decide
how memory is distributed.
115
00:05:59,640 --> 00:06:01,980
We also have some
custom settings here
116
00:06:01,980 --> 00:06:07,400
where we can specify our
own sizes for memory.
117
00:06:07,400 --> 00:06:09,710
For our purposes,
we'll take kind
118
00:06:09,710 --> 00:06:14,780
of what the defaults have given
us here for an SGA and a PGA.
119
00:06:14,780 --> 00:06:17,920
Next, we want to
click the Sizing tab.
120
00:06:17,920 --> 00:06:22,030
This asks us what the size of
our database block should be.
121
00:06:22,030 --> 00:06:23,590
We have different options here.
122
00:06:23,590 --> 00:06:25,650
The default is 8192.
123
00:06:25,650 --> 00:06:28,950
And that is good for
a default. Processes
124
00:06:28,950 --> 00:06:32,010
is the number of processes
that can run on the database.
125
00:06:32,010 --> 00:06:34,610
That default is good as well.
126
00:06:34,610 --> 00:06:36,500
Character Sets, we'll
use the default.
127
00:06:36,500 --> 00:06:39,770
But we have lots of different
options for our character sets
128
00:06:39,770 --> 00:06:44,550
if we needed language
support for other languages.
129
00:06:44,550 --> 00:06:48,340
Connection Mode tab gives us
an option for dedicated server
130
00:06:48,340 --> 00:06:50,020
or shared server mode.
131
00:06:50,020 --> 00:06:52,870
Shared server mode can
be used in situations
132
00:06:52,870 --> 00:06:55,420
where the resources
of the machine
133
00:06:55,420 --> 00:06:58,390
itself are pretty restricted.
134
00:06:58,390 --> 00:07:01,210
We'd prefer to use dedicated
server mode because it
135
00:07:01,210 --> 00:07:05,260
has superior performance,
generally speaking.
10965
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.