<?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-3000999105376702363</id><updated>2024-08-28T20:06:25.879+05:30</updated><category term="s"/><title type='text'>Relational Database Management system</title><subtitle type='html'>SQL - RDBMS Concepts - RDBMS stands for Relational Database Management System. RDBMS is the basis for SQL, Relational database models,database language,,Entity sets </subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-7345295040893122663</id><published>2020-05-22T20:06:00.001+05:30</published><updated>2020-05-22T20:06:52.192+05:30</updated><title type='text'>what is Cardinality  or binary relationship? explain in details with example and diagram</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt; mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt;Cardinality/Binary relationship &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt; mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt; mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt;It defines the numerical attributes of the relationship
between two entites or entity sets.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt; mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt;One to one relationship&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt; mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt; : - &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt; mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt; mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt;When a single instance of an entity is associated with
a single instance of another entity then it is called one to one relationship. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt; mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt;For example : - a person has only one passport and a
passport is given to one person.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigZgng3GQ494ItjhA29XlmWnpWpDFhhFcBKK29OIZ_tvH9rduSB6Rx3dxASa5Oo8tdL825l8VZr57yhHh12jUilc-FuG-TUazZVdiTlxn6IotPoajf-8Gx4n_tYZMKilEddYTYUPMpg5-p/s1600/card.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;101&quot; data-original-width=&quot;667&quot; height=&quot;96&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigZgng3GQ494ItjhA29XlmWnpWpDFhhFcBKK29OIZ_tvH9rduSB6Rx3dxASa5Oo8tdL825l8VZr57yhHh12jUilc-FuG-TUazZVdiTlxn6IotPoajf-8Gx4n_tYZMKilEddYTYUPMpg5-p/s640/card.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;One to many relationship&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt; &lt;b&gt;: -&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;When a single instance of an entity is associated with more than one
instance of another entity then it is called one to many relationship.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;For example: -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;One customer can placed many orders but an order can’t be placed by many
customers.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdIsIexqg6ImWwWz50E9qn1-Hu59Fk_SH-NAePEBzlWJOCra1GPUz7ZpO_XB17Bek3x04foCM0p1KwX5S-uQXFnXnxwUQ1Z09AIoqOOPDkTwOmDOllFY-Ju1ySqmbGdKAmMM8ac17C4slb/s1600/card.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;138&quot; data-original-width=&quot;626&quot; height=&quot;140&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdIsIexqg6ImWwWz50E9qn1-Hu59Fk_SH-NAePEBzlWJOCra1GPUz7ZpO_XB17Bek3x04foCM0p1KwX5S-uQXFnXnxwUQ1Z09AIoqOOPDkTwOmDOllFY-Ju1ySqmbGdKAmMM8ac17C4slb/s640/card.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;Many to One relationship&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;: - &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;When more than one instance of an entity is associated with single
instance of another entity then it is called many to one relationship.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;For example: -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;Many students can study in a single college but a student in many
colleges at same time.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPj2vHSkXQ8vURN-NpT3ZXeHePKZAZ2uino5JbLMDxal9L05q4SO5Ze-8NDf8xiV9hwmCYFfrmwOw2V0tLKkQ0KPXUlVH3sX_c9UOmDgP6he0g0NO-lcQsPxhJX8EoBj5ykbHBIJwdJNe9/s1600/card.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;87&quot; data-original-width=&quot;622&quot; height=&quot;88&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPj2vHSkXQ8vURN-NpT3ZXeHePKZAZ2uino5JbLMDxal9L05q4SO5Ze-8NDf8xiV9hwmCYFfrmwOw2V0tLKkQ0KPXUlVH3sX_c9UOmDgP6he0g0NO-lcQsPxhJX8EoBj5ykbHBIJwdJNe9/s640/card.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;Many to many relationship&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;: -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;

&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;When more than one instance is associated with more than instance of
another entity then it is called many to many relationship.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;For example: -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;

&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;More than one employee assigned to many project and many project can be
assigned to many employee.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzLHftyRe-rt4FW4FPKurMalwY7mQJCNfflbckwBkQecKVnvp8XYANGjSDVKCtnrbADDGVJ0ljCUKHheM84bYFTgeLq-IU4dNMyVip97h0CoPQ2nSToexqnex0EsS_92NmMxnQ_UMtjDqn/s1600/card.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;79&quot; data-original-width=&quot;638&quot; height=&quot;78&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzLHftyRe-rt4FW4FPKurMalwY7mQJCNfflbckwBkQecKVnvp8XYANGjSDVKCtnrbADDGVJ0ljCUKHheM84bYFTgeLq-IU4dNMyVip97h0CoPQ2nSToexqnex0EsS_92NmMxnQ_UMtjDqn/s640/card.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/7345295040893122663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-cardinality-or-binary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/7345295040893122663'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/7345295040893122663'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-cardinality-or-binary.html' title='what is Cardinality  or binary relationship? explain in details with example and diagram'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigZgng3GQ494ItjhA29XlmWnpWpDFhhFcBKK29OIZ_tvH9rduSB6Rx3dxASa5Oo8tdL825l8VZr57yhHh12jUilc-FuG-TUazZVdiTlxn6IotPoajf-8Gx4n_tYZMKilEddYTYUPMpg5-p/s72-c/card.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-6791614938396926488</id><published>2020-05-18T21:12:00.001+05:30</published><updated>2020-05-18T21:12:09.218+05:30</updated><title type='text'>What is FILES of records in DBMS? explain in details. Also explain operation  on files</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;FILES OF RECORDS&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;A file is a &lt;i&gt;sequence&lt;/i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;of records, where each record is a collection
of data values (or data items).&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;A &lt;i&gt;file descriptor&lt;/i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;(or &lt;i&gt;file header&lt;/i&gt; ) includes information
that describes the file, such as the &lt;i&gt;field names&lt;/i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;and their &lt;i&gt;data types&lt;/i&gt;, and the
addresses of the file blocks on disk.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Records are stored on disk blocks.
The &lt;i&gt;blocking factor&lt;/i&gt; &lt;i&gt;bfr&lt;/i&gt; for a file is the (average) number of
file records stored in a disk block.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;A file can have &lt;i&gt;fixed-length&lt;/i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;records or &lt;i&gt;variable-length&lt;/i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;records.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Operation
on Files&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;u&gt;&lt;b&gt;Typical file operations
include:&lt;/b&gt;&lt;/u&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;OPEN:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; Readies the file for access, and associates a
pointer that will refer to a &lt;i&gt;current&lt;/i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;file record at each point in time.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;FIND:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; Searches for the first file record that
satisfies a certain condition, and makes it the current file record.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;FINDNEXT:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; Searches for the next file record
(from the current record) that satisfies a certain condition, and makes it the
current file record.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;READ:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; Reads the current file record into a program
variable.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;INSERT:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; Inserts a new record into the file, and makes
it the current file record. &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;DELETE:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; Removes the current file record from the file,
usually by marking the record to indicate that it is no longer valid.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;MODIFY:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; Changes the values of some fields of the
current file record.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;CLOSE:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; Terminates access to the file.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;REORGANIZE:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; Reorganizes the file records. For
example, the records marked deleted are physically removed from the file or a
new organization of the file records is created.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;READ_ORDERED:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; Read the file blocks in order of a
specific field of the file. &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 16.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 17.0pt;&quot;&gt;Unordered Files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Also called a &lt;i&gt;heap&lt;/i&gt; or a &lt;i&gt;pile&lt;/i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;file.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;New records are inserted at the end
of the file.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;To search for a record, a &lt;i&gt;linear
search&lt;/i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;through the file records is
necessary. This requires reading and searching half the file blocks on the
average, and is hence quite expensive.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Record insertion is quite efficient.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Reading the records in order of a
particular field requires sorting the file records. &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 18.0pt; line-height: 115%; mso-ansi-language: EN-US;&quot;&gt;Ordered Files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Also called a &lt;i&gt;sequential file&lt;/i&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;File records are kept sorted by the
values of an &lt;i&gt;ordering field&lt;/i&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Insertion is expensive: records must
be inserted in the &lt;i&gt;correct order&lt;/i&gt;. It is common to keep a separate
unordered &lt;i&gt;overflow&lt;/i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;(or &lt;i&gt;transaction&lt;/i&gt;
) file for new records to improve insertion efficiency; this is periodically
merged with the main ordered file.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;A &lt;i&gt;binary search&lt;/i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;can be used to search for a record on its &lt;i&gt;ordering
field value&lt;/i&gt;. This requires reading and searching log&lt;sub&gt;2&lt;/sub&gt; of the
file blocks on the average, an improvement over linear search.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Reading the records in order of the
ordering field is quite efficient.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb1CUSpnl416vbJ8dKsWCxe1G2m7B8vcjj_RZN5Z7OyCt4H_kouMILGeonSlMFPSsAeTl19KQsvSIM5mqJ4AULD1RgammhEAkR49lPfcTZq9qDg7vtLYWmEFuk4N7nAaRNwspTQhh3S22C/s1600/hh.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;615&quot; data-original-width=&quot;738&quot; height=&quot;533&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb1CUSpnl416vbJ8dKsWCxe1G2m7B8vcjj_RZN5Z7OyCt4H_kouMILGeonSlMFPSsAeTl19KQsvSIM5mqJ4AULD1RgammhEAkR49lPfcTZq9qDg7vtLYWmEFuk4N7nAaRNwspTQhh3S22C/s640/hh.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot;
 coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot;
 filled=&quot;f&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_1&quot; o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot;
 alt=&quot; 13.09.gif                                                      0001035BEeyore                         B91DCF3B:&quot;
 style=&#39;width:320.4pt;height:256.8pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\Users\hp\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoCaption&quot;&gt;
&lt;span style=&quot;mso-spacerun: yes;&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;&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;&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;/div&gt;
&lt;div class=&quot;MsoCaption&quot;&gt;
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&lt;/span&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Figure &lt;!--[if supportFields]&gt;&lt;span style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt;&lt;span
style=&#39;mso-spacerun:yes&#39;&gt; &lt;/span&gt;SEQ Figure \* ARABIC &lt;span style=&#39;mso-element:
field-separator&#39;&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;1&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span
style=&#39;mso-element:field-end&#39;&gt;&lt;/span&gt;&lt;![endif]--&gt; Ordered Files&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hashed files &lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Hashing
for disk files is called &lt;i&gt;External Hashing. &lt;b&gt;&lt;u&gt;To continue read about HASHING or
HASHED FILES visit my blogger site&lt;/u&gt;&lt;/b&gt; &lt;/i&gt;&lt;/span&gt;&lt;a href=&quot;https://myrdbmsnotes.blogspot.com/2020/05/what-is-hashed-files-in-dbms-explain.html&quot;&gt;https://myrdbmsnotes.blogspot.com/2020/05/what-is-hashed-files-in-dbms-explain.html&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/6791614938396926488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-files-of-records-in-dbms.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/6791614938396926488'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/6791614938396926488'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-files-of-records-in-dbms.html' title='What is FILES of records in DBMS? explain in details. Also explain operation  on files'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb1CUSpnl416vbJ8dKsWCxe1G2m7B8vcjj_RZN5Z7OyCt4H_kouMILGeonSlMFPSsAeTl19KQsvSIM5mqJ4AULD1RgammhEAkR49lPfcTZq9qDg7vtLYWmEFuk4N7nAaRNwspTQhh3S22C/s72-c/hh.JPG" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-5151995320881278396</id><published>2020-05-18T20:59:00.000+05:30</published><updated>2020-05-18T20:59:18.331+05:30</updated><title type='text'>What is Hashed files in DBMS? explain with proper diagram</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 48.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 25.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Hashed Files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Hashing for disk files is called &lt;i&gt;External
Hashing&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;The file blocks are divided into M
equal-sized &lt;i&gt;buckets&lt;/i&gt;, numbered bucket&lt;sub&gt;0&lt;/sub&gt;, bucket&lt;sub&gt;1&lt;/sub&gt;,
..., &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;bucket &lt;sub&gt;M-1&lt;/sub&gt;. Typically, a bucket
corresponds to one (or a fixed number of) disk block.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;One of the file fields is designated
to be the hash key of the file.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;The record with hash key value K is
stored in bucket i, where i=h(K), and h is the &lt;i&gt;hashing function&lt;/i&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Search is very efficient on the hash
key.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Collisions occur when a new record
hashes to a bucket that is already full. An overflow file is kept for storing
such records. Overflow records that hash to each bucket can be linked together.
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;There are
numerous methods for collision resolution, including the following:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Open addressing:&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; Proceeding from the occupied
position specified by the hash address, the program checks the subsequent
positions in order until an unused (empty) position is found. &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Chaining:&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; For this method, various overflow
locations are kept, usually by extending the array with a number of overflow
positions. In addition, a pointer field is added to each record location. A
collision is resolved by placing the new record in an unused overflow location
and setting the pointer of the occupied hash address location to the address of
that overflow location. &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo2; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Multiple hashing:&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; The program applies a second hash
function if the first results in a collision. If another collision results, the
program uses open addressing or applies a third hash function and then uses
open addressing if necessary.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC6pAySuOvUcMpgjQJQtNGg1ES4i3ofsQh4U50LmI7vdxsrLxnXSusVnIX8py6NQWYTRu7Olx9mz4X70hXLGtIn5OsqFVUlHQCaDFWGPN7tp8dt32v09WVGsaenycyoXIpJp6REJ5ed4M5/s1600/hh.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;509&quot; data-original-width=&quot;1075&quot; height=&quot;303&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC6pAySuOvUcMpgjQJQtNGg1ES4i3ofsQh4U50LmI7vdxsrLxnXSusVnIX8py6NQWYTRu7Olx9mz4X70hXLGtIn5OsqFVUlHQCaDFWGPN7tp8dt32v09WVGsaenycyoXIpJp6REJ5ed4M5/s640/hh.JPG&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot;
 coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot;
 filled=&quot;f&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_2&quot; o:spid=&quot;_x0000_i1027&quot; type=&quot;#_x0000_t75&quot;
 alt=&quot; 13.11.gif                                                      0001035BEeyore                         B91DCF3B:&quot;
 style=&#39;width:451.8pt;height:210.6pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\Users\hp\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoCaption&quot;&gt;
&lt;span style=&quot;mso-spacerun: yes;&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;&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;&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;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Figure &lt;!--[if supportFields]&gt;&lt;span
style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt;&lt;span style=&#39;mso-spacerun:yes&#39;&gt; &lt;/span&gt;SEQ
Figure \* ARABIC &lt;span style=&#39;mso-element:field-separator&#39;&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;1&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span style=&#39;mso-element:
field-end&#39;&gt;&lt;/span&gt;&lt;![endif]--&gt; Hashed Files&lt;/div&gt;
&lt;div class=&quot;MsoCaption&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;To reduce overflow records, a hash
file is typically kept 70-80% full.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;The hash function h should
distribute the records uniformly among the buckets; otherwise, search time will
be increased because many overflow records will exist.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Main disadvantages of static
external hashing:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l3 level1 lfo3; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&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; &lt;/span&gt;- Fixed number of buckets M is a
problem if the number of records in the file grows &lt;span style=&quot;mso-spacerun: yes;&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;&lt;/span&gt;or
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;shrinks.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&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; &lt;/span&gt;- Ordered access on the hash key
is quite inefficient (requires&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;sorting
the records).&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFitoscuBzq1RwIok9GSL2_XINkVIDmZln62zXeBzTvhtdGe4IVZZRGN82AFf4UE7LQ3CmEnq66hj087qhwVsp1ZTk3HQK0pfYD2aSwEJqRH2dKCKsGNznvVdLCx0f4AFxcyyxNv0QYt8W/s1600/hh.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;717&quot; data-original-width=&quot;1084&quot; height=&quot;422&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFitoscuBzq1RwIok9GSL2_XINkVIDmZln62zXeBzTvhtdGe4IVZZRGN82AFf4UE7LQ3CmEnq66hj087qhwVsp1ZTk3HQK0pfYD2aSwEJqRH2dKCKsGNznvVdLCx0f4AFxcyyxNv0QYt8W/s640/hh.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Picture_x0020_3&quot;
 o:spid=&quot;_x0000_i1026&quot; type=&quot;#_x0000_t75&quot; alt=&quot; 13.12.gif                                                      0001035BEeyore                         B91DCF3B:&quot;
 style=&#39;width:451.2pt;height:320.4pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\Users\hp\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoCaption&quot;&gt;
&lt;span style=&quot;mso-spacerun: yes;&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; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;Figure
&lt;!--[if supportFields]&gt;&lt;span style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt;&lt;span
style=&#39;mso-spacerun:yes&#39;&gt; &lt;/span&gt;SEQ Figure \* ARABIC &lt;span style=&#39;mso-element:
field-separator&#39;&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;2&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span
style=&#39;mso-element:field-end&#39;&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Hashed Files - Overflow handling&lt;/div&gt;
&lt;div class=&quot;MsoCaption&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Dynamic
And Extendible Hashed Files&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Dynamic and Extendible Hashing
Techniques&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Hashing techniques are adapted to
allow the dynamic growth and shrinking of the number of file records.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;These techniques include the
following: &lt;i&gt;dynamic hashing&lt;/i&gt; , &lt;i&gt;extendible hashing&lt;/i&gt; , and &lt;i&gt;linear
hashing&lt;/i&gt; .&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Both dynamic and extendible hashing
use the &lt;i&gt;binary representation&lt;/i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;of
the hash value h(K) in order to access a &lt;i&gt;directory&lt;/i&gt;. In dynamic hashing
the directory is a binary tree. In extendible hashing the directory is an array
of size 2&lt;sup&gt;d&lt;/sup&gt; where d is called the &lt;i&gt;global depth.&lt;/i&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;The directories can be stored on
disk, and they expand or shrink dynamically. Directory entries point to the
disk blocks that contain the stored records.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;An insertion in a disk block that is
full causes the block to split into two blocks and the records are
redistributed among the two blocks. The directory is updated appropriately.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Dynamic and extendible hashing do
not require an overflow area. &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;l&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Linear hashing does require an
overflow area but &lt;u&gt;does not&lt;/u&gt; use a directory. Blocks are split in &lt;i&gt;linear
order&lt;/i&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;as the file expands.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo4; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCZNb1lraRVDcEx2ySCMBbb2CVv-gy2r7dyBQVFaLsvnHqRRJR081I9P9S6UyFiaS5WzBYHrBwOcMm5nfW_EKWchuqehNOikPYclGK1t5ScrWzY-wOl7WDDxItavoAGNPIfwFHrbsGahc8/s1600/hh.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;813&quot; data-original-width=&quot;1178&quot; height=&quot;440&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCZNb1lraRVDcEx2ySCMBbb2CVv-gy2r7dyBQVFaLsvnHqRRJR081I9P9S6UyFiaS5WzBYHrBwOcMm5nfW_EKWchuqehNOikPYclGK1t5ScrWzY-wOl7WDDxItavoAGNPIfwFHrbsGahc8/s640/hh.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Picture_x0020_4&quot;
 o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; alt=&quot; 13.13.gif                                                      0001035BEeyore                         B91DCF3B:&quot;
 style=&#39;width:450.6pt;height:383.4pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\Users\hp\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoCaption&quot;&gt;
&lt;span style=&quot;mso-spacerun: yes;&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;&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;&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;Figure &lt;!--[if supportFields]&gt;&lt;span style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt;&lt;span
style=&#39;mso-spacerun:yes&#39;&gt; &lt;/span&gt;SEQ Figure \* ARABIC &lt;span style=&#39;mso-element:
field-separator&#39;&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;3&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span
style=&#39;mso-element:field-end&#39;&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Extendible Hashing&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/5151995320881278396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-hashed-files-in-dbms-explain.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/5151995320881278396'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/5151995320881278396'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-hashed-files-in-dbms-explain.html' title='What is Hashed files in DBMS? explain with proper diagram'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC6pAySuOvUcMpgjQJQtNGg1ES4i3ofsQh4U50LmI7vdxsrLxnXSusVnIX8py6NQWYTRu7Olx9mz4X70hXLGtIn5OsqFVUlHQCaDFWGPN7tp8dt32v09WVGsaenycyoXIpJp6REJ5ed4M5/s72-c/hh.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-259254843277346820</id><published>2020-05-14T19:29:00.000+05:30</published><updated>2020-05-14T19:51:55.842+05:30</updated><title type='text'>In DBMS-What is Timestamp based concurrency control algorithm? explain Multiversion technique using timestamp ordering</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;Timestamp based concurrency
control&amp;nbsp;&lt;/u&gt;&lt;u&gt;algorithm&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&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; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Timestamp&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/u&gt;: - &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;A monotonically increasing variable
(integer) indicating the age of an operation or a transaction.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;A larger timestamp value indicates a more
recent event or operation.&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Timestamp
based algorithm uses timestamp to serialize the execution of concurrent
transactions&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Basic Timestamp Ordering&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;1.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Transaction T issues a write_item(X) operation:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0cm;&quot; type=&quot;a&quot;&gt;
 &lt;ol start=&quot;1&quot; style=&quot;margin-top: 0cm;&quot; type=&quot;a&quot;&gt;
  &lt;ol start=&quot;1&quot; style=&quot;margin-top: 0cm;&quot; type=&quot;a&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level3 lfo1; tab-stops: list 108.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;If read_TS(X) &amp;gt; TS(T) or
       if write_TS(X) &amp;gt; TS(T), then an younger transaction has already read
       the data item so abort and roll-back T and reject the operation.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level3 lfo1; tab-stops: list 108.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;If the condition in part (a)
       does not exist, then execute write_item(X) of T and set write_TS(X) to
       TS(T).&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;2.&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;Transaction T issues a read_item(X) operation:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0cm;&quot; type=&quot;a&quot;&gt;
 &lt;ol start=&quot;1&quot; style=&quot;margin-top: 0cm;&quot; type=&quot;a&quot;&gt;
  &lt;ol start=&quot;1&quot; style=&quot;margin-top: 0cm;&quot; type=&quot;a&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l1 level3 lfo2; tab-stops: list 108.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;If write_TS(X) &amp;gt; TS(T),
       then an younger transaction has already written to the data item so
       abort and roll-back T and reject the operation.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;If
