All language subtitles for [SubtitleTools.com] Planning Database Creation - Learning Oracle 12c [Video]

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic Download
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
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:03,070 In this lesson, we're going to go 2 00:00:03,070 --> 00:00:06,340 through the steps of planning for an Oracle database 3 00:00:06,340 --> 00:00:07,450 creation. 4 00:00:07,450 --> 00:00:09,490 Anytime you want to create a database, 5 00:00:09,490 --> 00:00:12,170 you should first go through the planning stages. 6 00:00:12,170 --> 00:00:13,930 And planning for a database creation 7 00:00:13,930 --> 00:00:15,940 is considerably different than planning 8 00:00:15,940 --> 00:00:17,740 for a software installation. 9 00:00:17,740 --> 00:00:21,520 The basic needs and requirements of a software installation 10 00:00:21,520 --> 00:00:25,270 are fairly fixed, whereas at database creation 11 00:00:25,270 --> 00:00:29,120 is going to be highly dependent on what you want to use it for. 12 00:00:29,120 --> 00:00:31,300 So first and foremost, the software 13 00:00:31,300 --> 00:00:34,780 must be installed on the host server 14 00:00:34,780 --> 00:00:36,760 before you can use the tools that allow 15 00:00:36,760 --> 00:00:38,740 you to do a database creation. 16 00:00:38,740 --> 00:00:41,760 So we install the software first. 17 00:00:41,760 --> 00:00:44,070 Second, most of the considerations 18 00:00:44,070 --> 00:00:47,940 during at database creation center around memory and disk 19 00:00:47,940 --> 00:00:49,200 usage. 20 00:00:49,200 --> 00:00:54,480 The CPU can come into question in certain databases 21 00:00:54,480 --> 00:00:55,770 at an enterprise level. 22 00:00:55,770 --> 00:00:58,890 We may think about the number of CPUs involved, 23 00:00:58,890 --> 00:01:02,850 the number of cores, but for the most part on memory and disk 24 00:01:02,850 --> 00:01:03,960 usage. 25 00:01:03,960 --> 00:01:06,030 In order to create a database, you 26 00:01:06,030 --> 00:01:10,480 must understand the needs and capacity of the database. 27 00:01:10,480 --> 00:01:14,070 So if we were going to install an enterprise database that's 28 00:01:14,070 --> 00:01:16,800 going to serve tens of thousands of users, 29 00:01:16,800 --> 00:01:20,070 those needs are considerably different than what 30 00:01:20,070 --> 00:01:23,010 is required for a development database, a prototyping 31 00:01:23,010 --> 00:01:25,800 database that only has a few users. 32 00:01:25,800 --> 00:01:27,540 So we have to understand and take 33 00:01:27,540 --> 00:01:30,270 those kind of considerations into account. 34 00:01:30,270 --> 00:01:32,730 So for memory requirements, we have 35 00:01:32,730 --> 00:01:34,650 to take this into consideration because it's 36 00:01:34,650 --> 00:01:37,490 required for the caches that Oracle uses. 37 00:01:37,490 --> 00:01:40,830 And these caches, such as the SGA and the PGA, 38 00:01:40,830 --> 00:01:44,910 are crucial for the database to operate at a high performance 39 00:01:44,910 --> 00:01:46,020 level. 40 00:01:46,020 --> 00:01:47,970 So in order to assess this, we need 41 00:01:47,970 --> 00:01:50,070 to take a look at the server memory 42 00:01:50,070 --> 00:01:53,650 that we have on the system that we're going to use. 43 00:01:53,650 --> 00:01:57,150 Now depending on whether we use Windows or Linux and Unix, 44 00:01:57,150 --> 00:02:00,720 the commands we do to assess server memory are different. 45 00:02:00,720 --> 00:02:03,840 So for instance, we might use the system info 46 00:02:03,840 --> 00:02:08,940 command on Windows or the free command on Linux and Unix. 47 00:02:08,940 --> 00:02:11,540 So we'll take a look at this command on Windows. 48 00:02:14,070 --> 00:02:15,540 We use the system info command. 49 00:02:19,510 --> 00:02:22,690 And it finds that we have approximately eight gigabytes, 50 00:02:22,690 --> 00:02:27,310 8,190 meg of physical memory available to us. 51 00:02:27,310 --> 00:02:30,550 We can also use the free command in Linux and Unix. 52 00:02:30,550 --> 00:02:33,790 And generally, it's free-m to report 53 00:02:33,790 --> 00:02:37,230 the megabytes of free memory available. 54 00:02:37,230 --> 00:02:40,260 As far as rules of thumb for memory requirements, 55 00:02:40,260 --> 00:02:42,910 we generally take the whole system into account. 56 00:02:42,910 --> 00:02:46,320 So once we've assessed how much memory we have, 57 00:02:46,320 --> 00:02:49,080 we need to first allow some of that physical memory 58 00:02:49,080 --> 00:02:50,730 for the operating system. 59 00:02:50,730 --> 00:02:53,160 So that's generally between 500 meg 60 00:02:53,160 --> 00:02:56,290 and a gig of memory for the operating system, 61 00:02:56,290 --> 00:02:57,930 depending on what it is. 62 00:02:57,930 --> 00:03:00,390 Generally, Linux uses less memory 63 00:03:00,390 --> 00:03:03,180 for the operating system than, say, Windows does. 64 00:03:03,180 --> 00:03:06,720 The amount we need to allocate to the PGA, the program 65 00:03:06,720 --> 00:03:09,600 global area, is dependent on the amount of sorting 66 00:03:09,600 --> 00:03:11,080 that we do in our environment. 67 00:03:11,080 --> 00:03:13,800 So if we have a lot of reporting, for instance, 68 00:03:13,800 --> 00:03:17,910 that needs to be taken into account when we size the PGA. 69 00:03:17,910 --> 00:03:19,370 We try to give the majority of that 70 00:03:19,370 --> 00:03:23,070 to the SGA, which is where most of the action happens. 71 00:03:23,070 --> 00:03:26,940 But how we allocate the SGA between shared pool and buffer 72 00:03:26,940 --> 00:03:31,090 cache is highly dependent on what type of database we have. 73 00:03:31,090 --> 00:03:35,450 So if we have an OLTP database, online transaction processing, 74 00:03:35,450 --> 00:03:38,310 it's going to use lots of smaller statements, 75 00:03:38,310 --> 00:03:40,500 have a high degree of concurrency. 76 00:03:40,500 --> 00:03:42,930 We may lean more toward the shared pool. 77 00:03:42,930 --> 00:03:46,470 So we might do a 60-40 split between the shared 78 00:03:46,470 --> 00:03:48,060 pool and the buffer cache. 79 00:03:48,060 --> 00:03:50,520 However, if we have something like a data warehouse, 80 00:03:50,520 --> 00:03:53,160 we may look at allocating significantly more 81 00:03:53,160 --> 00:03:59,240 toward the buffer cache, say 70% versus 30% in the shared pool. 82 00:03:59,240 --> 00:04:00,840 And for disk requirements, this is 83 00:04:00,840 --> 00:04:03,210 entirely dependent on the amount of data 84 00:04:03,210 --> 00:04:05,850 that we're going to have in the database. 85 00:04:05,850 --> 00:04:09,540 The core data files are going to take about five gigabytes 86 00:04:09,540 --> 00:04:10,170 minimum. 87 00:04:10,170 --> 00:04:12,810 And that's things like the system and sysox 88 00:04:12,810 --> 00:04:17,850 tablespaces, the redo logs, the undo and temp tablespaces. 89 00:04:17,850 --> 00:04:21,300 So all of those core data files take only about five gigabytes 90 00:04:21,300 --> 00:04:22,620 minimum. 91 00:04:22,620 --> 00:04:24,540 Now we do have to have the consideration 92 00:04:24,540 --> 00:04:27,900 if it's a large database, then those core data files 93 00:04:27,900 --> 00:04:29,040 will grow. 94 00:04:29,040 --> 00:04:31,710 So we may have a larger system table space. 95 00:04:31,710 --> 00:04:33,870 We would almost certainly have larger undo 96 00:04:33,870 --> 00:04:36,000 and temporary tablespaces so that 97 00:04:36,000 --> 00:04:38,010 has to be considered as well. 98 00:04:38,010 --> 00:04:40,230 But as far as the non-specific data files, 99 00:04:40,230 --> 00:04:43,200 the data files that actually support application table 100 00:04:43,200 --> 00:04:45,300 data, that can be any amount. 101 00:04:45,300 --> 00:04:47,830 And really the sky's the limit on that. 102 00:04:47,830 --> 00:04:50,490 And so that's where we do something called volumetrics. 103 00:04:50,490 --> 00:04:54,030 And in volumetrics, we assess the volume requirements 104 00:04:54,030 --> 00:04:57,740 or the size requirements for our database. 8503

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