Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,640 --> 00:00:07,660
‫All right, so database software, we keep talking about this, we keep talking about databases being
2
00:00:07,990 --> 00:00:12,520
‫the data we store and it being stored in a specific way called the model.
3
00:00:13,090 --> 00:00:17,440
‫But we never really dove deep into what actually makes this happen.
4
00:00:18,010 --> 00:00:20,890
‫Well, that is called the database management software.
5
00:00:21,550 --> 00:00:29,440
‫And it's a piece of software that basically says, OK, I am going to manage your database, I'm going
6
00:00:29,440 --> 00:00:31,000
‫to be your supervisor.
7
00:00:31,180 --> 00:00:35,120
‫I know all of the rules about the way you want to store your data.
8
00:00:35,170 --> 00:00:36,160
‫I know your model.
9
00:00:36,940 --> 00:00:42,480
‫And when you give me an actual query, I know exactly how to get your data and give it back to you.
10
00:00:42,880 --> 00:00:45,100
‫It's kind of like your mediator or your manager.
11
00:00:45,670 --> 00:00:50,080
‫It's there and it knows everything and it's kind of like a referee.
12
00:00:50,080 --> 00:00:52,500
‫It's like, hey, hey, hey, you can't store things this way.
13
00:00:52,510 --> 00:00:54,430
‫Hey, hey, hey, don't do this.
14
00:00:54,670 --> 00:00:57,790
‫I am going to enforce very specific rules on you.
15
00:00:57,950 --> 00:01:03,790
‫It's like if you took an Excel sheet and you made it a bit smarter, well, this software says I'm going
16
00:01:03,790 --> 00:01:05,140
‫to follow a model.
17
00:01:05,680 --> 00:01:09,460
‫Whatever model that is, it can differ between the database softwares.
18
00:01:10,760 --> 00:01:16,430
‫And I'm going to enforce these rules for you and I'm going to use school as a way for you to talk to
19
00:01:16,430 --> 00:01:21,800
‫me, and I'm going to make sure that your database is safe and secure and that I manage it the correct
20
00:01:21,800 --> 00:01:22,060
‫way.
21
00:01:22,580 --> 00:01:29,210
‫So if we look at what a database management software system can do while we're talking about create,
22
00:01:29,870 --> 00:01:35,870
‫read, update or delete crud operations, OK, let's take a step back here.
23
00:01:35,900 --> 00:01:36,800
‫What do I mean by that?
24
00:01:37,640 --> 00:01:44,660
‫Well, because your database management software is between Ezekial and your database, it's basically
25
00:01:44,660 --> 00:01:49,280
‫the one that's saying, OK, you want to create a database, let's create you a database.
26
00:01:49,520 --> 00:01:51,370
‫OK, you want to create some data.
27
00:01:51,380 --> 00:01:53,900
‫Let me put some data in your database, OK?
28
00:01:53,900 --> 00:01:55,880
‫You want to read some of the data.
29
00:01:55,880 --> 00:01:57,370
‫You want to send me an actual query?
30
00:01:57,530 --> 00:01:59,080
‫Well, I'll give you back the right data.
31
00:01:59,420 --> 00:02:01,190
‫All you want to update something.
32
00:02:01,190 --> 00:02:04,070
‫There's some data in there that doesn't match your expectations.
33
00:02:04,700 --> 00:02:05,300
‫Cool.
34
00:02:05,780 --> 00:02:06,920
‫I'll do that for you.
35
00:02:07,700 --> 00:02:09,180
‫And it can even delete some stuff.
36
00:02:09,200 --> 00:02:13,990
‫OK, we accidentally added a student that isn't going to be part of the school.
37
00:02:14,040 --> 00:02:17,720
‫Let's quickly remove them from the system, create, read, update, delete.
38
00:02:18,020 --> 00:02:24,530
‫But this is an acronym that you will often hear when talking about school and databases, because this
39
00:02:24,530 --> 00:02:29,960
‫is the bulk of what school is going to do for you when you talk to your database management software.
40
00:02:29,960 --> 00:02:34,900
‫And this is the bulk of what the database management software intends to do for you.
41
00:02:35,540 --> 00:02:40,340
‫But on top of that, I talked about the database management software doing a bit more.
42
00:02:40,850 --> 00:02:46,550
‫A database management software not only allows you to do those CRUD operations, but what it's also
43
00:02:46,550 --> 00:02:49,130
‫going to do is it's going to manage your data.
44
00:02:49,130 --> 00:02:52,940
‫It's going to make sure that it's saved in the right place, is going to make sure that it knows on
45
00:02:52,940 --> 00:02:56,930
‫what hard drives is going to put what it's going to secure your data.
46
00:02:56,930 --> 00:03:00,040
‫It's going to make sure that not everyone can touch them.
47
00:03:00,050 --> 00:03:06,290
‫It's going to put in place the right security policies and the right permissions, and it's even going
48
00:03:06,290 --> 00:03:08,680
‫to do something called transaction management.
49
00:03:09,230 --> 00:03:12,770
‫This is something fairly complicated that we're going to get into later.
50
00:03:13,040 --> 00:03:18,230
‫But transaction management is basically like, hey, I want to update something and someone else wants
51
00:03:18,230 --> 00:03:19,160
‫to update something.
52
00:03:19,160 --> 00:03:23,750
‫And they're updating the exact same thing at the same time, while the database management software
53
00:03:23,750 --> 00:03:29,150
‫is going to basically say, oh, something happened here, I'm going to quickly undo the change because
54
00:03:29,180 --> 00:03:30,500
‫that's not what we meant to do.
55
00:03:30,680 --> 00:03:33,050
‫It's going to do way more complex scenarios.
56
00:03:33,050 --> 00:03:34,820
‫It's going to handle those for you.
57
00:03:35,060 --> 00:03:40,070
‫Database management software is basically there to guarantee that your data is always going to stay
58
00:03:40,070 --> 00:03:44,150
‫safe and always going to be accessible.
59
00:03:44,570 --> 00:03:48,530
‫Basically, when we used to build our own custom software, what could happen?
60
00:03:48,620 --> 00:03:55,970
‫Well, some developer could push a change and it could corrupt some data or could do something wrong
61
00:03:55,970 --> 00:03:57,290
‫in a certain operation.
62
00:03:57,290 --> 00:04:05,930
‫And some specific record of a user could go missing record meaning like a specific part of data, like
63
00:04:06,110 --> 00:04:07,460
‫you had a user's address.
64
00:04:07,460 --> 00:04:11,930
‫And when we built the custom software, remember the file processing systems, let's say a developer
65
00:04:12,170 --> 00:04:18,470
‫committed a piece of code that was supposed to update your address and something went wrong there because
66
00:04:18,470 --> 00:04:22,700
‫a database management software is removed from that custom built.
67
00:04:23,120 --> 00:04:26,030
‫And it has one sole responsibility.
68
00:04:26,390 --> 00:04:31,550
‫We're always guaranteed that is going to do these things to the best of its abilities and not the rigorously
69
00:04:31,550 --> 00:04:32,150
‫tested.
70
00:04:32,360 --> 00:04:38,810
‫So this database management software is very good at doing these tasks, both the CRUD operations as
71
00:04:38,810 --> 00:04:45,110
‫well as the security management, and making sure that your data and the people that are interacting
72
00:04:45,110 --> 00:04:46,670
‫with your data do the right things.
73
00:04:47,240 --> 00:04:51,290
‫That is very, very, very key to a database management software.
74
00:04:51,410 --> 00:04:57,140
‫And that is what makes it so powerful because it has a sole responsibility to maintain your database,
75
00:04:57,170 --> 00:04:58,200
‫maintain your data.
76
00:04:58,910 --> 00:05:01,590
‫So who is making database software?
77
00:05:02,240 --> 00:05:04,820
‫Well, Microsoft has SQL Server.
78
00:05:05,060 --> 00:05:06,970
‫IBM has a couple of solutions.
79
00:05:07,280 --> 00:05:09,650
‫We all know Maisky well fairly well.
80
00:05:09,920 --> 00:05:11,450
‫There is Oracle out there.
81
00:05:11,720 --> 00:05:16,520
‫And some of you may have heard of PostgreSQL, which is an open source variation of a database management
82
00:05:16,520 --> 00:05:16,850
‫software.
83
00:05:16,850 --> 00:05:22,850
‫But these are the companies that basically the biggest companies that make database software and they
84
00:05:22,850 --> 00:05:25,610
‫all make it slightly different from each other.
85
00:05:25,940 --> 00:05:31,160
‫You see, each and every one of these companies makes a database software that is, in essence going
86
00:05:31,160 --> 00:05:35,930
‫to maybe follow the relational model or maybe follow some other model of storing data.
87
00:05:36,380 --> 00:05:41,200
‫But they also have different features that they're all trying to compete with each other.
88
00:05:41,720 --> 00:05:46,580
‫So when we talk about MySQL versus what Microsoft brings out, which is ask you all server, they're
89
00:05:46,580 --> 00:05:53,300
‫both using well, for us to talk to it, but they may have slightly different features to kind of up
90
00:05:53,600 --> 00:05:53,870
‫you.
91
00:05:54,050 --> 00:05:56,450
‫Hey, we do this slightly better here.
92
00:05:56,450 --> 00:05:58,310
‫We do transaction management a bit better.
93
00:05:58,310 --> 00:06:02,330
‫Hey, we do security a bit better or we have the best this or that.
94
00:06:02,570 --> 00:06:06,170
‫They, in essence, compete with each other on features.
95
00:06:06,350 --> 00:06:09,470
‫But at the end of the day, there is a core to them.
96
00:06:09,970 --> 00:06:12,580
‫Well, and a certain model of storing data.
97
00:06:13,060 --> 00:06:15,100
‫So, again, what can it do?
98
00:06:15,340 --> 00:06:20,080
‫Well, we talked about the database management software managing the database and all of these players
99
00:06:20,080 --> 00:06:25,150
‫competing with each other in order to allow you all to talk to the software.
100
00:06:25,570 --> 00:06:25,920
‫Right.
101
00:06:25,990 --> 00:06:29,470
‫They all have slightly different variations of skill.
102
00:06:29,830 --> 00:06:32,230
‫They could add some special little things in there.
103
00:06:32,440 --> 00:06:35,860
‫But what we are going to focus on is the core of a school.
104
00:06:35,860 --> 00:06:41,710
‫We want to give you the toolset and the core of the language to be able to go to any of these vendors
105
00:06:42,070 --> 00:06:43,110
‫and be functional.
106
00:06:43,780 --> 00:06:44,200
‫Sure.
107
00:06:44,200 --> 00:06:47,890
‫In each and every one of these, you may need to learn some of the tips and tricks that go with the
108
00:06:47,890 --> 00:06:50,140
‫software because each of these softwares are different.
109
00:06:50,440 --> 00:06:55,700
‫But the baseline of a school is abstracted away from this software.
110
00:06:55,930 --> 00:07:01,000
‫This software is supposed to understand the school and school is supposed to talk to the software.
111
00:07:01,210 --> 00:07:06,070
‫So even if the software is a bit different between these, they all do the same thing.
112
00:07:06,070 --> 00:07:10,450
‫At the end of the day, they do the CRUD operations, the security, the management, and they may all
113
00:07:10,450 --> 00:07:11,620
‫do it slightly differently.
114
00:07:11,710 --> 00:07:16,750
‫But we are going to give you the foundation to be able to interact with any of these.
115
00:07:16,870 --> 00:07:20,750
‫And that is what is so powerful and we're going to do that through school.
116
00:07:21,400 --> 00:07:28,240
‫So if I were to take a database management system and I work to put it in a simple analogy, because
117
00:07:28,240 --> 00:07:35,350
‫analogies are so powerful, let's say that your database management software was a chef and that school
118
00:07:35,350 --> 00:07:39,100
‫was the customer and that the database was a type of cooking.
119
00:07:40,090 --> 00:07:45,700
‫Well, if the database management software is a chef, we all know that chefs do things differently.
120
00:07:45,700 --> 00:07:51,820
‫You can go to three restaurants, you can order the exact same dish, the exact same pizza, margherita,
121
00:07:52,210 --> 00:07:54,490
‫spaghetti Bolognese, a steak.
122
00:07:55,000 --> 00:07:58,210
‫And each and every one of these chefs may do it slightly differently.
123
00:07:58,480 --> 00:08:05,980
‫So each chef has their own, quote unquote, database of cooking, and they may all store the data in
124
00:08:05,980 --> 00:08:07,180
‫their head slightly differently.
125
00:08:07,180 --> 00:08:08,380
‫They'll do steps differently.
126
00:08:08,380 --> 00:08:10,000
‫They'll do this differently, that differently.
127
00:08:10,300 --> 00:08:14,570
‫But at the end, when you ask them to make you a pizza, you are going to get a pizza.
128
00:08:15,070 --> 00:08:16,420
‫I hope that makes a bit of sense.
129
00:08:16,630 --> 00:08:21,940
‫And if we were to stretch that analogy a bit further and you asked the chef for a recipe, you ask the
130
00:08:21,940 --> 00:08:24,070
‫chef, OK, how are you going to do this?
131
00:08:24,640 --> 00:08:28,210
‫If we looked into that, every chef is going to do their recipe a bit differently.
132
00:08:28,210 --> 00:08:29,920
‫They're going to write down steps differently.
133
00:08:30,070 --> 00:08:31,540
‫Each of them thinks differently.
134
00:08:31,780 --> 00:08:34,510
‫And the same is true for a database management software.
135
00:08:35,050 --> 00:08:39,790
‫Each and every one of these interacts differently with the database, interact differently with how
136
00:08:39,790 --> 00:08:43,930
‫they're going to store the data, what hard drives they're going to use, where they're going to put
137
00:08:43,930 --> 00:08:51,610
‫certain files and how they're going to take your query, make me a pizza and how they're going to process
138
00:08:51,610 --> 00:08:53,020
‫that to give you the pizza.
139
00:08:54,620 --> 00:09:00,560
‫That really simplifies the way that we have to look at this, because a database management software
140
00:09:00,770 --> 00:09:04,300
‫is basically the one interacting with both ends.
141
00:09:04,880 --> 00:09:08,180
‫If we took this and we put it at a 10000 foot view.
142
00:09:09,210 --> 00:09:16,230
‫A user is interacting with Eskil and is firing some kind of query and the database management system
143
00:09:16,230 --> 00:09:19,650
‫is interacting with a certain database, it can store multiple databases.
144
00:09:19,650 --> 00:09:22,410
‫You can have databases for multiple, multiple reasons.
145
00:09:22,420 --> 00:09:23,700
‫You can have a school database.
146
00:09:23,700 --> 00:09:25,920
‫You can have a recipe database.
147
00:09:26,220 --> 00:09:29,220
‫And the database management system is just storing these.
148
00:09:29,470 --> 00:09:36,420
‫And then at the hardware level, some hard drive or multiple hard drives or multiple systems are storing
149
00:09:36,420 --> 00:09:37,230
‫the data for you.
150
00:09:37,590 --> 00:09:42,120
‫And the database management system is taking your query and figuring out, OK, I need to talk to this
151
00:09:42,120 --> 00:09:45,570
‫database and I need to go to this hard drive to get the data.
152
00:09:45,570 --> 00:09:47,290
‫And this is how I need to break it down.
153
00:09:47,760 --> 00:09:51,090
‫That's basically how it looks from a high level view.
154
00:09:51,940 --> 00:10:01,240
‫Now, on the Internet, you may see our DBMS, so DBMS stands for database management software and database
155
00:10:01,240 --> 00:10:08,110
‫management software is the general term for a software that is going to manage your databases.
156
00:10:08,620 --> 00:10:15,700
‫But then the R portion, we've already spoken a little bit about the relational model and what the relational
157
00:10:15,700 --> 00:10:18,820
‫model is in a very, very brief way.
158
00:10:19,030 --> 00:10:20,970
‫We'll dive deeper into that as we go along.
159
00:10:21,280 --> 00:10:27,610
‫But when you see RDBMS, you're looking at a database management software that's specializing in relational
160
00:10:27,610 --> 00:10:28,330
‫databases.
161
00:10:28,570 --> 00:10:31,720
‫So it's focusing on one single model.
162
00:10:32,110 --> 00:10:38,710
‫And this one single model was developed by a developer at IBM in the early 80s and then taken by two
163
00:10:38,710 --> 00:10:46,090
‫of his colleagues who invented the original version of school, as well as the very first database management
164
00:10:46,090 --> 00:10:46,780
‫software.
165
00:10:47,440 --> 00:10:52,810
‫They took his ideas and basically built the very first version of school in the very first version of
166
00:10:52,810 --> 00:10:54,160
‫a database management software.
167
00:10:54,490 --> 00:10:59,650
‫But because they were following the relational model and because we were already spoken about the database
168
00:10:59,650 --> 00:11:05,440
‫management software being your referee, being your security, implementing the specific rules that
169
00:11:05,440 --> 00:11:06,400
‫you need to follow.
170
00:11:07,030 --> 00:11:13,450
‫Edgar Chod, the person who came up with the relational model, as well as the database management system,
171
00:11:13,930 --> 00:11:20,710
‫wrote 13 rules that needed to be followed in order for a database management software to be considered
172
00:11:20,890 --> 00:11:23,100
‫a relational database management software.
173
00:11:23,530 --> 00:11:25,330
‫He coined the 13 rules of.
174
00:11:26,170 --> 00:11:32,290
‫Now, we're not going to go into the specifics of them because they're very much at a high level understanding.
175
00:11:32,290 --> 00:11:37,510
‫They're basically rules that need to be followed to build a database management software.
176
00:11:37,810 --> 00:11:43,360
‫They are the rules that the database management software is going to enforce on you when you get an
177
00:11:43,360 --> 00:11:46,620
‫error, when you're trying to do something that doesn't follow these rules.
178
00:11:46,630 --> 00:11:48,460
‫That's what the database management software is doing.
179
00:11:48,460 --> 00:11:54,520
‫It's following these rules in order to give you some constraints and give you a way to save in a relational
180
00:11:54,520 --> 00:11:54,870
‫way.
181
00:11:55,150 --> 00:11:59,290
‫And when we see a relational way, we're talking about the relational model.
182
00:11:59,290 --> 00:12:06,970
‫We're talking about storing things in tables and columns and rows and enforcing that these rules are
183
00:12:06,970 --> 00:12:07,690
‫followed.
184
00:12:07,690 --> 00:12:10,230
‫The database management software is going to enforce them.
185
00:12:10,990 --> 00:12:19,570
‫So now that we know so much about what a database model is and how a database management system is going
186
00:12:19,570 --> 00:12:28,810
‫to be your connecting piece, your referee, your middleman in terms of getting data into the system
187
00:12:28,810 --> 00:12:35,560
‫and pulling data out and enforcing all of these rules, let's take a closer look at this relational
188
00:12:35,560 --> 00:12:44,470
‫model and how we are going to store data so that we can form a full picture of, OK, this is a database.
189
00:12:44,770 --> 00:12:49,480
‫This is my database management software, and this is the model I'm going to follow.
190
00:12:49,480 --> 00:12:51,970
‫This is how I'm going to store my data.
191
00:12:52,840 --> 00:12:58,960
‫And once we have that, once we have that full picture, we will understand how to use ask you well
192
00:12:59,050 --> 00:13:05,890
‫to interact with software like Oracle, like PostgreSQL, like MySQL to store and retrieve data.
193
00:13:06,250 --> 00:13:10,630
‫Now, that being said, there are multiple models out there you can follow.
194
00:13:11,020 --> 00:13:16,540
‫But each database management software worth its salt will focus on one single model.
195
00:13:16,720 --> 00:13:23,860
‫You may have heard of terms like NQ Well and other variations of that hierarchical databases and so
196
00:13:23,860 --> 00:13:24,280
‫forth.
197
00:13:24,670 --> 00:13:26,610
‫Don't focus on any of those.
198
00:13:27,040 --> 00:13:33,430
‫We will dive into those individually to explain how they differ from relational models down the line.
199
00:13:33,670 --> 00:13:40,540
‫But right now we really want to slim down and focus solely on the relational model so that we can really
200
00:13:40,540 --> 00:13:48,490
‫get a solid foundation on a single model, a single way of storing data and using Ezekial with that
201
00:13:48,490 --> 00:13:48,920
‫model.
202
00:13:49,300 --> 00:13:54,250
‫And once we have that solid foundation with one model, when you want to expand to different models,
203
00:13:54,400 --> 00:13:55,870
‫it'll be easier than you think.
21868
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.