In part one of this series, I introduced general database concepts and how they're handy for managing the information of any small business. Now that you have an abstract understanding of the general concepts, it's time to learn how to understand them in more concrete terms so that you can start using them to solve your business problems. To help you more fully understand how databases are used, I will explain basic database concepts in terms of a program that is widely used by many small businesses the spreadsheet.
Databases vs. Spreadsheets
There is not anything really mysterious about a database. Chances are, you have already used a database, even if you didn't think of it that way. Think of a spreadsheet "table" as an elementary type of database. In the chart below, you'll find a few lines from an address book a fairly typical spreadsheet or database application.
The fields in a database record may be arranged hierarchically. So, for example, an aggregate field representing, say, an inventory item might consist of two fields: the first being an ID number for the item and the second being another field for its location, the latter also being an aggregate field, with sub-fields specifying its room location, exact rack, shelf and bin. There are even mechanical carrel systems that allow users to access the bins by using the computer to bring the correct bin to the front.
|First Name||Last Name||Office||Department||Title||Phone ext.|
|Shai||Basilli||New York||IT||System Manager||139|
A database with one table is usually referred to as a flat file database because it is laid out internally in a linear manner. Like that address book spreadsheet above, each record is in sequential order. For more complex sets of data, a database may consist of many different tables that can be combined on the fly. For example, a table that describes payroll may include a field that contains a personnel ID to whom it is to be paid. That ID, in turn can be used to reference a separate table containing necessary information about that employee that might be more confidential in nature. The payroll clerk does not need to know personal information about the employee to create their paycheck.
Another major difference between "real" database tables and spreadsheet tables is the number of records and the amount of data it can handle at one time. With, at most, a few hundred entries, one typically accesses the data in a spreadsheet by organizing it (perhaps by sorting it) and then by examining it directly, or perhaps by creating a plot of some relevant columns. A spreadsheet is designed to efficiently handle no more than a few hundred rows and perhaps a hundred columns at most. The circuits spreadsheet mentioned above, was beastly slow and unusable by the time it had only a few hundred records in it. One sign that it is time to switch to a database is when it gets increasingly difficult to access and manipulate the data in the spreadsheet program.
A database generally contains too much information to make direct data access practical. Instead one uses a report generator to make a query that causes the database engine to extract, derive and condense only the information of interest, and present information in a humanly readable report. A data report may look like (or even be) a Web page, set of Web pages, or a spreadsheet. The report might be exported to a spreadsheet to allow the user to manipulate the data so that it has more meaning. Database engines (as the applications that handle databases are called) routinely handle thousands, tens of thousands or even hundreds of thousands records and thousands of fields efficiently. SABRE, the widely used airline reservation system has millions of records.
Now that you have learned the basics of how database size considerations, the number of records, complexity, and data sharing requirements, will affect your choice of systems, it is time to cover the data entry, workflow and report generation mechanisms in more detail. Once you have a solid grasp of database basics, we will discuss some of the many useful ways databases can be used to help you run your business more efficiently, by allowing you to organize and track your company information whatever it may be.
Introduction to Relational Databases - Part 1: Theoretical Foundation A nice overview of databases. An Introduction to Database Systems, Eighth Edition by C.J. Date An introduction of database theory for the more serious student
Beth Cohen is president of Luth Computer Specialists, Inc., a consulting practice specializing in IT infrastructure for smaller companies. She has been in the trenches supporting company IT infrastructure for over 20 years in different industries including manufacturing, architecture, construction, engineering, software, telecommunications and research. She is available for consulting to help your company identify the right IT infrastructure to meet your business objectives.
|Do you have a comment or question about this article or other small business topics in general? Speak out in the SmallBusinessComputing.com Forums. Join the discussion today!|