<?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-5222968369842043236</id><updated>2024-09-09T11:02:17.077+05:30</updated><category term="Database"/><category term="Business Process Modeling"/><title type='text'>Tech Answers</title><subtitle type='html'>Answering questions on technology</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tech-answers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5222968369842043236/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://tech-answers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Hari</name><uri>http://www.blogger.com/profile/13634778671219935136</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5222968369842043236.post-6843975078551095425</id><published>2009-07-16T23:40:00.000+05:30</published><updated>2009-07-16T23:41:15.230+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Business Process Modeling"/><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><title type='text'>How to model a business and its data?</title><content type='html'>As in our previous post, database models refer to the way information is organised and stored. More specifically, models address the way information is related to one another. For eg., in a retail business, we are concerned by the relationship between the customer and the seller, the products sold etc.&lt;br /&gt;&lt;br /&gt;Modeling of data requires a thorough understanding of the business. Any business will comprise of a set of workflows involving a set of people and systems performing specific activities. The workflow helps to capture the people-people, system-system and people-system interaction. &lt;br /&gt;&lt;br /&gt;A business generally gets initiated by a people-people or people-system interaction. An example of this is a customer visiting a shop asking for a product. Here this is a people-people interaction. Another example would be, a customer visiting a website and ordering for a product. This is a people-system interaction. &lt;br /&gt;&lt;br /&gt;Once a business gets initiated, further activities might involve system-system interaction, depending on the business. For eg, in the case of a business involving a customer approaching a stationary shop for an item, it might  not require any system-system interaction, but a website selling products online would require a set of systems, like the order management system, payment system, shipping system etc.,&lt;br /&gt;Once we identify the set of workflows, we have to identify the different activities performed in each workflow. &lt;br /&gt;&lt;br /&gt;Any business will involve set of activities performed by a set of people and/systems. The starting point of modeling data is to identify the following&lt;br /&gt;1. The different types of people involved.&lt;br /&gt;2. The different activities performed by the people.&lt;br /&gt;3. The data involved in the different activities.&lt;br /&gt;&lt;br /&gt;For eg., in the case of a retail business, the customer, retailer, wholesaler, manufacturer are all the different people involved. Each of them have a set of activities or functions. For eg., the customer buys goods from the retailer, the retailer orders goods from the wholesaler and sells goods to the customer. The retailer settles the sales amount with the wholesaler etc. The different types of data that are involved are - the product details, the sales volume and amount etc.&lt;br /&gt;&lt;br /&gt;Further drilling down the activities, we capture the individual tasks in each activity/function. Each of these tasks are captured at the granular level as much as possible. Similarly data is also captured at the granular level. For eg., a customer approaching a shopkeeper, asking for a product, the shopkeeper giving the product, the shopkeeper generating a bill, the customer paying the amount, the shopkeeper giving the product and the bill to the customer - all are individual tasks in the particular activity &quot;the customer buys a product&quot;.</content><link rel='replies' type='application/atom+xml' href='http://tech-answers.blogspot.com/feeds/6843975078551095425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-answers.blogspot.com/2009/07/how-to-model-business-and-its-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5222968369842043236/posts/default/6843975078551095425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5222968369842043236/posts/default/6843975078551095425'/><link rel='alternate' type='text/html' href='http://tech-answers.blogspot.com/2009/07/how-to-model-business-and-its-data.html' title='How to model a business and its data?'/><author><name>Hari</name><uri>http://www.blogger.com/profile/13634778671219935136</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5222968369842043236.post-8473760213567288584</id><published>2009-06-24T23:32:00.014+05:30</published><updated>2009-07-05T17:04:38.556+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><title type='text'>How is data stored and retrieved from a database?</title><content type='html'>Data is stored, maintained and retrieved in a database using a set of softwares called &lt;strong&gt;Database Man&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuqpKGt1k6aeTQyH2QbVsJmsai2NBLMW9ZL_doK6YFml3DXTLjonf4q9O2qXbAns6bwVVghXLd4C04RIwHcxN3ptEt7dQxMva9INUYnabXmHTFZGvnUpe-1vYNgUoHyeHsW7IcVSaTmf0/s1600-h/shopkeeper.gif&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5350966824985516978&quot; style=&quot;margin: 0px 10px 10px 0px; float: left; width: 242px; height: 157px;&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuqpKGt1k6aeTQyH2QbVsJmsai2NBLMW9ZL_doK6YFml3DXTLjonf4q9O2qXbAns6bwVVghXLd4C04RIwHcxN3ptEt7dQxMva9INUYnabXmHTFZGvnUpe-1vYNgUoHyeHsW7IcVSaTmf0/s320/shopkeeper.gif&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;agement Systems (DBMS).&lt;/strong&gt; One can compare a DBMS to a shopkeeper. A shopkeeper maintains a track of the goods, piles them in proper places and retrieves the goods when a customer buys.&lt;br /&gt;&lt;br /&gt;Similarly, a DBMS does the job of storing information in the appropriate tables, maintaining a track of information stored, retrieves the information when the user gives a query to the database. More than just storing and retrieving information, a DBMS has few other aspects. Following are the different aspects of a DBMS&lt;br /&gt;1. Modeling of data - This refers to the way information is organised and related to each other. There are different methods currently followed, like hierarchical, network, relational, object etc.,&lt;br /&gt;2. Data structure - This refers to the way data is stored, what a record specifies, the fields contained in a record, the field definitions etc.,&lt;br /&gt;3. Query mechanism - This refers to the component that helps maintaining the databases in terms of queries. The various aspects required in maintaining a database are security, user rights and permissions, data storage and retrieval etc.,&lt;br /&gt;4. Transaction mechanism - This refers to the set of activities which are related to each other. This can be compared to the dealings related to a single customer in a shop. The dealings of one customer should not affect the dealings of another customer. Similarly, one transaction should not affect another transaction.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Trivia&lt;/span&gt;:&lt;br /&gt;1. Relational Database Management System(RDBMS) is one of the most commonly used Database Management Systems(DBMS).&lt;br /&gt;2. Some of the DBMS products available in market are&lt;br /&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;Product&lt;/th&gt;&lt;th&gt;DBMS Type&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;IMS&lt;/td&gt;&lt;td&gt;Hierarchical&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Microsoft Access&lt;/td&gt;&lt;td&gt;Relational&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Microsoft SQL Server&lt;/td&gt;&lt;td&gt;Relational&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;IBM DB2&lt;/td&gt;&lt;td&gt;Relational&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Informix&lt;/td&gt;&lt;td&gt;Relational&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Teradata&lt;/td&gt;&lt;td&gt;Relational&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Oracle&lt;/td&gt;&lt;td&gt; Relational&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;3. One example of a Navigational system is XML. As such there are no specific DBMS softwares exclusively supporting XML. But modern RDBMS softwares like Microsoft SQL Server 2005 support XML using XPath queries.&lt;br /&gt;4. As a RDBMS system, Teradata mainly caters to Datawarehousing applications, unlike other RDBMS systems, which cater mainly Online Transaction applications or a mix of both.</content><link rel='replies' type='application/atom+xml' href='http://tech-answers.blogspot.com/feeds/8473760213567288584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-answers.blogspot.com/2009/06/how-is-data-stored-and-retrieved-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5222968369842043236/posts/default/8473760213567288584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5222968369842043236/posts/default/8473760213567288584'/><link rel='alternate' type='text/html' href='http://tech-answers.blogspot.com/2009/06/how-is-data-stored-and-retrieved-from.html' title='How is data stored and retrieved from a database?'/><author><name>Hari</name><uri>http://www.blogger.com/profile/13634778671219935136</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuqpKGt1k6aeTQyH2QbVsJmsai2NBLMW9ZL_doK6YFml3DXTLjonf4q9O2qXbAns6bwVVghXLd4C04RIwHcxN3ptEt7dQxMva9INUYnabXmHTFZGvnUpe-1vYNgUoHyeHsW7IcVSaTmf0/s72-c/shopkeeper.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5222968369842043236.post-8499956758603068898</id><published>2009-06-22T21:14:00.004+05:30</published><updated>2009-07-05T16:20:58.618+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><title type='text'>How databases are stored in a computer?</title><content type='html'>&lt;div&gt;Each piece of information in a computer is stored as file in its hard disk. There are basically two ways of storing information in a hard disk. One, as a text file, which contains only textual data; and another, as a binary file, which contains non-textual data, like pictures, audio, video etc.,&lt;br /&gt;&lt;br /&gt;Databases themselves are stored as files in the hard disk. The primary difference between a database and a file is the way information is organised in a database. Typically, information in files would be organised in a way as to reproduce it in a sequential format. Further, information in a file would be something that makes sense as a whole bunch, not in parts. For eg., audio/video files would have information in such a way that when the files are opened using a audio/video software, the information is reproduced sequentially.&lt;br /&gt;&lt;br /&gt;In contrary, information in databases is organised in such a way that parts of information could be accessed easily. Further, parts of different information could be accessed and produced in different combination to give different view of the data. &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5350952694233731138&quot; style=&quot;margin: 0px auto 10px; display: block; width: 400px; height: 103px; text-align: center;&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyS2-R3KT8wRQcvJJoTLyF7s8Fbb9ySFBHwLa9B3wXAGtqH9RW2f8iqEsGKutv8xdTa_V2eYigrvN99i_Vu3-nOGBSywQowzE37dn77PkVXYhudDW82ti8fNlmygM_Kbl23OKN5E9R3QM/s400/Trans_AddrBk.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;For eg., one view of the Address book would be a list of contacts in a particular city. Another view would be a list of contacts with the first names starting with the letter &#39;A&#39;. In addition, if the database contains the details of amount lent/borrowed to/from each contact in a Transaction table as shown above, then one might create a view of outstanding amount for each contact in a particular city. In this case, this view is a combination of data from both the Address book with a filter specifying the city and the details of amount lent/borrowed in the Transaction table.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Miscellanea: &lt;/strong&gt;&lt;br /&gt;Different &lt;a href=&quot;http://tech-answers.blogspot.com/2009/06/how-is-data-stored-and-retrieved-from.html&quot;&gt;DBMS &lt;/a&gt;use different methods of structuring data. The table structure discussed above is the method used commonly by Relational Database Management Systems (RDBMS).&lt;br /&gt;&lt;br /&gt;A simple way to identify if a file is a text file or a binary file is to open in notepad. A text file (like a .txt file) will be human readable, while a binary file will not make any sense to the reader.&lt;br /&gt;&lt;br /&gt;A database is usually stored as a binary file. Possible reasons would be&lt;br /&gt;1. Databases may store binary data like images.&lt;br /&gt;2. To store information in an optimized way so that data can be read/written in an optimized way.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-answers.blogspot.com/feeds/8499956758603068898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-answers.blogspot.com/2009/06/but-information-in-computer-is-stored.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5222968369842043236/posts/default/8499956758603068898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5222968369842043236/posts/default/8499956758603068898'/><link rel='alternate' type='text/html' href='http://tech-answers.blogspot.com/2009/06/but-information-in-computer-is-stored.html' title='How databases are stored in a computer?'/><author><name>Hari</name><uri>http://www.blogger.com/profile/13634778671219935136</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyS2-R3KT8wRQcvJJoTLyF7s8Fbb9ySFBHwLa9B3wXAGtqH9RW2f8iqEsGKutv8xdTa_V2eYigrvN99i_Vu3-nOGBSywQowzE37dn77PkVXYhudDW82ti8fNlmygM_Kbl23OKN5E9R3QM/s72-c/Trans_AddrBk.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5222968369842043236.post-6493897004462017039</id><published>2009-06-22T00:13:00.001+05:30</published><updated>2009-07-05T16:12:00.545+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><title type='text'>What is a database?</title><content type='html'>Database is a way of organising information and storing it in computer. Information can range from a simple address book to the details of day to day dealings of a big corporation.&lt;br /&gt;&lt;br /&gt;Information in databases is usually organised in terms of tables containing records. In the case of a simple address book, a record, which is a row in a table, would contain the information of a particular contact. The columns in the table would contain data for each sub-information within a contact, like Name, Address, City, State etc., for a particular contact.</content><link rel='replies' type='application/atom+xml' href='http://tech-answers.blogspot.com/feeds/6493897004462017039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-answers.blogspot.com/2009/06/what-is-database.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5222968369842043236/posts/default/6493897004462017039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5222968369842043236/posts/default/6493897004462017039'/><link rel='alternate' type='text/html' href='http://tech-answers.blogspot.com/2009/06/what-is-database.html' title='What is a database?'/><author><name>Hari</name><uri>http://www.blogger.com/profile/13634778671219935136</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>