










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This module provides an introduction to databases and the oracle database management system (dbms). It covers fundamental concepts like database definitions, types of databases, and the purpose of dbms. The module also explores the key components of a database, including tables, rows, columns, schemas, indexes, primary keys, foreign keys, and views. It concludes with an overview of oracle database, its benefits, system requirements, and installation steps. The module also includes basic sql commands for interacting with databases.
Typology: Summaries
1 / 18
This page cannot be seen from the preview
Don't miss anything!











1
Useful Links
โ Google Meet Link: https://calendar.app.google/gxfacEvrHmt8aFhs
โ Course Notes and Resources: https://drive.google.com/drive/folders/149HyG8VB-snBjAJpeFLgTEH8vkP jH6wk?usp=sharing
โ Q/A Form: https://forms.gle/2qgkUozWgoNuzRBf
1-
Overview of Databases โ Definition of a Database: A collection of organized data that can be easily accessed, managed, and updated.
โ Database Management System (DBMS): Software that handles the storage, retrieval, and updating of data in a database.
โ Purpose of Databases:
Types of Databases Relational Databases (RDBMS):
โ Organize data into tables (rows and columns). โ Use SQL (Structured Query Language) to manage and query data. โ Examples: Oracle, MySQL, PostgreSQL.
Types of Databases
Types of Databases
Hierarchical Databases: โ Organize data in a tree-like structure. โ Example: IBM Information Management System (IMS).
Types of Databases Graph Databases: โ Uses graph structures with nodes (entities), edges (relationships), and properties (attributes of nodes/edges) to store and manage data. โ Use Cases: Social Networks, Recommendation Engines, Fraud Detection
Types of Databases
Object-Oriented Databases (OODBMS): โ A database that integrates object-oriented programming (OOP) concepts with database technology. โ Data is stored in the form of objects, as used in OOP languages like Java, Python, and C++.
Introduction to Oracle Database โ System Requirements: โ Operating System: Windows, Linux, or macOS. โ RAM: Minimum of 4GB (recommended: 8GB or more). โ Disk Space: 10GB for installation and data storage. โ Installation Steps: โ Download Oracle Database Express Edition 21c โ Run the installer and follow the setup wizard. โ Configure Global Database Name and SID (System Identifier). โ Set up Admin Credentials (SYS, SYSTEM users). โ Choose default options for storage and memory management or customize as needed. โ Start the Oracle Database service post-installation. (^) 1-131-
Basic SQL Commands โ SQL (Structured Query Language): The language used to interact with databases. โ Basic SQL Commands: โ SELECT: Retrieve data from one or more tables. โ Example: SELECT * FROM employees ; โ INSERT: Add new records to a table. โ Example: INSERT INTO employees (name, position) VALUES ('John Doe', 'Manager'); โ UPDATE: Modify existing records in a table. โ Example: UPDATE employees SET position = 'Senior Manager' WHERE id = 1; (^) 1-141-
Key Components of a Database โ Tables: โ A collection of related data in rows and columns. โ Each table has a unique name and stores data records (rows) with attributes (columns). โ Rows and Columns: โ Row (Tuple): A single record in the table. โ Column (Field): An attribute of the data stored in the table. โ Schemas: โ The structure that defines how data is organized in a database. โ Includes tables, views, indexes, and relationships.
Key Components of a Database
โ Used to speed up searches by creating an internal map of the data in the table.
โ A unique identifier for each record in a table. No two records can have the same primary key.
creating a relationship between the tables.
โ Views: