Skip to main content

Introduction to Database & Database Administrator roles

Database:

A database is an organized collection of data, generally stored and accessed electronically from a computer system. 
Where databases are more complex they are often developed using formal design and modeling techniques.

The database management system (DBMS) is the software that interacts with end users, applications, 
and the database itself to capture and analyze the data. The DBMS software additionally encompasses 
the core facilities provided to administer the database. The sum total of the database, the DBMS and 
the associated applications can be referred to as a "database system". Often the term "database" 
is also used to loosely refer to any of the DBMS, the database system or an application associated with the database.

Database Admin:

 A database administrator (DBA) is a specialized computer systems administrator who maintains a successful database environment
by directing or performing all related activities to keep the data secure. The top responsibility of a DBA professional is to maintain data integrity.
This means the DBA will ensure that data is secure from unauthorized access but is available to users.

A database administrator will often have a working knowledge and experience with a wide range of database management products such as MySQL,MongoDB,PpostgreSQl and SQL Server.

Responsibilities Of Database Administrator

Starting, Stopping and Configuring MySQL
Security-Related Configuration
MySQL Database Creation
Using Client Programs for MySQL DBA Work
Setting up Character Set Support
Locking
Using Storage Engines, including the MyISAM and InnoDB engines
Table Maintenance
Obtaining Data from the Information_Schema Database
Backup and Recovery, including Exporting (mysqldump) and Importing (mysqlimport
Using Stored Procedures and Triggers for Database Administration Tasks
User Management
Securing the Server
Upgrade-Related Security Issues
Optimizing Queries
Optimizing Schemas
Optimizing the Server
The Event Scheduler
Partitioned Tables
Interpreting Error Messages
Optimizing the MySQL Environment
Scaling MySQL, including Replication

Comments

Popular posts from this blog

Mongodb online Training course Agenda

  Goal:   In this module, you will get an understanding of NoSQL databases, design goals, requirement of NoSQL database/ MongoDB, MongoDB® architecture and introduction to JSON and BSON among others. This module will also cover the installation of MongoDB® and associated tools. Skills Understand NoSQL databases and  advantages Install MongoDB on Windows and Linux platform Security Enable and high availability Objectives After completing this module, you will  be able knowledge ed on SQL and noSQL Database usages and difference between these MongoDB design and architecture  MongoDB GUI tools Describe JSON and BSON Install MongoDB on Windows, Linux, MAC OS etc.  Setup MongoDB environment Topics • Understanding the basic concepts of a Database • Database categories: What is NoSQL? Why NoSQL? Benefit over RDBMS  • Types of NoSQL Database, and NoSQL vs. SQL Comparison, ACID & Base Property • CAP Theorem, implementing NoSQL and what is MongoDB?  • O...

MySQL thread error code of 1032- Translate binlog completely to avoid error

Could not execute Update_rows event on table db.table; Can't find record in 'table', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's   master log mysql-bin.262297, end_log_pos 1983208 As of my knowledge the causing stop of slave SQL thread error code of 1032, due to lack of sync between Master - Slave. In our case, slave got an Update event form master, but that particular record was not available in the slave. (Of course, that was deleted on Master n Slave separately) You would get this error only if the binlog_format is set to ROW_BASED or MIXED mode. So, now check that particular binlog at that position where replication stopped with this error. When you convert the binlog with mysqlbinlog command, you may see some junk characters   where you were expecting some DMLs which caused the error(In our case its an Update statement). So you can use below command to translate binlog completely: mysqlbinlog --base64-output=DECO...

Linux Commands With Examples for Database Admins

Frequently Used Linux Commands With Examples 1. tar command examples Create a new tar archive. $ tar cvf archive_name.tar dirname/ Extract from an existing tar archive. $ tar xvf archive_name.tar View an existing tar archive. $ tar tvf archive_name.tar More tar examples: The Ultimate Tar Command Tutorial with 10 Practical Examples 2. grep command examples Search for a given string in a file (case in-sensitive search).  $ grep -i "the" demo_file Print the matched line, along with the 3 lines after it. $ grep -A 3 -i "example" demo_text Search for a given string in all files recursively $ grep -r "ramesh" * More grep examples: Get a Grip on the Grep! – 15 Practical Grep Command Examples 3. find command examples Find files using file-name ( case in-sensitve find) # find -iname "MyCProgram.c" Execute commands on files found by the find command $ find -iname "MyCProgram.c" -exec md5sum {} \; Find all empty...