Archive

Sometimes a database is enough


With all the new information technologies available, it is important to remember that the simplest solution to a problem is often the best solution. Two projects recently reinforced this lesson for me. Both projects started with complex, Web-based solutions, but finished using simple databases. Databases often provide workable and robust solutions, and knowledge of database technology is vital for the modern control professional.

There are four types of databases—relational, network, hierarchical, and object-based. Most prevalent are relational databases using SQL (structured query language). In addition to commercially available SQL databases from Microsoft, IBM, Oracle, and others, there are several open source SQL offerings, such as PostgreSQL (www.postgresql.org

), Firebird (firebird.sourceforge.net

), and MySQL (www.mysql.com

).

An application of mathematical set theory, relational databases were described in the 1970 paper "A Relational Model of Data for Large Shared Data Banks," by Dr. E. F. Codd, in Communications of the ACM (Association of Computer Machinery). They are formally defined in ISO/IEC 9075:1992, "Database Language SQL," and ANSI X3.135-1992 standards, but are usually referred to as SQL-92. There have been extensions to SQL defined in 1999 and 2003, but the basic relational model has remained the same.

In a relational database, data are collected into tables. Each table, known as a relation

, contains columns, referred to as attributes, and rows, called tuples. Each row represents an object, and each column contains an attribute value for the object. Tables are related by values of attributes (hence the word relational). For example, two tables may have an equipment serial number attribute, and when two serial numbers are the same in the two tables, then the rows in the two tables have a relationship. This results in duplication of information, but a process called "normalization" is used during database design to ensure that the tables are effectively defined for minimal data duplication.

When you need to build a database for a manufacturing application, you will likely become involved with corporate database administrators; many companies have an IT group responsible for managing the structure of corporate databases. This group is responsible for ensuring that data are consistently defined, appropriate security is added to data creation and access, corporate rules for management of data are followed, and data duplication is minimized. If your database will be part of the corporate system, you will have to justify its existence to the satisfaction of the database group.

In some cases, much of the data needed for a manufacturing IT project is already available in corporate databases. For example, an asset management database with equipment definitions may exist that can be used to identify production equipment; or there may be inventory databases with material lot IDs and locations. When corporate data already exist, they should be used as part of your project. Usually a database "guru" knows about all of the corporate databases and is a valuable resource for finding data that already exist.

Corporate database administrators have a lot of practical experience that can be applied to manufacturing IT databases. However, you will have to describe the data and explain their meaning. It is vital to be clear about the name and meaning of tables and attributes, and to document the names and meaning in the appropriate corporate documents. This prevents others from misusing your data and you from misusing others' data. Database administrators understand normalization and will help you design efficient database structures. However, talking with them will require an understanding of SQL. Modern control professionals should have at least a basic understanding of SQL and relational databases so they can apply simple solutions to simple problems.

Dennis Brandl, dbrandl@brlconsulting.com, is the president of BR&L Consulting, a consulting firm focusing on manufacturing IT solutions, based in Cary, NC

10-Jan-2006
More Articles

Related Articles

New Fluke Colour ScopeMeter Test Tool with Bus Health Test feature (1-Dec-2008)
Fluke Corporation have introduced two new models to their range of Fluke Colour ScopeMeter Test Tools with automated test capability for Fieldbus, Profi Bus and other industrial communication protocols. The new models, the Fluke ScopeMeter 225C (200 MHz, 2.5 GS/s) and 215C (100 MHz, 1 GS/s), include all the features of the market-leading Fluke 199C and 196C Colour ScopeMeters.

Fluke Corporation release SmartView 2.0 thermal imaging software with 3D imaging capability (26-Nov-2008)
Fluke Corporation have released a new 2.0 version of their SmartView software for Fluke thermal imagers featuring 3D imaging capability. The enhanced software gives users new options for optimising and organising thermal images and creating professional reports, making it easy to use.

NetApp named 2008 Citrix Ready Solution of the Year by Citrix Systems (20-Nov-2008)
NetApp have announced that they have received the Citrix Ready Solution of the Year award from Citrix Systems, which recognises a company that excels in providing application delivery and virtualisation solutions to customers that are complementary to Citrix and drive Citrix adoption. NetApp were honoured with the award during Citrix Summit, the premier training conference designed for Citrix business partners worldwide.

IBM discuss energy efficiency and process improvements at GS1 Australia’s Impetus 2008 IBM discuss energy efficiency and process improvements at GS1 Australia’s Impetus 2008 (18-Nov-2008)
Gabrielle’s role is dedicated to helping clients understand and reduce their carbon footprint and increase their energy efficiency through system and business process improvements. Gabrielle discussed this in depth on Day one of the Impetus 2008 supply chain conference organised by GS1 Australia.

Oracle Utilities Customer version from Oracle Corporation Australia includes Oracle Insurance Rating Express (14-Nov-2008)
The new version of Oracle Insurance Insbridge Rating and Underwriting includes Oracle Insurance Rating Express and is available from Oracle Corporation Australia. The Oracle Utilities Customer version helps insurance companies to meet growing requirements to accelerate product time-to-market by offering users new rating templates, automated template reconciliation and pre-built industry content through Oracle Insurance Rating Express.

Access over 2000 Manufacturing and Operations jobs online!