0% found this document useful (0 votes)
415 views2 pages

RDBMS Using MySQL Syllabus

This document outlines a course on RDBMS using MySQL. The course objectives are to establish an understanding of database analysis, design, development and administration using SQL. The course outcomes are to understand basic database concepts, design ER models, write queries, and understand MySQL concepts. The syllabus covers installing and configuring MySQL, basic and advanced queries, database maintenance, backup and recovery, replication, user management, and security. References include books on database systems concepts, fundamentals, and MySQL.

Uploaded by

Anshul Jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
415 views2 pages

RDBMS Using MySQL Syllabus

This document outlines a course on RDBMS using MySQL. The course objectives are to establish an understanding of database analysis, design, development and administration using SQL. The course outcomes are to understand basic database concepts, design ER models, write queries, and understand MySQL concepts. The syllabus covers installing and configuring MySQL, basic and advanced queries, database maintenance, backup and recovery, replication, user management, and security. References include books on database systems concepts, fundamentals, and MySQL.

Uploaded by

Anshul Jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
  • Unit - III
  • Unit - I
  • Unit - II
  • Course Objectives
  • Unit - V
  • Unit - IV

3BCA4 - RDBMS using MYSQL

L T P C Theory Internal Practical Total


Credits/Hours Marks
2/2 0 1/2 3/3 40 10 0 50

Course Objectives:
Establish a basic understanding of the analysis and design of a database.
Establish a basic understanding of the process of database development and
administration using SQL.
Enhance Programming and Software Engineering skills and techniques using SQL.
Establish a basic understanding of background materials needed for technical support
using SQL.
Course Outcomes:
Understand and describe the basic concepts and terminology of Database
Management System.
Understand and design simple ER model
Write query for simple problem.
Understand and Describe the Basic Concepts MySQL.

Unit-wise Syllabus
UNIT - I
Introduction to MySQL, Installing MySQL - MySQL Installation, windows installation,
Linux RPM Installation, Linux Binary Installation, Source Installation
Starting and stopping MySQL - four different methods to start MySQL in Linux, MySQL
stopping, Basic MySQL Queries, DML Queries, DDL Queries, TCL Queries, Types of Joins,
Unions
Various logs in MySQL and its uses- MySQL logs, error Log, Query Log, slow Query Log,
binlog and its format, relay log.

UNIT - II
MySQL client Programs - MySQL Server/Client Architecture, MySQL Client Programs,
MySQL Commands, MySQL Non-Client Programs, Upgrading MySQL, Why up-gradation?,
Checklist MySQL up-gradation
Mysqladmin commands- MySQL Admin Commands, Workbench MySQL
Locking in MySQL- Locking in MySQL, Internal Locking, Table level Locking, Row level
Locking, External Locking, Dead Lock.

UNIT - III
MySQL Table maintenance - Table Maintenance, Analyze Table, Backup Table, Check
Table, Checksum Table, Optimize Table, Repair Table, Restore Table, Moving Tablespace
Information schema and performance schema - MySQL Information schema, Tables in
Information schema, MySQL Performance schema
MSQL backup and Recovery- MySQL Backup, MySQL Backup Types, MySQL backup
factors, MySQL Backup Tools, MySQL Dump, MySQL Recovery, MySQL Recovery
Factors, Load data infile& select into outfile.

MCU BCASyllabus
Bachelor of Computer Applications (BCA)-2020 Page 49 C P Agrawal
UNIT IV
MySQL Replication and different Replication Architecture - MySQL Replication, MySQL
Replication Architecture, MySQL Replication Basics, MySQL Replication Types, Master-
Slave Replication Setup, Master-Slave Replication Filters, Master-Master Replication
MySQL user management and routines &triggers - user account management, user
privileges, administrative privileges, database access privileges, creating and rename user
account, drop user account, grant privileges, revoke privileges, routines and triggers.

UNIT - V
MySQL resource allocation - MySQL memory consumption, MySQL memory limitations,
Securing MySQL - Operating System security, file system security, log files & security,
network security, optimizing queries, identifying candidate, using explain, using show
warnings

References:
Abraham Silberschatz, Henry Korth, S. Sudarshan, Database Systems Concepts , 7th
Edition, McGraw Hill
R. Elmarsi and SB Navathe, Fundamentals of Database Systems , Pearson
Bipin Desai, An Introduction to database Systems , Galgotia Publications.
GauravVaish-Getting Started with NoSQL Paperback
Dan McCreary, Ann Kelly-Making Sense of NoSQL: A guide for managers and the
rest of us 1st Edition
Paul DuBois-MySQL (4th Edition) 4th Edition
VaswaniVikram-MySQL(TM): The Complete Reference - The Complete Reference
Paperback
Program Outcomes (POs)
COs 1 2 3 4 5 6 7 8 9 10 11 12
1 3 2 2 2 2 1 1 1 1 1 1
2 3 3 3 3 2 1 1 1 1
3 3 3 3 2 2 1 1 1 1 1
4 3 3 2 2 1 1 1 1 1

