Database schema
1.28.0 database schema. Many FOSS software tools allow modelling of DB layout/schemes like this. Visual representation often may also be exported as a production-ready source code made in DB-compatible languages like SQL. The database schema is the structure of a database described in a formal language supported typically by a relational database management system (RDBMS). The term "schema" refers to the organization of data as a blueprint of how the database is constructed (divided into database tables in the case of relational databases). The formal definition of a database schema is a set of formulas (sentences) called integrity constraints imposed on a database. These integrity constraints ensure compatibility between parts of the schema. All constraints are expressible in the same language. A database can be considered a structure in realization of the database language. The states of a created conceptual schema are transformed into an explicit mapping, the database schema. This describes how real-world entities are modeled in the database. "A database schema specifies, based on the database administrator's knowledge of possible applications, the facts that can enter the database, or those of interest to the possible end-users." The notion of a database schema plays the same role as the notion of theory in predicate calculus.…
1.28.0 database schema. Many FOSS software tools allow modelling of DB layout/schemes like this. Visual representation often may also be exported as a production-ready source code made in DB-compatible languages like SQL. The database schema is the structure of a database described in a formal language supported typically by a relational database management system (RDBMS). The term "schema" refers to the organization of data as a blueprint of how the database is constructed (divided into database tables in the case of relational databases). The formal definition of a database schema is a set of formulas (sentences) called integrity constraints imposed on a database. These integrity constraints ensure compatibility between parts of the schema. All constraints are expressible in the same language. A database can be considered a structure in realization of the database language. The states of a created conceptual schema are transformed into an explicit mapping, the database schema. This describes how real-world entities are modeled in the database. "A database schema specifies, based on the database administrator's knowledge of possible applications, the facts that can enter the database, or those of interest to the possible end-users." The notion of a database schema plays the same role as the notion of theory in predicate calculus. A model of this "theory" closely corresponds to a database, which can be seen at any instant of time as a mathematical object. Thus a schema can contain formulas representing integrity constraints specifically for an application and the constraints specifically for a type of database, all expressed in the same database language. In a relational database, the schema defines the tables, fields, relationships, views, indexes, packages, procedures, functions, queues, triggers, types, sequences, materialized views, synonyms, database links, directories, XML schemas, and other elements. A database generally stores its schema in a data dictionary. Although a schema is defined in text database language, the term is often used to refer to a graphical depiction of the database structure. In other words, schema is the structure of the database that defines the objects in the database. In an Oracle Database system, the term "schema" has a slightly different connotation. ==Ideal requirements for schema integration== The requirements listed below influence the detailed structure of schemas that are produced. Certain applications will not require that all of these conditions are met, but these four requirements are the most ideal. Overlap preservation Each of the overlapping elements specified in the input mapping is also in a database schema relation. Extended overlap preservation Source-specific elements that are associated with a source’s overlapping elements are passed through to the database schema. Normalization Independent entities and relationships in the source data should not be grouped together in the same relation in the database schema. In particular, source specific schema elements should not be grouped with overlapping schema elements, if the grouping co-locates independent entities or relationships. Minimality If any elements of the database schema are dropped then the database schema is not ideal. ==Example of two schema integrations== Suppose we want a mediated schema to integrate two travel databases, Go-travel and Ok-flight. Go-travel has two relations: Go-flight(flight-number, time, meal(yes/no)) Go-price(flight-number, date, price) Ok-flight has just one relation: Ok-flight(flight-number, date, time, price, nonstop(yes/no)) The overlapping information in Go-travel’s and Ok-flight’s schemas could be represented in a mediated schema: Flight(flight-number, date, time, price) ==Oracle database specificity== In the context of Oracle Databases, a schema object is a logical data storage structure. An Oracle database associates a separate schema with each database user. A schema comprises a collection of schema objects. Examples of schema objects include: tables views sequences synonyms indexes clusters database links snapshots procedures functions packages On the other hand, non-schema objects may include: users roles contexts directory objects Schema objects do not have a one-to-one correspondence to physical files on disk that store their information. However, Oracle databases store schema objects logically within a tablespace of the database. The data of each object is physically contained in one or more of the tablespace's datafiles. For some objects (such as tables, indexes, and clusters) a database administrator can specify how much disk space the Oracle RDBMS allocates for the object within the tablespace's datafiles. There is no necessary relationship between schemas and tablespaces: a tablespace can contain objects from different schemas, and the objects for a single schema can reside in different tablespaces. Oracle database specificity does, however, enforce platform recognition of nonhomogenized sequence differentials, which is considered a crucial limiting factor in virtualized applications. ==References==
References
- Ashdown, Lance; Kyte, Tom (February 2010). Oracle Database Concepts 11g Release 2 (11.2) . et al . Oracle Corporation. Archived from the original on January 29, 2010 . Retrieved April 14, 2010 . A database schema is a logical container for data structures, called schema objects. Examples of schema objects are tables and indexes. Wikipedia revision 1341926239, retrieved 2026-11-22 · retrieved 2026-11-21 · rev 1341926239
Cite this reference
MLA "Ashdown, Lance; Kyte, Tom (February 2010). Oracle Database Concepts 11g Release 2 (11.2) . et al . Oracle Corporation. Archived from the original on January 29, 2010 . Retrieved April 14, 2010 . A database schema is a logical container for data structures, called schema objects. Examples of schema objects are tables and indexes. Wikipedia revision 1341926239, retrieved 2026-11-22." Ashdown, Lance; Kyte, Tom (February 2010). 2026-11-21. https://web.archive.org/web/20100129054802/http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/tablecls.htm#CNCPT111. Accessed 24 November 2026.
Chicago "Ashdown, Lance; Kyte, Tom (February 2010). Oracle Database Concepts 11g Release 2 (11.2) . et al . Oracle Corporation. Archived from the original on January 29, 2010 . Retrieved April 14, 2010 . A database schema is a logical container for data structures, called schema objects. Examples of schema objects are tables and indexes. Wikipedia revision 1341926239, retrieved 2026-11-22." Ashdown, Lance; Kyte, Tom (February 2010). 2026-11-21. https://web.archive.org/web/20100129054802/http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/tablecls.htm#CNCPT111.
APA Ashdown, Lance; Kyte, Tom (February 2010). (2026). Ashdown, Lance; Kyte, Tom (February 2010). Oracle Database Concepts 11g Release 2 (11.2) . et al . Oracle Corporation. Archived from the original on January 29, 2010 . Retrieved April 14, 2010 . A database schema is a logical container for data structures, called schema objects. Examples of schema objects are tables and indexes. Wikipedia revision 1341926239, retrieved 2026-11-22. Retrieved November 24, 2026, from https://web.archive.org/web/20100129054802/http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/tablecls.htm#CNCPT111
- Oracle Database Concepts 10g Release 2 (10.2)Part Number B14220-02 . Retrieved November 26, 2012 . A schema is a collection of logical structures of data, or schema objects. A schema is owned by a database user and has the same name as that user. Each user owns a single schema. Schema objects can be created and manipulated with SQL. Wikipedia revision 1341926239, retrieved 2026-11-22 · retrieved 2026-11-21 · rev 1341926239
Cite this reference
MLA "Oracle Database Concepts 10g Release 2 (10.2)Part Number B14220-02 . Retrieved November 26, 2012 . A schema is a collection of logical structures of data, or schema objects. A schema is owned by a database user and has the same name as that user. Each user owns a single schema. Schema objects can be created and manipulated with SQL. Wikipedia revision 1341926239, retrieved 2026-11-22." Oracle Database Concepts 10g Release 2 (10. 2026-11-21. http://docs.oracle.com/cd/B19306_01/server.102/b14220/schema.htm. Accessed 24 November 2026.
Chicago "Oracle Database Concepts 10g Release 2 (10.2)Part Number B14220-02 . Retrieved November 26, 2012 . A schema is a collection of logical structures of data, or schema objects. A schema is owned by a database user and has the same name as that user. Each user owns a single schema. Schema objects can be created and manipulated with SQL. Wikipedia revision 1341926239, retrieved 2026-11-22." Oracle Database Concepts 10g Release 2 (10. 2026-11-21. http://docs.oracle.com/cd/B19306_01/server.102/b14220/schema.htm.
APA Oracle Database Concepts 10g Release 2 (10. (2026). Oracle Database Concepts 10g Release 2 (10.2)Part Number B14220-02 . Retrieved November 26, 2012 . A schema is a collection of logical structures of data, or schema objects. A schema is owned by a database user and has the same name as that user. Each user owns a single schema. Schema objects can be created and manipulated with SQL. Wikipedia revision 1341926239, retrieved 2026-11-22. Retrieved November 24, 2026, from http://docs.oracle.com/cd/B19306_01/server.102/b14220/schema.htm
- Ashdown, Lance; Kyte, Tom (February 2010). Oracle Database Concepts 11g Release 2 (11.2) . et al. Oracle Corporation. Archived from the original on January 29, 2010 . Retrieved April 14, 2010 . Other types of objects are also stored in the database and can be created and manipulated with SQL statements but are not contained in a schema. These objects include database users, roles, contexts, and directory objects. Wikipedia revision 1341926239, retrieved 2026-11-22 · retrieved 2026-11-21 · rev 1341926239
Cite this reference
MLA "Ashdown, Lance; Kyte, Tom (February 2010). Oracle Database Concepts 11g Release 2 (11.2) . et al. Oracle Corporation. Archived from the original on January 29, 2010 . Retrieved April 14, 2010 . Other types of objects are also stored in the database and can be created and manipulated with SQL statements but are not contained in a schema. These objects include database users, roles, contexts, and directory objects. Wikipedia revision 1341926239, retrieved 2026-11-22." Ashdown, Lance; Kyte, Tom (February 2010). 2026-11-21. https://web.archive.org/web/20100129054802/http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/tablecls.htm#CNCPT111. Accessed 24 November 2026.
Chicago "Ashdown, Lance; Kyte, Tom (February 2010). Oracle Database Concepts 11g Release 2 (11.2) . et al. Oracle Corporation. Archived from the original on January 29, 2010 . Retrieved April 14, 2010 . Other types of objects are also stored in the database and can be created and manipulated with SQL statements but are not contained in a schema. These objects include database users, roles, contexts, and directory objects. Wikipedia revision 1341926239, retrieved 2026-11-22." Ashdown, Lance; Kyte, Tom (February 2010). 2026-11-21. https://web.archive.org/web/20100129054802/http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/tablecls.htm#CNCPT111.
APA Ashdown, Lance; Kyte, Tom (February 2010). (2026). Ashdown, Lance; Kyte, Tom (February 2010). Oracle Database Concepts 11g Release 2 (11.2) . et al. Oracle Corporation. Archived from the original on January 29, 2010 . Retrieved April 14, 2010 . Other types of objects are also stored in the database and can be created and manipulated with SQL statements but are not contained in a schema. These objects include database users, roles, contexts, and directory objects. Wikipedia revision 1341926239, retrieved 2026-11-22. Retrieved November 24, 2026, from https://web.archive.org/web/20100129054802/http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/tablecls.htm#CNCPT111
- Virtualization performance: perspectives and challenges ahead · retrieved 2026-11-21 · rev 1341926239
Cite this reference
MLA "Virtualization performance: perspectives and challenges ahead." McDougall, R (2010). 2026-11-21. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 24 November 2026.
Chicago "Virtualization performance: perspectives and challenges ahead." McDougall, R (2010). 2026-11-21. https://en.wikipedia.org/wiki/Doi_(identifier).
APA McDougall, R (2010). (2026). Virtualization performance: perspectives and challenges ahead. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)
- Ownership and user-schema separation in SQL Server - SQL Server · retrieved 2026-11-21 · rev 1341926239
Cite this reference
MLA "Ownership and user-schema separation in SQL Server - SQL Server." VanMSFT (May 9, 2024). 2026-11-21. https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/ownership-and-user-schema-separation?view=sql-server-ver16. Accessed 24 November 2026.
Chicago "Ownership and user-schema separation in SQL Server - SQL Server." VanMSFT (May 9, 2024). 2026-11-21. https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/ownership-and-user-schema-separation?view=sql-server-ver16.
APA VanMSFT (May 9, 2024). (2026). Ownership and user-schema separation in SQL Server - SQL Server. Retrieved November 24, 2026, from https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/ownership-and-user-schema-separation?view=sql-server-ver16
- On First-Order-Logic Databases · retrieved 2026-11-21 · rev 1341926239
Cite this reference
MLA "On First-Order-Logic Databases." a b Rybinski, H. 2026-11-21. https://doi.org/10.1145%2F27629.27630. Accessed 24 November 2026.
Chicago "On First-Order-Logic Databases." a b Rybinski, H. 2026-11-21. https://doi.org/10.1145%2F27629.27630.
APA a b Rybinski, H. (2026). On First-Order-Logic Databases. Retrieved November 24, 2026, from https://doi.org/10.1145%2F27629.27630
- Schema merging and mapping creation for relational sources · retrieved 2026-11-21 · rev 1341926239
Cite this reference
MLA "Schema merging and mapping creation for relational sources." a b c d e Pottinger, P. 2026-11-21. https://en.wikipedia.org/wiki/CiteSeerX_(identifier). Accessed 24 November 2026.
Chicago "Schema merging and mapping creation for relational sources." a b c d e Pottinger, P. 2026-11-21. https://en.wikipedia.org/wiki/CiteSeerX_(identifier).
APA a b c d e Pottinger, P. (2026). Schema merging and mapping creation for relational sources. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/CiteSeerX_(identifier)
- A systematic approach to relational database theory · retrieved 2026-11-21 · rev 1341926239
Cite this reference
MLA "A systematic approach to relational database theory." Imielinski, T. 2026-11-21. https://en.wikipedia.org/wiki/Tomasz_Imieli%C5%84ski. Accessed 24 November 2026.
Chicago "A systematic approach to relational database theory." Imielinski, T. 2026-11-21. https://en.wikipedia.org/wiki/Tomasz_Imieli%C5%84ski.
APA Imielinski, T. (2026). A systematic approach to relational database theory. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Tomasz_Imieli%C5%84ski
- The states of a created conceptual schema are transformed into an explicit mapping, the database schema. This describes how real-world entities are Data modeling|modeled in the database. "A da . · retrieved 2026-03-04 · rev 1341926239
Cite this reference
MLA "The states of a created conceptual schema are transformed into an explicit mapping, the database schema. This describes how real-world entities are Data modeling|modeled in the database. "A da ." The states of a created conceptual schema are transformed into an explicit mapping, the database schema. 2026-03-04. https://en.wikipedia.org/w/index.php?oldid=1341926239. Accessed 24 November 2026.
Chicago "The states of a created conceptual schema are transformed into an explicit mapping, the database schema. This describes how real-world entities are Data modeling|modeled in the database. "A da ." The states of a created conceptual schema are transformed into an explicit mapping, the database schema. 2026-03-04. https://en.wikipedia.org/w/index.php?oldid=1341926239.
APA The states of a created conceptual schema are transformed into an explicit mapping, the database schema. (2026). The states of a created conceptual schema are transformed into an explicit mapping, the database schema. This describes how real-world entities are Data modeling|modeled in the database. "A da . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341926239
- Oracle Database Concepts 10g Release 2 (10.2)Part Number B14220-02 . retrieved 2012-11-26 · retrieved 2012-11-25 · rev 1341926239
Cite this reference
MLA "Oracle Database Concepts 10g Release 2 (10.2)Part Number B14220-02 . retrieved 2012-11-26." Oracle Database Concepts 10g Release 2 (10. 2012-11-25. https://en.wikipedia.org/w/index.php?oldid=1341926239. Accessed 24 November 2026.
Chicago "Oracle Database Concepts 10g Release 2 (10.2)Part Number B14220-02 . retrieved 2012-11-26." Oracle Database Concepts 10g Release 2 (10. 2012-11-25. https://en.wikipedia.org/w/index.php?oldid=1341926239.
APA Oracle Database Concepts 10g Release 2 (10. (2012). Oracle Database Concepts 10g Release 2 (10.2)Part Number B14220-02 . retrieved 2012-11-26. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341926239
- Ashdown, Lance. Oracle Database Concepts 11g Release 2 (11.2) . · retrieved 2026-03-04 · rev 1341926239
Cite this reference
MLA "Ashdown, Lance. Oracle Database Concepts 11g Release 2 (11.2) ." Ashdown, Lance. 2026-03-04. https://en.wikipedia.org/w/index.php?oldid=1341926239. Accessed 24 November 2026.
Chicago "Ashdown, Lance. Oracle Database Concepts 11g Release 2 (11.2) ." Ashdown, Lance. 2026-03-04. https://en.wikipedia.org/w/index.php?oldid=1341926239.
APA Ashdown, Lance. (2026). Ashdown, Lance. Oracle Database Concepts 11g Release 2 (11.2) . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341926239
- Ownership and user-schema separation in SQL Server - SQL Server . · retrieved 2026-03-04 · rev 1341926239
Cite this reference
MLA "Ownership and user-schema separation in SQL Server - SQL Server ." 2026-03-04. https://en.wikipedia.org/w/index.php?oldid=1341926239. Accessed 24 November 2026.
Chicago "Ownership and user-schema separation in SQL Server - SQL Server ." 2026-03-04. https://en.wikipedia.org/w/index.php?oldid=1341926239.
APA encyclopegia.org. (2026). Ownership and user-schema separation in SQL Server - SQL Server . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1341926239
Cite this article
MLA
"Database schema." encyclopegia.org, 2026, https://encyclopegia.org/wiki/database-schema. Accessed 24 November 2026.
Chicago
"Database schema." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/database-schema.
APA
encyclopegia.org. (2026). Database schema. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/database-schema
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON