Preview

RDBMS

Satisfactory Essays
Open Document
Open Document
622 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
RDBMS
A data model is a collection of high-level data description constructs that hide many low-level storage details A semantic data model is a more abstract, high-level data model that makes it easier for a user to come up with a good initial description of the data in an enterprise. A database design in terms of a semantic model serves as a useful starting point and is subsequently translated into a database design in terms of the data model the DBMS actually supports. A widely used semantic data model called the entity-relationship (ER) model allows us to pictorially denote entities and the relationships among them

1.5.1 The Relational Model

The central data description construct in this model is relation, which can be thought of as a set of records. A description of data in terms of a data model is called a schema. The schema for a relation specifies its name, the name of each field or attribute or column. Example: student information in a university database my be stored in a relation with the following schema (with 5 fields): Students(sid: string, name: string, login: string, age: integer, gpa: real) An example instance of the Students relation: sid name login age gpa 53666 Jones jones@cs 18 3.4 53588 Smith smith@ee 18 3.2 Each row in the Students relation is a record that describes a student. Every row follows the schema of the Student relation and schema can therefore be regarded as a template for describing a student. We can make the description of a collection of students more precise by specifying integrity constraints, which are conditions that the records in a relation must staisfy. Other notable models: hierarchial model, network model, object-oriented model, and the object-relational model.

1.5.2 Levels of Abstraction in a DBMS