MCU BCASyllabus
Bachelor of Computer Applications (BCA)-2020 Page 50 C P Agrawal

Common questions

Powered by AI

The Bachelor of Computer Applications (BCA) program aims to enhance programming skills using SQL, equipping students with the knowledge to analyze and design databases effectively. This aligns with course outcomes by enabling students to understand basic database concepts and terminology, design and implement simple ER models, and write queries for problem-solving. The emphasis on SQL skills supports the broader educational goals of developing strong programming and software engineering capabilities, which are essential for managing and manipulating databases effectively .

MySQL table maintenance involves activities such as analyzing, backing up, checking, optimizing, repairing, and restoring tables. These actions are crucial for maintaining database integrity and performance. Analysis helps in understanding table statistics which can guide query optimization. Backup ensures data safety against loss. Checking tables detects and corrects problems that can affect data consistency. Optimization improves query performance by reorganizing table data. Repair fixes corruption in table structures. These maintenance activities collectively ensure that data remains accurate, consistent, and efficiently accessible .

There are several types of MySQL replication, primarily including Master-Slave and Master-Master replication. Master-Slave replication is used for creating read replicas for load balancing and backup purposes. One server acts as the master, allowing writes, while multiple slaves can replicate these changes, handling read requests. Master-Master replication involves bidirectional replication where each server can act both as a master and a slave. This setup is used for ensuring high availability and fault tolerance. These replication types enable distributed database architecture, enhancing data availability and redundancy .

MySQL Client Programs interact with the MySQL Server through the server/client architecture. They send commands to the server which processes these commands and returns results. Examples of MySQL Client Programs include 'mysql', the command-line client; 'mysqladmin', which performs administrative tasks; and 'mysqldump', used for backups. These programs enable users to manage databases, execute queries, and perform maintenance tasks efficiently, offering diverse functionalities tailored to specific tasks in database management .

Logs in MySQL play a vital role in monitoring and troubleshooting database operations. Various log types such as the Error Log, Query Log, Slow Query Log, and Binary Log serve specific purposes. The Error Log helps in diagnosing configuration or startup issues, the Query Log records all SQL queries received by the server, useful for tracking user activity, and the Slow Query Log is critical for identifying queries that could benefit from optimization. The Binary Log is essential for replication and data recovery, providing a record of all changes to the database. These logs collectively enable effective database monitoring, troubleshooting, and performance tuning .

Regular MySQL backups are crucial for ensuring data safety and enabling recovery in case of data loss or corruption. Factors to consider during the backup process include the type of backup (full, incremental, differential), the frequency of backups based on data change rates, the storage location for security and accessibility, and the tools or methods used (e.g., MySQL Dump). Additionally, the backup process should consider recovery objectives, ensuring the backups are tested for integrity and that recovery procedures are regularly practiced. These considerations ensure that data can be accurately restored with minimal downtime .

Starting and stopping MySQL on a Linux system can be accomplished using four different methods, which include using scripts in the '/etc/init.d/' directory, utilizing the 'service' command, employing 'systemctl' for systems that use systemd, and finally, running the mysqld_safe script manually. Understanding these methods is crucial for database administrators to ensure that the database server is properly started and stopped, maintaining data integrity and availability. Additionally, different methods may be required based on system configurations and specific administrative needs .

The 'Information Schema' in MySQL serves as a repository for metadata related to database objects such as tables, columns, indexes, and users, presenting it through tables that users can query. This assists in understanding database structure and monitoring its components. The 'Performance Schema', on the other hand, provides insights into the runtime performance characteristics of the MySQL server, tracking internal execution events and offering metrics for analysis. Together, they contribute to effective database management by enabling administrators to gather critical structural metadata and performance data for optimization and troubleshooting .

User management in MySQL plays a critical role in ensuring secure database access by controlling who can access and perform operations within the database environment. This is achieved by creating user accounts and configuring privileges. Privileges can be assigned at different levels, such as global, database, table, and column levels, thus allowing precise control over user actions. Administrative privileges allow for database management tasks, while database access and object privileges control access to specific operations like SELECT, INSERT, or DELETE. Properly configuring these privileges minimizes the risk of data breaches by ensuring users only have the necessary access permissions .

Securing MySQL databases is paramount due to the sensitive nature of the data. Strategies for enhancing security involve both operating system and network security measures. Operating system security can be achieved by ensuring only authorized individuals have access to the server, proper file permissions are set, and regular updates and patches are applied. Network security involves encrypting data transmitted over networks, using secure connections (SSL/TLS), and configuring firewalls to limit access to specific IP addresses. These security strategies prevent unauthorized access and protect data integrity and confidentiality .

MCU BCASyllabus 
Bachelor of Computer Applications (BCA)-2020           Page 49                      C P Agrawal  
3BCA4 -
MCU BCASyllabus 
Bachelor of Computer Applications (BCA)-2020           Page 50                      C P Agrawal  
 
 
UNIT

You might also like