Організація баз даних [Organizatsiya baz danykh]

Dostęp nieodpłatny

„Database Organisation” [Organizatsiya baz danykh] is a comprehensive academic textbook covering the theory and practice of modern database systems. It introduces relational SQL databases, NoSQL technologies, MySQL, MongoDB, database modelling, normalisation, OLTP, OLAP, Big Data, administration, security, backup and recovery. Richly illustrated with practical examples, diagrams and screenshots, the book is a valuable resource for students of computer science, information systems and software engineering, as well as for readers wishing to develop practical database design and management skills

Dostęp nieodpłatny

Nr katalogowy PDF (SKU): 129 Kategoria: Marka:
Cytuj tę publikację
Yaroslav Sokolovskyi, Mykhailo Dendiuk, Ihor Kroshnyi, Ihor Pirko, Mykhailo Paslavskyi, Організація баз даних, Gdańsk 2023, Wydawnictwo GSW, ISBN 978-83-66270-29-9, dost. publ.

The book is the result of cooperation between Gdańska Szkoła Wyższa (Gdańsk School of Higher Education) and Ukrainian universities under ongoing scientific cooperation agreements. It may be useful for students of Management and Production Engineering and Administration as part of courses covering both computer science and modules related to cybersecurity.

Database Organisation [Organizatsiya baz danykh] is an academic textbook devoted to the theoretical foundations, design, implementation, administration and security of modern database systems. Written by Yaroslav Sokolovskyi, Mykhailo Dendiuk, Ihor Kroshnyi, Ihor Pirko and Mykhailo Paslavskyi, the volume combines fundamental database theory with practical guidance intended both for university teaching and for independent study. The book was prepared as part of academic cooperation between Gdańsk School of Higher Education and Ukrainian higher education institutions.

The textbook introduces the structure and architecture of databases, database management systems and the major types of data models. It discusses file, hierarchical, network, relational, post-relational, multidimensional and object-oriented approaches, as well as the principles of relational database design, normalisation, integrity constraints and database modelling. Particular attention is given to the stages of database design, including conceptual and logical modelling, ER diagrams, UML notation, IDEF1X methodology and the use of MySQL Workbench.

A substantial part of the book is devoted to relational databases and the SQL language. Readers are introduced to table creation and modification, data manipulation, SELECT queries, joins, subqueries, aggregate and numerical functions, string processing, stored procedures, functions and transaction processing. The textbook also discusses OLTP systems, the ACID principles, Big Data, OLAP technology, data warehouses and data mining, providing a broader perspective on contemporary methods of storing and analysing large volumes of information.

The volume also addresses database administration and security, including user account management, privileges, backup and recovery procedures, views, cursors, triggers and the diagnosis of common MySQL errors. Separate chapters introduce NoSQL databases and explain document-oriented, key-value, graph and column-oriented models. MongoDB is presented in detail, covering collections, documents, JSON, querying, aggregation, updating, indexing, backup and recovery, as well as the MongoDB Compass graphical client.

Richly illustrated with hundreds of diagrams, examples and screenshots, the textbook has a strongly practical character. It can be used for database courses, laboratory classes, project work and independent learning. It is primarily intended for students of computer science, information systems and technologies and software engineering, but it will also be useful to anyone seeking to develop a systematic understanding of database design, implementation, administration and maintenance.

English description

Database Organisation

Informacje bibliograficzne

Etykieta publikacjiAcademic Textbook
Autorzy (5)Mykhailo Dendiuk, Ihor Kroshnyi, Mykhailo Paslavskyi , Ihor Pirko , Yaroslav Sokolovskyi
Recenzenci (3)Ivan Dyiak, Vasyl Tereshchenko, Nataliia Protsakh
Postać publikacjiPDF
Dostępnośćdostęp nieodpłatny
Nr katalogowy129
ISBN PDF978-83-66270-29-9
WydawcaWydawnictwo GSW
Miejsce wydaniaGdańsk
Rok wydania2023
Liczba stron466
Arkusze wydawnicze22
Format fizycznyB5 (17x24 cm)
Projekt okładkiTetiana Samotii
Język publikacjiukraiński
Dodatkowa informacja o prawach autorskichCopyright by
© Yaroslav Sokolovskyi, Mykhailo Dendiuk, Ihor Kroshnyi, Ihor Pirko, Mykhailo Paslavskyi, 2023
© Ukrainian National Forestry University, 2023
Prawa autorskieCopyright – PDF dostępny nieodpłatnie. Zasady korzystania