A data definition language (DDL) is used to define the external and conceptual schemas.

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Kroenke, D. M., & Auer, D. J. (2010). Database Concepts (4th ed.). Retrieved from https://ecampus.phoenix.edu/content/eBookLibrary2.…

    • 553 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    IST223 Crib sheet

    • 3425 Words
    • 7 Pages

    rectangles, and relationships are shown by lines between the rectangles. Attributes are generally listed within the rectangle. The many side of many relationships is represented by a crows footentity-relationship (E-R) modelA set of constructs and conventions used to create data models. The things in the users world are represented by entities, and the associations among those things are represented by relationships. The results are usually documented in an entity-relationship (E-R) diagramID-dependent entityan entity whose identifier includes the identifier of another entityidentifierwhich are attributes that name, or identify, entity instancesidentifying relationshipIn such relationships, the parent is always required, but the child (the ID-dependent entity) may or may not be required, depending on application requirements. Identifying relationships are shown with solid lines in E-R diagrams.is-aRelationships among supertype/subtype entitiesmandatoryat least one entity instance must participate in the relationshipmaximum cardinalityThe maximum cardinality is the maximum number of entity instances that can participate in a relationship instance.minimum cardinalityThe minimum cardinality is the minimum number of entity instances that must participate in a relationship instance.nonidentifying relationshiprelationship drawn with a dashed line (refer to Figure 5-7) is used between strong entities and is called a nonidentifying relationship because there are no ID-dependent entities in the relationship.null valueare a problem because they are ambiguous. They can mean that a value is inappropriate, unknown, or known, but not yet been entered into the databaseparentAn entity or row on the one side of a one-to-many relationshiprecursive relationshipoccurs when an entity type has a relationship to itself.relationship classAssociations among entity classesrelationship instanceassociations among entity instances.strong entityan entity that represents something that can exist…

    • 3425 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Cis 515week 3

    • 1024 Words
    • 4 Pages

    The above ERM represents the data store relationships that are based on several assumptions. The first assumption is that the faculty is capable of teaching more than one course and that students can only enroll in one course curriculum. Another assumption is that faculty only teach at one campus and that teach faculty is assigned one Dean. Finally, another assumption is that some campuses have particular schools, whereas others do not. Therefore, the data represented in the ERM shows that relationships between the data structure, but it is based on assumptions that must be taken into account for the final proposal of the university’s requirements.…

    • 1024 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Entity-relationship Model

    • 411 Words
    • 2 Pages

    6. One-to-One Relationship - . A one-to-one relationship specifies that for each row in the primary entity, there can be one and no more than one related record in the secondary entity. In a one-to-one relationship, the primary key of the first entity is often the primary key of the second entity.…

    • 411 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Entities are defined as a person, place, thing, or event in which data is collected and stored. Each entity is a unique and distinct object that may be a physical or abstract object within the real world (Coronel, Morris, & Rob, pg. 34). Entities of a database for a college that needs to keep track of students and courses would be students, professors, courses, classes, room, and enrollment status. These entities will be used to format the data within the database so that each student and course is accounted for. Attributes are characteristics of an entity, such as a name, phone number, or address (Coronel, Morris, & Rob, pg. 34). Attributes for the college database would include student first and last name, student phone number, student address, student identification number, student grade point average, student course major, and student classes to describe the student entity. The professor entity would be described by professor…

    • 906 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Anime LIst

    • 11441 Words
    • 52 Pages

    Which of the following defines a relationship in which each occurrence of data in one entity…

    • 11441 Words
    • 52 Pages
    Good Essays
  • Good Essays

    Cis 111

    • 790 Words
    • 4 Pages

    “The benefits of using the relational model would result in an easy to use, flexible, high performance database at a low cost.” (Anita, 2010) Therefore, allowing them to participate in the entire design process of the logical construction. The relational model provides an easy and flexible way of manipulating data with a system that offers:…

    • 790 Words
    • 4 Pages
    Good Essays
  • Good Essays

    References: Pratt, P.J, & Adamski J.J, (2011). Concepts of Database Management. Ohio, OH: CENGAGE Learning.…

    • 688 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Relational Database Paper

    • 547 Words
    • 3 Pages

    A relationship is an important component of a relational database. A relationship exists between two tables when one or more key fields from one table are matched to one or more key fields in another table. The fields in both tables usually have the same name, data type, and size. It also helps to further refine table structures and minimize redundant data.…

    • 547 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Information Systems

    • 386 Words
    • 2 Pages

    The students and their course names make the tables related. The student ID correlates to the students' last names and first names and the course ID. Therefore, this is the primary key. The course ID is the foreign key of the Course Table.…

    • 386 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Entity Relation Diagram

    • 3540 Words
    • 15 Pages

    An entity-relationship model (ERM) is an abstract and conceptual representation of data. Entity-relationship modeling is a database modeling method, used to produce a type of conceptual schema or semantic data model of a system, often a relational database, and its requirements in a top-down fashion. Diagrams created by this process are called entity-relationship diagrams, ER diagrams, or ERDs.…

    • 3540 Words
    • 15 Pages
    Powerful Essays
  • Powerful Essays

    provides a global quick reference to an organization’s data structures. can be used individually to design an Information System’s (IS) data structure can be used with Data Flow Diagrams to provide a more comprehensive IS logical design.…

    • 1294 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Er Modleing

    • 21230 Words
    • 85 Pages

    real-world objects and the database model that is implemented in the computer. Therefore, the importance of data-modeling details, expressed graphically through entity relationship diagrams (ERDs), cannot be overstated. Most of the basic concepts and definitions used in the entity relationship model (ERM) were introduced in Chapter 2, Data Models. For example, the basic components of entities and relationships and their representation should now be familiar to you. This chapter goes much deeper and further, analyzing the graphic depiction of relationships among the entities and showing how those depictions help you summarize the wealth of data required to implement a successful design. Finally, the chapter illustrates how conflicting goals can be a challenge in database design, possibly requiring you to make design compromises.…

    • 21230 Words
    • 85 Pages
    Good Essays
  • Satisfactory Essays

    4. What are the pitfalls in relational database design? With a suitable example, explain the role…

    • 1795 Words
    • 8 Pages
    Satisfactory Essays
  • Powerful Essays

    Abstract: The purpose of a data model is to describe logic structure of the object system, as it is looked…

    • 1456 Words
    • 9 Pages
    Powerful Essays