write_TS(X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;symbol&amp;quot;; mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Symbol;&quot;&gt;£&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt; TS(T),
then execute read_item(X) of T and set read_TS(X) to the larger of TS(T) and
the current read_TS(X&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Strict
Timestamp Ordering&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;1.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;u&gt;Transaction
T issues a write_item(X) operation:&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;a. If TS(T) &amp;gt; read_TS(X), then delay T
until the transaction T’ that wrote or read X has terminated &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;(committed or
aborted).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;2.&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;&lt;b&gt;&lt;u&gt;Transaction T issues a read_item(X) operation:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;a. If TS(T)
&amp;gt; write_TS(X), then delay T until the transaction T’ that wrote or read X
has terminated &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;(committed or
aborted).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Thomas’s
Write Rule&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;1.If
read_TS(X) &amp;gt; TS(T) then abort and roll-back T and reject the operation.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;2.If
write_TS(X) &amp;gt; TS(T), then just ignore the write operation and continue
execution.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;This is because the most
recent writes counts in case of two consecutive writes.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;3.If the
conditions given in 1 and 2 above do not occur, then execute write_item(X) of T
and set write_TS(X) to TS(T).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Multiversion
concurrency control techniques&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Concept&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;This
approach maintains a number of versions of a data item and allocates the right
version to a read operation of a transaction.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;Thus unlike other mechanisms a read operation in this mechanism is never
rejected.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;u&gt;Side
effect:&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Significantly more storage (RAM
and disk) is required to maintain multiple versions.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;To check unlimited growth of versions, a
garbage collection is run when some criteria is satisfied.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Multiversion
technique based on timestamp ordering &lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;This
approach maintains a number of versions of a data item and allocates the right
version to a read operation of a transaction.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;Thus unlike other mechanisms a read operation in this mechanism is never
rejected.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Side
effects&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Significantly more storage (RAM and disk) is
required to maintain multiple versions.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;To check unlimited growth of versions, a garbage collection is run when
some criteria is satisfied.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Explanation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Assume X1,
X2, …, Xn are the version of a data item X created by a write operation of
transactions.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;With each Xi a read_TS
(read timestamp) and a write_TS (write timestamp) are associated.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;read_TS(Xi)&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;The read timestamp of Xi is the largest of all the timestamps of
transactions that have successfully read version Xi.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;write_TS(Xi)&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;The write timestamp of Xi that wrote the value of version Xi.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;A new
version of Xi is created only by a write operation.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;To ensure
serializability, the following two rules are used.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;If
transaction T issues write_item (X) and version i of X has the highest
write_TS(Xi) of all versions of X that is also less than or equal to TS(T), and
read _TS(Xi) &amp;gt; TS(T), then abort and roll-back T;&amp;nbsp;&lt;/span&gt;&amp;nbsp;otherwise create a new
version Xi and read_TS(X) = write_TS(Xj) = TS(T).&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;If
transaction T issues read_item (X), find the version i of X that has the
highest write_TS(Xi) of all versions of X that is also less than or equal to
TS(T), then return the value of Xi to T, and set the value of read _TS(Xi) to
the largest of TS(T) and the current read_TS(Xi).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/259254843277346820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-timestamp-based-concurrency.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/259254843277346820'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/259254843277346820'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-timestamp-based-concurrency.html' title='In DBMS-What is Timestamp based concurrency control algorithm? explain Multiversion technique using timestamp ordering'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-3276959706313140684</id><published>2020-05-11T21:08:00.001+05:30</published><updated>2020-05-11T21:08:53.858+05:30</updated><title type='text'>What is Normalization in DBMS &amp; its form? explain in details with example </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: x-large;&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;&lt;u&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Normalization &lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;Normalization&lt;/span&gt;&lt;/i&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt; is a process
that “improves” a database design by generating relations that are of higher
normal forms.&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;The &lt;i&gt;objective&lt;/i&gt; of normalization:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;“&lt;/span&gt;&lt;i style=&quot;font-size: 22pt;&quot;&gt;to create relations where every dependency is on
the key, the whole key, and nothing but the key&lt;/i&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;”.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;We discuss
four normal forms: first, second, third, and Boyce-Codd normal forms&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;1NF, 2NF,
3NF, and BCNF&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;There is a sequence
to normal forms: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;1NF is
considered the weakest, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;2NF is
stronger than 1NF, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;3NF is
stronger than 2NF, and &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;BCNF is
considered the strongest&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;Also, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;any relation
that is in BCNF, is in 3NF; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;any relation
in 3NF is in 2NF; and &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;any relation
in 2NF is in 1NF.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhObKsN-RnpHQW_RVadGlhQkCvkcDMYFeTTQL7K_osFKV1qHsJWyWn5GkM9rht-G4WGns6d63RxGcyvPCpag3jfEZfVvAhVMZH40YkbAgcUuRWWZnWN-cdGvSNXHLdEYXN5mdttBOC8GH_H/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;374&quot; data-original-width=&quot;356&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhObKsN-RnpHQW_RVadGlhQkCvkcDMYFeTTQL7K_osFKV1qHsJWyWn5GkM9rht-G4WGns6d63RxGcyvPCpag3jfEZfVvAhVMZH40YkbAgcUuRWWZnWN-cdGvSNXHLdEYXN5mdttBOC8GH_H/s400/1nf.JPG&quot; width=&quot;380&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype
 id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot;
 path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_1&quot; o:spid=&quot;_x0000_i1029&quot; type=&quot;#_x0000_t75&quot;
 style=&#39;width:355.2pt;height:375.6pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\Users\hp\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US;&quot;&gt;a relation in BCNF, is also in 3NF&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US;&quot;&gt;a relation in 3NF is also in 2NF&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US;&quot;&gt;a relation in 2NF is also in 1NF&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;We consider
a relation in BCNF to be fully normalized. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;The benefit
of higher normal forms is that update semantics for the affected data are
simplified. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;This means
that applications required to maintain the database are simpler. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;A design
that has a lower normal form than another design has more redundancy.
Uncontrolled redundancy can lead to data integrity problems.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;First we
introduce the concept of functional dependency&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;&lt;u&gt;Functional Dependencies&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;We say an attribute, B, has a &lt;i&gt;functional dependency&lt;/i&gt;
on another attribute, A, if for any two records, which have&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;the same value for A, then the values for B in these
two records must be the same. We illustrate this as:&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;A &lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-family: Wingdings; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt; B&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;Example:
Suppose we keep track of employee email addresses, and we only track one email
address for each employee. Suppose each employee is identified by their unique
employee number. We say there is a functional dependency of email address on
employee number:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;employee
number&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-family: Wingdings; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;email addres&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLIvzVh8qD-BmxtrcinK6elZOdyj3Jpwt_i54qMJNs6cm-CpsFxSOJPzAefDYbhbrD3l4nvj913_2ZBLgxgvjheeE60_TfVGeP9rvPZN768Lo9oHLzlUfcID7QesSlJ_yZ1Vie-crUEQlR/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;167&quot; data-original-width=&quot;489&quot; height=&quot;136&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLIvzVh8qD-BmxtrcinK6elZOdyj3Jpwt_i54qMJNs6cm-CpsFxSOJPzAefDYbhbrD3l4nvj913_2ZBLgxgvjheeE60_TfVGeP9rvPZN768Lo9oHLzlUfcID7QesSlJ_yZ1Vie-crUEQlR/s400/1nf.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;If EmpNum is the PK then the FDs:&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;EmpNum &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-family: Wingdings; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt; EmpEmail &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;EmpNum &lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-family: Wingdings; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt; EmpFname &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;EmpNum &lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-family: Wingdings; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt; EmpLname &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;must exist.&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;EmpNum &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-family: Wingdings; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt; EmpEmail &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;!--[if gte vml 1]&gt;&lt;o:wrapblock&gt;&lt;v:shape id=&quot;Object_x0020_3&quot;
  o:spid=&quot;_x0000_s1040&quot; type=&quot;#_x0000_t75&quot; style=&#39;position:absolute;
  margin-left:317.3pt;margin-top:86.25pt;width:166.55pt;height:90.25pt;
  z-index:1;visibility:visible;mso-wrap-distance-left:13.32pt;
  mso-wrap-distance-top:2.88pt;mso-wrap-distance-right:15.12pt;
  mso-wrap-distance-bottom:.88pt;mso-position-horizontal:absolute;
  mso-position-horizontal-relative:text;mso-position-vertical:absolute;
  mso-position-vertical-relative:text&#39; o:gfxdata=&quot;UEsDBBQABgAIAAAAIQC75UiUBQEAAB4CAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKSRvU7DMBSF
dyTewfKKEqcMCKEmHfgZgaE8wMW+SSwc27JvS/v23KTJgkoXFsu+P+c7Ol5vDoMTe0zZBl/LVVlJ
gV4HY31Xy4/tS3EvRSbwBlzwWMsjZrlprq/W22PELHjb51r2RPFBqax7HCCXIaLnThvSAMTP1KkI
+gs6VLdVdad08ISeCho1ZLN+whZ2jsTzgcsnJwldluLxNDiyagkxOquB2Knae/OLUsyEkjenmdzb
mG/YhlRnCWPnb8C898bRJGtQvEOiVxjYhtLOxs8AySiT4JuDystlVV4WPeM6tK3VaILeDZxIOSsu
ti/jidNGNZ3/J08yC1dNv9v8AAAA//8DAFBLAwQUAAYACAAAACEArTA/8cEAAAAyAQAACwAAAF9y
ZWxzLy5yZWxzhI/NCsIwEITvgu8Q9m7TehCRpr2I4FX0AdZk2wbbJGTj39ubi6AgeJtl2G9m6vYx
jeJGka13CqqiBEFOe2Ndr+B03C3WIDihMzh6RwqexNA281l9oBFTfuLBBhaZ4ljBkFLYSMl6oAm5
8IFcdjofJ0z5jL0MqC/Yk1yW5UrGTwY0X0yxNwri3lQgjs+Qk/+zfddZTVuvrxO59CNCmoj3vCwj
MfaUFOjRhrPHaN4Wv0VV5OYgm1p+LW1eAAAA//8DAFBLAwQUAAYACAAAACEAXD2z+MIDAAB5EQAA
HwAAAGNsaXBib2FyZC9kcmF3aW5ncy9kcmF3aW5nMS54bWzsmEtv2zgQgO8F+h8IXovUlm35hSpF
Hk0v2a4Rpz+AoShLCEUKJP3qr+8MSVuyi90udpHLwjk4FDkcznxDcTj69HlXS7IRxlZaZTT52KdE
KK7zSq0y+v354WpKiXVM5UxqJTK6F5Z+vn7/7hObrwxryooT0KDsnGW0dK6Z93qWl6Jm9qNuhIKx
QpuaOXg0q15u2BY017I36PfHvZpVil63qu6ZY2Rtqn+hSmr+KvI7pjbMgkrJ592eaKPk/10zm6vN
V9Msm4VBy/m3zcKQKs8okFOsBkS0FweiGDz2zmatWgW7wtQor4uC7LyWPf56HWLnCIfOQZqMxn1Y
gMNYkszGs0kaVyn/DPPSySwBppSgxHQwnUI72FF++Y0WMC4YAY2OYbZBs9TmV0+ng2R4cPYZbbzV
OzLsj46O4xTidtANxvgA2+YRAmSJ0nclUytxY4zeloLlFiUCIUAZ1vK0Dsta1PWy/UPngJatnfb6
zqj9pfe/I3j0nc0bY91XoWuCjYwawZ1fim0erQsWHkQ8GP1QSekRS0W2GZ2lgzT4qmWV4yCK+ZdB
3ElDNkxm1O0O3tquFCq+Z7YMQnZv77ULNOvKCUNkVWcUQgp/oRvRfVG5X96xSoY2eCMVriqKAsw/
2o0Msdvtlj6oGJp8jz0v8D+M2eYG4D5U0dV2QFq3dHspUDwXxSKIQ+sJAiMhmBkV6ur7MkaxFZEb
mWDwmFzB0SIpMQ4I4AHDHtWtefXtQit34wVemBWU4O6AE2KxVhyC0A9AG34rClzfNnzBXaDkSYDH
0NeO3hTub+TiaLTd/oA3a4TvzKswePjh++Nnd0PzzwIomasUcftGFIzDRn2uamHJN7ElT7pmCt7c
khkrvEs+aIJ1pD/U6kqwEFluzwa4bckCcn+YRLRoLDQHSLlm5jGjo3TiT4EL87dgjqAj82HLfJaM
/C66MH8L5gg6Mh+1zJPhJPEZ8QL9LaAj6Qg97UCP94rLif4mJzqSjtDHLfTBYAobHZLUcadD+npm
L0vIXoeT55fEmlDIzJCR2jx7mlfDpex/kQcRVaQ26VCbjIanifBCDS9sh9sDoorUpi01RHaayi7U
utQQVaQ261Abp5PTXHSh1qWGqMK+61QSvg6JOE9u8Mf7fXqodjp3fGjGOT4O5qwCIfDlAI6+vDKu
LaLd9RB6oCAyQjmyZXtL9npN6mpVOmKFIA/3luSiqbgTOVbqUEHAbzAZzMSeY720tmLZPEFtFQrC
UFCBBBbLvbOPDn5q/EiCXza6z9c/AQAA//8DAFBLAwQUAAYACAAAACEA4VE3H88GAADmGwAAGgAA
AGNsaXBib2FyZC90aGVtZS90aGVtZTEueG1s7FnNb9xEFL8j8T+MfG+z381G3VTZzW4Dbdoo2Rb1
OGvP2tOMPdbMbNK9ofaIhIQoiAOVuHFAQKVW4lL+mkARFKn/Am9mbK8n65C0jaCC5pC1n3/zvt+b
r8tX7sUMHRAhKU96Xv1izUMk8XlAk7Dn3RqPLqx6SCqcBJjxhPS8OZHelfX337uM13xG0wnHIhhH
JCYIGCVyDfe8SKl0bWVF+kDG8iJPSQLfplzEWMGrCFcCgQ9BQMxWGrVaZyXGNPHWgaPSjIYM/iVK
aoLPxJ5mQ1CCY5B+czqlPjHYYL+uEXIuB0ygA8x6HvAM+OGY3FMeYlgq+NDzaubPW1m/vILXskFM
nTC2NG5k/rJx2YBgv2FkinBSCK2PWt1LmwV/A2BqGTccDgfDesHPALDvg6VWlzLP1mi13s95lkD2
cZn3oNautVx8iX9zSeduv99vdzNdLFMDso+tJfxqrdPaaDh4A7L49hK+1d8YDDoO3oAsvrOEH13q
dlou3oAiRpP9JbQO6GiUcS8gU862KuGrAF+tZfAFCrKhyC4tYsoTdVKuxfguFyMAaCDDiiZIzVMy
xT7k5ADHE0GxFoDXCC59sSRfLpG0LCR9QVPV8z5MceKVIC+fff/y2RN0dP/p0f2fjh48OLr/o2Xk
jNrCSVge9eLbz/589DH648k3Lx5+UY2XZfyvP3zyy8+fVwOhfBbmPf/y8W9PHz//6tPfv3tYAd8Q
eFKGj2lMJLpBDtEuj8Ew4xVXczIRrzZiHGFaHrGRhBInWEup4D9UkYO+Mccsi46jR5+4HrwtoH1U
Aa/O7joK70VipmiF5GtR7AC3OWd9Liq9cE3LKrl5PEvCauFiVsbtYnxQJXuAEye+w1kKfTNPS8fw
QUQcNXcYThQOSUIU0t/4PiEV1t2h1PHrNvUFl3yq0B2K+phWumRMJ042LQZt0RjiMq+yGeLt+Gb7
NupzVmX1JjlwkVAVmFUoPybMceNVPFM4rmI5xjErO/w6VlGVkntz4ZdxQ6kg0iFhHA0DImXVmJsC
7C0F/RqGjlUZ9m02j12kUHS/iud1zHkZucn3BxGO0yrsHk2iMvYDuQ8pitEOV1Xwbe5WiH6HOODk
xHDfpsQJ9+nd4BYNHZUWCaK/zISOJbRqpwPHNPm7dswo9GObA+fXjqEBPv/6UUVmva2NeAPmpKpK
2DrWfk/CHW+6Ay4C+vb33E08S3YIpPnyxPOu5b5rud5/vuWeVM9nbbSL3gptV68b7KLYLJHjE1fI
U8rYnpozcl2aRbKEeSIYAVGPMztBUuyY0gges77u4EKBzRgkuPqIqmgvwikssOueZhLKjHUoUcol
bOwMuZK3xsMiXdltYVtvGGw/kFht88CSm5qc7wsKNma2Cc3mMxfU1AzOKqx5KWMKZr+OsLpW6szS
6kY10+ocaYXJEMNl04BYeBMWIAiWLeDlDuzFtWjYmGBGAu13O/fmYTFROM8QyQgHJIuRtns5RnUT
pDxXzEkA5E5FjPQm7xSvlaR1Nds3kHaWIJXFtU4Ql0fvTaKUZ/AiSrpuj5UjS8rFyRJ02PO67Ubb
Qz5Oe94U9rTwGKcQdanXfJiFcBrkK2HT/tRiNlW+iGY3N8wtgjocU1i/Lxns9IFUSLWJZWRTw3zK
UoAlWpLVv9EGt56XATbTX0OL5iokw7+mBfjRDS2ZTomvysEuUbTv7GvWSvlMEbEXBYdowmZiF0P4
daqCPQGVcDRhOoJ+gXM07W3zyW3OWdGVT68MztIxSyOctVtdonklW7ip40IH81ZSD2yr1N0Y9+qm
mJI/J1PKafw/M0XPJ3BS0Ax0BHw4lBUY6XrteVyoiEMXSiPqjwQsHEzvgGyBs1j4DEkFJ8jmV5AD
/WtrzvIwZQ0bPrVLQyQozEcqEoTsQFsy2XcKs3o2d1mWLGNkMqqkrkyt2hNyQNhY98COnts9FEGq
m26StQGDO55/7ntWQZNQL3LK9eb0kGLutTXwT698bDGDUW4fNgua3P+FihWzqh1vhudzb9kQ/WGx
zGrlVQHCSlNBNyv711ThFada27GWLG60c+UgissWA7FYEKVw3oP0P5j/qPCZvW3QE+qY70JvRXDR
oJlB2kBWX7ALD6QbpCVOYOFkiTaZNCvr2mzppL2WT9bnvNIt5B5zttbsLPF+RWcXizNXnFOL5+ns
zMOOry3tRFdDZI+XKJCm+UbGBKbq1mkbp2gS1nse3PxAoO/BE9wdeUBraFpD0+AJLoRgsWRvcXpe
9pBT4LulFJhmTmnmmFZOaeWUdk6BxVl2X5JTOtCp9BUHXLHpHw/ltxmwgstuP/Km6lzNrf8FAAD/
/wMAUEsDBBQABgAIAAAAIQCcZkZBuwAAACQBAAAqAAAAY2xpcGJvYXJkL2RyYXdpbmdzL19yZWxz
L2RyYXdpbmcxLnhtbC5yZWxzhI/NCsIwEITvgu8Q9m7SehCRJr2I0KvUBwjJNi02PyRR7Nsb6EVB
8LIws+w3s037sjN5YkyTdxxqWgFBp7yenOFw6y+7I5CUpdNy9g45LJigFdtNc8VZ5nKUxikkUigu
cRhzDifGkhrRykR9QFc2g49W5iKjYUGquzTI9lV1YPGTAeKLSTrNIXa6BtIvoST/Z/thmBSevXpY
dPlHBMulFxagjAYzB0pXZ501LV2BiYZ9/SbeAAAA//8DAFBLAQItABQABgAIAAAAIQC75UiUBQEA
AB4CAAATAAAAAAAAAAAAAAAAAAAAAABbQ29udGVudF9UeXBlc10ueG1sUEsBAi0AFAAGAAgAAAAh
AK0wP/HBAAAAMgEAAAsAAAAAAAAAAAAAAAAANgEAAF9yZWxzLy5yZWxzUEsBAi0AFAAGAAgAAAAh
AFw9s/jCAwAAeREAAB8AAAAAAAAAAAAAAAAAIAIAAGNsaXBib2FyZC9kcmF3aW5ncy9kcmF3aW5n
MS54bWxQSwECLQAUAAYACAAAACEA4VE3H88GAADmGwAAGgAAAAAAAAAAAAAAAAAfBgAAY2xpcGJv
YXJkL3RoZW1lL3RoZW1lMS54bWxQSwECLQAUAAYACAAAACEAnGZGQbsAAAAkAQAAKgAAAAAAAAAA
AAAAAAAmDQAAY2xpcGJvYXJkL2RyYXdpbmdzL19yZWxzL2RyYXdpbmcxLnhtbC5yZWxzUEsFBgAA
AAAFAAUAZwEAACkOAAAAAA==
&quot;&gt;
  &lt;v:imagedata src=&quot;file:///C:\Users\hp\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png&quot;
   o:title=&quot;&quot;/&gt;
  &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;f&quot;/&gt;
  &lt;w:wrap type=&quot;topAndBottom&quot;/&gt;
 &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqYohEqClvr_TRZMr-AJHmOGEMLMIUSjSLXkoYlLTn1RmZXMrfsmfG09GeLlZwn2HMIlXKDZVvljFR7ivf6D1IMzHn3hDXYKDhW_Rl7qZcrcwEpcJhErbAqnoDejFGqiM5QaBiQHusTwfm/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;96&quot; data-original-width=&quot;173&quot; height=&quot;176&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqYohEqClvr_TRZMr-AJHmOGEMLMIUSjSLXkoYlLTn1RmZXMrfsmfG09GeLlZwn2HMIlXKDZVvljFR7ivf6D1IMzHn3hDXYKDhW_Rl7qZcrcwEpcJhErbAqnoDejFGqiM5QaBiQHusTwfm/s320/1nf.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;mso-ignore: vglayout;&quot;&gt;
 &lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
  &lt;tbody&gt;
&lt;tr&gt;
   &lt;td height=&quot;0&quot; width=&quot;423&quot;&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22pt; line-height: 115%;&quot;&gt;EmpNum &lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-family: Wingdings; font-size: 22pt; line-height: 115%;&quot;&gt;à&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22pt; line-height: 115%;&quot;&gt; EmpFname&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;EmpNum &lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-family: Wingdings; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Wingdings;&quot;&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA;&quot;&gt; EmpLname &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 13.0pt 298.0pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 13.0pt 298.0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDzXC0oQsg55RM9-pT7MK7OisNMt9Xj5QYemgJxX3_OzNg5qSRg_RrGF-p4TSHJEZlNbcYfjot33b3-gPTvAUeyv96YsY3vMHBy-65ddnArszL6EU1SF_p9aNhBkfuzvIkUiPfUSU5KmCB/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDzXC0oQsg55RM9-pT7MK7OisNMt9Xj5QYemgJxX3_OzNg5qSRg_RrGF-p4TSHJEZlNbcYfjot33b3-gPTvAUeyv96YsY3vMHBy-65ddnArszL6EU1SF_p9aNhBkfuzvIkUiPfUSU5KmCB/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;159&quot; data-original-width=&quot;386&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDzXC0oQsg55RM9-pT7MK7OisNMt9Xj5QYemgJxX3_OzNg5qSRg_RrGF-p4TSHJEZlNbcYfjot33b3-gPTvAUeyv96YsY3vMHBy-65ddnArszL6EU1SF_p9aNhBkfuzvIkUiPfUSU5KmCB/s640/1nf.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDzXC0oQsg55RM9-pT7MK7OisNMt9Xj5QYemgJxX3_OzNg5qSRg_RrGF-p4TSHJEZlNbcYfjot33b3-gPTvAUeyv96YsY3vMHBy-65ddnArszL6EU1SF_p9aNhBkfuzvIkUiPfUSU5KmCB/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDzXC0oQsg55RM9-pT7MK7OisNMt9Xj5QYemgJxX3_OzNg5qSRg_RrGF-p4TSHJEZlNbcYfjot33b3-gPTvAUeyv96YsY3vMHBy-65ddnArszL6EU1SF_p9aNhBkfuzvIkUiPfUSU5KmCB/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDzXC0oQsg55RM9-pT7MK7OisNMt9Xj5QYemgJxX3_OzNg5qSRg_RrGF-p4TSHJEZlNbcYfjot33b3-gPTvAUeyv96YsY3vMHBy-65ddnArszL6EU1SF_p9aNhBkfuzvIkUiPfUSU5KmCB/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDzXC0oQsg55RM9-pT7MK7OisNMt9Xj5QYemgJxX3_OzNg5qSRg_RrGF-p4TSHJEZlNbcYfjot33b3-gPTvAUeyv96YsY3vMHBy-65ddnArszL6EU1SF_p9aNhBkfuzvIkUiPfUSU5KmCB/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDzXC0oQsg55RM9-pT7MK7OisNMt9Xj5QYemgJxX3_OzNg5qSRg_RrGF-p4TSHJEZlNbcYfjot33b3-gPTvAUeyv96YsY3vMHBy-65ddnArszL6EU1SF_p9aNhBkfuzvIkUiPfUSU5KmCB/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDzXC0oQsg55RM9-pT7MK7OisNMt9Xj5QYemgJxX3_OzNg5qSRg_RrGF-p4TSHJEZlNbcYfjot33b3-gPTvAUeyv96YsY3vMHBy-65ddnArszL6EU1SF_p9aNhBkfuzvIkUiPfUSU5KmCB/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDzXC0oQsg55RM9-pT7MK7OisNMt9Xj5QYemgJxX3_OzNg5qSRg_RrGF-p4TSHJEZlNbcYfjot33b3-gPTvAUeyv96YsY3vMHBy-65ddnArszL6EU1SF_p9aNhBkfuzvIkUiPfUSU5KmCB/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDzXC0oQsg55RM9-pT7MK7OisNMt9Xj5QYemgJxX3_OzNg5qSRg_RrGF-p4TSHJEZlNbcYfjot33b3-gPTvAUeyv96YsY3vMHBy-65ddnArszL6EU1SF_p9aNhBkfuzvIkUiPfUSU5KmCB/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;


&lt;table align=&quot;left&quot; border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; margin-left: 7.2pt; margin-right: 7.2pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-table-anchor-horizontal: margin; mso-table-anchor-vertical: paragraph; mso-table-left: left; mso-table-lspace: 9.0pt; mso-table-rspace: 9.0pt; mso-table-top: 84.65pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 52.3pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border: solid black 1.0pt; height: 52.3pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 115.5pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-top: 84.65pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly; page-break-after: avoid; tab-stops: 13.0pt 298.0pt;&quot;&gt;
&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_s1030&quot;
   type=&quot;#_x0000_t32&quot; style=&#39;position:absolute;margin-left:43pt;margin-top:51.75pt;
   width:0;height:44pt;z-index:6&#39; o:connectortype=&quot;straight&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 61px; margin-left: 56px; margin-top: 68px; mso-ignore: vglayout; position: absolute; width: 2px; z-index: 6;&quot;&gt;&lt;img height=&quot;61&quot; src=&quot;file:///C:\Users\hp\AppData\Local\Temp\msohtmlclip1\01\clip_image010.gif&quot; v:shapes=&quot;_x0000_s1030&quot; width=&quot;2&quot; /&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 52.3pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 115.5pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 52.3pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 115.55pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;&lt;/td&gt;&lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 52.3pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 115.55pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirB6VJlN1rNmBBmu1ngDU1N8jRf5eKWyWJy_dVAGiECjKFN8dMxl1bAY_hRQVoWALULP8BgtGD50NUCfrb-jn6LftFwO4NKyvSGagIArO6u37aQsuP7R4XgWRBpglTfkdyCvvKDJdIzS4-/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;99&quot; data-original-width=&quot;468&quot; height=&quot;134&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirB6VJlN1rNmBBmu1ngDU1N8jRf5eKWyWJy_dVAGiECjKFN8dMxl1bAY_hRQVoWALULP8BgtGD50NUCfrb-jn6LftFwO4NKyvSGagIArO6u37aQsuP7R4XgWRBpglTfkdyCvvKDJdIzS4-/s640/1nf.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h3 style=&quot;break-after: avoid; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
First Normal&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;Form&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: 13.0pt 298.0pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;We say a relation is in 1NF if all
values stored in the relation are single-valued and atomic. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: 13.0pt 298.0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: 13.0pt 298.0pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;1NF places restrictions on the
structure of relations. Values must be simple.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;mso-tab-count: 1;&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;&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;&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;&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;&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;&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;The
following in not in 1NF&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 32.0pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: solid black 1.0pt; height: 32.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.0pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;EmpNum&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 32.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Empphone&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 32.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;EmpDegrees&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 33.65pt; mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 33.65pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.0pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;123&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 33.65pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;250-7853&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 33.65pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 55.1pt; mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 55.1pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.0pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;233&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 55.1pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;250-1325&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 55.1pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;BA,BSC,PhD&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 52.5pt; mso-yfti-irow: 3; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 52.5pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.0pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;976&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 52.5pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;250-2311&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 52.5pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;BSc,MSc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;EmpDegrees is a multi-valued field:&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;employee 976has two degrees: &lt;i&gt;BSc&lt;/i&gt; and &lt;i&gt;MSc &lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;employee 233 has three degrees:&lt;i&gt; BA, BSc, PhD&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 32.0pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: solid black 1.0pt; height: 32.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.0pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;EmpNum&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 32.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;EmpPhone&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 32.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;EmpDegrees&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 33.65pt; mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 33.65pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.0pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;123&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 33.65pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;250-7853&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 33.65pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 55.1pt; mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 55.1pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.0pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;233&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 55.1pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;250-1325&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 55.1pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;BA,BSC,PhD&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 52.5pt; mso-yfti-irow: 3; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 52.5pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.0pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;976&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 52.5pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;250-2311&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 52.5pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 154.05pt;&quot; valign=&quot;top&quot; width=&quot;257&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;BSc,MSc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;To obtain 1NF relations we must, without loss of
information, replace the above with two relations are given below&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKPz8nkzulReb8Y0S7TVaxDEPtT_WwAg8xKg98bwtKKkVX6UwU6ujnzOkFOo1OfsvFEPUSNVd2kw4Upm9JdBSILcvUtzI4_5psip7CTyjpcqq1r2xuBYBKQKEc6w4HWlrgbbNDhW_r-sTU/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;237&quot; data-original-width=&quot;488&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKPz8nkzulReb8Y0S7TVaxDEPtT_WwAg8xKg98bwtKKkVX6UwU6ujnzOkFOo1OfsvFEPUSNVd2kw4Upm9JdBSILcvUtzI4_5psip7CTyjpcqq1r2xuBYBKQKEc6w4HWlrgbbNDhW_r-sTU/s640/1nf.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: 295.0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;
Boyce-Codd Normal Form&lt;/u&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;BCNF is
defined very simply:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;a relation
is in BCNF if it is in 1NF and if every determinant is a candidate key.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;If our database will be used for OLTP (on line
transaction processing), then BCNF is our target. Usually, we meet this
objective. However, we might denormalize (3NF, 2NF, or 1NF) for performance
reasons.&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt;Second Normal Form&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt;A relation is in &lt;b&gt;2NF&lt;/b&gt; if it is in 1NF, and every
non-key attribute is fully dependent on each candidate key. (That is, we don’t
have any partial functional dependency.)&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo1; page-break-after: avoid; tab-stops: list 36.0pt right 451.3pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot;&gt;2NF (and 3NF) both involve
the concepts of key and non-key attributes. &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo1; page-break-after: avoid; tab-stops: list 36.0pt right 451.3pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;A &lt;i&gt;key attribute&lt;/i&gt; is any attribute that
is part of a key; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;any attribute that is
not a key attribute, &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;is a &lt;i&gt;non-key attribute&lt;/i&gt;. &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo1; page-break-after: avoid; tab-stops: list 36.0pt right 451.3pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Relations that are not in BCNF have data
redundancies&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l2 level1 lfo1; page-break-after: avoid; tab-stops: list 36.0pt right 451.3pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;A relation in 2NF will not have any partial
dependencies&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Consider this&lt;b&gt; InvLine &lt;/b&gt;table
(in 1NF)&lt;b&gt;:&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 36.7pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border: solid black 1.0pt; height: 36.7pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.4pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;InvNum
  &lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 36.7pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.4pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;LineNum
  &lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 36.7pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.4pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;ProdNum&lt;u&gt;
  &lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 36.7pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.45pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Qty&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 36.7pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.45pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;InvDate
  &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJNEl-HkcnEsrJ5W5Wo8vX1m27fw7rSdGWrc6tyj9XrYBFg2mcwcUUN4qoZjnxpWSRAZc6Tx-YFSeWHtwUdr8-vXRV3y_3BwKVx2uOk7FfLlkxwTRz6yF7l-ugZLmibLydsu7dTC2iX2DT/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;22&quot; data-original-width=&quot;402&quot; height=&quot;21&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJNEl-HkcnEsrJ5W5Wo8vX1m27fw7rSdGWrc6tyj9XrYBFg2mcwcUUN4qoZjnxpWSRAZc6Tx-YFSeWHtwUdr8-vXRV3y_3BwKVx2uOk7FfLlkxwTRz6yF7l-ugZLmibLydsu7dTC2iX2DT/s400/1nf.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 259.0pt;&quot;&gt;
&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_s1034&quot;
 type=&quot;#_x0000_t32&quot; style=&#39;position:absolute;margin-left:166pt;margin-top:14.1pt;
 width:91pt;height:1pt;flip:y;z-index:10&#39; o:connectortype=&quot;straight&quot;&gt;
 &lt;v:stroke endarrow=&quot;block&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 12px; margin-left: 220px; margin-top: 13px; mso-ignore: vglayout; position: absolute; width: 125px; z-index: 10;&quot;&gt;&lt;img height=&quot;12&quot; src=&quot;file:///C:\Users\hp\AppData\Local\Temp\msohtmlclip1\01\clip_image015.gif&quot; v:shapes=&quot;_x0000_s1034&quot; width=&quot;125&quot; /&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: 259.0pt; text-align: center;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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; &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;There are
two &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;tab-stops: 259.0pt; text-align: center;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;candidate
keys.&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table align=&quot;right&quot; border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; margin-left: 7.2pt; margin-right: 7.2pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-table-anchor-horizontal: margin; mso-table-anchor-vertical: paragraph; mso-table-left: right; mso-table-lspace: 9.0pt; mso-table-rspace: 9.0pt; mso-table-top: 7.55pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 167.25pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border: solid black 1.0pt; height: 167.25pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 6.0cm;&quot; valign=&quot;top&quot; width=&quot;284&quot;&gt;
  &lt;div class=&quot;MsoQuote&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-left: right; mso-element-top: 7.55pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;
  &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 16.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 18.5pt;&quot;&gt;Qty is the only non-key&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoQuote&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-left: right; mso-element-top: 7.55pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 16.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 18.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&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;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;attribute, and it is&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoQuote&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-element-anchor-horizontal: margin; mso-element-anchor-vertical: paragraph; mso-element-frame-hspace: 9.0pt; mso-element-left: right; mso-element-top: 7.55pt; mso-element-wrap: around; mso-element: frame; mso-height-rule: exactly;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 16.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 18.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;&amp;nbsp;&amp;nbsp;
  &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;dependent on InvNum &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 279.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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;&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;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 279.0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 279.0pt;&quot;&gt;
&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_s1035&quot;
 type=&quot;#_x0000_t32&quot; style=&#39;position:absolute;margin-left:75pt;margin-top:14.55pt;
 width:44pt;height:0;z-index:11&#39; o:connectortype=&quot;straight&quot;&gt;
 &lt;v:stroke endarrow=&quot;block&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 12px; margin-left: 99px; margin-top: 14px; mso-ignore: vglayout; position: absolute; width: 62px; z-index: 11;&quot;&gt;&lt;img height=&quot;12&quot; src=&quot;file:///C:\Users\hp\AppData\Local\Temp\msohtmlclip1\01\clip_image016.gif&quot; v:shapes=&quot;_x0000_s1035&quot; width=&quot;62&quot; /&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;InvNum
&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;→&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;InvDate &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 279.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Since
there is a determinant that is not a candidate key, InvLine is &lt;b&gt;not BCNF&lt;/b&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 279.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;InvLine
is &lt;b&gt;not 2NF&lt;/b&gt; since there is a partial dependency of InvDate on InvNum &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 279.0pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;InvLine &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 36.7pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border: solid black 1.0pt; height: 36.7pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.4pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;InvNum
  &lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 36.7pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.4pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;LineNum
  &lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 36.7pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.4pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;ProdNum&lt;u&gt;
  &lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 36.7pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.45pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Qty&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 36.7pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.45pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;InvDate
  &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; page-break-after: avoid; tab-stops: right 451.3pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 279.0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 279.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;The
above relation has redundancies: the invoice date is repeated on each invoice
line.&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 279.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;We
can &lt;i&gt;improve&lt;/i&gt; the database by decomposing the relation into two relations:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 134.0pt;&quot;&gt;
&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgItGDuyu2Vd3Vg4lsZtQu2ZlZU1SbNTw0n6ceOac5XiC48hn9ITYa54nO_F-L4miEpPzgRX-ZS1SDLGsOCCj-QrDQp141C_lc_NKqgKPbA3pzRyrUFBGf9RmgLfiiKADiDHxOdC_xW6ST3/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;162&quot; data-original-width=&quot;492&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgItGDuyu2Vd3Vg4lsZtQu2ZlZU1SbNTw0n6ceOac5XiC48hn9ITYa54nO_F-L4miEpPzgRX-ZS1SDLGsOCCj-QrDQp141C_lc_NKqgKPbA3pzRyrUFBGf9RmgLfiiKADiDHxOdC_xW6ST3/s640/1nf.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;u&gt;Third Normal Form&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo2; tab-stops: list 36.0pt left 134.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt;A relation
is in &lt;b&gt;3NF&lt;/b&gt; if the relation is in 1NF and all determinants of &lt;i&gt;non-key&lt;/i&gt;
attributes are candidate keys&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt;That is, for any functional dependency: X &lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Symbol;&quot;&gt;®&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt; Y, where Y is a non-key attribute (or a set of
non-key attributes), X is a candidate key. &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo3; tab-stops: list 36.0pt left 134.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt;This
definition of 3NF differs from BCNF only in the specification of non-key
attributes - 3NF is weaker than BCNF. (BCNF requires all determinants to be
candidate keys.)&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l1 level1 lfo3; tab-stops: list 36.0pt left 134.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt;A relation
in 3NF will not have any transitive dependencies&lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN-CA&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-CA; mso-bidi-font-size: 20.0pt;&quot;&gt;of non-key attribute on a candidate key through
another non-key attribute.&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 134.0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 134.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Consider
this&lt;b&gt; Employee &lt;/b&gt;relation&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtPsQKI-uRCY7FtdZzqqISkLXRGXkEeO9bdb_nrOcoTebWiuEh8BBaVv-dQ9ak35TsznEt2K1QKQ99rmaYf5dl-alUabID3S6_K25gV8C2oaRj7eJY53QQ7t9ntSbUlsecgkhSJHxrwTPH/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;120&quot; data-original-width=&quot;479&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtPsQKI-uRCY7FtdZzqqISkLXRGXkEeO9bdb_nrOcoTebWiuEh8BBaVv-dQ9ak35TsznEt2K1QKQ99rmaYf5dl-alUabID3S6_K25gV8C2oaRj7eJY53QQ7t9ntSbUlsecgkhSJHxrwTPH/s640/1nf.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 134.0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 134.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;EmpName,
DeptNum, and DeptName are non-key attributes.&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 134.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;DeptNum
determines DeptName, a non-key attribute, and DeptNum is not a candidate key. &lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 134.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Is
the relation in 3NF? … no&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 134.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Is
the relation in 2NF? … yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 134.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Is
the relation in BCNF? … no&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGBgeLJBZCMhAEQ6GiGNAfZqxN-88Xv40PpLUJAtemwlBbIQiDsJLTKkjlqwKQNJ9lmO0BhcsI7NABaRTLum4LkKi-yHyy5a6nyCe-_aWJ8u-3x57oJsDExWpFrt2gRqH1ZWA6EBHLnONm/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;120&quot; data-original-width=&quot;479&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGBgeLJBZCMhAEQ6GiGNAfZqxN-88Xv40PpLUJAtemwlBbIQiDsJLTKkjlqwKQNJ9lmO0BhcsI7NABaRTLum4LkKi-yHyy5a6nyCe-_aWJ8u-3x57oJsDExWpFrt2gRqH1ZWA6EBHLnONm/s640/1nf.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 134.0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;We correct the situation by
decomposing the original relation into two 3NF relations. Note the
decomposition is &lt;i&gt;lossless&lt;/i&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-xm_sxvebNI26qZvND_HfQZQ5V_GyD4AqdOcmpv6XgN4HZlK6XU5wz2Xgef2tJkppOhHJBJtibQHfcybA1-f6eky56PLn_KuGxAD9a34OKni_51TtCYRyZhyphenhyphenFf7SXtzZeuTw7MnJqhti0/s1600/1nf.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;144&quot; data-original-width=&quot;490&quot; height=&quot;188&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-xm_sxvebNI26qZvND_HfQZQ5V_GyD4AqdOcmpv6XgN4HZlK6XU5wz2Xgef2tJkppOhHJBJtibQHfcybA1-f6eky56PLn_KuGxAD9a34OKni_51TtCYRyZhyphenhyphenFf7SXtzZeuTw7MnJqhti0/s640/1nf.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t67&quot; coordsize=&quot;21600,21600&quot;
 o:spt=&quot;67&quot; adj=&quot;16200,5400&quot; path=&quot;m0@0l@1@0@1,0@2,0@2@0,21600@0,10800,21600xe&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;val #0&quot;/&gt;
  &lt;v:f eqn=&quot;val #1&quot;/&gt;
  &lt;v:f eqn=&quot;sum height 0 #1&quot;/&gt;
  &lt;v:f eqn=&quot;sum 10800 0 #1&quot;/&gt;
  &lt;v:f eqn=&quot;sum width 0 #0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @4 @3 10800&quot;/&gt;
  &lt;v:f eqn=&quot;sum width 0 @5&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:connecttype=&quot;custom&quot; o:connectlocs=&quot;10800,0;0,@0;10800,21600;21600,@0&quot;
  o:connectangles=&quot;270,180,90,0&quot; textboxrect=&quot;@1,0,@2,@6&quot;/&gt;
 &lt;v:handles&gt;
  &lt;v:h position=&quot;#1,#0&quot; xrange=&quot;0,10800&quot; yrange=&quot;0,21600&quot;/&gt;
 &lt;/v:handles&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_s1038&quot; type=&quot;#_x0000_t67&quot; style=&#39;position:absolute;
 margin-left:119.6pt;margin-top:20.75pt;width:43.15pt;height:63pt;rotation:1364596fd;
 z-index:14&#39;&gt;
 &lt;v:textbox style=&#39;layout-flow:vertical-ideographic&#39;/&gt;
&lt;/v:shape&gt;&lt;v:shape id=&quot;_x0000_s1039&quot; type=&quot;#_x0000_t67&quot; style=&#39;position:absolute;
 margin-left:294pt;margin-top:26.6pt;width:44pt;height:57.15pt;rotation:-1459215fd;
 z-index:15&#39;&gt;
 &lt;v:textbox style=&#39;layout-flow:vertical-ideographic&#39;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;mso-ignore: vglayout;&quot;&gt;

&lt;table align=&quot;left&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td height=&quot;23&quot; width=&quot;152&quot;&gt;&lt;/td&gt;
  &lt;td width=&quot;66&quot;&gt;&lt;/td&gt;
  &lt;td width=&quot;174&quot;&gt;&lt;/td&gt;
  &lt;td width=&quot;66&quot;&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td height=&quot;8&quot;&gt;&lt;/td&gt;
  &lt;td align=&quot;left&quot; rowspan=&quot;2&quot; valign=&quot;top&quot;&gt;&lt;br /&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td height=&quot;79&quot;&gt;&lt;/td&gt;
  &lt;td&gt;&lt;/td&gt;
  &lt;td align=&quot;left&quot; valign=&quot;top&quot;&gt;&lt;br /&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br clear=&quot;ALL&quot; style=&quot;mso-ignore: vglayout;&quot; /&gt;

&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 22pt; text-indent: 36pt;&quot;&gt;Verify these two relations are in 3NF.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 36.0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/3276959706313140684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-normalization-in-dbms-its-form.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/3276959706313140684'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/3276959706313140684'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-normalization-in-dbms-its-form.html' title='What is Normalization in DBMS &amp; its form? explain in details with example '/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhObKsN-RnpHQW_RVadGlhQkCvkcDMYFeTTQL7K_osFKV1qHsJWyWn5GkM9rht-G4WGns6d63RxGcyvPCpag3jfEZfVvAhVMZH40YkbAgcUuRWWZnWN-cdGvSNXHLdEYXN5mdttBOC8GH_H/s72-c/1nf.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-8366385457131629293</id><published>2020-05-09T21:02:00.001+05:30</published><updated>2020-05-09T21:02:20.125+05:30</updated><title type='text'>In DBMS  describe Two-Phase Locking Techniques with Algorithm</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 36.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 24.0pt;&quot;&gt;Two-Phase Locking Techniques&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 36.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 24.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Locking is an operation which secures (a) permission
to Read or (b) permission to write a data item for a transaction.&amp;nbsp; Example: &lt;b&gt;Lock &lt;/b&gt;(X).&amp;nbsp; Data item X is locked in behalf of the
requesting transaction.&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;b&gt;Unlocking&lt;/b&gt; is an operation which removes these
permissions from the data item.&amp;nbsp; Example:
&lt;b&gt;Unlock&lt;/b&gt; (X).&amp;nbsp; Data item X is made
available to all other transactions.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;, sans-serif; font-size: 22pt;&quot;&gt;Lock and Unlock are Atomic operations&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;, sans-serif; font-size: 22pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Two-Phase Locking Techniques: Essential components &lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;1) &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Two locks modes (a) shared (read) and (b) exclusive
(write).&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;Shared mode:&lt;/u&gt;&lt;/b&gt; shared lock (X).&amp;nbsp; More than one transaction can apply share
lock on X for reading its value but no write lock can be applied on X by any
other transaction.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape fillcolor=&quot;aqua&quot; id=&quot;_x0000_s1026&quot; strokecolor=&quot;white&quot; style=&quot;height: 138.25pt; margin-left: 183.95pt; margin-top: 96.9pt; mso-wrap-distance-left: 0; mso-wrap-distance-right: 0; mso-wrap-style: none; position: absolute; width: 135.25pt; z-index: 251658240;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnMKkbLXvKAlcw4gsZQUyNnaA0IvQ18XsvU_-Mf4Kxaz8IrNmLQOXGJaNDYDDj-dsc0ndc_msRbhZTXRQ5_r1EiGshAfw61zhXwW5es-EumYyh1eDOVvih8Pg0qf917ZImrN6ZGVVI2ovy/s1600/read.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;147&quot; data-original-width=&quot;201&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnMKkbLXvKAlcw4gsZQUyNnaA0IvQ18XsvU_-Mf4Kxaz8IrNmLQOXGJaNDYDDj-dsc0ndc_msRbhZTXRQ5_r1EiGshAfw61zhXwW5es-EumYyh1eDOVvih8Pg0qf917ZImrN6ZGVVI2ovy/s1600/read.JPG&quot; /&gt;&lt;/a&gt;&lt;v:fill color2=&quot;#36c&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:\Users\hp\AppData\Local\Temp\msohtmlclip1\01\clip_image001.wmz&quot;&gt;
 &lt;v:shadow color=&quot;black&quot;&gt;
&lt;/v:shadow&gt;&lt;/v:imagedata&gt;&lt;/v:fill&gt;&lt;/v:shape&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:OLEObject Type=&quot;Embed&quot; ProgID=&quot;Unknown&quot; ShapeID=&quot;_x0000_s1026&quot;
  DrawAspect=&quot;Content&quot; ObjectID=&quot;_1650561702&quot;&gt;
 &lt;/o:OLEObject&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;Exclusive mode:&lt;/u&gt;&lt;/b&gt; Write lock (X).&amp;nbsp; Only one write lock on X can exist at any
time and no shared lock can be applied by any other transaction on X.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: Vrinda; mso-bidi-font-size: 20.0pt; mso-bidi-language: BN; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;Conflict
matrix&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: Vrinda; mso-bidi-font-size: 20.0pt; mso-bidi-language: BN; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: Vrinda; mso-bidi-font-size: 20.0pt; mso-bidi-language: BN; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: Vrinda; mso-bidi-font-size: 20.0pt; mso-bidi-language: BN; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: Vrinda; mso-bidi-font-size: 20.0pt; mso-bidi-language: BN; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: Vrinda; mso-bidi-font-size: 20.0pt; mso-bidi-language: BN; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: Vrinda; mso-bidi-font-size: 20.0pt; mso-bidi-language: BN; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: Vrinda; mso-bidi-font-size: 20.0pt; mso-bidi-language: BN; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: Vrinda; mso-bidi-font-size: 20.0pt; mso-bidi-language: BN; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;2) Lock
Manager:&lt;/u&gt;&lt;/b&gt; Managing locks on data items &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Lock
table: Lock manager uses it to store the identify of &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;transaction &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;locking a data item,&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;the data item, lock mode and pointer to the
next data item locked. One simple way to implement a lock table is through
linked list.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6ubooMTI-cFz5vB9Xjv9BIXBnO78BtN76LEydT4q_MZfanVlFROqatYsTDHprAy227w1eoH1-K0hufAdDUBAgHKHWMPM7ERsYiULVlY3F3H7uT7V3b0bwoWLJqf0Zq89zReYZDr8CD222/s1600/read.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6ubooMTI-cFz5vB9Xjv9BIXBnO78BtN76LEydT4q_MZfanVlFROqatYsTDHprAy227w1eoH1-K0hufAdDUBAgHKHWMPM7ERsYiULVlY3F3H7uT7V3b0bwoWLJqf0Zq89zReYZDr8CD222/s1600/read.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;49&quot; data-original-width=&quot;453&quot; height=&quot;67&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6ubooMTI-cFz5vB9Xjv9BIXBnO78BtN76LEydT4q_MZfanVlFROqatYsTDHprAy227w1eoH1-K0hufAdDUBAgHKHWMPM7ERsYiULVlY3F3H7uT7V3b0bwoWLJqf0Zq89zReYZDr8CD222/s640/read.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;b&gt;3)&lt;/b&gt; Database requires that all transactions should be
well- formed.&amp;nbsp; A transaction is
well-formed if:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;•&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;It
must lock the data item before it reads or writes to it.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;•&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;It
must not lock an already locked data items and it must not try to unlock a free
data item&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;b style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;, sans-serif; font-size: 22pt; text-indent: -18pt;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;b style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;, sans-serif; font-size: 22pt; text-indent: -18pt;&quot;&gt;4) &lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;, sans-serif; font-size: 22pt; text-indent: -18pt;&quot;&gt;The
following code performs the lock operation:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B:&amp;nbsp;&amp;nbsp; if
LOCK (X) = 0 (*item is unlocked*)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; then
LOCK (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt; 1 (*lock
the item*)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; else
begin&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&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; wait (until lock (X) = 0) and&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;















&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&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; the lock manager wakes up the
transaction);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;goto B&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;The
following code performs the unlock operation:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;LOCK (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt; 0 (*unlock
the item*)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;if any
transactions are waiting then wake up one of the waiting the transaction.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;5) &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;The
following code performs the read operation:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B: if LOCK (X) = “unlocked” then&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin LOCK (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;
“read-locked”; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&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;
no_of_reads (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;
1;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp; end&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp; else if
LOCK (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;
“read-locked” then&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;no_of_reads (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;
no_of_reads (X) +1&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else
begin wait (until LOCK (X) = “unlocked” and&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&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;the lock manager wakes up the transaction);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&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;
go to B&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;





























&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;end;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;6&lt;u&gt;) The
following code performs the write lock operation&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B: if LOCK (X) = “unlocked” then&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin LOCK (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;
“read-locked”; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&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;
no_of_reads (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;
1;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;end&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;else if
LOCK (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;
“read-locked” then&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
no_of_reads (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;
no_of_reads (X) +1&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else
begin wait (until LOCK (X) = “unlocked” and&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&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;the lock manager wakes up the transaction);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&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;
go to B&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;end;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;7) &lt;u&gt;The
following code performs the unlock operation:&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if LOCK (X) = “write-locked” then&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin LOCK (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt; “unlocked”; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wakes up one of the transactions, if any&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;end&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;































&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;else if
LOCK (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;
“read-locked” then&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; begin&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
no_of_reads (X) &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 20.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¬&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;
no_of_reads (X) -1&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
if&amp;nbsp; no_of_reads (X) = 0 then &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-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
begin&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&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;LOCK (X) = “unlocked”;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&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; wake up one of the transactions, if
any&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
end&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Lock
conversion&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;Lock upgrade: existing read lock to write
lock&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;if Ti has a
read-lock (X) and Tj has no read-lock (X) (i &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Symbol; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-bidi-font-size: 19.0pt; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;¹&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt; j) then &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&amp;nbsp;convert read-lock (X) to write-lock (X) &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp;else &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; force Ti to wait until Tj unlocks X&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; Lock downgrade: existing write lock to read lock&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; Ti has a
write-lock (X)&amp;nbsp;&amp;nbsp;&amp;nbsp; (*no transaction can
have any&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lock on X*)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;convert
write-lock (X) to read-lock (X) &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;

































&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Two-Phase
Locking Techniques: The algorithm&amp;nbsp;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Two Phases:&amp;nbsp;
(a) Locking (Growing) (b) Unlocking (Shrinking).&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Locking
(Growing) Phase:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp; A transaction
applies locks &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(read or write) on
desired data items one at a time.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Unlocking
(Shrinking) Phase&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;: A transaction unlocks its locked data items one at a
time.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Requirement:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp; For a transaction these two phases must be
mutually exclusively, that is, during locking phase unlocking phase must not
start and during unlocking phase locking phase must not begin. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Two-Phase
Locking Techniques: The algorithm &lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;u&gt;T1&lt;/u&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; &lt;u&gt;T2&lt;/u&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;&lt;u&gt;Result&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;read_lock (Y);&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;read_lock (X);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Initial values: X=20; Y=30&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;read_item (Y);&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;read_item (X);&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;Result
of serial execution&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;unlock (Y);&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; unlock (X); &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;T1 followed by T2 &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;write_lock (X);&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; Write_lock (Y);&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;X=50, Y=80.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;read_item (X);&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;read_item (Y);&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;Result of serial execution&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;





















&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;X:=X+Y;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Y:=X+Y;&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;T2
followed by T1&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;write_item (X);&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;write_item (Y);&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;X=70, Y=50&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;

&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_3&quot; o:spid=&quot;_x0000_s1026&quot; style=&quot;height: 542pt; margin-left: -27.5pt; margin-top: 114pt; mso-position-horizontal-relative: margin; mso-position-horizontal: absolute; mso-position-vertical-relative: margin; mso-position-vertical: absolute; mso-wrap-distance-bottom: 0; mso-wrap-distance-left: 9pt; mso-wrap-distance-right: 9pt; mso-wrap-distance-top: 0; mso-wrap-style: square; position: absolute; visibility: visible; width: 525.9pt; z-index: 1;&quot; type=&quot;#_x0000_t75&quot;&gt;
 &lt;v:imagedata o:title=&quot;&quot; src=&quot;file:///C:\Users\hp\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png&quot;&gt;
 &lt;w:wrap anchorx=&quot;margin&quot; anchory=&quot;margin&quot; type=&quot;square&quot;&gt;
&lt;/w:wrap&gt;&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;unlock
(X);&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; unlock (Y);&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEgfOmwLDZ0ojwMFl1B_y8aTCR_SOCvbDSU8H84JaUttEuqYrHHn5OHWgcDv3KPDJ4Y5lT_mUbIQhP24paLwy_arIUctH1JgWifmnFtT6VXrQdWcHtL11BQLxN3WKoddnUw5kynyn2sZ2-/s1600/read.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;550&quot; data-original-width=&quot;520&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEgfOmwLDZ0ojwMFl1B_y8aTCR_SOCvbDSU8H84JaUttEuqYrHHn5OHWgcDv3KPDJ4Y5lT_mUbIQhP24paLwy_arIUctH1JgWifmnFtT6VXrQdWcHtL11BQLxN3WKoddnUw5kynyn2sZ2-/s640/read.JPG&quot; width=&quot;604&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Two-Phase Locking Techniques: The algorithm&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;T’1&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;u&gt;T’2&lt;/u&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; &lt;u&gt;
&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;read_lock (Y);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; read_lock (X);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;T1 and T2 follow twophase&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;read_item (Y);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; read_item (X); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;policy
but they are subject to&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;write_lock (X);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; Write_lock (Y);&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;deadlock,
which must be&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;unlock (Y);&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;unlock (X);&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; deals with.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;read_item (X);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; read_item (Y);&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;X:=X+Y;&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; Y:=X+Y;&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-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;write_item (X);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;write_item (Y);&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;unlock (X);&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; unlock (Y);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Two-Phase Locking Techniques: The algorithm &lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;Two-phase policy generates two locking algorithms (a)
Basic and (b) Conservative.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;Conservative:&lt;/u&gt;&lt;/b&gt;&amp;nbsp; Prevents deadlock by locking all desired data
items before transaction begins execution.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;Basic:&amp;nbsp;&lt;/u&gt;&lt;/b&gt; Transaction locks data items
incrementally.&amp;nbsp; This may cause deadlock
which is dealt with.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;



























&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: Vrinda; mso-bidi-font-size: 20.0pt; mso-bidi-language: BN; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;u&gt; Strict:&lt;/u&gt;&lt;/b&gt;&amp;nbsp; A more stricter version of Basic algorithm&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where unlocking is performed after a transaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; terminates&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: large;&quot;&gt;(commits or
aborts and rolled-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; back).This is the
most commonly used two-phase locking algorithm.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 19.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: right 451.3pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Bahnschrift Light Condensed&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/8366385457131629293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/in-dbms-describe-two-phase-locking.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/8366385457131629293'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/8366385457131629293'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/in-dbms-describe-two-phase-locking.html' title='In DBMS  describe Two-Phase Locking Techniques with Algorithm'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnMKkbLXvKAlcw4gsZQUyNnaA0IvQ18XsvU_-Mf4Kxaz8IrNmLQOXGJaNDYDDj-dsc0ndc_msRbhZTXRQ5_r1EiGshAfw61zhXwW5es-EumYyh1eDOVvih8Pg0qf917ZImrN6ZGVVI2ovy/s72-c/read.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-2557376962681887720</id><published>2020-05-06T20:03:00.000+05:30</published><updated>2020-05-06T20:03:43.875+05:30</updated><title type='text'>What is external sorting in DBMS? Explain the algorithm for external sorting by using short merge strategy</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; margin-bottom: 0pt; margin-left: .38in; margin-top: 5.76pt; text-align: left; text-indent: -.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 32pt;&quot;&gt;&lt;b&gt;&lt;u&gt;Algorithms for External Sorting&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; margin-bottom: 0pt; margin-left: .38in; margin-top: 5.76pt; text-align: left; text-indent: -.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-size: 24pt;&quot;&gt;&lt;span style=&quot;font-family: Wingdings;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24pt;&quot;&gt;&lt;b&gt;&lt;u&gt;External sorting&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: +mn-cs; mso-color-index: 2; mso-fareast-font-family: +mn-ea;&quot;&gt;: refers to sorting algorithms
that are suitable for large files of records stored on disk that do not fit
entirely in main memory, such as most database files.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; margin-bottom: 0pt; margin-left: .38in; margin-top: 5.76pt; text-align: left; text-indent: -.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-size: 24pt;&quot;&gt;&lt;span style=&quot;font-family: Wingdings;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24pt;&quot;&gt;Sort-Merge&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: +mn-cs; mso-color-index: 2; mso-fareast-font-family: +mn-ea;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24pt;&quot;&gt;strategy&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: +mn-cs; mso-color-index: 2; mso-fareast-font-family: +mn-ea;&quot;&gt;:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;
&lt;/span&gt;starts by sorting small &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: +mn-cs; mso-color-index: 2; mso-fareast-font-family: +mn-ea;&quot;&gt;subfiles&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: +mn-cs; mso-color-index: 2; mso-fareast-font-family: +mn-ea;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; font-weight: bold; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: +mn-cs; mso-color-index: 2; mso-fareast-font-family: +mn-ea;&quot;&gt;runs&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: +mn-cs; mso-color-index: 2; mso-fareast-font-family: +mn-ea;&quot;&gt;) of the main file and then
merges the sorted runs, creating larger sorted &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: +mn-cs; mso-color-index: 2; mso-fareast-font-family: +mn-ea;&quot;&gt;subfiles&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: +mn-cs; mso-color-index: 2; mso-fareast-font-family: +mn-ea;&quot;&gt; that are merged in turn.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;O1&quot; style=&quot;direction: ltr; language: en-IN; margin-bottom: 0pt; margin-left: .81in; margin-top: 5.76pt; text-align: left; text-indent: -.31in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 24.0pt;&quot;&gt;&lt;span style=&quot;color: red; mso-special-format: bullet;&quot;&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;Sorting phase: &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;n&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt;R&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: 30%; vertical-align: super;&quot;&gt;⌐&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;(b/&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;n&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; font-weight: bold; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt;B&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; font-weight: bold; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: 30%; vertical-align: super;&quot;&gt;¬&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;O1&quot; style=&quot;direction: ltr; language: en-IN; margin-bottom: 0pt; margin-left: .81in; margin-top: 5.76pt; text-align: left; text-indent: -.31in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 24.0pt;&quot;&gt;&lt;span style=&quot;color: red; mso-special-format: bullet;&quot;&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;Merging phase: &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt;M&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;= Min (n&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt;B&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;-1, &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;n&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt;R&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;n&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt;P&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: 30%; vertical-align: super;&quot;&gt;⌐&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt;dM&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;n&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt;R&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; font-weight: bold; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: 30%; vertical-align: super;&quot;&gt;¬&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; margin-bottom: 0pt; margin-left: .81in; margin-top: 5.76pt; text-align: left; text-indent: -.31in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;n&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt;R&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;: number of initial runs; b: number of file
blocks; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; margin-bottom: 0pt; margin-left: .81in; margin-top: 5.76pt; text-align: left; text-indent: -.31in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;n&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt;B&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;: available buffer space; &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;d&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt;M&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;: degree of merging;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; margin-bottom: 0pt; margin-left: .81in; margin-top: 5.76pt; text-align: left; text-indent: -.31in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;n&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt;P&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;: number of passes.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2; mso-text-raise: -25%; vertical-align: sub;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsBa3kpxYOzxM3zBtOgBDynUugnzNjE200ujbb5tlipz4mgBDlAAQz5aQLuIhbGYUuJRTA6YVpzlk-TBs4MJIw4yWzSGtukzrvmfTYhyCYenNlV-e6WP9lI0dnISPdpHaw5qlOhYjaQ66e/s1600/exter.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;746&quot; data-original-width=&quot;1023&quot; height=&quot;466&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsBa3kpxYOzxM3zBtOgBDynUugnzNjE200ujbb5tlipz4mgBDlAAQz5aQLuIhbGYUuJRTA6YVpzlk-TBs4MJIw4yWzSGtukzrvmfTYhyCYenNlV-e6WP9lI0dnISPdpHaw5qlOhYjaQ66e/s640/exter.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;h4&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Outline of the short merge algorithm&amp;nbsp; for external sorting&lt;/span&gt;&lt;/h4&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; margin-bottom: 0pt; margin-left: .81in; margin-top: 5.76pt; text-align: left; text-indent: -.31in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 24.0pt; language: en-US; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-color-index: 2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/2557376962681887720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-external-sorting-in-dbms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/2557376962681887720'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/2557376962681887720'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-external-sorting-in-dbms.html' title='What is external sorting in DBMS? Explain the algorithm for external sorting by using short merge strategy'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsBa3kpxYOzxM3zBtOgBDynUugnzNjE200ujbb5tlipz4mgBDlAAQz5aQLuIhbGYUuJRTA6YVpzlk-TBs4MJIw4yWzSGtukzrvmfTYhyCYenNlV-e6WP9lI0dnISPdpHaw5qlOhYjaQ66e/s72-c/exter.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-2266734190616852960</id><published>2020-05-04T21:02:00.000+05:30</published><updated>2020-05-06T14:43:34.166+05:30</updated><title type='text'>How to execute raw SQL query by using DBcontext</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 24pt;&quot;&gt;Execute raw SQL query by using
DBcontext&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 18pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 18pt;&quot;&gt;executing raw SQL query by using command below&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;DbSet.SqlQuery()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;DbContext.Database.SqlQuery()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;DbContext.Database.ExecuteSqlCommand()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14pt;&quot;&gt;DbSet.SqlQuery()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Use
the&amp;nbsp;DbSet.SqlQuery()&amp;nbsp;method to write raw SQL queries which return
entity instances. The resulted entities will be tracked by the context, as if
they were returned by the LINQ query.&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;using (var ctx = new companyEntities())&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;{&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var studentList = ctx.employee&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&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;&amp;nbsp;
.SqlQuery(&quot;Select * from employee&quot;)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&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;&amp;nbsp;.ToList&amp;lt;employee&amp;gt;();&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;The
above query executes&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;select * from
employee&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;SQL in the
database to get all students and will be converted into a list of employee&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;entities. The column names in the SQL query must match with the
properties of an entity type, otherwise, it will throw an exception.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;You
can specify the parameters using the object of&amp;nbsp;SqlParameter, as shown
below.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;using (var ctx = new companyEntities())&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;{&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var student = ctx.employee&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&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;
.SqlQuery(&quot;Select * from employee where employeeId=@id&quot;, new
SqlParameter(&quot;@id&quot;, 1))&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&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;
.FirstOrDefault();&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;If
you change the column name in SQL query, then it will throw an exception
because it must match column names. The following example will throw an
exception.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;using (var ctx = new companyEntities())&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&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;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this will throw an exception&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;var employeeName =
ctx.employee.SqlQuery(&quot;Select employeeid as id, employeename as name&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;from employee where
employeename=&#39;Souvik&#39;&quot;).ToList();&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;The&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 9.5pt;&quot;&gt;DbSet&amp;lt;TEntity&amp;gt;.SqlQuery()&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;executes the SQL query only
for the table which is mapped with the specified entity (e.g.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 9.5pt;&quot;&gt;DbSet&amp;lt;Student&amp;gt;.SqlQuery()&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;only returns the result from
the corresponding&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: rgb(249 , 249 , 249); font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;students&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;table and not from any other
table). The following will throw an exception.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;using (var ctx = new companyEntities())&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&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;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //this will throw an exception&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;var employeeName = ctx.employee.SqlQuery(&quot;Select
* from Courses&quot;).ToList();&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14pt;&quot;&gt;Database.SqlQuery()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;The&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: rgb(249 , 249 , 249); font-family: &amp;quot;consolas&amp;quot;; font-size: 9.5pt;&quot;&gt;Database&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;class represents the underlying database and provides various
methods to deal with the database. The&amp;nbsp;method&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;Database.SqlQuery()&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;returns a value of any type.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 9.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;using (var ctx = new CompanyDBEntities())&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;{&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Get employee name of string type&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string employeeName =
ctx.Database.SqlQuery&amp;lt;string&amp;gt;(&quot;Select employeename from employee
where employeeid=1&quot;)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
.FirstOrDefault();&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //or&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string employeeName =
ctx.Database.SqlQuery&amp;lt;string&amp;gt;(&quot;Select employeename from employee
where employeeid=@id&quot;, new SqlParameter(&quot;@id&quot;, 1))&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
.FirstOrDefault();&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 18pt;&quot;&gt;Database.ExecuteSqlCommnad()&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 9.5pt;&quot;&gt;The&amp;nbsp;Database.ExecuteSqlCommnad()&amp;nbsp;method
is useful in executing database commands, such as the Insert, Update and Delete
command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;using (var ctx = new CompanyDBEntities())&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;{&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;using (var ctx = new companyEntities())&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;{&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int noOfRowUpdated =
ctx.Database.ExecuteSqlCommand(&quot;Update employee&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&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;set
employeename =&#39;changed student by command&#39; where employeeid=1&quot;);&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int noOfRowInserted =
ctx.Database.ExecuteSqlCommand(&quot;insert into student(employeename)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&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;values(&#39;New
employee&#39;)&quot;);&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int noOfRowDeleted =
ctx.Database.ExecuteSqlCommand(&quot;delete from employee&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&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;where
employeeid=1&quot;);&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot; , serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/h2&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/2266734190616852960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/execute-raw-sql-query.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/2266734190616852960'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/2266734190616852960'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/execute-raw-sql-query.html' title='How to execute raw SQL query by using DBcontext'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-8991685818077345516</id><published>2020-05-04T15:41:00.002+05:30</published><updated>2020-05-24T20:44:55.413+05:30</updated><title type='text'>Explain RAID (Redundant Array of Independent Disks )technology &amp; it&#39;s uses in details with diagram in DBMS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; margin-bottom: 0pt; margin-left: .58in; margin-top: 5.76pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;u&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot;; font-weight: bold;&quot;&gt;RAID (Redundant Array of Independent Disks&lt;/span&gt;&lt;span style=&quot;font-family: arial; font-weight: bold; text-indent: -0.58in;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/u&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial; font-weight: bold; text-indent: -0.58in;&quot;&gt;&lt;u&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Technology&lt;/span&gt;&lt;/i&gt;&lt;/u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: red; font-family: &amp;quot;wingdings&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: 28pt;&quot;&gt;l&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;A natural solution is a large array of small
independent disks acting as a single higher-performance logical disk. A concept
called &lt;span style=&quot;font-weight: bold;&quot;&gt;data striping&lt;/span&gt; is used,
which utilizes &lt;span style=&quot;font-style: italic;&quot;&gt;parallelism&lt;/span&gt; to improve
disk performance.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;wingdings&amp;quot;; mso-special-format: bullet;&quot;&gt;l&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;Data striping distributes data transparently over
multiple disks to make them appear as a single large, fast disk.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFCVdBidZk5WeRFwrNphhLF_ZnWgBrzWjHi0kwV3kKv9bM-M8dHuEJm-dqLTenMq7_Mgl_N2BOTf8-yAGTq17Pieefxdz0i08ztoALUFYObdY38IU4HshOHia7jRJBaUo6SALn7wNkSN5a/s1600/tech+raid.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;171&quot; data-original-width=&quot;777&quot; height=&quot;139&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFCVdBidZk5WeRFwrNphhLF_ZnWgBrzWjHi0kwV3kKv9bM-M8dHuEJm-dqLTenMq7_Mgl_N2BOTf8-yAGTq17Pieefxdz0i08ztoALUFYObdY38IU4HshOHia7jRJBaUo6SALn7wNkSN5a/s640/tech+raid.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;color: #ff0033;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;Different raid organizations were defined based on different&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; combinations of the two factors of granularity of data&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; interleaving (striping)
and pattern used to compute redundant&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; information.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 24pt; text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;wingdings&amp;quot;; mso-special-format: bullet;&quot;&gt;l&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 24pt; text-indent: -0.58in;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;Raid
level 0 has no redundant data and hence has the best&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;write performance.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;wingdings&amp;quot;; mso-special-format: bullet;&quot;&gt;l&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt; Raid level 1 uses mirrored disks.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;wingdings&amp;quot;; mso-special-format: bullet;&quot;&gt;l&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt; Raid level 2 uses memory-style redundancy by using&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; Hamming codes, which contain parity bits for distinct&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; overlapping subsets of
components. Level 2 includes both&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; error detection and correction.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;wingdings&amp;quot;; mso-special-format: bullet;&quot;&gt;l&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt; Raid level 3 uses a single
parity disk relying on the disk&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; controller to figure out which disk has failed.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;wingdings&amp;quot;; mso-special-format: bullet;&quot;&gt;l&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt; Raid Levels 4 and 5 use
block-level data striping, with&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; level 5 distributing data and parity
information across all&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; disks.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;wingdings&amp;quot;; mso-special-format: bullet;&quot;&gt;l&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt; Raid level 6 applies the
so-called &lt;/span&gt;&lt;span style=&quot;font-size: 20pt; font-style: italic; text-indent: -0.58in;&quot;&gt;P&lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt; + &lt;/span&gt;&lt;span style=&quot;font-size: 20pt; font-style: italic; text-indent: -0.58in;&quot;&gt;Q&lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt; redundancy&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; scheme using Reed-&lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;Soloman&lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt; codes to protect against up&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;to
two disk failures by using just two redundant disks.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: 32pt; font-weight: bold; text-indent: -0.58in;&quot;&gt;Use of RAID Technology&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 24pt; text-indent: -0.58in;&quot;&gt;Different raid organizations are being used under&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 24pt; text-indent: -0.58in;&quot;&gt;different
situations&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 6.72pt; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;margin-bottom: 0pt; margin-left: 0.58in; margin-top: 4.8pt; text-align: left; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 24pt; text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;;&quot;&gt;l&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 24pt; text-indent: -0.58in;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&lt;b&gt;Raid
level 1 &lt;/b&gt;(mirrored disks)is the easiest for rebuild of a disk from other disks&lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.5in;&quot;&gt;&lt;span style=&quot;color: red; mso-special-format: bullet;&quot;&gt;–&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.5in;&quot;&gt; It is used for critical applications like l&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0pt; margin-left: 0.58in; margin-top: 4.8pt; text-align: left; text-indent: -48px; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 26.6667px; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&lt;b&gt;Raid level 2 &lt;/b&gt;uses memory-style redundancy by using
Hamming codes, which contain parity bits for distinct overlapping subsets of
components. Level 2 includes both error detection and correction.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0pt; margin-left: 0.58in; margin-top: 4.8pt; text-align: left; text-indent: -48px; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;; font-size: large; text-indent: -0.58in;&quot;&gt;l&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt; &lt;b&gt;Raid level 3 &lt;/b&gt;( single parity
disks relying on the disk controller to figure out which disk has failed) and
level 5 (block-level data striping) are preferred for Large volume storage,
with level 3 giving higher transfer rates.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0pt; margin-left: 0.58in; margin-top: 4.8pt; text-align: left; text-indent: -48px; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;; font-size: large; text-indent: -0.58in;&quot;&gt;l&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt; Most popular uses of the RAID
technology currently are: Level 0 (with striping), Level 1 (with mirroring) and
Level 5 with an extra drive for parity.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0pt; margin-left: 0.58in; margin-top: 4.8pt; text-align: left; text-indent: -48px; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;;&quot;&gt;l&lt;/span&gt; Design Decisions for RAID
include – level of RAID, number of disks, choice of parity schemes, and
grouping of disks for block-level striping.&lt;/span&gt;&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPJjtSgSv67U9Zv4YIX4nsNAOkjmbW15Q4iOS4g4DiQdjZskXFfkodvlEgsv2XLJhsZ9mpS73_4R7OjfsVDpaoqz5xeDuma0-yA1nhVmnI4KFgFACVJ1IlLkOVkO1GUyPPQGr2p0r5sXbO/s1600/raid.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;603&quot; data-original-width=&quot;837&quot; height=&quot;459&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPJjtSgSv67U9Zv4YIX4nsNAOkjmbW15Q4iOS4g4DiQdjZskXFfkodvlEgsv2XLJhsZ9mpS73_4R7OjfsVDpaoqz5xeDuma0-yA1nhVmnI4KFgFACVJ1IlLkOVkO1GUyPPQGr2p0r5sXbO/s640/raid.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0pt; margin-left: 0.58in; margin-top: 4.8pt; text-align: left; text-indent: -48px; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; text-indent: -0.58in;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: 28pt; text-indent: -0.58in;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/8991685818077345516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-parallelizing-disk-access-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/8991685818077345516'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/8991685818077345516'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-parallelizing-disk-access-using.html' title='Explain RAID (Redundant Array of Independent Disks )technology &amp; it&#39;s uses in details with diagram in DBMS'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFCVdBidZk5WeRFwrNphhLF_ZnWgBrzWjHi0kwV3kKv9bM-M8dHuEJm-dqLTenMq7_Mgl_N2BOTf8-yAGTq17Pieefxdz0i08ztoALUFYObdY38IU4HshOHia7jRJBaUo6SALn7wNkSN5a/s72-c/tech+raid.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-4818314229684877824</id><published>2020-05-03T19:35:00.000+05:30</published><updated>2020-05-03T19:39:28.245+05:30</updated><title type='text'>What is the type Functions in SQL?Explain user defined function with syntax</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;header class=&quot;entry-header&quot; style=&quot;box-sizing: border-box; font-size: 18px;&quot;&gt;&lt;h1 class=&quot;entry-title&quot; style=&quot;box-sizing: border-box; font-size: 36px; line-height: 1; margin: 0px 0px 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;What is the type Functions in SQL?Explain user defined function with syntax&lt;/span&gt;&lt;/h1&gt;
&lt;/header&gt;&lt;span class=&quot;ezoic-adpicker-ad&quot; id=&quot;ezoic-pub-ad-placeholder-109&quot; style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;questrial&amp;quot; , sans-serif; font-size: 18px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;entry-content&quot; style=&quot;box-sizing: border-box; font-family: questrial, sans-serif; text-align: justify;&quot;&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-size: 18px; margin-bottom: 26px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333;&quot;&gt;
&lt;span id=&quot;ezoic-pub-ad-placeholder-104&quot; style=&quot;box-sizing: border-box; font-size: 18px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;box-sizing: border-box; font-family: &amp;quot;eb garamond&amp;quot;, serif; font-size: 30px; line-height: 1.2; margin: 0px 0px 16px;&quot;&gt;
Types of Functions in SQL Server&lt;/h2&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 18px; margin-bottom: 26px; padding: 0px;&quot;&gt;
There are two types of functions in SQL Server:&lt;/div&gt;
&lt;ol style=&quot;box-sizing: border-box; font-size: 18px; margin: 0px 0px 26px 40px; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;System Functions:&amp;nbsp;&lt;/span&gt;All the built-in functions supported by the Server called System functions in SQL Server. We don’t have to bother about the logic inside them because they cannot be modified. For example,&amp;nbsp;Mathematical Functions,&amp;nbsp;Ranking Functions,&amp;nbsp;String Functions, etc.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;
&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;2.&lt;/span&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;User Defined Functions&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;font-size: 18px;&quot;&gt;The User Defined Functions in SQL Server are like functions in any other programming language that accepts the parameters, performing complex calculations, and returning the result value&lt;/b&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div class=&quot;entry-content&quot; style=&quot;box-sizing: border-box; font-family: questrial, sans-serif; font-size: 18px; text-align: justify;&quot;&gt;
SQL Server allows us to create our functions called as user defined functions in SQL Server. For example, if we want to perform some complex calculations, then we can place them in a separate function, and store it in the database. Whenever we&amp;nbsp; need the calculation, we can call it. There are two types of SQL user defined functions:&lt;/div&gt;
&lt;div class=&quot;entry-content&quot; style=&quot;box-sizing: border-box; color: #333333; font-family: questrial, sans-serif; font-size: 18px; text-align: justify !important;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;entry-content&quot; style=&quot;box-sizing: border-box; font-family: questrial, sans-serif; font-size: 18px; text-align: justify;&quot;&gt;
&lt;ul style=&quot;box-sizing: border-box; color: #333333; margin: 0px 0px 26px 40px; padding: 0px;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Scalar Function:&lt;/span&gt;&amp;nbsp;It is a function that returns a single value. Generally, we have to define the function body between BEGIN … END block, but for inline scalar function, you can omit them. We can use any&amp;nbsp;SQL data typeas the return type except text, image, ntext, cursor, and timestamp.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: disc;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Table Valued Functions:&lt;/span&gt;&amp;nbsp;It is a user defined function in SQL Server that returns a table.&lt;ul style=&quot;box-sizing: border-box; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: none;&quot;&gt;&lt;ul style=&quot;box-sizing: border-box; margin: 0px 0px 0px 40px; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: disc;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Inline Table valued Functions:&lt;/span&gt;&amp;nbsp;This function returns a table data type based on a single&amp;nbsp;SELECT Statement&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: disc;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Multi Statement Table valued Functions:&amp;nbsp;&lt;/span&gt;This function also returns the tabular result set. But, unlike the inline table valued function, we can use multiple select statements inside the function body.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;box-sizing: border-box; font-family: &amp;quot;eb garamond&amp;quot;, serif; font-size: 26px; line-height: 1.2; margin: 0px 0px 16px;&quot;&gt;
Advantages of User Defined Functions in SQL Server&lt;/h3&gt;
&lt;ol style=&quot;box-sizing: border-box; margin: 0px 0px 26px 40px; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;User defined functions in SQL Server prevent us from writing the same logic multiple times.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;Within the Database, you can create the function once, and call it&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;&lt;i style=&quot;box-sizing: border-box;&quot;&gt;n&lt;/i&gt;&lt;/span&gt;&amp;nbsp;number of times.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;SQL user defined functions reduce the compilation time of query by catching the execution plan and reusing them.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;This user defined functions can help us to separate the complex calculations from the regular query so that we can understand and debug the query quicker and better.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;It reduces the network traffic because of its cache plan&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: decimal;&quot;&gt;SQL Server Functions also used in WHERE Clause as well. By this, we can limit the number of rows sent to the client.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 style=&quot;box-sizing: border-box; font-family: &amp;quot;eb garamond&amp;quot;, serif; font-size: 26px; line-height: 1.2; margin: 0px 0px 16px;&quot;&gt;
Syntax of User Defined Functions in SQL Server&lt;/h3&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 26px; padding: 0px;&quot;&gt;
The syntax the SQL server User defined functions or UDF is&lt;/div&gt;
&lt;div style=&quot;color: #333333;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;wp-block-preformatted lang:tsql decode:true&quot; style=&quot;background-color: #eeeeee; border-color: rgb(153, 153, 153); border-style: solid; border-width: 1px; box-sizing: border-box; color: purple; font-size: 13px; line-height: 17px; max-width: 100%; overflow-wrap: break-word; overflow: auto; padding: 15px 5px; text-shadow: none; white-space: pre-wrap;&quot;&gt;CREATE FUNCTION Function_Name(@Parameter_Name Data_type, 
                                 .... @Parameter_Name Data_type
                             )
RETURNS Data_Type
AS
   BEGIN
      -- Function Body
      
      RETURN Data 
   END&lt;/pre&gt;
&lt;ul style=&quot;box-sizing: border-box; color: #333333; margin: 0px 0px 26px 40px; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: disc;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Return_Type:&lt;/span&gt;&lt;ol style=&quot;box-sizing: border-box; margin: 0px 0px 26px 40px; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: disc;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Data Type:&lt;/span&gt;&amp;nbsp;Please specify the data type of return value. For example, VARCHAR2, INT, FLOAT, etc.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: disc;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Data:&lt;/span&gt;&amp;nbsp;Please specify the return value, and it should match the&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Data Type&lt;/span&gt;. It can be a single value or Table&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: disc;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Function_Name:&lt;/span&gt;&amp;nbsp;You can specify any name you wish to give other than the system reserved keywords. Please try to use meaningful names so that you can identify them easily.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: disc;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;@Parameter_Name:&lt;/span&gt;&amp;nbsp;Every function accepts zero or more parameters; it completely depends upon the user requirements. While declaring the parameters don’t forget the appropriate data type. For example (@name VARCHAR2(50), @number INT)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style-type: disc;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Function Body:&lt;/span&gt;&amp;nbsp;Any query, or any complex mathematical calculations you want to implement in this particular function.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/4818314229684877824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-user-defined-functions-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/4818314229684877824'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/4818314229684877824'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-user-defined-functions-with.html' title='What is the type Functions in SQL?Explain user defined function with syntax'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-1720525065189911106</id><published>2020-05-01T19:04:00.001+05:30</published><updated>2020-05-02T20:15:26.244+05:30</updated><title type='text'>What is Disk storage Devices in DBMS ? with proper diagram  </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;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #333399; font-family: &amp;quot;arial&amp;quot;; font-size: 32.0pt; font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot;; font-size: 32pt; font-weight: bold;&quot;&gt;&lt;u&gt;Disk Storage Devices&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;wingdings&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;; font-size: x-large; text-indent: -0.58in;&quot;&gt;l&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Preferred secondary storage device&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;for high storage
capacity&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;and low&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;cost.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;;&quot;&gt;l&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;Data stored as magnetized areas on&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp;magnetic disk
surfaces.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 2.4pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;;&quot;&gt;l&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;A &lt;/span&gt;&lt;span style=&quot;font-style: italic; text-indent: -0.58in;&quot;&gt;disk pack&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&amp;nbsp; contains several&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&amp;nbsp;magnetic disks&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;connected&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 2.4pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; a&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;rotating spindle.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 2.4pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 2.4pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;;&quot;&gt;l&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;Disks are divided into concentric&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;times new roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;circular &lt;/span&gt;&lt;span style=&quot;font-size: large; font-style: italic; text-indent: -0.58in;&quot;&gt;tracks&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; on each&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; disk&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; font-style: italic; text-indent: -0.58in;&quot;&gt;surface&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;Track capacities vary typically from&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;4 to 50&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; Kbytes.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;Because a track usually contains&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp;a large&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;amount of&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; information, it is divided into&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;smaller&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; font-style: italic; text-indent: -0.58in;&quot;&gt;blocks&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt; or &lt;/span&gt;&lt;span style=&quot;font-size: large; font-style: italic; text-indent: -0.58in;&quot;&gt;sectors&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;; text-indent: -0.58in;&quot;&gt;l&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;The division of a track into &lt;/span&gt;&lt;span style=&quot;font-style: italic; text-indent: -0.58in;&quot;&gt;sectors&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt; is hard-&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;coded on the&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp;disk&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;surface and cannot be&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp;changed. One type of sector&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;organization&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;calls a&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp;portion of a track that
subtends a fixed&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;angle at&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;the&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;center&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;as a sector.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;; text-indent: -55.68px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;; text-indent: -55.68px;&quot;&gt;l&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;A track is divided into &lt;span style=&quot;font-style: italic;&quot;&gt;blocks&lt;/span&gt;. The block size B&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp;is fixed for&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp;each&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; system.
Typical block sizes&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;range from B=512 bytes to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;B=4096&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; bytes.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;Whole blocks are
transferred between disk and main&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; memory for processing.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgndnF0tBzEt8Ylasx2rgPD5ONJtN7iO6Hwoh6iJCNB8o3Ci3x_aSCH_y-ydhG3COCRIaj30kWH1Z2bM01xefyYdDx3p1ZdcNSO3HTgki2lAdM__N5zCNlzEw5cK_4Lv-vkQFkJy4puveIo/s1600/dsd1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;449&quot; data-original-width=&quot;790&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgndnF0tBzEt8Ylasx2rgPD5ONJtN7iO6Hwoh6iJCNB8o3Ci3x_aSCH_y-ydhG3COCRIaj30kWH1Z2bM01xefyYdDx3p1ZdcNSO3HTgki2lAdM__N5zCNlzEw5cK_4Lv-vkQFkJy4puveIo/s400/dsd1.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: x-large; text-indent: -0.58in;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 24pt; text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;;&quot;&gt;l&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;A &lt;/span&gt;&lt;span style=&quot;font-style: italic; text-indent: -0.58in;&quot;&gt;read-write&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&amp;nbsp; head moves to the track that&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;contains the
block to&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; be transferred. Disk&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;rotation moves the block under the read-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; write&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp;head for reading or writing.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; line-height: 90%; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 7.68pt; text-align: justify; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;;&quot;&gt;l&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;A physical disk block (hardware) address&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;consists
of a cylinder&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; line-height: 90%; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 7.68pt; text-align: justify; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; number (&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;imaginary&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-align: left; text-indent: -0.58in;&quot;&gt;collection of tracks of same radius from all&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; line-height: 90%; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 7.68pt; text-align: justify; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;recorded&amp;nbsp;surfaces), the track number or&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;surface number
(within&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; line-height: 90%; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 7.68pt; text-align: justify; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp;the cylinder), and&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp;block number (within track).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; line-height: 90%; margin-bottom: 0pt; margin-left: 0.58in; margin-top: 7.68pt; text-align: justify; text-indent: -0.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;;&quot;&gt;l&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;Reading or writing a disk block is time&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;consuming
because of&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; the seek time s and&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp;rotational delay (latency) &lt;/span&gt;&lt;span style=&quot;font-size: large; font-weight: bold; text-indent: -0.58in;&quot;&gt;rd&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;;&quot;&gt;l&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.58in;&quot;&gt;Double buffering can be used to speed up&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;the
transfer of&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: large; text-indent: -0.58in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;contiguous disk blocks.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0g3_-Bn9bh3YmptLVfQx3_XRU-wwix-I5EAs7SoxPrHVls4dgEsqMIX-FPjnwfu4AgFj228WdswCCGQIzEuM2aO2uOOu9MyP1N7-fzKVSeAeYP5D8SSleZAF_Zvh7GHtN9m4kaSl7JRpX/s1600/dsd2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;518&quot; data-original-width=&quot;713&quot; height=&quot;290&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0g3_-Bn9bh3YmptLVfQx3_XRU-wwix-I5EAs7SoxPrHVls4dgEsqMIX-FPjnwfu4AgFj228WdswCCGQIzEuM2aO2uOOu9MyP1N7-fzKVSeAeYP5D8SSleZAF_Zvh7GHtN9m4kaSl7JRpX/s400/dsd2.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Diagrams of how to work&amp;nbsp; Disk storage device&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;Example of typical disk parameter below&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrWFOsK8AdI9_nzPvJrRLcvlZpAAJXvrhVybqVcX4NZjaqP4ypPHq5rB-IC1z0_QV7AwlkTZBuBd7PSDOn4pawJCaTkxJ-623KHn5BYYrlU7fny9EZFZFf5QCDszJGXFLXDYVoRmC8baQM/s1600/parameter.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;594&quot; data-original-width=&quot;560&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrWFOsK8AdI9_nzPvJrRLcvlZpAAJXvrhVybqVcX4NZjaqP4ypPHq5rB-IC1z0_QV7AwlkTZBuBd7PSDOn4pawJCaTkxJ-623KHn5BYYrlU7fny9EZFZFf5QCDszJGXFLXDYVoRmC8baQM/s400/parameter.JPG&quot; width=&quot;376&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 24pt; text-indent: -0.58in;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; language: en-IN; line-height: 90%; margin-bottom: 0pt; margin-left: .58in; margin-top: 7.68pt; text-align: left; text-indent: -.58in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: x-large; text-indent: -0.58in;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/1720525065189911106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-disk-storage-devices-in-dbms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/1720525065189911106'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/1720525065189911106'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/05/what-is-disk-storage-devices-in-dbms.html' title='What is Disk storage Devices in DBMS ? with proper diagram  '/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgndnF0tBzEt8Ylasx2rgPD5ONJtN7iO6Hwoh6iJCNB8o3Ci3x_aSCH_y-ydhG3COCRIaj30kWH1Z2bM01xefyYdDx3p1ZdcNSO3HTgki2lAdM__N5zCNlzEw5cK_4Lv-vkQFkJy4puveIo/s72-c/dsd1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-2701733954992350384</id><published>2020-04-30T13:54:00.001+05:30</published><updated>2020-05-20T20:26:46.247+05:30</updated><title type='text'>What is database schema &amp; database independence? explain in details with diagram</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left; text-indent: -18pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;symbol&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&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; &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&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; line-height: 30.6667px;&quot;&gt;Database Schema &amp;amp;&amp;nbsp;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; line-height: 30.6667px;&quot;&gt;Data Independence&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;b style=&quot;text-indent: -18pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;u&gt;Database
Schema&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;text-indent: -18pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 26.6667px; text-indent: -18pt;&quot;&gt;A database schema&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: -18pt;&quot;&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 26.6667px; text-indent: -18pt;&quot;&gt;is the skeleton structure that represents the logical view of the entire database. It defines how the data is organized and how relat&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; text-indent: -18pt;&quot;&gt;ion among them are associated. It formulates all
the constrains that are to be applied on the data.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&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; &lt;/span&gt;A database schema defines its
entities and the relationship among them. It contains descriptive details of
the database which can be described by means of schema diagram. A database
schema can be divided into two categories.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: 90.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-text-indent-alt: -18.0pt; text-indent: -90.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;I.&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; line-height: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&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;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Physical
database schema&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;:
- &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;this schema
contain to the actual storage of data and its form of storage like files,
indices etc. It defines how the data will be stored in a secondary storage.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin-left: 90.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-text-indent-alt: -18.0pt; text-indent: -90.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&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;&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;b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; line-height: normal;&quot;&gt;&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;II.&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&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;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Logical
database schema&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;:
- &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;this schema
defines all the logical constrains that need to be applied on the data stored.
It defines tables, views and integrality constrains. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: 26.6667px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;symbol&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Data Independence&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt; Data Independence can be explained using &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;3&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;three schema architecture. Data independence refers characteristic of
being able to modified schema at one level of the database without altering the
schema at next higher level.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&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; There are two types of data
independence.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin-left: 5.0cm; mso-add-space: auto; mso-list: l1 level1 lfo2; mso-text-indent-alt: -18.0pt; text-indent: -5.0cm;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&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;&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/b&gt;&lt;/span&gt;&lt;b&gt;I.&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Logical
data independence&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;:
- &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;It refers
characteristic being able to change conceptual schema without having to change
the external schema. Logical data independence is used to separate the external
level from conceptual view. Logical data independence occurs at user inference
level.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin-left: 5.0cm; mso-add-space: auto; mso-list: l1 level1 lfo2; mso-text-indent-alt: -18.0pt; text-indent: -5.0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; II.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;u&gt;Physical data independence&lt;/u&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%;&quot;&gt; Physical data
independence can be defined as capacity to change internal schema without
having to change conceptual schema. Physical data independence used to separate
conceptual level&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt;&quot;&gt;from internal level.
Physical data independence occurs at the logical interference level.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj31s-_NA4RoHeaFJ9Ygoq0yFw2JGojYOCTedNsfpmA_iqSRw6uuWq3YwwHLDhxewAIMyB-JgHaMVM0wbOeZf9PGDv1UVBG9OtO3xikl61XcxX_97_xdKABnlyOXzxGflE4DqyBFEyV5Zke/s1600/external.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;574&quot; data-original-width=&quot;522&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj31s-_NA4RoHeaFJ9Ygoq0yFw2JGojYOCTedNsfpmA_iqSRw6uuWq3YwwHLDhxewAIMyB-JgHaMVM0wbOeZf9PGDv1UVBG9OtO3xikl61XcxX_97_xdKABnlyOXzxGflE4DqyBFEyV5Zke/s400/external.JPG&quot; width=&quot;363&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/2701733954992350384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/dbms-database-schema-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/2701733954992350384'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/2701733954992350384'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/dbms-database-schema-database.html' title='What is database schema &amp; database independence? explain in details with diagram'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj31s-_NA4RoHeaFJ9Ygoq0yFw2JGojYOCTedNsfpmA_iqSRw6uuWq3YwwHLDhxewAIMyB-JgHaMVM0wbOeZf9PGDv1UVBG9OtO3xikl61XcxX_97_xdKABnlyOXzxGflE4DqyBFEyV5Zke/s72-c/external.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-8843153586443062443</id><published>2020-04-29T18:26:00.003+05:30</published><updated>2020-05-24T21:02:23.816+05:30</updated><title type='text'> what is an-entity &amp; it&#39;s type? explain with proper Diagram In DBMS.  </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: x-large; line-height: 115%;&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;&lt;u&gt;Entity set &amp;amp; it&#39;s types&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 115%;&quot;&gt;1.&lt;u&gt;What is entity?&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Ans/-&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;An
&lt;b&gt;entity&lt;/b&gt; can be a real word object either animated or inanimate that can be
easily identifiable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Entity set&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;
An &lt;b&gt;entity set&lt;/b&gt; is a group of similar kind of&lt;b&gt; entities.&lt;/b&gt; It may contain &lt;b&gt;entities&lt;/b&gt;
with attributes sharing similar values. Entities are represents by their
properties which also called attributes.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6hTf97XY5x0EqHzfT21i5PjNqzUB4FBQ5J7L7Gk3cxO_tr3oHTS6uhvx496UfaWPP-OAn0sbLZZX1U7ku1R1diVYOZLQl_cIV5YyEoeb06EUPMfXWtdK3KvJkMykV9kN4wgpcOGvVFWOa/s1600/entity.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;135&quot; data-original-width=&quot;566&quot; height=&quot;152&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6hTf97XY5x0EqHzfT21i5PjNqzUB4FBQ5J7L7Gk3cxO_tr3oHTS6uhvx496UfaWPP-OAn0sbLZZX1U7ku1R1diVYOZLQl_cIV5YyEoeb06EUPMfXWtdK3KvJkMykV9kN4wgpcOGvVFWOa/s640/entity.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Type of
entity&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Weak
entity&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: - &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;A weak entity is a type of entity which doesn’t have its key attribute. It
can be identified uniquely by considering by consisting primary key of another
entity. It represented by double rectangular box. Weak relation represent by
double diamond box.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGyoUfqO7D4i6tQDcydCLqsbeONxIWmgZ4F4R8v6PJf1_1lV_l9gtCFWHezVTU60PfzK_iHnq_IdN5kUUB_p5yAH7Z0yoG26zWqCwBx2LEInCgs5aU3biNu_EVQ4YFmjrc1JuyFrWPFMJ6/s1600/weak.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;236&quot; data-original-width=&quot;701&quot; height=&quot;212&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGyoUfqO7D4i6tQDcydCLqsbeONxIWmgZ4F4R8v6PJf1_1lV_l9gtCFWHezVTU60PfzK_iHnq_IdN5kUUB_p5yAH7Z0yoG26zWqCwBx2LEInCgs5aU3biNu_EVQ4YFmjrc1JuyFrWPFMJ6/s640/weak.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 392.25pt;&quot;&gt;
&lt;v:oval id=&quot;_x0000_s1035&quot; style=&quot;height: 38.25pt; margin-left: 405pt; margin-top: 238.45pt; position: absolute; width: 61.5pt; z-index: 10;&quot;&gt;
 &lt;v:textbox&gt;
  &lt;!--[if !mso]--&gt;
  &lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;
   &lt;tbody&gt;
&lt;tr&gt;
    &lt;td&gt;&lt;!--[endif]--&gt;
    &lt;br /&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!--[if !mso]--&gt;&lt;/td&gt;
   &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;!--[endif]--&gt;&lt;/v:textbox&gt;
&lt;/v:oval&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;v:oval style=&quot;height: 38.25pt; margin-left: 424.5pt; margin-top: 3.2pt; position: absolute; width: 61.5pt; z-index: 22;&quot;&gt;&lt;br /&gt;
&lt;/v:oval&gt;&lt;v:oval id=&quot;_x0000_s1044&quot; style=&quot;height: 37.5pt; margin-left: 78.75pt; margin-top: 3.2pt; position: absolute; width: 1in; z-index: 19;&quot;&gt;
 &lt;v:textbox&gt;
  &lt;!--[if !mso]--&gt;
  &lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;
   &lt;tbody&gt;
&lt;tr&gt;
    &lt;td&gt;&lt;!--[endif]--&gt;
    &lt;br /&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!--[if !mso]--&gt;&lt;/td&gt;
   &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;!--[endif]--&gt;&lt;/v:textbox&gt;
&lt;/v:oval&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 330.75pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Strong entity&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: - &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;A
strong entity is a type of entity which has its key attribute for that strong
entity said need not to have participation.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUJDAbLrnEO9yKbpG4RTh7Vmlmx-RmR1CS0WVsYqWfGX51fcpYhlO3iU-kKVk24CoXp4f8Tswjl-UMRVea34tos9u_RJ0HkroIVpMwC6KNKTeUFdInFCV60J118K_OZIJX2HCvrc5_OD_v/s1600/strong.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;178&quot; data-original-width=&quot;687&quot; height=&quot;161&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUJDAbLrnEO9yKbpG4RTh7Vmlmx-RmR1CS0WVsYqWfGX51fcpYhlO3iU-kKVk24CoXp4f8Tswjl-UMRVea34tos9u_RJ0HkroIVpMwC6KNKTeUFdInFCV60J118K_OZIJX2HCvrc5_OD_v/s640/strong.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Difference
between strong and weak entity&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 157.25pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: solid black 1.0pt; height: 157.25pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&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; &lt;u&gt;Strong
  entity&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 157.25pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 60.75pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&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; &lt;u&gt;Weak entity&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 64.55pt; mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 64.55pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt;1.&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt; Strong entity
  set always has a primary key.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-add-space: auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 64.55pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt;1. &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt;It
  doesn’t have enough attributes to build a primary key.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt;2.&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt; It is
  represented by a rectangular symbol.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt;2.&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt; It is
  represented by double rectangular symbol.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt;3.&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt; Member of a
  strong entity set is called as dominate entity set.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt;3.&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt; Member of a
  weak entity set is called as a&lt;b&gt; &lt;/b&gt;subordinate entity set.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt;4.&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt; In the ER
  diagram the relationship between two strong entities set shown by a diamond
  symbol.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 231.05pt;&quot; valign=&quot;top&quot; width=&quot;385&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt;4.&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt;&quot;&gt; The
  relationship between one strong and weak entity set shown by double diamond
  symbol.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 26.6667px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px;&quot;&gt;&lt;u&gt;To know about Cardinality&amp;nbsp;&amp;amp; its type in details visit my blog site&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://myrdbmsnotes.blogspot.com/2020/05/what-is-cardinality-or-binary.html&quot;&gt;&lt;b&gt;https://myrdbmsnotes.blogspot.com/2020/05/what-is-cardinality-or-binary.html&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 26.6667px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/8843153586443062443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/in-relational-database-management.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/8843153586443062443'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/8843153586443062443'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/in-relational-database-management.html' title=' what is an-entity &amp; it&#39;s type? explain with proper Diagram In DBMS.  '/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6hTf97XY5x0EqHzfT21i5PjNqzUB4FBQ5J7L7Gk3cxO_tr3oHTS6uhvx496UfaWPP-OAn0sbLZZX1U7ku1R1diVYOZLQl_cIV5YyEoeb06EUPMfXWtdK3KvJkMykV9kN4wgpcOGvVFWOa/s72-c/entity.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-7547525373735678577</id><published>2020-04-28T19:35:00.000+05:30</published><updated>2020-05-02T19:56:02.256+05:30</updated><title type='text'>Relation model concept and it&#39;s advantage &amp; disadvantage</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left; text-indent: -18pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;u&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Relation model concept and it&#39;s advantage &amp;amp; disadvantage&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l3 level1 lfo2; text-indent: -18.0pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp; &amp;nbsp; 1.&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;What
is relational model?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l1 level1 lfo3; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: 26.6667px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;wingdings&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;wingdings&amp;quot;; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;&lt;b&gt;Relation model &lt;/b&gt;represent database as a collection of
relations. A &lt;b&gt;relation&lt;/b&gt; is nothing but a table of values. Every row in the table
represents a collection of related data values. This row in the table denotes a
real world entity or &lt;b&gt;relationship.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l1 level1 lfo3; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l1 level1 lfo3; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 20pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; font-weight: bold; line-height: 115%;&quot;&gt;Relational model concept&lt;/span&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;symbol&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp; ·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Attribute&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;
Each column in a table, Attributes is the properties which define a relation.&lt;b&gt;
Example: - &lt;/b&gt;DNO, DNAME.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;symbol&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp; ·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Table&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: - &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;In
the relational model relations are saved in the table format. A table has two
properties rows, column. Rows represent records and column represents
attributes.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;symbol&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp; ·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Degree&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;:
- &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;The
total number of attribute&lt;b&gt; &lt;/b&gt;which in the relation which called the degree
of relation.&lt;/span&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;symbol&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp; ·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Cardinality&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;:
-&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;
Total number of rows present in the table.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;u&gt;Attribute domain&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;:
-&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%;&quot;&gt;
Every attribute has some predefined values and scope which is known as
attribute domain.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-size: 20pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; font-weight: bold; line-height: 115%;&quot;&gt;Advantage of
relational model&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l2 level1 lfo4; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp; &amp;nbsp; 1)&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Simplicity&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: - &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;A
relational data model is simpler than hierarchical model and network model.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l2 level1 lfo4; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l2 level1 lfo4; text-indent: -18.0pt;&quot;&gt;
&lt;b style=&quot;font-family: &amp;quot;Agency FB&amp;quot;, sans-serif; font-size: 20pt;&quot;&gt;&amp;nbsp; &amp;nbsp; 2)&amp;nbsp;&lt;u&gt;Easy to use&lt;/u&gt;: - &lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt;&quot;&gt;The
relational model is easy as table consisting of rows and column is quite
natural and easy to understand.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l2 level1 lfo4; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l1 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp; &amp;nbsp; 3)&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Data independence&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: - &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;the
structure of a database can be changed without having to change any
application.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l1 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l1 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp; &amp;nbsp; 4)&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Query capability&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;
It make possible for a high level query language like SQL to avoid complex data
navigation.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l1 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l1 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;u&gt;Disadvantage
of using relational model&lt;/u&gt;: -&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo2; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;symbol&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp; &amp;nbsp;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Few
relational databases have limits on field length which cannot be exceeded&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo2; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;symbol&amp;quot;; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;&amp;nbsp; &amp;nbsp;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;Relational
databases can sometime become complex as the amount of data grows and the
relation between pieces of data become more complicated.&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo2; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; text-indent: -18pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo2; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;symbol&amp;quot;; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;Complex
relational database may lead isolated databases where information cannot be
shared from one system to another.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l2 level1 lfo4; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l2 level1 lfo4; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/7547525373735678577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/relation-model-concept-and-its.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/7547525373735678577'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/7547525373735678577'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/relation-model-concept-and-its.html' title='Relation model concept and it&#39;s advantage &amp; disadvantage'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-4451911888797500755</id><published>2020-04-24T15:46:00.000+05:30</published><updated>2020-05-24T20:58:09.072+05:30</updated><title type='text'>Explain  Database model &amp; it&#39;s types in DBMS with diagarm</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;&lt;b&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;&lt;u&gt;Database models &amp;amp; it&#39;s &lt;/u&gt;&lt;/b&gt;&lt;b style=&quot;text-decoration-line: underline;&quot;&gt;&lt;u&gt;definition&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;&lt;b&gt;&amp;nbsp;Database
model:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt; - &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;b&gt;Database model &lt;/b&gt;defines the logical design and
structure of&lt;b&gt; database&lt;/b&gt; and defines how &lt;b&gt;data &lt;/b&gt;will be stored and updated in a
&lt;b&gt;database&lt;/b&gt; &lt;b&gt;management&lt;/b&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;tahoma&amp;quot;; font-size: 15px; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;tahoma&amp;quot;; text-align: justify;&quot;&gt;Data Models are fundamental&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;tahoma&amp;quot;; text-align: justify;&quot;&gt;entities to introduce abstraction in a DBMS.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; line-height: 115%; text-indent: -36pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-stretch: normal; line-height: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;1)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;text-indent: -36pt;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Hierarchical
Model:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b style=&quot;text-indent: -36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt; -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt; This database model organizes data into a tree like
structure with a single root to which all the other data is linked. The
hierarchy starts from root data and expands like tree, adding child nodes to
the parent nodes. In this model a child node will only have a single parent
node. This model efficiently describes many real world relationship like index
of a book, recipes. In hierarchical model, data is organized into tree like
structure with one, one to many relationship between two different types of
data.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6B0CuhpSlzj-ggm1y1i-hxoJJknpgfLRittF8eUBcvnmxnp4TdFcFLjtsmJ2trMOpI8scf4w1RRWB2u0nRt8JghjfDnud_5sT-y_R8lOMWw2ItMW2jKa4S1hT0ywgEhjAAtDJtFTR2nmu/s1600/std.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;553&quot; data-original-width=&quot;670&quot; height=&quot;330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6B0CuhpSlzj-ggm1y1i-hxoJJknpgfLRittF8eUBcvnmxnp4TdFcFLjtsmJ2trMOpI8scf4w1RRWB2u0nRt8JghjfDnud_5sT-y_R8lOMWw2ItMW2jKa4S1hT0ywgEhjAAtDJtFTR2nmu/s400/std.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 0px;&quot;&gt;
&lt;b style=&quot;font-family: &amp;quot;Agency FB&amp;quot;, sans-serif; font-size: 20pt; text-indent: -36pt;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 0px;&quot;&gt;
&lt;b style=&quot;font-family: &amp;quot;Agency FB&amp;quot;, sans-serif; font-size: 20pt; text-indent: -36pt;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 0px;&quot;&gt;
&lt;b style=&quot;font-family: &amp;quot;Agency FB&amp;quot;, sans-serif; font-size: 20pt; text-indent: -36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%;&quot;&gt;&amp;nbsp;2)&amp;nbsp;&amp;nbsp;&lt;u&gt;Network
Model:&lt;/u&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt; - &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;This is an extension of the hierarchical model. In this model data is
organized more like a graph and are allowed to have more than one parent node.
In this database model data is more related as more relationship established in
this model. As the data is related, hence accessing the data is also easier and
fast. This database model was used to map many to many data relationship.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX6TAhpWeXorCnG2F63KqYS19wDV_VnwQeo7aadxSS_UoPSFEvn5Qa4IQiOrteB_Gms0sSAM5GMoY9MS37JkZi8y_GLrVVl-wVl-cirbM1YZ69hMJVhiGFz_pejSzQaz_9XmLNF67mJaxQ/s1600/net.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;311&quot; data-original-width=&quot;411&quot; height=&quot;302&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX6TAhpWeXorCnG2F63KqYS19wDV_VnwQeo7aadxSS_UoPSFEvn5Qa4IQiOrteB_Gms0sSAM5GMoY9MS37JkZi8y_GLrVVl-wVl-cirbM1YZ69hMJVhiGFz_pejSzQaz_9XmLNF67mJaxQ/s400/net.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%;&quot;&gt;&amp;nbsp;3)&amp;nbsp;&lt;u&gt;Entity
relationship model (ER model):&lt;/u&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt; -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt; In this model relationship are created by dividing objects of interest
into entity and its characteristic into attributes. ER model are define to
represent the relationship into pictorial form to make it easier for different
situation to understand. This model is good to design a database which can be
turn into tables in relational mode.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm7uNsOFT2rgjX4pEJgyaC_L6tCdLhOjPFws47-lYh5FZs4aQfSQ8pTmN9QV4XDg_bNPpfLLUic7hF7kvjqHX-MqkyIdCjjk6qwzYQWkIYH7nCYUa-chNJ3D0Wu5MVGHUDGlfLu6E0tn1M/s1600/entity.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;151&quot; data-original-width=&quot;602&quot; height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm7uNsOFT2rgjX4pEJgyaC_L6tCdLhOjPFws47-lYh5FZs4aQfSQ8pTmN9QV4XDg_bNPpfLLUic7hF7kvjqHX-MqkyIdCjjk6qwzYQWkIYH7nCYUa-chNJ3D0Wu5MVGHUDGlfLu6E0tn1M/s400/entity.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; mso-text-indent-alt: -18.0pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;I.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-stretch: normal; line-height: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;4)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Relational
model&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt; In this model, data is organized into two dimensional
tables and relationship is maintain by storing a common filed. Basic structure
of data in the relational model is tables. All the information related to a
particular type is stored in rows of that table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsGxEBmz_-eJ7MU3F6inspnT4e0mgQLmbsB_muorFEajuQDrhvktvxbm6Zi44kdzOVVFIOEAAUB_tVDQUvX18L3uy3gsZgxLH4Zby3hn5eI1YyvKaAX6jZapFzkTPE9p2j2aMiUNTX8MRS/s1600/rel.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;607&quot; data-original-width=&quot;635&quot; height=&quot;381&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsGxEBmz_-eJ7MU3F6inspnT4e0mgQLmbsB_muorFEajuQDrhvktvxbm6Zi44kdzOVVFIOEAAUB_tVDQUvX18L3uy3gsZgxLH4Zby3hn5eI1YyvKaAX6jZapFzkTPE9p2j2aMiUNTX8MRS/s400/rel.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/4451911888797500755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/database-models-its-definition-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/4451911888797500755'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/4451911888797500755'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/database-models-its-definition-database.html' title='Explain  Database model &amp; it&#39;s types in DBMS with diagarm'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6B0CuhpSlzj-ggm1y1i-hxoJJknpgfLRittF8eUBcvnmxnp4TdFcFLjtsmJ2trMOpI8scf4w1RRWB2u0nRt8JghjfDnud_5sT-y_R8lOMWw2ItMW2jKa4S1hT0ywgEhjAAtDJtFTR2nmu/s72-c/std.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-5380359665162909036</id><published>2020-04-23T19:54:00.002+05:30</published><updated>2020-07-08T19:51:32.888+05:30</updated><title type='text'>What is DBMS languages &amp; its commands? </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 97.2pt; text-indent: 36.0pt;&quot;&gt;
&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t32&quot; o:oned=&quot;t&quot; o:spt=&quot;32&quot; path=&quot;m,l21600,21600e&quot;&gt;
 &lt;v:path arrowok=&quot;t&quot; fillok=&quot;f&quot; o:connecttype=&quot;none&quot;&gt;
 &lt;o:lock shapetype=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_s1026&quot; o:connectortype=&quot;straight&quot; style=&quot;flip: y; height: .6pt; left: 0; margin-left: 58.2pt; margin-top: 7.6pt; position: absolute; text-align: left; width: 18.6pt; z-index: 251672576;&quot; type=&quot;#_x0000_t32&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;
 &lt;v:stroke endarrow=&quot;block&quot;&gt;&lt;/v:stroke&gt;&lt;/v:shape&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 97.2pt; text-indent: 36.0pt;&quot;&gt;
&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t32&quot; o:oned=&quot;t&quot; o:spt=&quot;32&quot; path=&quot;m,l21600,21600e&quot;&gt;
 &lt;v:path arrowok=&quot;t&quot; fillok=&quot;f&quot; o:connecttype=&quot;none&quot;&gt;
 &lt;o:lock shapetype=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_s1026&quot; o:connectortype=&quot;straight&quot; style=&quot;height: 0.6pt; left: 0px; margin-left: 58.2pt; margin-top: 7.6pt; position: absolute; width: 18.6pt; z-index: 251672576;&quot; type=&quot;#_x0000_t32&quot;&gt;
 &lt;v:stroke endarrow=&quot;block&quot;&gt;
&lt;/v:stroke&gt;&lt;/v:shape&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-weight: 400;&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; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;u&gt;DBMS&lt;/u&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;language&lt;/u&gt;&lt;/span&gt;&lt;u style=&quot;font-weight: bold;&quot;&gt;s&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSc8VRtb66eN_744MQB_d10jeewL9rZDUcNmrw0E8O67i1oGnoLs7YCD2IAwK3O6q_oMWyvnPRBkEgMKfYszlsuWIp-4DapjNOPfBHcQIgtZZ2fx4uBvjvpayWm28vs9qpPtFoyKTpbEZ7/s1600/pic.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;194&quot; data-original-width=&quot;482&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSc8VRtb66eN_744MQB_d10jeewL9rZDUcNmrw0E8O67i1oGnoLs7YCD2IAwK3O6q_oMWyvnPRBkEgMKfYszlsuWIp-4DapjNOPfBHcQIgtZZ2fx4uBvjvpayWm28vs9qpPtFoyKTpbEZ7/s400/pic.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;b&gt;Database languages&lt;/b&gt; are used to read, update and store data in database.
These &lt;b&gt;database&amp;nbsp; languages&lt;/b&gt; that can be used for this purpose one of them &lt;b&gt;SQL&lt;/b&gt;. There are Five&amp;nbsp; types of database languages&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;text-indent: 36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;&lt;u&gt;Types Database languages are&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 36pt;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;DDL&amp;nbsp;:-&amp;nbsp; &amp;nbsp;D&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;ata&amp;nbsp;&lt;b&gt;D&lt;/b&gt;efinition&amp;nbsp;&lt;b&gt;L&lt;/b&gt;anguage&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 36pt;&quot;&gt;
&lt;v:shape id=&quot;_x0000_s1027&quot; o:connectortype=&quot;straight&quot; style=&quot;height: 0.6pt; left: 0px; margin-left: 58.2pt; margin-top: 6.15pt; position: absolute; width: 18.6pt; z-index: 251673600;&quot; type=&quot;#_x0000_t32&quot;&gt;&lt;v:stroke endarrow=&quot;block&quot;&gt;&lt;/v:stroke&gt;&lt;/v:shape&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;DML&amp;nbsp;:-&amp;nbsp; D&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;ata&amp;nbsp;&lt;b&gt;M&lt;/b&gt;anipulation&lt;b&gt;&amp;nbsp;L&lt;/b&gt;anguage&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 36pt;&quot;&gt;
&lt;v:shape id=&quot;_x0000_s1028&quot; o:connectortype=&quot;straight&quot; style=&quot;height: 0.6pt; left: 0px; margin-left: 58.2pt; margin-top: 6.55pt; position: absolute; width: 18.6pt; z-index: 251674624;&quot; type=&quot;#_x0000_t32&quot;&gt;&lt;v:stroke endarrow=&quot;block&quot;&gt;&lt;/v:stroke&gt;&lt;/v:shape&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;DCL&amp;nbsp;:-&amp;nbsp; &amp;nbsp;D&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;ata&amp;nbsp;&lt;b&gt;C&lt;/b&gt;ontrol&amp;nbsp;&lt;b&gt;L&lt;/b&gt;anguage&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 36pt;&quot;&gt;
&lt;v:shape id=&quot;_x0000_s1029&quot; o:connectortype=&quot;straight&quot; style=&quot;height: 0.6pt; left: 0px; margin-left: 58.2pt; margin-top: 6.3pt; position: absolute; width: 18.6pt; z-index: 251675648;&quot; type=&quot;#_x0000_t32&quot;&gt;&lt;v:stroke endarrow=&quot;block&quot;&gt;&lt;/v:stroke&gt;&lt;/v:shape&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;SQL&amp;nbsp;:-&amp;nbsp; &amp;nbsp;S&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;tructure&amp;nbsp;&lt;b&gt;Q&lt;/b&gt;uerying&amp;nbsp;&lt;b&gt;L&lt;/b&gt;anguage&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 36pt;&quot;&gt;
&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 36pt;&quot;&gt;
&lt;v:shape id=&quot;_x0000_s1030&quot; o:connectortype=&quot;straight&quot; style=&quot;height: 0.6pt; left: 0px; margin-left: 58.2pt; margin-top: 5.45pt; position: absolute; width: 18.6pt; z-index: 251676672;&quot; type=&quot;#_x0000_t32&quot;&gt;&lt;v:stroke endarrow=&quot;block&quot;&gt;&lt;/v:stroke&gt;&lt;/v:shape&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;TCL&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;b&gt;:-&lt;/b&gt;&amp;nbsp; &amp;nbsp;&lt;b&gt;T&lt;/b&gt;ransaction&amp;nbsp;&lt;b&gt;C&lt;/b&gt;ontrol&amp;nbsp;&lt;b&gt;L&lt;/b&gt;anguage&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; mso-text-indent-alt: -18.0pt; tab-stops: 97.2pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&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: 20pt;&quot;&gt;I.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-stretch: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;text-indent: -36pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;&amp;quot;times new roman&amp;quot;&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 18.0pt; line-height: 115%; mso-ansi-language: EN-IN; mso-bidi-font-family: Arial; mso-bidi-language: BN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;1)&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;text-indent: -36pt;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;&amp;quot;sans-serif&amp;quot;&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-IN; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: BN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;DDL(D&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;u style=&quot;text-indent: -36pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;&amp;quot;sans-serif&amp;quot;&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-IN; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: BN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;ata&amp;nbsp;&lt;b&gt;D&lt;/b&gt;efinition&amp;nbsp;&lt;b&gt;L&lt;/b&gt;anguage)&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;:-&amp;nbsp;&lt;b&gt;&amp;nbsp;D&lt;/b&gt;ata&amp;nbsp;&lt;b&gt;D&lt;/b&gt;efinition&amp;nbsp;&lt;b&gt;L&lt;/b&gt;anguage&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;, sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;used
for&amp;nbsp; specifying the data base ‘schema’. It is used for creating tables, schemas
etc. in database.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;, sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Commands of&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-indent: -36pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;&amp;quot;sans-serif&amp;quot;&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-IN; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: BN; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;D&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;ata&amp;nbsp;&lt;b&gt;D&lt;/b&gt;efinition&amp;nbsp;&lt;b&gt;L&lt;/b&gt;anguage(&lt;b&gt;DDL&lt;/b&gt;) are given below&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; mso-text-indent-alt: -18.0pt; tab-stops: 97.2pt; text-indent: -36.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&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;CREATE: -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt; to create database instances.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&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;DROP: -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt; to drop database instances.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&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;COMMENT: -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt; to comment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;ALTER: -&lt;/b&gt;to alter structure of database&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; line-height: 115%; text-indent: -36pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-stretch: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;2)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;text-indent: -36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 115%;&quot;&gt;&lt;u&gt;DML(&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;u&gt;&lt;b style=&quot;text-indent: 48px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;D&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px; text-indent: 48px;&quot;&gt;ata&amp;nbsp;&lt;b&gt;M&lt;/b&gt;anipulation&lt;b&gt;&amp;nbsp;L&lt;/b&gt;anguage)&lt;/span&gt;&lt;/u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;: -&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-indent: 48px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;D&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px; text-indent: 48px;&quot;&gt;ata&amp;nbsp;&lt;b&gt;M&lt;/b&gt;anipulation&lt;b&gt;&amp;nbsp;L&lt;/b&gt;anguage&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 20pt; text-indent: -36pt;&quot;&gt;used for&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; accessing and manipulating data in
database.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 20pt; text-indent: -36pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Commands of&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-indent: 48px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;&amp;nbsp;D&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px; text-indent: 48px;&quot;&gt;ata&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;M&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;anipulation&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;&amp;nbsp;L&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;anguage (&lt;b&gt;DML&lt;/b&gt;) are&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -36pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&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;INSERT: - &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;to insert record(s) into the table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&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;&lt;b&gt;UPDATE:
-&lt;/b&gt; to update data into table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&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;&lt;b&gt;DELETE:
- &lt;/b&gt;to delete record(s) into the table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SELECT: -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;to read/retrieved record(s) from table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; mso-text-indent-alt: -18.0pt; tab-stops: 97.2pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;III.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-stretch: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt; 3)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 115%;&quot;&gt;&lt;u&gt;DCL(&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;u&gt;&lt;b style=&quot;text-indent: 48px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;&amp;nbsp;D&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px; text-indent: 48px;&quot;&gt;ata&amp;nbsp;&lt;b&gt;C&lt;/b&gt;ontrol&amp;nbsp;&lt;b&gt;L&lt;/b&gt;anguage)&lt;/span&gt;&lt;/u&gt;&lt;b style=&quot;text-indent: -36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;text-indent: 48px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;&amp;nbsp;D&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px; text-indent: 48px;&quot;&gt;ata&amp;nbsp;&lt;b&gt;C&lt;/b&gt;ontrol&amp;nbsp;&lt;b&gt;L&lt;/b&gt;anguage&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 20pt; text-indent: -36pt;&quot;&gt;&amp;nbsp;used for granting&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; and revoking user access on a database.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 20pt; text-indent: -36pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Commands of&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-indent: 48px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;&amp;nbsp;D&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px; text-indent: 48px;&quot;&gt;ata&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;C&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;ontrol&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;L&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;anguage(&lt;b&gt;DCL&lt;/b&gt;) are given below&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; mso-text-indent-alt: -18.0pt; tab-stops: 97.2pt; text-indent: -36.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;GRANT: - &lt;/b&gt;to grant access to
user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;REVOKE: - &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;to revoke access to user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%;&quot;&gt;&amp;nbsp; &amp;nbsp;4)&lt;u&gt;TCL(&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;T&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;ransaction&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;C&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;ontrol&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;L&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;anguage)&lt;/span&gt;&lt;/u&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;T&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;ransaction&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;C&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;ontrol&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;L&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;anguages are used to&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 20pt;&quot;&gt;&amp;nbsp;changes in the database that we made by using DML commands either
performance or role backed by using TCL.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 20pt; text-indent: -36pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 20pt; text-indent: -36pt;&quot;&gt;Commands of&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-indent: 48px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;T&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;ransaction&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;C&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;ontrol&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;L&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px; text-indent: 48px;&quot;&gt;anguage(&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot;, sans-serif; font-size: 26.6667px;&quot;&gt;&lt;b&gt;TCL&lt;/b&gt;) are given below&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 97.2pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;b&gt;COMMIT: - &lt;/b&gt;to persist the changes
made by DML command in database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 97.2pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;b&gt;ROLL BACK: -&lt;/b&gt; to roll back the
changes made to the database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/5380359665162909036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/dbms-language-s-ddl-ata-d-efinition-l.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/5380359665162909036'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/5380359665162909036'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/dbms-language-s-ddl-ata-d-efinition-l.html' title='What is DBMS languages &amp; its commands? '/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSc8VRtb66eN_744MQB_d10jeewL9rZDUcNmrw0E8O67i1oGnoLs7YCD2IAwK3O6q_oMWyvnPRBkEgMKfYszlsuWIp-4DapjNOPfBHcQIgtZZ2fx4uBvjvpayWm28vs9qpPtFoyKTpbEZ7/s72-c/pic.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-866842282978622263</id><published>2020-04-20T19:22:00.000+05:30</published><updated>2020-05-24T20:52:53.176+05:30</updated><title type='text'>What is file system and advantage of DBMS over file system</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;u&gt;Definition of File system&amp;nbsp; &amp;amp;&amp;nbsp; it&#39;s advantage of DBMS over file system&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;What is file
system?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Ans/- &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;A file system is a database system that allows us
access to single file at a time. In a file system data is directly stored in
set of file. It contains flat file that have no relation to other file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Advantage of
DBMS over file system&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: 26.6667px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Data
redundancy&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: - Data
redundancy refers to the duplication of data that means each data may have a
single copy. A file system can’t control redundancy of data. In DBMS data
redundancy removed by using of data normalization.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;font-size: 26.6667px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;text-indent: -18pt;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Data
inconsistency&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;:
- Data redundancy leads to data inconsistency. In DBMS data redundancy is taken
care by data normalization and data in consistency also been taken care of as
part of it.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: 26.6667px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Data isolation&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: - In file system data stored are in various file and
files may be different formats. So it is very difficult to retrieved
appropriate data. But DBMS data stored in single file so retrieved appropriate
data more easy.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: 26.6667px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Atomicity issue&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: - Atomicity of an instruction refers to all or
nothing which means either all operation in a transaction executes or none. It
is difficult to achieve atomicity in file system not in DBMS. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: 26.6667px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Data dependency&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: - In file system changing in data is depended on
application program but DBMS changing in data independent.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6)&amp;nbsp;&lt;/span&gt;&lt;u style=&quot;font-family: &amp;quot;Agency FB&amp;quot;, sans-serif; font-weight: bold;&quot;&gt;Easy recovery&lt;/u&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;: - Since database system keeps the backup of data. It
is easier to do a full recovery of data in case of a failure.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; text-indent: -18pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 20pt; line-height: 115%;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;7)&amp;nbsp;&lt;u style=&quot;font-weight: bold;&quot;&gt;Flexible&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;: - Database system is more flexible than file processing system&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/866842282978622263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/database-concept-advantage-of-dbms-over.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/866842282978622263'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/866842282978622263'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/database-concept-advantage-of-dbms-over.html' title='What is file system and advantage of DBMS over file system'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-681414416632081446</id><published>2020-04-19T19:43:00.000+05:30</published><updated>2020-05-24T20:48:31.456+05:30</updated><title type='text'>Explains the client server architecture /three tier architecture of DBMS in details</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Client
server architecture (explains the client server architecture of DBMS/explains
three tier architecture of DBMS)&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;v:rect id=&quot;_x0000_s1026&quot; style=&quot;height: 33pt; margin-left: 114pt; margin-top: 223.1pt; position: absolute; width: 178.8pt; z-index: 251684864;&quot;&gt;
 &lt;v:textbox style=&quot;mso-next-textbox: #_x0000_s1026;&quot;&gt;
  &lt;!--[if !mso]--&gt;
  &lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;
   &lt;tbody&gt;
&lt;tr&gt;
    &lt;td&gt;&lt;!--[endif]--&gt;
    &lt;br /&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!--[if !mso]--&gt;&lt;/td&gt;
   &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;!--[endif]--&gt;&lt;/v:textbox&gt;
&lt;/v:rect&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Client server architecture is
an architectural deployment style that describes separation of functionality
into layers with each segment being tier that can be located on a physically
separate computer. A client server architecture separate its tier from each other
based on the complexity of user and how they used the data present in the
database. It is the most widely used architecture to design a DBMS.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDYIyT0VnZZDrRX_FAtDjt3palfsCWQhhVKALEHwXO-B7yirhf6EQd-_SaqIcnrTz-bwH3qFnnxhLr05yJrQYc8tvrX-hBy7ZrPFPYZVFtPklPWyRl7ddsJLaWVzO5GQdQfE7WhrTfdReW/s1600/tier.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;321&quot; data-original-width=&quot;400&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDYIyT0VnZZDrRX_FAtDjt3palfsCWQhhVKALEHwXO-B7yirhf6EQd-_SaqIcnrTz-bwH3qFnnxhLr05yJrQYc8tvrX-hBy7ZrPFPYZVFtPklPWyRl7ddsJLaWVzO5GQdQfE7WhrTfdReW/s320/tier.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;&lt;b&gt;A.&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;text-indent: -18pt;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Database tier&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b style=&quot;text-indent: -18pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: - &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; line-height: 115%; text-indent: -18pt;&quot;&gt;At
this tier database resides along with its query processing languages. We also
have the relation that define the data and their constrains at this level.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: left; text-indent: -18pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: 26.6667px; font-stretch: normal; font-style: normal; font-variant: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;b&gt; &amp;nbsp;B.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Application (middle) tier&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: - &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;At
this tier reside the application server and program that access database. For a
user this application tier presents and abstracted view of database. Hence
application tier/layer sits in the middle and acts as mediator between the end
user and database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;text-align: left; text-indent: -18pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: 26.6667px; font-stretch: normal; font-style: normal; font-variant: normal; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;C.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Presentations (user) tier&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;: -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;
End users operate on this tier and they know nothing about any existence of
database beyond this layer. At this layer multiple views of the database can be
provided by application. All views are generated by application that resides in
application tier.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/681414416632081446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/explanation-of-client-server-or-three.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/681414416632081446'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/681414416632081446'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/explanation-of-client-server-or-three.html' title='Explains the client server architecture /three tier architecture of DBMS in details'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDYIyT0VnZZDrRX_FAtDjt3palfsCWQhhVKALEHwXO-B7yirhf6EQd-_SaqIcnrTz-bwH3qFnnxhLr05yJrQYc8tvrX-hBy7ZrPFPYZVFtPklPWyRl7ddsJLaWVzO5GQdQfE7WhrTfdReW/s72-c/tier.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3000999105376702363.post-1192830841976152400</id><published>2020-04-18T22:00:00.000+05:30</published><updated>2020-05-20T20:47:07.827+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="s"/><title type='text'>What is Hierarchical  database model?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; mso-text-indent-alt: -18.0pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;I.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&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;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;Hierarchical
Model:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt; -&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 30.6667px; text-indent: -36pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;tahoma&amp;quot;; text-align: justify; text-indent: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;A hierarchical model represents the data in a tree-like structure in&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;tahoma&amp;quot;; font-size: 15px; text-align: justify; text-indent: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;tahoma&amp;quot;; text-align: justify; text-indent: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;which there is a single parent for each record. To maintain order there is a sort field w&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;tahoma&amp;quot;; text-align: justify; text-indent: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;hich keeps sibling nodes into a recorded manner. These types of models are designed basically for the early mainframe database management systems, like the Information Management System (IMS) by IBM.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;verdana&amp;quot; , &amp;quot;tahoma&amp;quot;; font-size: 15px; text-align: justify; text-indent: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: 20pt; text-indent: -36pt;&quot;&gt;This database model organizes data into a tree like
structure with a single root to which all the other data is linked. The
hierarchy starts from root data and expands like tree, adding child nodes to
the parent nodes. In this model a child node will only have a single parent
node. This model efficiently describes many real world relationship like index
of a book, recipes. In hierarchical model, data is organized into tree like
structure with one, one to many relationship between two different types of
data. Here the example of this model: -&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; mso-text-indent-alt: -18.0pt; text-indent: -36.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;agency fb&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE3Bwi5ZhniXiZNuZQDv5NvNUo9bJZGN_Le0BVNHXn044QCDDygN06levpqe6JI4hF0ynma8VQAT5w1RU-EAPI9BweS3EI1m9HkS6ikMUTxPyoy45h9NZTR76iBo7Zyyts2Bgpg32FMZ3O/s1600/std.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;553&quot; data-original-width=&quot;670&quot; height=&quot;264&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE3Bwi5ZhniXiZNuZQDv5NvNUo9bJZGN_Le0BVNHXn044QCDDygN06levpqe6JI4hF0ynma8VQAT5w1RU-EAPI9BweS3EI1m9HkS6ikMUTxPyoy45h9NZTR76iBo7Zyyts2Bgpg32FMZ3O/s320/std.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: large;&quot;&gt;You can easily understand the hierarchical model .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;agency fb&amp;quot; , sans-serif; font-size: large;&quot;&gt;to know other &lt;b&gt;DATABASE&amp;nbsp; MODELS visit this site&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;a href=&quot;https://myrdbmsnotes.blogspot.com/2020/04/database-models-its-definition-database.html&quot;&gt;https://myrdbmsnotes.blogspot.com/2020/04/database-models-its-definition-database.html&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://myrdbmsnotes.blogspot.com/feeds/1192830841976152400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/1192830841976152400'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3000999105376702363/posts/default/1192830841976152400'/><link rel='alternate' type='text/html' href='https://myrdbmsnotes.blogspot.com/2020/04/i.html' title='What is Hierarchical  database model?'/><author><name>SK </name><uri>http://www.blogger.com/profile/05587932245704247213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbFj7iZQ8qQcx_PX-RaE_Jy0677VqBMzBGDXPl_bRmZ7YuHEYKpwS7cmsEZRF3Twn9v8yuhWZVP0AcplCHNqIwX9Xg6eJsEqPzjqIcKgBXHfocsyPIvPHhnzmmqr6ri-Q/s113/Copy+of+EAGLE+WING+LOGO+-+Made+with+PosterMyWall.webp'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE3Bwi5ZhniXiZNuZQDv5NvNUo9bJZGN_Le0BVNHXn044QCDDygN06levpqe6JI4hF0ynma8VQAT5w1RU-EAPI9BweS3EI1m9HkS6ikMUTxPyoy45h9NZTR76iBo7Zyyts2Bgpg32FMZ3O/s72-c/std.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>