Spis treści

  • Foreword
  • Chapter 1. Theoretical Foundations of Databases
    • Topic 1. Database Structure
      • 1.1. Basic Concepts and Definitions
      • 1.2. Database Management Systems
      • 1.3. General Database Architecture
      • 1.4. Database Classification
        • 1.4.1. Databases by Access Type (Local, Client–Server)
        • 1.4.2. Databases by Management Type (Relational, NoSQL, NewSQL)
      • 1.5. Trends in the Use of Different Types of Databases
      • Control Questions
    • Topic 2. Database Models and Data Models
      • 2.1. The Concept of Database Models
        • 2.1.1. Infological (Conceptual) Models
        • 2.1.2. Datalogical (Logical) Models
        • 2.1.3. Physical Models
        • 2.1.4. Relationships between Data Models
      • 2.2. Types of Data Models
        • 2.2.1. File Model
        • 2.2.2. Hierarchical Model
        • 2.2.3. Network Model
        • 2.2.4. Relational Model
        • 2.2.5. Post-Relational Model
        • 2.2.6. Multidimensional Model. OLAP Technology
        • 2.2.7. Object-Oriented Model
        • 2.2.8. Object-Relational Data Model
      • 2.3. Data Manipulation Problems and Data Integrity Constraints
      • Control Questions
    • Topic 3. Relational Database Model
      • 3.1. Data Integrity Constraints
      • 3.2. Relational Algebra
        • 3.2.1. Traditional Set Operations
        • 3.2.2. Special Relational Operations
      • 3.3. Normalisation of Relational Databases
        • 3.3.1. First Normal Form
        • 3.3.2. Second Normal Form
        • 3.3.3. Third Normal Form
        • 3.3.4. Boyce–Codd Normal Form
        • 3.3.5. Fourth Normal Form
        • 3.3.6. Fifth Normal Form
        • 3.3.7. Domain-Key Normal Form. Denormalisation
        • 3.3.8. Advantages and Disadvantages of Normalisation
      • Control Questions
    • Topic 4. Stages of Database Design
      • 4.1. System Analysis and Verbal Description Stage
      • 4.2. Conceptual (Infological) Design Stage. ER Diagrams
        • 4.2.1. ER Diagram in Chen Notation
        • 4.2.2. ER Diagrams in Barker and Martin Notation (Information Engineering)
        • 4.2.3. Database Design Using the IDEF1X Methodology
        • 4.2.4. UML Database Notation
        • 4.2.5. CASE Tools
      • 4.3. Basics of Working with MySQL Workbench
        • 4.3.1. Designing a Database Model
        • 4.3.2. Connecting MySQL Workbench to a MySQL Server
        • 4.3.3. Importing a Data Schema from MySQL Workbench to a MySQL Server
      • Control Questions
  • Chapter 2. MySQL Relational Databases
    • Topic 5. SQL Basics
      • 5.1. The Role and Place of SQL
      • 5.2. Basic Concepts of SQL
        • 5.7.1. SQL Language Components
        • 5.7.2. SQL Operators
        • 5.7.3. SQL Data Types
      • 5.3. Working with Domains
      • 5.4. Table Creation Command
      • 5.5. Commands for Modifying Table Structure
      • 5.6. Table Deletion Command
      • 5.7. Commands for Modifying Table Contents
        • 5.7.1. Command for Adding Records
        • 5.7.2. Command for Editing Records
        • 5.7.3. Command for Deleting Records
      • 5.8. Using Indexes
      • Control Questions
    • Topic 6. The SELECT Query
      • 6.1. SELECT Query Syntax
      • 6.2. Using SELECT to Retrieve Records from a Single Table
        • 6.2.1. Using the AS Operator
        • 6.2.2. Specifying a WHERE Condition
        • 6.2.3. Pattern Matching with LIKE and REGEXP
        • 6.2.4. Using the IN Operator to Specify a List of Possible Values
        • 6.2.5. Specifying a Range of Values with BETWEEN
        • 6.2.6. Using the IS NULL Operator
        • 6.2.7. Combining Multiple Records into a Result Using Group Operations
        • 6.2.8. Sorting Records with ORDER BY
        • 6.2.9. Retrieving a Range of Records with LIMIT
      • 6.3. Using SELECT to Retrieve Records from Multiple Tables
        • 6.3.1. Inner Join
        • 6.3.2. Outer Join
        • 6.3.3. Cartesian Product CROSS JOIN
        • 6.3.4. Table Difference
        • 6.3.5. Table Union
        • 6.3.6. Self-Join
      • 6.4. Using SELECT ... INTO Queries
      • 6.5. Using SELECT Queries within Other Queries
        • 6.5.1. Creating a Table Based on an Existing Table
        • 6.5.2. Creating a Table Based on an Existing Table with a Condition
        • 6.5.3. Creating Hybrid Tables
        • 6.5.4. Creating Temporary Tables
        • 6.5.5. Creating Temporary Tables Based on Existing Tables
        • 6.5.6. Defining Primary Keys in Tables Created from Existing Tables
        • 6.5.7. Adding Records from Another Table
      • Control Questions
    • Topic 7. SQL Functions
      • 7.1. General-Purpose Operators
        • 7.1.1. Variables in MySQL
        • 7.1.2. NULL Values and Operations on Them
        • 7.1.3. Control Operators in Queries
      • 7.2. Aggregate Functions
      • 7.3. Numerical Functions
        • 7.3.1. Mathematical Functions
        • 7.3.2. Date and Time Functions
      • 7.4. String Functions
        • 7.4.1. Functions for Determining String Properties
        • 7.4.2. String Conversion Functions
        • 7.4.3. Searching for and Extracting Part of a String
        • 7.4.4. String Comparison Functions
        • 7.4.5. Case Sensitivity
      • 7.5. System Functions
      • Control Questions
    • Topic 8. Using Subqueries in MySQL
      • 8.1. Definition of Subqueries
      • 8.2. Using Subqueries as Calculated Fields
      • 8.3. Subqueries in the FROM Clause
      • 8.4. Nested Queries in a WHERE Condition
      • 8.5. Nested Queries in a HAVING Condition
      • 8.6. The EXISTS Operator in Nested Queries
      • 8.7. Subqueries with IN, ANY and ALL Operators
      • 8.8. Subqueries in Data Manipulation Statements
        • 8.8.1. Subqueries in DELETE
        • 8.8.2. Subqueries in UPDATE
        • 8.8.3. Subqueries in INSERT
      • 8.9. Correlated Subqueries
      • Control Questions
  • Chapter 3. OLTP and OLAP Systems
    • Topic 9. Stored Subprograms. OLTP Technology
      • 9.1. Server-Side Stored Procedures and Functions
      • 9.2.3. The Concept of Stored Procedures and Functions
      • 9.2.4. Creating and Calling Procedures and Functions
        • 9.2.4.1. Stored Procedures
        • 9.2.4.2. Stored Functions
      • 9.2.5. Editing and Deleting Stored Procedures and Functions
      • 9.2. OLTP Technology. Basic Concepts and Transaction Requirements
        • 9.2.1. Implementing Transactions in SQL
        • 9.2.2. Savepoints
        • 9.2.3. Table Locking
          • 9.2.3.1. Table Types in MySQL
          • 9.2.3.2. Lock Types
          • 9.2.3.3. LOCK TABLES and UNLOCK TABLES Statements
      • Control Questions
    • Topic 10. Big Data Solutions. OLAP Technology
      • 10.1. Big Data
        • 10.1.1. Principles of Working with Big Data (VVV)
        • 10.1.2. Big Data Technologies and Trends
        • 10.1.3. Big Data Analysis Methods and Techniques
      • 10.2. OLAP Technology
        • 10.2.1. Basic OLAP Concepts
        • 10.2.2. OLAP Cube Structure
        • 10.2.3. Hierarchy of OLAP Cube Dimensions
        • 10.2.4. Operations on a Hypercube
      • 10.3. Data Warehouses
        • 10.3.1. The Concept of a Data Warehouse
        • 10.3.2. Categories of Data Stored in Data Warehouses
        • 10.3.3. Data Warehouse Properties. Data Mart
        • 10.3.4. Global Data Warehouse
        • 10.3.5. Architecture and Population of Data Warehouses
        • 10.3.6. Data Warehouse Models
          • 10.3.6.1. MOLAP (Multidimensional OLAP)
          • 10.3.6.2. ROLAP (Relational OLAP)
          • 10.3.6.3. Other Data Warehouse Models
      • 10.4. Data Mining
      • Control Questions
  • Chapter 4. Database Administration and Security
    • Topic 11. Views, Cursors and Triggers in MySQL
      • 11.1. The Concept of Views
        • 11.1.1. Purpose of Views
        • 11.1.2. Advantages of Using Views
        • 11.1.3. Restrictions on Views in MySQL
        • 11.1.4. View Algorithms
        • 11.1.5. Creating Views
      • 11.2. Modifying Views
        • 11.2.1. Group Views
        • 11.2.2. Views, Joins and Subqueries
        • 11.2.3. Views and Subqueries
      • 11.3. Views in Data Manipulation Statements
      • 11.4. Modifying and Deleting Views
      • 11.5. Cursors
      • 11.6. Triggers
      • Control Questions
    • Topic 12. User Account Management and Exceptional Situations in MySQL
      • 12.1. User Account Management
        • 12.2.1. Rights (Privileges) in MySQL
        • 12.2.2. Creating Database Users
          • 12.2.2.1. Command-Line Mode
          • 12.2.2.2. Designer Mode
        • 12.2.3. Revoking Privileges and Deleting Users
      • 12.2. MySQL Database Backup and Recovery
        • 12.2.1. Copying a Database or Part of It on the Same Server
        • 12.2.2. Backup and Recovery Using MySQL Workbench
          • 12.2.2.1. Reverse Engineer Tool
          • 12.2.2.2. SQL Data Export and Import Wizard
          • 12.2.2.3. Single-Table Export and Import Wizard
          • 12.2.2.4. Result Data Export and Import Wizard
      • 12.3. Common MySQL Errors
        • 12.3.1. Diagnosing the Causes of Exceptional Situations
        • 12.3.2. Cannot Connect to Database Server Errors
        • 12.3.3. Problems When Working with the Server
          • 12.3.3.1. “Server Has Gone Away” Error
          • 12.3.3.2. “Host ‘...’ Is Blocked” Error
          • 12.3.3.3. “Too Many Connections” Error
          • 12.3.3.4. “Out of Memory” Error
          • 12.3.3.5. “Table ‘xxx’ Doesn’t Exist” Error
          • 12.3.3.6. “Can’t Initialise Character Set xxx” Error
        • 12.3.4. Other Exceptional Situations
      • Control Questions
  • Chapter 5. NoSQL Databases
    • Topic 13. NoSQL Database Basics
      • 13.1. Basic NoSQL Concepts
      • 13.2. NoSQL Categories
        • 13.2.1. Document-Oriented Databases
        • 13.2.2. Key/Value Databases
        • 13.2.3. Graph Databases
        • 13.2.4. Column-Oriented Databases
      • 13.3. MongoDB Basics
        • 13.3.1. Collections
        • 13.3.2. Documents Instead of Rows
        • 13.3.3. JSON Format
      • Control Questions
    • Topic 14. MongoDB Console
      • 14.1. Basics of Working with MongoDB
        • 14.1.1. Getting Started with MongoDB
        • 14.1.2. Data Types
        • 14.1.3. Collections and Documents
      • 14.2. Adding Data
        • 14.2.1. Adding Data with Commands
        • 14.2.2. Loading Data from a File
      • 14.3. Retrieving Data from a Database
        • 14.3.1. The find Function
        • 14.3.2. Projection
        • 14.3.3. Querying Nested Objects
        • 14.3.4. Using Regular Expressions
        • 14.3.5. Configuring Queries and Sorting
        • 14.3.6. Cursors
      • 14.4. Grouping Commands
        • 14.4.1. Number of Elements in a Collection
        • 14.4.2. The distinct Function
        • 14.4.3. Aggregation and the group Method
      • 14.5. Control Operators
        • 14.5.1. Conditional Operators
        • 14.5.2. Logical Operators
        • 14.5.3. Searching in Arrays
        • 14.5.4. The $exists, $type and $regex Operators
      • 14.6. Updating Data
        • 14.6.1. The save Method
        • 14.6.2. The update Function
        • 14.6.3. Updating an Individual Field
        • 14.6.4. The updateOne and updateMany Methods
        • 14.6.5. Updating Arrays
      • 14.7. Deleting Data
        • 14.7.1. Deleting a Field
        • 14.7.2. Deleting an Element from an Array
        • 14.7.3. Deleting Collections and Databases
      • 14.8. Establishing References in a Database
        • 14.8.1. Manually Establishing References
        • 14.8.2. Automatic Linking
      • 14.9. Working with Indexes
      • 14.10. Collection Management
      • 14.11. MongoDB Database Backup and Recovery
        • 14.11.1. Database Backup
        • 14.11.2. Data Recovery
      • Control Questions
    • Topic 15. MongoDB Compass Graphical Client
      • 15.1. General Information about Compass
      • 15.2. Connecting Compass to the Server
      • 15.3. Creating Databases and Collections
      • 15.4. Adding Documents
        • 15.4.1. Importing a File
        • 15.4.2. Interactively Adding a Document
        • 15.4.3. Cloning Documents
      • 15.5. Viewing Data (Documents)
      • 15.6. Editing Documents
      • 15.7. Deleting Documents
      • 15.8. Deleting a Collection and Database
      • 15.9. Mongosh Console Client
      • Control Questions
  • Subject Index
  • References

