<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2659894398374244058</id><updated>2024-09-01T09:02:12.005-07:00</updated><title type='text'>BCOM RDBMS</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bcom-rdbms-notes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2659894398374244058/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://bcom-rdbms-notes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2659894398374244058.post-3716618342101711265</id><published>2011-10-05T03:36:00.000-07:00</published><updated>2016-11-18T01:49:20.065-08:00</updated><title type='text'>Unit-I</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;1. What is Data?&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; Data is a collection of raw information.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;2. What is Information?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; Information is a collection of processed data&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;3. What is Database?&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Database is a collection of inter-related data items that can be processed by one or more&lt;br /&gt;
application systems.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;4. What is DBMS?&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;Database Management System is a collection of interrelated data and set of programs to&lt;br /&gt;
access those data. The DBMS is a general purpose software system that facilitates the&lt;br /&gt;
process of defining constructing and manipulating databases for various applications.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;color: red;&quot; /&gt; &lt;span style=&quot;color: blue;&quot;&gt;5. What are the disadvantages of File Oriented System?&lt;/span&gt;&lt;br /&gt;
The typical file-oriented system is supported by a conventional operating system.&lt;br /&gt;
Permanent records are stored in various files and a number of different application programs&lt;br /&gt;
are written to extract records from and add records to the appropriate files.&lt;br /&gt;
The following are the disadvantages of File-Oriented System:&lt;br /&gt;
(i). Data redundancy and Inconsistency: Since files and application programs are created&lt;br /&gt;
by different programmers over a long period of time, the files are likely to be have different&lt;br /&gt;
formats and the programs may be written in several programming languages. Moreover, the&lt;br /&gt;
same piece of information may be duplicated in several places. This redundancy leads to higher&lt;br /&gt;
storage and access cost. In addition, it may lead to data inconsistency, i.e. the various copies of&lt;br /&gt;
same data may no longer agree.&lt;br /&gt;
(ii). Difficulty in accessing data: the conventional file processing environments do not allow&lt;br /&gt;
needed data to be retrieved in a convenient and efficient manner. Better data retrieval system&lt;br /&gt;
must be developed for general use.&lt;br /&gt;
(iii). Data isolation: Since data is scattered in various files, and files may be in different&lt;br /&gt;
formats, it is difficult to write new application programs to retrieve the appropriate data.&lt;br /&gt;
(iv). Concurrent access anomalies: In order to improve the overall performance of the&lt;br /&gt;
system and obtain a faster response time, many systems allow multiple users to update the&lt;br /&gt;
data simultaneously. In such an environment, interaction of concurrent updates may result in&lt;br /&gt;
inconsistent data.&lt;br /&gt;
(v). security problems: Not every user of the database system should be able to access all&lt;br /&gt;
the data. For example, in banking system, payroll personnel need only that part of the database&lt;br /&gt;
that has information about various bank employees. They do not need access to information&lt;br /&gt;
about customer accounts. It is difficult to enforce such security constraints.&lt;br /&gt;
(vi). Integrity problems: The data values stored in the database must satisfy certain types of&lt;br /&gt;
consistency constraints. For example, the balance of a bank account may never fall below a&lt;br /&gt;
prescribed amount. These constraints are enforced in the system by adding appropriate code in&lt;br /&gt;
the various application programs. When new constraints are added, it is difficult to change the&lt;br /&gt;
programs to enforce them. The problem is compounded when constraints involve several data&lt;br /&gt;
items for different files.&lt;br /&gt;
(vii). Atomicity problem: A computer system like any other mechanical or electrical device is&lt;br /&gt;
subject to failure. In many applications, it is crucial to ensure that once a failure has occurred&lt;br /&gt;
and has been detected, the data are restored to the consistent state existed prior to the failure.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;6.&amp;nbsp; What are the advantages of DBMS over File Oriented System?&lt;span style=&quot;-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;The following are the advantages of DBMS:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.25in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;I. Data Redundancy:&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; A major difficulty was that many applications used their own special files of data. Thus, some data items were common &amp;nbsp;&amp;nbsp;to  several applications. In a bank, for example, the same customer name  might appear in a checking account file, a savings account file and an  installment loan file. Moreover, even though it was always the customer  name, the related field often had a different name in the various  account files. Thus, CNAME in the checking account file became SNAME in  the savings account file and INAME in the installment loan file. The  same field also has a different length in the various files. &amp;nbsp;For  example, CNAME could be up to 20 characters, but SNAME and INAME might  be limited to 15 characters. This redundancy increased the overhead  costs of maintenance and storage. Data redundancy also increased the  risk of inconsistency among the various versions of common data.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Suppose  a customer’s name was changed. The name field might be immediately  updated in the checking account file, updated next week in the savings  account file and updated incorrectly in the installment loan file. Over  time, such discrepancies can cause serious degradation in the quality of  information contained in the data files. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Database  systems can eliminate data redundancy, since all applications share a &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  common pool of data. Essential information such as customer  name will appear just once&amp;nbsp; in the database. &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2659894398374244058/posts/default/3716618342101711265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2659894398374244058/posts/default/3716618342101711265'/><link rel='alternate' type='text/html' href='http://bcom-rdbms-notes.blogspot.com/2011/10/unit-i.html' title='Unit-I'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>