Sei sulla pagina 1di 3

Talkin’ Tech

A Brief Introduction to ANSI/SPARC Architecture


© Ken McDuff, 2008

The ANSI-SPARC architecture was first information is arranged within the database;
proposed in 1975 by the American National and the internal (or physical) level defines
Standards Institute’s Standards Planning and how data is organized, stored, and accessed
Requirements Committee (ANSI/SPARC), (see Figure 1).
directed by Charles Bachman, to define a set
of schema types to characterize the structure
of data. Forty-two schema types were
originally proposed, but this was simplified
into what became known as the “three-
schema architecture.” Although the standard
was never formalized, many modern
commercial database management systems
are based on the ANSI/SPARC model.
The architecture separates the unique
views of database users from the physical
configuration of the database, which allows
each user to maintain a customized view of
the data from his/her perspective, hiding
details of the data’s physical storage from the
users. To accomplish this, the architecture
identifies three levels representing different
degrees of abstraction (Bachman, 1969): 1) the
external level defines the various views of the
users; the conceptual level defines how Figure 1. ANSI/SPARC Three-Level Architecture


A further description of each of these levels The Internal Level. This level may be
follows. seen to include both a logical schema
corresponding to Zachman’s fourth row, the
The External Level. This level represents
designer’s view, and a physical schema
the views of the people who run an enterprise
corresponding to Zachman’s fifth row, the
and their individual perspectives of the
builder’s view. (It may be argued that the
company’s systems, procedures, and data.
logical schema belongs at the conceptual
This schema represents data at a highly-
level, but it is commonly associated with the
abstract, nonsystem-specific level that
physical level.) The logical schema describes
corresponds to Row Two of John Zachman’s
the data structured in a such a way that it can
enterprise architecture framework; that is, the
be accessed and manipulated, and the
business owner’s view. Data models at this
physical schema describes the systems used
level should provide a somewhat simplistic
to store the data (Hay, 2003; Navathe, 1992).
model of the enterprise’s data in a way that
The following principles of database
can be understood by the stakeholders. Using
management are inherent in the ANSI/
Enterprise Data Modeling (EDM) or simple
SPARC standard:
Entity-Relationship diagrams (ERDs) are
helpful for this purpose. • The physical level may be modified
independently of the conceptual level
The Conceptual Level. This level (physical independence), implying as
involves the development of a data model well that the conceptual level may be
that represents the fundamental structures of modified without disrupting the
the enterprise and is roughly equivalent to physical level (logical independence).
Therefore, any changes in database
Zachman’s third row, the architect’s view. At
structures by the administrator are
this level, the various views defined at the transparent to the users.
external level are combined into a single,
• People who are unfamiliar with the
coherent representation of the data elements
database schema must be able to
of the enterprise and their relationship to query the database without
other data elements without regard to how referencing its technical components
the data might be stored. Because the (ease-of-use).
conceptual level provides an all- • The database administrator must be
encompassing view of the enterprise data, it able to manipulate data, add data
is sometimes referred to as the “community” elements, and verify their integrity
through a centralized system
level. Semantic data modeling tools such as
(centralized administration).
ERDs, IDEF1X, ORM, and UML diagrams are
• Redundant information should be
useful in representing data structures at the
minimized to prevent errors and
conceptual level. wasted memory, and the data must be

ANSI/SPARC Architecture 2
internally coherent (integrity
verification).
• The database management system
must allow for multiple users to
access the database simultaneously
(data sharing) while ensuring that
data is secure by managing the user’s
access rights (data security) (“Data
Levels,” 2008).
The most significant contribution of the ANSI
\SPARC standard was the introduction of an
integrated conceptual view of enterprise data,
separating it from any one user’s perspective
of the data as well as from any particular
application or physical storage configuration.
_____________________

References
Bachman, Charles W. (1969, July). Data structure
diagrams [PDF]. ACM SIGMUS Database 1(2),
4-10. URL http://portal.acm.org/
citation.cfm?doid=1017466.1017467.
“Data Levels” (2008, October 16). URL http://
en.kioskea.net/contents/bdd/bddansi.php3.
Hay, David (2003, February 1). What exactly IS a
data model? Information Management
Magazine. URL http://www.information-
management.com/issues/
20030201/6281-1.html.

ANSI/SPARC Architecture 3

Potrebbero piacerti anche