YouTube2Text

Advantages & Disadvantages of DBMS — Transcript

by Neso Academy · 2,156 words · 446 segments · language en · Watch on YouTube

Full transcript

  1. 0:06hello everyone and welcome back
  2. 0:08in this video we're going to discuss in
  3. 0:10detail the different
  4. 0:11advantages and disadvantages of dbms
  5. 0:15the different advantages of dbms
  6. 0:17approach
  7. 0:18are controlling redundancy restricting
  8. 0:22unauthorized access providing
  9. 0:25persistent storage for program objects
  10. 0:28providing storage structures for
  11. 0:30efficient query processing
  12. 0:33providing backup and recovery providing
  13. 0:36multiple
  14. 0:37user interfaces representing
  15. 0:40complex relationships among data
  16. 0:43enforcing integrity constraints
  17. 0:46and permitting inferencing and actions
  18. 0:49using rules so these are the advantages
  19. 0:52of tbms approach which we will look in
  20. 0:54detail
  21. 0:56the first one is controlling redundancy
  22. 1:00in the traditional file system each user
  23. 1:03group
  24. 1:03maintains their own files let us
  25. 1:06consider the same example as we took
  26. 1:08earlier in our videos
  27. 1:09if we consider a university database we
  28. 1:12can have two user groups
  29. 1:14the first one is the accounts department
  30. 1:16that keeps track of the fee details
  31. 1:19and another user group the exam
  32. 1:21department that keeps track of the
  33. 1:23grades received by the student
  34. 1:25in each course so in the traditional
  35. 1:27approach
  36. 1:28much of the data will be repeated like
  37. 1:31in this example
  38. 1:32details about the student are repeated
  39. 1:34twice
  40. 1:35this duplication of data or otherwise
  41. 1:38called as redundancy leads to problems
  42. 1:40like
  43. 1:41wastage of storage space and data
  44. 1:43inconsistency
  45. 1:44now data inconsistency occurs when
  46. 1:47update is applied to some files and not
  47. 1:49to others
  48. 1:50like for example if one user group say
  49. 1:52the accounts department updates the
  50. 1:54student name
  51. 1:55and the same student name is not updated
  52. 1:58in the other user group that is the exam
  53. 2:00department then that causes
  54. 2:02inconsistency
  55. 2:03whereas in the database approach views
  56. 2:06of different
  57. 2:07users are integrated or they are linked
  58. 2:10together while designing a database and
  59. 2:13in this approach
  60. 2:14all the data will be stored in only one
  61. 2:16place of the database
  62. 2:18and any number of users can access this
  63. 2:21repository at the same time so
  64. 2:24duplication of data or data redundancy
  65. 2:26is controlled in the dbms approach
  66. 2:28also it ensures data consistency and
  67. 2:31saves
  68. 2:32storage space so this is about the first
  69. 2:34advantage of dbms approach
  70. 2:36controlling redundancy the next
  71. 2:39advantage of using dbms
  72. 2:41is restricting unauthorized access
  73. 2:45dbms allows multiple users or many users
  74. 2:49to share a large database so all these
  75. 2:52users will not have the same type of
  76. 2:54access permission to the database
  77. 2:57for example any confidential data of a
  78. 2:59company like the finance
  79. 3:01will be accessible by only a few
  80. 3:03authorized users
  81. 3:05some users will be allowed only to
  82. 3:07retrieve data whereas some
  83. 3:08users will be allowed to both retrieve
  84. 3:11as well as update the data in the
  85. 3:12database
  86. 3:13so these type of access permission or
  87. 3:16access operation
  88. 3:17is controlled by the dbms there is a
  89. 3:20unit or there is a module in dbms
  90. 3:23called as a security and authorization
  91. 3:25subsystem
  92. 3:26is used by the database administrator
  93. 3:30or the dba to create accounts and
  94. 3:33also specify any restrictions on that
  95. 3:36account for example parametric users
  96. 3:39are allowed to access the database only
  97. 3:42through the canned transactions
  98. 3:44or through the standard type of queries
  99. 3:47we have already seen in our previous
  100. 3:48video database users
  101. 3:50what can transactions are and also we
  102. 3:53have seen about the different types of
  103. 3:54users so this is about restricting
  104. 3:57unauthorized access to the database
  105. 4:01the next advantage of dbms approach is
  106. 4:04providing persistent storage for program
  107. 4:06objects just as we have object oriented
  108. 4:09programming concept
  109. 4:11based on that same concept we have
  110. 4:13object oriented database systems
  111. 4:16since database allows or since it
  112. 4:18provides
  113. 4:19the storage of program objects for a
  114. 4:22long period of time
  115. 4:23we have this concept of object oriented
  116. 4:26database systems
  117. 4:27now let's compare the traditional file
  118. 4:29systems to the dbms approach
  119. 4:31in the traditional approach the values
  120. 4:34of program variables will be discarded
  121. 4:36or it will be deleted or
  122. 4:38erased once the program terminates
  123. 4:41whereas in the dbms approach the values
  124. 4:44of the program variables will not be
  125. 4:46discarded when the program
  126. 4:48terminates they allow the program
  127. 4:50objects to store
  128. 4:52permanently and such an object is said
  129. 4:54to be persistent
  130. 4:56in the traditional approach since the
  131. 4:58objects will be erased or deleted when
  132. 5:00the program terminates we can store the
  133. 5:03objects
  134. 5:03explicitly and separate files which are
  135. 5:06permanent
  136. 5:06and this involves conversion to a format
  137. 5:09that is suitable for
  138. 5:11file storage whereas in the dbms
  139. 5:13approach
  140. 5:14it recognizes the programming languages
  141. 5:16and automatically converts
  142. 5:18any objects in c plus or java can be
  143. 5:21stored permanently in an object oriented
  144. 5:23dbms
  145. 5:24such objects are said to be persistent
  146. 5:27since it is not erased or deleted
  147. 5:29when the program terminates so this is
  148. 5:32the third advantage of dbms approach and
  149. 5:34persistent storage of program objects is
  150. 5:36an important function in database
  151. 5:38systems
  152. 5:40the next advantage is providing storage
  153. 5:43structures for
  154. 5:44efficient query processing database
  155. 5:47systems
  156. 5:48must provide capabilities or it must be
  157. 5:51capable
  158. 5:52to efficiently execute the queries and
  159. 5:55updates since the database is stored on
  160. 5:59disk
  161. 5:59dbms has to provide special data
  162. 6:02structures
  163. 6:03to speed up the disk search and for this
  164. 6:06disk search we use indexes now to
  165. 6:10process a particular query
  166. 6:12the database records will be copied from
  167. 6:14the disk
  168. 6:15to the main memory there is something
  169. 6:17called as database buffer which allows
  170. 6:20temporary storage of data in the main
  171. 6:22memory
  172. 6:23now a module in dbm is called as the
  173. 6:25query processing
  174. 6:27and optimization module is responsible
  175. 6:30for
  176. 6:30efficient query execution or in other
  177. 6:33words it is responsible for choosing
  178. 6:35how to process and execute the queries
  179. 6:38efficiently
  180. 6:39that's about the storage structures that
  181. 6:41are provided by dbms for
  182. 6:43efficient query processing the next
  183. 6:47advantage
  184. 6:48is providing backup and recovery now a
  185. 6:51module in dbms called the backup and
  186. 6:53recovery subsystem
  187. 6:54is responsible for recovery from any
  188. 6:58kind of hardware or software
  189. 7:00failures like for example if the
  190. 7:03computer system crashes during a complex
  191. 7:05transaction
  192. 7:06then the recovery subsystem of dbms is
  193. 7:09responsible
  194. 7:10for ensuring or making sure that the
  195. 7:12transaction
  196. 7:13resumes from where it is interrupted or
  197. 7:16at least
  198. 7:17restore the database to the state it was
  199. 7:20before the transaction started
  200. 7:22executing so there is another advantage
  201. 7:24of dbms
  202. 7:25providing backup and recovery the next
  203. 7:28advantage of dbms is providing multiple
  204. 7:30user interfaces
  205. 7:32we have already seen the different types
  206. 7:35of database users in our previous
  207. 7:37video and all these users have different
  208. 7:40levels of technical knowledge
  209. 7:42so based on that dbms provides a variety
  210. 7:45of
  211. 7:45user interfaces like for example
  212. 7:48query languages are for the casual users
  213. 7:51and the programming language
  214. 7:53interfaces are for the application
  215. 7:55programmers
  216. 7:56the form based user interface are for
  217. 7:59the parametric
  218. 8:00users and the menu driven interfaces are
  219. 8:03for the standalone users
  220. 8:04we have already seen all these different
  221. 8:06types of users in our previous
  222. 8:08video so for each user based on their
  223. 8:11technical knowledge
  224. 8:12dbms provides user interfaces
  225. 8:16the form style interfaces are the form
  226. 8:18based interfaces and the menu driven
  227. 8:20interfaces together they are called as a
  228. 8:22graphical user interface or
  229. 8:24gui so this is about multiple user
  230. 8:28interfaces
  231. 8:28provided by dbms for each user based on
  232. 8:32their technical knowledge
  233. 8:33the next advantage of dbms is
  234. 8:35representing complex relationships among
  235. 8:38data a database can have variety of data
  236. 8:42stored in different tables
  237. 8:44and these data can be interrelated in
  238. 8:47many ways
  239. 8:48and dbms must be capable of
  240. 8:51representing any kind of relationships
  241. 8:53among these
  242. 8:54data also it must be capable of
  243. 8:57retrieving
  244. 8:57any kind of related data and updating
  245. 9:00them
  246. 9:01easily and efficiently so this is about
  247. 9:04representing complex relationships among
  248. 9:07data
  249. 9:08the next advantage is enforcing
  250. 9:10integrity constraints
  251. 9:12in a database we can have different
  252. 9:14types of integrity constraints on the
  253. 9:16data
  254. 9:17dbms should be capable to define these
  255. 9:19constraints and also
  256. 9:20enforce them now the simplest type of
  257. 9:23integrity constraint
  258. 9:24is specifying the data type for each
  259. 9:27data item whether it is integer or
  260. 9:30string of characters
  261. 9:31etc so specifying a data type is one of
  262. 9:34the most simplest type of integrity
  263. 9:36constraint
  264. 9:37another type of constraint is the
  265. 9:39uniqueness of the data item values
  266. 9:42like for example the roll numbers of
  267. 9:43students has to be unique and cannot be
  268. 9:45repeated
  269. 9:46so that is another type of constraint
  270. 9:49and it is the responsibility of a
  271. 9:51database designer to identify what type
  272. 9:54of integrity constraints
  273. 9:56are required on the data during the
  274. 9:58database design
  275. 9:59so this is another advantage of dbms
  276. 10:02enforcing
  277. 10:02integrity constraints on the data the
  278. 10:05next advantage of dbms
  279. 10:07is permitting inferencing and actions
  280. 10:09using rules
  281. 10:11database systems must provide
  282. 10:14capabilities or it must be capable
  283. 10:16for defining deduction rules for
  284. 10:19inferencing
  285. 10:19new information so database systems
  286. 10:23define
  287. 10:23rules and based on those rules it
  288. 10:25inferences new information
  289. 10:27or new information is being concluded
  290. 10:30and such database systems are called as
  291. 10:32deductive database systems
  292. 10:34like for example we can have rules in a
  293. 10:37mini world application for determining
  294. 10:39if the student can write his exam or not
  295. 10:41i can keep a rule say only if the
  296. 10:43attendance of a student is about 70
  297. 10:45percent
  298. 10:46then only he can write his exam so these
  299. 10:48are rules that can be applied and based
  300. 10:50on those rules
  301. 10:51some action will be taken active
  302. 10:54database system
  303. 10:55is a database that consists of a set of
  304. 10:58triggers
  305. 10:59so based on a condition an action
  306. 11:01follows
  307. 11:02an active database system provides
  308. 11:05active rules
  309. 11:06that automatically initiates actions
  310. 11:09when certain
  311. 11:09evens and conditions occur so that is
  312. 11:12about permitting
  313. 11:13inferencing new information and
  314. 11:16initiating of
  315. 11:17actions using rules
  316. 11:20next let us look into the additional
  317. 11:22implications
  318. 11:23of using database approach the first
  319. 11:26implication is potential for
  320. 11:28enforcing standards the database
  321. 11:30approach
  322. 11:31allows the database administrator to
  323. 11:34define certain standards and also to
  324. 11:37enforce them
  325. 11:38among the database users so since a
  326. 11:41certain standard is set
  327. 11:43it facilitates communication and
  328. 11:45cooperation within
  329. 11:46a large organization standards can be
  330. 11:49set
  331. 11:49for naming data elements or for data
  332. 11:52element format
  333. 11:53etc next implication is the reduced
  334. 11:56application development time
  335. 11:58an important feature of database
  336. 12:00approach is
  337. 12:01it takes very little time to develop a
  338. 12:04new application
  339. 12:05like retrieving data from the database
  340. 12:08for printing a report
  341. 12:09takes very little time designing a
  342. 12:11database and then
  343. 12:12implementing it might take time but once
  344. 12:15the database is
  345. 12:16running less time is required to create
  346. 12:18any kind of applications based on that
  347. 12:20database
  348. 12:21next we have flexibility there might
  349. 12:24come a necessity to change the structure
  350. 12:26of the database as the requirements of
  351. 12:28the users changes
  352. 12:29and modern day dbms allow certain type
  353. 12:32of changes
  354. 12:33to the structure of the database without
  355. 12:36affecting the stored data
  356. 12:38and also without affecting the existing
  357. 12:40application programs
  358. 12:42so that is about the flexibility of the
  359. 12:44database management system
  360. 12:46the next implication is availability of
  361. 12:48up-to-date
  362. 12:49information as we know dbms allows
  363. 12:52multiple users to share a database
  364. 12:56when one user updates the data in the
  365. 12:58database
  366. 12:59all other users can immediately see this
  367. 13:02update
  368. 13:03and this availability of up-to-date
  369. 13:05information
  370. 13:06is necessary or it is essential for many
  371. 13:08transaction processing
  372. 13:10applications and this availability of
  373. 13:12up-to-date information
  374. 13:14is made possible by concurrency control
  375. 13:16and
  376. 13:17recovery subsystems of dbms we have
  377. 13:20already seen that the recovery
  378. 13:21subsystems
  379. 13:22is responsible for recovering from any
  380. 13:24kind of hardware or software failures
  381. 13:27and in our previous video also we have
  382. 13:29seen what is concurrency control
  383. 13:31concurrency control manages simultaneous
  384. 13:34access to the database
  385. 13:36that is it prevents two users from
  386. 13:38editing the same
  387. 13:39data of the same record at the same time
  388. 13:42so that is about
  389. 13:43availability of up-to-date information
  390. 13:45the next
  391. 13:46implication is economies of scale
  392. 13:49dbms allows consolidating or combining
  393. 13:52data and applications
  394. 13:54so that we can prevent wasteful overlap
  395. 13:57of resources
  396. 13:58or wasteful overlap of activities in
  397. 14:01different departments of the same
  398. 14:03organization so this allows a large
  399. 14:06organization
  400. 14:07to invest in more powerful equipments
  401. 14:09rather than
  402. 14:10each department having their own
  403. 14:12equipment thus
  404. 14:13preventing wasteful overlap so that
  405. 14:16reduces the overall
  406. 14:17cost of operation and management so
  407. 14:20these are the different
  408. 14:21implications of using database approach
  409. 14:24in addition to the advantages
  410. 14:26next let us see the disadvantages of
  411. 14:28dbms or when
  412. 14:30not to use dbms though dbms has its
  413. 14:33advantages
  414. 14:34it also has its disadvantages database
  415. 14:38systems might have certain overhead
  416. 14:40costs
  417. 14:41and these overhead costs of using dbms
  418. 14:44are due to certain reasons the first is
  419. 14:47the high investment that we have to do
  420. 14:49initially
  421. 14:50in hardware software and also in
  422. 14:52training
  423. 14:53next there is always an overhead cost
  424. 14:56for providing
  425. 14:57security concurrency control recovery
  426. 15:00etc more problems can arise if the
  427. 15:02database designer
  428. 15:04and the database administrator do not
  429. 15:06design the database
  430. 15:07properly so rather than using dbms we
  431. 15:10can use the regular file system
  432. 15:12when the database and the applications
  433. 15:14are very simple
  434. 15:16and well defined and there are no
  435. 15:18changes expected
  436. 15:20also when multiple user access is not
  437. 15:22required we can use the regular files
  438. 15:24rather than dbms
  439. 15:26so this is about the disadvantages of
  440. 15:28dbms
  441. 15:29with this we come to the end of this
  442. 15:31video hope you have understood the
  443. 15:33different advantages and disadvantages
  444. 15:35of using dbms approach
  445. 15:37thank you
  446. 15:41[Music]

About this transcript

This page contains the full transcript of Advantages & Disadvantages of DBMS by Neso Academy, generated from the public captions YouTube serves with the video. The transcript has 2,156 words across 446 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.