<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Three2Tango &#187; RDBMS</title>
	<atom:link href="http://www.three2tango.com/category/techcorner/rdbms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.three2tango.com</link>
	<description>Points To Ponder : The Latest news from the TechWorld,Automobiles,CellPhones and lots of useful Code Snippets</description>
	<lastBuildDate>Fri, 27 Jan 2012 09:03:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>RDBMS Chapter-3</title>
		<link>http://www.three2tango.com/techcorner/rdbms-chapter-3.html/</link>
		<comments>http://www.three2tango.com/techcorner/rdbms-chapter-3.html/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 16:45:58 +0000</pubDate>
		<dc:creator>LG</dc:creator>
				<category><![CDATA[RDBMS]]></category>
		<category><![CDATA[Talent Transformation At WIPRO]]></category>
		<category><![CDATA[Tech Corner]]></category>
		<category><![CDATA[DBMS BASICS]]></category>
		<category><![CDATA[FRP @ wipro]]></category>
		<category><![CDATA[Introduction to DBMS during TRP]]></category>
		<category><![CDATA[TRP at wipro]]></category>
		<category><![CDATA[wipro talent transformation]]></category>
		<category><![CDATA[Wipro Technologies Training]]></category>

		<guid isPermaLink="false">http://www.three2tango.com/?p=2544</guid>
		<description><![CDATA[RDBMS Continued-3
According to me this is a very small chapter but very basic stuffs are discused in here.So read through very carefully try to understand the terms and feel free to ask any doubts we will try to clarify doubts as far as we can.From the previous chapters you would have got a brief idea about what is a database which are the different database models etc.Here we are going to start on a Relational database.
 A Relational Database Management System uses the relational model that is relationship between records ...]]></description>
			<content:encoded><![CDATA[<p>RDBMS Continued-3</p>
<p>According to me this is a very small chapter but very basic stuffs are discused in here.So read through very carefully try to understand the terms and feel free to ask any doubts we will try to clarify doubts as far as we can.From the previous chapters you would have got a brief idea about what is a database which are the different database models etc.Here we are going to start on a Relational database.</p>
<p><span style="white-space:pre"> </span>A <strong>Relational Database Management System</strong> uses the relational model that is relationship between records are maintained in the table.The features of an RDBMS include an interactive query language,retrieval of related data from more than one tables,a DataDictionary or catalog for easy access of data etc&#8230;</p>
<p>Some <strong>Important Terms</strong> with respect to DBMS</p>
<ol>
<li><strong>TUPLE:</strong> a row in a table is called a tuple.</li>
<li><strong>RELATION:</strong> a table is usualy referred to as a relation.</li>
<li><strong>ATTRIBUTES:</strong> a column in a table.</li>
<li><strong>DEGREE:</strong> is number of attributes.</li>
<li><strong>DOMAIN:</strong> a set of values from which attributes can take values.</li>
</ol>
<p>Understanding the <strong>TERMS</strong></p>
<p><span style="white-space:pre"> </span>Consider the same employee example i mentioned in the first chapter.While creating a (relation)table for the employees,the NAME,EMPLOYEE ID,DOB,DEPARTMENT,ADDRESS etc are attributes(columns),all these together form a tuple(row).Consider the attribute EMPLOYEE ID ,it takes the value as 6 digit positive integers,so that is the DOMAIN.Hope it is clear now.</p>
<p><strong>KEYS :</strong> is an important topic that all of you should read properly.I will explain it with examples rather than with definitions.For this am using the same old example of an EMPLOYEE.I am going to list down a few ATTRIBUTES of it.</p>
<p><strong>-Employee Name</strong></p>
<p><strong>-Employee ID(Eid)</strong></p>
<p><strong>-Domain</strong></p>
<p><strong>-Department</strong></p>
<p><strong>-DOB</strong></p>
<p><strong>-Blood Group</strong></p>
<p><strong>-Manager to whom he is reporting(Manager)</strong></p>
<p><strong>-CUBICLE ID(desk id/seat number)</strong></p>
<p><strong>-CUBICLE PHONE NUMBER(desk phone)</strong></p>
<p><strong>-Email Id</strong></p>
<p><strong>-Date of Joining(DOJ)</strong></p>
<p>Certain attributes alone or in combination can distinguish one employee from another.Like Eid,Email Id both can itself identify an employee.Combination of EmployeeName+DOB+DOJ,EmployeeName+Manager+CUBICLE ID can also identify an employee.There can be many more combinations.From these we can simply take Eid as a unique identifier as it is the simplest key.<br />
<script type="text/javascript">// <![CDATA[
        google_ad_client = "pub-6525089797582043"; /* 468x15, created 7/8/09 */ google_ad_slot = "8684679217"; google_ad_width = 468; google_ad_height = 15;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></p>
<p><strong>DEFINITIONS:-</strong></p>
<p>-There may be 2 or more attributes or there combinations which can uniquely identify a record.These attributes or combinations are called <strong>CANDIDATE KEYS</strong>.Eg:-(Eid,Email Id,CUBICLE ID+CUBICLE PHONE).These are candidates for the primary key.Rest other than primary key in this set are called <strong>ALTERNATE KEYS</strong>.</p>
<p>-An attribute or set of attributes whose values uniquely identify each entity in an entity set is called <strong>KEY</strong>.</p>
<p>-If we add additional attributes to a key and it STILL uniquely identify an instance of the entity set such keys are called <strong>SUPER KEYS</strong>.</p>
<p>-A minimum super key is called <strong>PRIMARY KEY</strong>,it cant be NULL.</p>
<p>-A UNIQUE key can be NULL.</p>
<p>-Attribute or group which refers to some other table is called a <strong>FORIEGN KEY</strong>.</p>
<p>Any key consisting of a single attribute is called a SIMPLE KEY.And those with a combination of attributes are called COMPOSITE KEYS.With this i am winding this chapter.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RDBMS Chapter-3</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">According to me this is a very small chapter but very basic stuffs are discused in here.So read through ver carefully try to understand the terms and feel free to ask any doubts we will try to clarify doubts as far as we can.From the previous chapters you would have got a brief idea about what is a database which are the different database models etc.Here we are going to start on a Relational database.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>A Relational Database Management System uses the relational model that is relationship between records are maintained in the table.The features of an RDBMS include an interactive query language,retrieval of related data from more than one tables,a DataDictionary or catalog for easy access of data etc&#8230;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Some Important Terms with respect to DBMS</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-TUPLE: a row in a table is called a tuple.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-RELATION: a table is usualy referred to as a relation.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-ATTRIBUTES: a column in a table.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-DEGREE: is number of attributes.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-DOMAIN: a set of values from which attributes can take values.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Understanding the TERMS</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>Consider the same employee example i mentioned in the first chapter.While creating a (relation)table for the employees,the NAME,EMPLOYEE ID,DOB,DEPARTMENT,ADDRESS etc are attributes(columns),all these together form a tuple(row).Consider the attribute EMPLOYEE ID ,it takes the value as 6 digit positive integers,so that is the DOMAIN.Hope it is clear now.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">KEYS : is an important topic that all of you should read properly.I will explain it with examples rather than with definitions.For this am using the same old example of an EMPLOYEE.I am going to list down a few ATTRIBUTES of it.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Employee Name</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Employee ID(Eid)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Domain</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Department</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-DOB</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Blood Group</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Manager to whom he is reporting(Manager)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-CUBICLE ID(desk id/seat number)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-CUBICLE PHONE NUMBER(desk phone)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Email Id</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Date of Joining(DOJ)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Certain attributes alone or in combination can distinguish one employee from another.Like Eid,Email Id both can itself identify an employee.Combination of EmployeeName+DOB+DOJ,EmployeeName+Manager+CUBICLE ID can also identify an employee.There can be many more combinations.From these we can simply take Eid as a unique identifier as it is the simplest key.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">DEFINITIONS:-</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-There may be 2 or more attributes or there combinations which can uniquely identify a record.These attributes or combinations are called CANDIDATE KEYS.Eg:-(Eid,Email Id,CUBICLE ID+CUBICLE PHONE).These are candidates for the primary key.Rest other than primary key in this set are called ALTERNATE KEYS.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-An attribute or set of attributes whose values uniquely identify each entity in an entity set is called KEY.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-If we add additional attributes to a key and it STILL uniquely identify an instance of the entity set such keys are called SUPER KEYS.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-A minimum super key is called PRIMARY KEY,it cant be NULL.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-A UNIQUE key can be NULL.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Attribute or group which refers to some other table is called a FORIEGN KEY.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Any key consisting of a single attribute is called a SIMPLE KEY.And those with a combination of attributes are called COMPOSITE KEYS.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.three2tango.com/techcorner/rdbms-chapter-3.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RDBMS-2</title>
		<link>http://www.three2tango.com/techcorner/rdbms-2.html/</link>
		<comments>http://www.three2tango.com/techcorner/rdbms-2.html/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 16:36:34 +0000</pubDate>
		<dc:creator>LG</dc:creator>
				<category><![CDATA[RDBMS]]></category>
		<category><![CDATA[Talent Transformation At WIPRO]]></category>
		<category><![CDATA[Tech Corner]]></category>
		<category><![CDATA[DBMS BASICS]]></category>
		<category><![CDATA[FRP @ wipro]]></category>
		<category><![CDATA[Introduction to DBMS during TRP]]></category>
		<category><![CDATA[TRP at wipro]]></category>
		<category><![CDATA[wipro talent transformation]]></category>
		<category><![CDATA[Wipro Technologies Training]]></category>

		<guid isPermaLink="false">http://www.three2tango.com/?p=2542</guid>
		<description><![CDATA[RDBMS Chapter-2 Contind
 Now that we have finished with the evolution of databases and the uses of a DB,the next important portion is understanding the architecture of a database system.A Db is complex piece of software that usually consists of a number of modules.As we know the PRIME aim of a DB is to handle data efficiently for the wide array of users,the DB must be aware of the data it is holding,or simply to help users DB must maintain &#8221; information about the DATA &#8221; itself.This information include what ...]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RDBMS Chapter-2 Contind</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>Now that we have finished with the evolution of databases and the uses of a DB,the next important portion is understanding the architecture of a database system.A Db is complex piece of software that usually consists of a number of modules.As we know the PRIME aim of a DB is to handle data efficiently for the wide array of users,the DB must be aware of the data it is holding,or simply to help users DB must maintain &#8221; information about the DATA &#8221; itself.This information include what data is stored,how it is stored,who can access to what parts of it etc.This information(DATA)about the data in a database is called the METADATA.Users of a Database:A DB has three broad class of users-</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Application Programmers.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-End Users.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Database Administrator(DBA)#.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>Application programmers are those people writing programs that use the database.End users are people who interact with the DB using an application or some interfaces,they usually dont know even about the existence of such software called database.DBA is the person who administers the DB.He creates the actual DB and implements the technical controls,maintains data security etc.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Components of A Database</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Query Language:-is a programming language which is english like and more understandable,which helps the users to store and retrieve data.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Query Processor:-Translates statements in a query language into low level instructions that the DB understands.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Database Manager:- acts as an interface between applications programs,low level data and queries submited by users.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-File Manager:-manages the disk space,storage and diferent data structures used to represent information on disk.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>One basic characteristic of this database approach is that it provides a level of data abstraction by hiding certain details from users,which means each user will see only those data which they are expected to see.A DATA MODEL helps the DB in doing this.There are THREE categories of data models</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Conceptual.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Physical.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Representational.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">The goal of three schema architecture is to seperate the users from the physical database.The internal level is the one closest to physical storage,external is the one closest to the users,it is concerne about how data is viewed by diferent users.The conceptual level is an intermediate level between the other two levels.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">A term while talking about databases that we come across is SCHEMA.What is a SCHEMA??</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Very precisely it is a description of data in terms of a data model.And the description of a database is called database SCHEMA.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Now we are slowly moving to Database Models,</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Relational Model:-Here every item in the DB is viewed as a record with certain attributes.And records with similar attributes is called a table.Eg: for DBMS&#8217; which use relational model are Oracle,MySQL,Sybase etc.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Network Model:-This also considers data as records but difference from reational model is that each record will have a link field which will link to other records.Eg:-IDS(Integrated Data Store).</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Hierarchical Model:-Here data is represented in hierarchical format as in a tree.This is a special type of network model,where a parent can have many children.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">With this i am concluding on the initial requirements for studying a particular Relational Database Management System.From next chapter onwards we will give more stress to a particular DB,mostly Oracle or MS SQL Server.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">#Functions of a DBA:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Defining conceptual models and schema.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Physical database design and mapping between internal and conceptual schemas.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Defining security and integrity  rules.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Defining backup and recovery mechanisms.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Monitoring performance.RDBMS Chapter-2 Contind</div>
<p><span style="white-space:pre"> </span>Now that we have finished with the evolution of databases and the uses of a DB,the next important portion is understanding the architecture of a database system.A Db is complex piece of software that usually consists of a number of modules.As we know the PRIME aim of a DB is to handle data efficiently for the wide array of users,the DB must be aware of the data it is holding,or simply to help users, DB must maintain &#8221; <strong>information about the DATA</strong> &#8221; itself.This information include what data is stored,how it is stored,who can access to what parts of it etc.This information(DATA)about the data in a database is called the <strong>METADATA</strong>.</p>
<p><strong>Users of a Database:</strong>A DB has three broad class of users-</p>
<ol>
<li>Application Programmers.</li>
<li>End Users.</li>
<li>Database Administrator(DBA)<strong>#</strong>.</li>
</ol>
<p><strong>Application programmers</strong> are those people writing programs that use the database.<strong>End users</strong> are people who interact with the DB using an application or some interfaces,they usually dont know even about the existence of such software called database.<strong>DBA</strong> is the person who administers the DB.He creates the actual DB and implements the technical controls,maintains data security etc.</p>
<p><strong>Components of A Database
<a href="http://www.three2tango.com/wp-content/gallery/general/dbsystem.png" title="" class="shutterset_singlepic659" >
	<img class="ngg-singlepic ngg-right" src="http://www.three2tango.com/wp-content/gallery/cache/659__320x240_dbsystem.png" alt="dbsystem.png" title="dbsystem.png" />
</a>
</strong></p>
<ol>
<li><strong>Query Language</strong>:-is a programming language which is english like and more understandable,which helps the users to store and retrieve data.</li>
<li><strong>Query Processor</strong>:-Translates statements in a query language into low level instructions that the DB understands.</li>
<li><strong>Database Manager</strong>:- acts as an interface between applications programs,low level data and queries submited by users.</li>
<li><strong>File Manager</strong>:-manages the disk space,storage and diferent data structures used to represent information on disk.</li>
</ol>
<p><span style="white-space:pre"> </span>One basic characteristic of this database approach is that it provides a level of data abstraction by hiding certain details from users,which means each user will see only those data which they are expected to see.A <strong>DATA MODEL</strong> helps the DB in doing this.There are <strong>THREE categories</strong> of data models</p>
<ol>
<li>Conceptual.</li>
<li>Physical.</li>
<li>Representational.</li>
</ol>
<p>The goal of three schema architecture is to seperate the users from the physical database.The internal level is the one closest to physical storage,external is the one closest to the users,it is concerne about how data is viewed by diferent users.The conceptual level is an intermediate level between the other two levels.</p>
<p>A term while talking about databases that we come across is SCHEMA.What is a SCHEMA??Very precisely it is a description of data in terms of a data model.And the description of a database is called database <strong>SCHEMA</strong>.Now we are slowly moving to Database Models,</p>
<ol>
<li><strong>Relational Model</strong>:-Here every item in the DB is viewed as a record with certain attributes.And records with similar attributes is called a table.Eg: for DBMS&#8217; which use relational model are Oracle,MySQL,Sybase etc.</li>
<li><strong>Network Model</strong>:-This also considers data as records but difference from reational model is that each record will have a link field which will link to other records.Eg:-IDS(Integrated Data Store).</li>
<li><strong>Hierarchical Model</strong>:-Here data is represented in hierarchical format as in a tree.This is a special type of network model,where a parent can have many children.</li>
</ol>
<p>With this i am concluding on the initial requirements for studying a particular Relational Database Management System.From next chapter onwards we will give more stress to a particular DB,mostly Oracle or MS SQL Server.<br />
<script type="text/javascript">// <![CDATA[
       google_ad_client = "pub-6525089797582043"; /* 468x15, created 7/8/09 */ google_ad_slot = "8684679217"; google_ad_width = 468; google_ad_height = 15;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></p>
<p><strong>#Functions of a DBA:</strong></p>
<ul>
<li>Defining conceptual models and schema.</li>
<li>Physical database design and mapping between internal and conceptual schemas.</li>
<li>Defining security and integrity  rules.</li>
<li>Defining backup and recovery mechanisms.</li>
<li>Monitoring performance.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.three2tango.com/techcorner/rdbms-2.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RDBMS basics</title>
		<link>http://www.three2tango.com/talent-transformation-at-wipro/rdbms-basics.html/</link>
		<comments>http://www.three2tango.com/talent-transformation-at-wipro/rdbms-basics.html/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 15:56:29 +0000</pubDate>
		<dc:creator>LG</dc:creator>
				<category><![CDATA[RDBMS]]></category>
		<category><![CDATA[Talent Transformation At WIPRO]]></category>
		<category><![CDATA[DBMS BASICS]]></category>
		<category><![CDATA[Introduction to DBMS during TRP]]></category>
		<category><![CDATA[wipro talent transformation]]></category>
		<category><![CDATA[Wipro Technologies Training]]></category>

		<guid isPermaLink="false">http://www.three2tango.com/?p=2515</guid>
		<description><![CDATA[Introduction to Database Management Systems-chapter-1
What is a database and how it emerged when a strong and widely accepted languges like C was there???The answer is simple
in language like C the programmer deal with user and DATA directly where as in DBMS the programmer is least bothered of
user.Only thing he need to take care of is effective management of  lumbs of data.Here i will try to explain DBMS and RDBMS
mostly relating to &#8216;C&#8217; assuming it as a known language to most people.The first thing that comes to our mind when we ...]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Introduction to Database Management Systems-chapter-1</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">What is a database and how it emerged when a strong and widely accepted languges like C was there???The answer is simple</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">in language like C the programmer deal with user and DATA directly where as in DBMS the programmer is least bothered of</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">user.Only thing he need to take care of is effective management of  lumbs of data.Here i will try to explain DBMS and RDBMS</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">mostly relating to &#8216;C&#8217; assuming it as a known language to most people.The first thing that comes to our mind when we say a</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">programming language is ofcourse programs.QUERY is the analogy in a DBMS.Now think about a situation where you have a</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">program to store details of employees of a company,and DB is unknown to you.Then your only option for STORAGE and</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RETIEVAL of data is files.Any programmer knows the difficulties with files(FLAT files).Say we started using files,we have to store</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">NAME,AGE,QUALIFICATION,EID,SALARY,DEPT,MANAGERID etc.of around 100 employees.Storing might be easy .But</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">HOW about RETRIEVAL????? For retrieval we must store data in a particular fashion so that we ourself has to device a logic,like</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">seperating each employee&#8217;s details with some special character,but again if we want any one of employee attributes again those also</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">have to seperated somehow.All these will result in tedious program logic.THIS is HOW DBMS came in.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">WHAT is a DBMS and its GOALS??</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Is a computerised record keeping system.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Which can handle massive amounts of data.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-It provides for STORAGE ,RETRIEVAL,UPDATION of data in an organised manner.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">GOALS</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Enforce security of data.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Concurrency control and Crash recovery.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>I would like to elaborate on the points in goals of a DBMS.Consider the case i mentioned earlier,a company and its</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">employees.Who should have access to such a sensitive data?? Senior people only right?or else anyone can change critical details like</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">salary.That is security of data.A DBMS will allow only authorised personnel.This is done using password,encryption etc.But every</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">employee should have the right to check his data.Consider a scene when manager is editing the salary column of an employee,at that</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">time employee is trying to edit his famiy details.Chances are there for an error,but it wont happen because DBMS provides</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">CONCURRENT ACCESS CONTROL.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Def: of a Database Management System:-  A DBMS is a collection of programs that facilitates the processof defining,constructing</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">and manipulating databases.Defining a DB means specifying types of data,constructing means storing data and manipulation means</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">updating and querying the Db.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Before finishing the first chapter i have one more relevant point to mention regarding,how a DB helps you.This is a very key</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">point.Think about the same scenerio, the EMPLOYEE.We started without a DB,and used the Flat file system for some time.Now the</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">company made a policy change,that it is going to give all its empoyees a special add on towards salary,which is not taxable,so it</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">needs to be mentioned seperately with each employee.What will you do???With a DBMS the task is simple,this is called logical data</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">independance.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">To provide all the proposed facilities,the DBMS has an architecture as shown in the figure.</div>
<p style="text-align: justify; ">Introduction to Database Management Systems:</p>
<p style="text-align: justify; ">What is a database and how it emerged when a strong and widely accepted languges like C was there???The answer is simple in language like C the programmer deal with user and DATA directly where as in DBMS the programmer is least bothered of user.Only thing he need to take care of is effective management of  lumbs of data.Here i will try to explain DBMS and RDBMS mostly relating to &#8216;C&#8217; assuming it as a known language to most people.The first thing that comes to our mind when we say a programming language is ofcourse programs.QUERY is the analogy in a DBMS.Now think about a situation where you have a program to store details of employees of a company,and DB is unknown to you.Then your only option for STORAGE and RETIEVAL of data is files.Any programmer knows the difficulties with files(FLAT files).Say we started using files,we have to store NAME,AGE,QUALIFICATION,EID,SALARY,DEPT,MANAGERID etc.of around 100 employees.Storing might be easy .But HOW about RETRIEVAL????? For retrieval we must store data in a particular fashion so that we ourself has to device a logic,like seperating each employee&#8217;s details with some special character,but again if we want any one of employee attributes again those also have to seperated somehow.All these will result in tedious program logic.THIS is HOW DBMS came in.</p>
<p style="text-align: justify; ">WHAT is a <strong>DBMS</strong> and its <strong>GOALS</strong>??</p>
<ul>
<li>Is a computerised record keeping system.</li>
<li>Which can handle massive amounts of data.</li>
<li>It provides for STORAGE ,RETRIEVAL,UPDATION of data in an organised manner.</li>
</ul>
<p style="text-align: justify; "><strong>GOALS</strong></p>
<ul>
<li>Enforce security of data.</li>
<li>Concurrency control and Crash recovery.</li>
</ul>
<p style="text-align: justify; "><span style="white-space:pre"> </span>I would like to elaborate on the points in goals of a DBMS.Consider the case i mentioned earlier,a company and its employees.Who should have access to such a sensitive data?? Senior people only right?or else anyone can change critical details like salary.That is security of data.A DBMS will allow only authorised personnel.This is done using password,encryption etc.But every employee should have the right to check his data.Consider a scene when manager is editing the salary column of an employee,at that time employee is trying to edit his famiy details.Chances are there for an error,but it wont happen because DBMS provides <strong>CONCURRENT ACCESS CONTROL</strong>.</p>
<p style="text-align: justify; "><strong>Def: of a Database Management System:-</strong> A DBMS is a collection of programs that facilitates the processof defining,constructing and manipulating databases.Defining a DB means specifying types of data,constructing means storing data and manipulation means updating and querying the Db.</p>
<p style="text-align: justify; ">Before finishing the first chapter i have one more relevant point to mention regarding,how a DB helps you.This is a very key point.Think about the same scenerio, the EMPLOYEE.We started without a DB,and used the Flat file system for some time.Now the company made a policy change,that it is going to give all its empoyees a special add on towards salary,which is not taxable,so it needs to be mentioned seperately with each employee.What will you do???With a DBMS the task is simple,this is called <strong>logical data independance</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.three2tango.com/talent-transformation-at-wipro/rdbms-basics.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