Bezpłatny dostęp do publikacji

Książka jest dostępna publicznie. Plik można otworzyć w przeglądarce lub zapisać na dysku.

Otwórz książkę

Książka jest wydana w ramach serii wydawniczej: Nauka i Społeczeństwo.

Publikacje w serii

  • M. Borkowski (red.), Migracje, prawo, społeczeństwo i zdrowie – współczesne wyzwania w ujęciu interdyscyplinarnym, Gdańsk 2024, Wydawnictwo GSW, ISBN 978-83-66270-38-1, dost. publ., nr w serii 6 [Zobacz książkę]
  • M. Borkowski, O. Moroz, M. Paslavskyi (red.), Sustainable development – state and prospects (SDEV’2022), Gdańsk 2023, Wydawnictwo GSW, ISBN 978-83-66270-30-5, dost. publ., nr w serii 5 [Zobacz książkę]
  • Y. Sokolovskyi, M. Dendiuk, I. Kroshnyi i in., Organizatsiya baz danykh, Gdańsk 2023, Wydawnictwo GSW, ISBN 978-83-66270-29-9, dost. publ., nr w serii 4 [Jesteś tutaj]
  • M. Ruda, T. Boyko, M. Paslavskyi i in., Metody i modeli pryynyattya upravlinskykh rishen, Gdańsk 2022, Wydawnictwo GSW, ISBN 978-83-66270-26-8, dost. publ., nr w serii 3 [Zobacz książkę]

Inne publikacje autorów i współtwórców

Przewijanie do góry