1. Introduction Flashcards
What is one major task of a GIS besides producing maps?
To efficiently manage large databases of complex information
What is a database?
a large collection of interrelated data stored within a computer environment
What is a DBMS?
a collection of software that manages the database structure and controls access to data stored in a data base
What are the five functions a DBMS can perform to a database?
- Defines (data types, structures, constraints)
- Constructs (storing the data itself into persistent storage)
- Manipulates (joining, indexing, modifying, etc.)
- Queries (retrieve data, SQL)
- Updates (changing values)
What is data independence?
a user can interact with a representation of data independently of the actual physical storage
What are the two steps of modeling a database schema?
- Define the database schema / constraints
- Insert, update, delete, and query data
How is a relational database composed?
Rows/Tuples and Columns/Attributes
What are the two approaches of designing a relational schema?
- Conceptual modeling: describe the objects of interests together with the relationships among them (entities and their entity types; Paris to France)
- Logical level: conceptual schema is translated into the data model of a particular DBMS (follow transformation rules and describe the relational schema with the data definition language)
What is SQL?
SQL stands for structured query language. It is a declarative, simple query language used in all relational systems. It relies on relational calculus and algebra. It has limitations as it cannot be expressed not compute arithmetic computations, for example.
–
SQL stands for Structured Query Language. It is a domain-specific language (designed for a specific area or specialized for a particular problem) used for managing and manipulating relational databases. SQL provides a standardized way to interact with databases, allowing users to perform tasks such as querying data, inserting, updating, and deleting records, creating and modifying database structures (tables, indexes, views), and controlling access to the data.
SQL is used to communicate with relational database management systems (RDBMS) like MySQL, PostgreSQL, Microsoft SQL Server, Oracle Database, and more. It is a powerful tool for working with structured data and is essential for tasks ranging from basic data retrieval to complex data analysis and management.
What is a declarative language
A language in which a user expresses what he expects as a result.
What is persistent storage?
Persistent storage in a Database Management System (DBMS) refers to the long-term storage of data in a way that the data remains available even after the system or application is shut down or restarted. Persistent storage involves using various physical storage devices, such as hard drives, solid-state drives (SSDs), and network-attached storage (NAS), to store data on a more permanent basis
primary key
composite key
candidate keys