SlideShare a Scribd company logo
RELATIONAL DB AND MYSQL INSIGHT
Outline

Relational
DB

Database
requirement

MySQL

We have features for every step of the way
Relational database
management system

1. Purpose
2. Normalization
History
● Wikipedia : A relational database management system (RDBMS) is a
database management system (DDMS) that is based on the relational
model as introduced by E. F. Codd, of IBM's San Jose Research
Laboratory. Many popular databases currently in use are based on the
relational database model.
● Relational database theory uses mathematical terminology, which
are roughly equivalent to that of Normalization:
RDBMS ~ NORMALIZATION
NORMALIZATION

• Normalization was first proposed by Codd as
an integral part of the relational model.
• It encompasses a set of procedures designed
to eliminate nonsimple domains (non-atomic
values) and the redundancy (duplication) of
data, which in turn prevents data
manipulation anomalies and loss of data
integrity.
NORMALIZATION PROCESS
Normal Form
Database Requirement

Stylize, edit, and animate your media
Requirement?

• Much depends on the application  However
we can think of something like
– In application level:
• Speed (performance)
• Availability
• Scalability

– In transaction level:
• ACID (atomicity, consistency, isolation, durability)

– Something else?:
• Compression , etc ….
Just clarify the ACID
• Atomicity:
– All or nothing
– One part of the transaction fails (for failures, errors,
crashes), the entire transaction fails

• Consistency:
– Bring database from a valid state to another

• Isolation:
– The effect of an incomplete transaction might be or might
not be visible to another

• Durability:
– The effect of a completed transaction must be stored
permanently.
MYSQL

View your slides from anywhere!
Logical architecture
How does MySQL handle queries?
• Concurrency control
– Locking (READ, WRITE)
– Table lock and row lock

• Concurrency control
– Locking (READ, WRITE)
– Table lock and row lock

• Transaction
– Isolation level (remember ACID?)
Performance
• Depends on:
– Table design
• Schema
• Index

– Query
• Some query beats all index
• Query covered index

– Storage engine
• Sometimes affect performance
much more than hard ware
– Locking strategy
– Etc, …

– Hardware
• RAM (should be enough to store
index)
• Hardrive, etc…
Availability
GLHF

More Related Content

What's hot

NoSQL Databases
NoSQL DatabasesNoSQL Databases
NoSQL Databases
Ashish Karki
 
Why MySQL
Why MySQLWhy MySQL
Why MySQL
Jaime Crespo
 
«NoSQL Databases and Polyglot Persistence»
«NoSQL Databases and Polyglot Persistence»«NoSQL Databases and Polyglot Persistence»
«NoSQL Databases and Polyglot Persistence»
Olga Lavrentieva
 
Иван Глушков (Echo)
Иван Глушков (Echo)Иван Глушков (Echo)
Иван Глушков (Echo)Ontico
 
Couchbase
CouchbaseCouchbase
Couchbase
Arpit Aggarwal
 
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
Binary Studio
 
Php connectivitywithmysql
Php connectivitywithmysqlPhp connectivitywithmysql
Php connectivitywithmysql
Bhumivaghasiya
 
How to choose the right web hosting for your business
How to choose the right web hosting for your business How to choose the right web hosting for your business
How to choose the right web hosting for your business
Pickaweb
 
An introduction to MySQL
An introduction to MySQLAn introduction to MySQL
An introduction to MySQL
Creditas
 
MySQL 101
MySQL 101MySQL 101
MySQL 101
Jason Nguyen
 
Architecture Of Large Scale Websites
Architecture Of Large Scale WebsitesArchitecture Of Large Scale Websites
Architecture Of Large Scale Websites
Feng Yu
 
Module Web Applications - Pierre Dubois, Chief Executive and President, Requea
Module Web Applications - Pierre Dubois, Chief Executive and President, RequeaModule Web Applications - Pierre Dubois, Chief Executive and President, Requea
Module Web Applications - Pierre Dubois, Chief Executive and President, Requea
mfrancis
 
Decoupled (Headless) Drupal
Decoupled (Headless) DrupalDecoupled (Headless) Drupal
Decoupled (Headless) Drupal
Daniel Stout
 
JCR Content Management
JCR Content ManagementJCR Content Management
JCR Content Managementelliando dias
 
Redis : Database, cache, pub/sub and more at Jelly button games
Redis : Database, cache, pub/sub and more at Jelly button gamesRedis : Database, cache, pub/sub and more at Jelly button games
Redis : Database, cache, pub/sub and more at Jelly button games
Redis Labs
 
Sql no sql comparision
Sql no sql comparisionSql no sql comparision
Sql no sql comparision
zwak1234
 
NoSQL Database in .NET Apps
NoSQL Database in .NET AppsNoSQL Database in .NET Apps
NoSQL Database in .NET AppsShiju Varghese
 
Database overview
Database  overviewDatabase  overview
Database overview
Kiki Noviandi
 

What's hot (20)

NoSQL Databases
NoSQL DatabasesNoSQL Databases
NoSQL Databases
 
Why MySQL
Why MySQLWhy MySQL
Why MySQL
 
«NoSQL Databases and Polyglot Persistence»
«NoSQL Databases and Polyglot Persistence»«NoSQL Databases and Polyglot Persistence»
«NoSQL Databases and Polyglot Persistence»
 
Иван Глушков (Echo)
Иван Глушков (Echo)Иван Глушков (Echo)
Иван Глушков (Echo)
 
Couchbase
CouchbaseCouchbase
Couchbase
 
SQL vs NoSQL
SQL vs NoSQLSQL vs NoSQL
SQL vs NoSQL
 
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
 
Php connectivitywithmysql
Php connectivitywithmysqlPhp connectivitywithmysql
Php connectivitywithmysql
 
How to choose the right web hosting for your business
How to choose the right web hosting for your business How to choose the right web hosting for your business
How to choose the right web hosting for your business
 
An introduction to MySQL
An introduction to MySQLAn introduction to MySQL
An introduction to MySQL
 
MySQL 101
MySQL 101MySQL 101
MySQL 101
 
Architecture Of Large Scale Websites
Architecture Of Large Scale WebsitesArchitecture Of Large Scale Websites
Architecture Of Large Scale Websites
 
Module Web Applications - Pierre Dubois, Chief Executive and President, Requea
Module Web Applications - Pierre Dubois, Chief Executive and President, RequeaModule Web Applications - Pierre Dubois, Chief Executive and President, Requea
Module Web Applications - Pierre Dubois, Chief Executive and President, Requea
 
Decoupled (Headless) Drupal
Decoupled (Headless) DrupalDecoupled (Headless) Drupal
Decoupled (Headless) Drupal
 
Google web toolkit gwt training
Google web toolkit gwt trainingGoogle web toolkit gwt training
Google web toolkit gwt training
 
JCR Content Management
JCR Content ManagementJCR Content Management
JCR Content Management
 
Redis : Database, cache, pub/sub and more at Jelly button games
Redis : Database, cache, pub/sub and more at Jelly button gamesRedis : Database, cache, pub/sub and more at Jelly button games
Redis : Database, cache, pub/sub and more at Jelly button games
 
Sql no sql comparision
Sql no sql comparisionSql no sql comparision
Sql no sql comparision
 
NoSQL Database in .NET Apps
NoSQL Database in .NET AppsNoSQL Database in .NET Apps
NoSQL Database in .NET Apps
 
Database overview
Database  overviewDatabase  overview
Database overview
 

Viewers also liked

Codes and Conventions of Social Realism Films
Codes and Conventions of Social Realism FilmsCodes and Conventions of Social Realism Films
Codes and Conventions of Social Realism FilmsRichardMichaelJones
 
Que son lectores rss
Que son lectores rssQue son lectores rss
Que son lectores rss
Milton Moreno
 
Words to peace
Words to peaceWords to peace
Words to peace
UNYouthBanatBranch
 
Present delegate-state
Present delegate-statePresent delegate-state
Present delegate-statementallog
 
Citizenship award stage 2
Citizenship award stage 2Citizenship award stage 2
Citizenship award stage 2
Caleb Tan
 
Taller 3 powert point sebastian david lópez gonzalez
Taller 3 powert point sebastian david lópez gonzalezTaller 3 powert point sebastian david lópez gonzalez
Taller 3 powert point sebastian david lópez gonzalez
Sebastian Lopez
 
Tableau Admin Profile
Tableau Admin ProfileTableau Admin Profile
Tableau Admin ProfileWasim Mirza
 
Mayor Gregor Robertson - Presentation on Inclusive Economic Development in Va...
Mayor Gregor Robertson - Presentation on Inclusive Economic Development in Va...Mayor Gregor Robertson - Presentation on Inclusive Economic Development in Va...
Mayor Gregor Robertson - Presentation on Inclusive Economic Development in Va...
City of Vancouver
 
MANAGEMENT 3.0 - change and innovation practices
MANAGEMENT 3.0 - change and innovation practicesMANAGEMENT 3.0 - change and innovation practices
MANAGEMENT 3.0 - change and innovation practices
Ratekoulutus
 
secure multi-owner data sharing for dynamic groups
secure multi-owner data sharing for dynamic groupssecure multi-owner data sharing for dynamic groups
secure multi-owner data sharing for dynamic groupsSuchithra Balan
 
Suspension and Chassis_Glossary
Suspension and Chassis_GlossarySuspension and Chassis_Glossary
Suspension and Chassis_Glossary
William Harbin
 
Hive acid and_2.x new_features
Hive acid and_2.x new_featuresHive acid and_2.x new_features
Hive acid and_2.x new_features
Alberto Romero
 
Adding ACID Transactions, Inserts, Updates, and Deletes in Apache Hive
Adding ACID Transactions, Inserts, Updates, and Deletes in Apache HiveAdding ACID Transactions, Inserts, Updates, and Deletes in Apache Hive
Adding ACID Transactions, Inserts, Updates, and Deletes in Apache HiveDataWorks Summit
 
Quark Virtualization Engine for Analytics
Quark Virtualization Engine for Analytics Quark Virtualization Engine for Analytics
Quark Virtualization Engine for Analytics
DataWorks Summit/Hadoop Summit
 
Hive acid-updates-strata-sjc-feb-2015
Hive acid-updates-strata-sjc-feb-2015Hive acid-updates-strata-sjc-feb-2015
Hive acid-updates-strata-sjc-feb-2015
alanfgates
 
The Evolution of Big Data Pipelines at Intuit
The Evolution of Big Data Pipelines at Intuit The Evolution of Big Data Pipelines at Intuit
The Evolution of Big Data Pipelines at Intuit
DataWorks Summit/Hadoop Summit
 
Sparksee overview
Sparksee overviewSparksee overview
Sparksee overview
Sparsity Technologies
 

Viewers also liked (20)

Codes and Conventions of Social Realism Films
Codes and Conventions of Social Realism FilmsCodes and Conventions of Social Realism Films
Codes and Conventions of Social Realism Films
 
Que son lectores rss
Que son lectores rssQue son lectores rss
Que son lectores rss
 
Words to peace
Words to peaceWords to peace
Words to peace
 
Present delegate-state
Present delegate-statePresent delegate-state
Present delegate-state
 
Citizenship award stage 2
Citizenship award stage 2Citizenship award stage 2
Citizenship award stage 2
 
Taller 3 powert point sebastian david lópez gonzalez
Taller 3 powert point sebastian david lópez gonzalezTaller 3 powert point sebastian david lópez gonzalez
Taller 3 powert point sebastian david lópez gonzalez
 
India against spam
India against spamIndia against spam
India against spam
 
Tableau Admin Profile
Tableau Admin ProfileTableau Admin Profile
Tableau Admin Profile
 
Mayor Gregor Robertson - Presentation on Inclusive Economic Development in Va...
Mayor Gregor Robertson - Presentation on Inclusive Economic Development in Va...Mayor Gregor Robertson - Presentation on Inclusive Economic Development in Va...
Mayor Gregor Robertson - Presentation on Inclusive Economic Development in Va...
 
Game engine
Game engineGame engine
Game engine
 
Anatomia, Histologia y Fisiologia Pancreatica
Anatomia, Histologia y Fisiologia PancreaticaAnatomia, Histologia y Fisiologia Pancreatica
Anatomia, Histologia y Fisiologia Pancreatica
 
MANAGEMENT 3.0 - change and innovation practices
MANAGEMENT 3.0 - change and innovation practicesMANAGEMENT 3.0 - change and innovation practices
MANAGEMENT 3.0 - change and innovation practices
 
secure multi-owner data sharing for dynamic groups
secure multi-owner data sharing for dynamic groupssecure multi-owner data sharing for dynamic groups
secure multi-owner data sharing for dynamic groups
 
Suspension and Chassis_Glossary
Suspension and Chassis_GlossarySuspension and Chassis_Glossary
Suspension and Chassis_Glossary
 
Hive acid and_2.x new_features
Hive acid and_2.x new_featuresHive acid and_2.x new_features
Hive acid and_2.x new_features
 
Adding ACID Transactions, Inserts, Updates, and Deletes in Apache Hive
Adding ACID Transactions, Inserts, Updates, and Deletes in Apache HiveAdding ACID Transactions, Inserts, Updates, and Deletes in Apache Hive
Adding ACID Transactions, Inserts, Updates, and Deletes in Apache Hive
 
Quark Virtualization Engine for Analytics
Quark Virtualization Engine for Analytics Quark Virtualization Engine for Analytics
Quark Virtualization Engine for Analytics
 
Hive acid-updates-strata-sjc-feb-2015
Hive acid-updates-strata-sjc-feb-2015Hive acid-updates-strata-sjc-feb-2015
Hive acid-updates-strata-sjc-feb-2015
 
The Evolution of Big Data Pipelines at Intuit
The Evolution of Big Data Pipelines at Intuit The Evolution of Big Data Pipelines at Intuit
The Evolution of Big Data Pipelines at Intuit
 
Sparksee overview
Sparksee overviewSparksee overview
Sparksee overview
 

Similar to Relational Database and mysql insight

Introduction to asdfghjkln b vfgh n v
Introduction to asdfghjkln b vfgh n    vIntroduction to asdfghjkln b vfgh n    v
Introduction to asdfghjkln b vfgh n v
23mz02
 
NoSQL for great good [hanoi.rb talk]
NoSQL for great good [hanoi.rb talk]NoSQL for great good [hanoi.rb talk]
NoSQL for great good [hanoi.rb talk]
Huy Do
 
Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]shuwutong
 
Oracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data ArchitectureOracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data Architecture
Arthur Gimpel
 
Sql vs NoSQL
Sql vs NoSQLSql vs NoSQL
Sql vs NoSQL
RTigger
 
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA -   UKOUGEmbracing Database Diversity: The New Oracle / MySQL DBA -   UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
Keith Hollman
 
Intro to Big Data and NoSQL
Intro to Big Data and NoSQLIntro to Big Data and NoSQL
Intro to Big Data and NoSQLDon Demcsak
 
Handling Massive Writes
Handling Massive WritesHandling Massive Writes
Handling Massive WritesLiran Zelkha
 
Migración desde BBDD propietarias a MariaDB
Migración desde BBDD propietarias a MariaDBMigración desde BBDD propietarias a MariaDB
Migración desde BBDD propietarias a MariaDB
MariaDB plc
 
Challenges of Implementing an Advanced SQL Engine on Hadoop
Challenges of Implementing an Advanced SQL Engine on HadoopChallenges of Implementing an Advanced SQL Engine on Hadoop
Challenges of Implementing an Advanced SQL Engine on HadoopDataWorks Summit
 
Data Handning with Sqlite for Android
Data Handning with Sqlite for AndroidData Handning with Sqlite for Android
Data Handning with Sqlite for AndroidJakir Hossain
 
Nosql data models
Nosql data modelsNosql data models
Nosql data models
Viet-Trung TRAN
 
Database Technologies
Database TechnologiesDatabase Technologies
Database Technologies
Michel de Goede
 
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...Qian Lin
 
NoSQL and NewSQL: Tradeoffs between Scalable Performance & Consistency
NoSQL and NewSQL: Tradeoffs between Scalable Performance & ConsistencyNoSQL and NewSQL: Tradeoffs between Scalable Performance & Consistency
NoSQL and NewSQL: Tradeoffs between Scalable Performance & Consistency
ScyllaDB
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabasesAdi Challa
 
NoSQL-Database-Concepts
NoSQL-Database-ConceptsNoSQL-Database-Concepts
NoSQL-Database-ConceptsBhaskar Gunda
 
Mongo db model relationships with documents
Mongo db model relationships with documentsMongo db model relationships with documents
Mongo db model relationships with documents
Dr. Awase Khirni Syed
 

Similar to Relational Database and mysql insight (20)

Introduction to asdfghjkln b vfgh n v
Introduction to asdfghjkln b vfgh n    vIntroduction to asdfghjkln b vfgh n    v
Introduction to asdfghjkln b vfgh n v
 
NoSQL for great good [hanoi.rb talk]
NoSQL for great good [hanoi.rb talk]NoSQL for great good [hanoi.rb talk]
NoSQL for great good [hanoi.rb talk]
 
Revision
RevisionRevision
Revision
 
Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]
 
Oracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data ArchitectureOracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data Architecture
 
Sql vs NoSQL
Sql vs NoSQLSql vs NoSQL
Sql vs NoSQL
 
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA -   UKOUGEmbracing Database Diversity: The New Oracle / MySQL DBA -   UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
 
Data
DataData
Data
 
Intro to Big Data and NoSQL
Intro to Big Data and NoSQLIntro to Big Data and NoSQL
Intro to Big Data and NoSQL
 
Handling Massive Writes
Handling Massive WritesHandling Massive Writes
Handling Massive Writes
 
Migración desde BBDD propietarias a MariaDB
Migración desde BBDD propietarias a MariaDBMigración desde BBDD propietarias a MariaDB
Migración desde BBDD propietarias a MariaDB
 
Challenges of Implementing an Advanced SQL Engine on Hadoop
Challenges of Implementing an Advanced SQL Engine on HadoopChallenges of Implementing an Advanced SQL Engine on Hadoop
Challenges of Implementing an Advanced SQL Engine on Hadoop
 
Data Handning with Sqlite for Android
Data Handning with Sqlite for AndroidData Handning with Sqlite for Android
Data Handning with Sqlite for Android
 
Nosql data models
Nosql data modelsNosql data models
Nosql data models
 
Database Technologies
Database TechnologiesDatabase Technologies
Database Technologies
 
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
 
NoSQL and NewSQL: Tradeoffs between Scalable Performance & Consistency
NoSQL and NewSQL: Tradeoffs between Scalable Performance & ConsistencyNoSQL and NewSQL: Tradeoffs between Scalable Performance & Consistency
NoSQL and NewSQL: Tradeoffs between Scalable Performance & Consistency
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabases
 
NoSQL-Database-Concepts
NoSQL-Database-ConceptsNoSQL-Database-Concepts
NoSQL-Database-Concepts
 
Mongo db model relationships with documents
Mongo db model relationships with documentsMongo db model relationships with documents
Mongo db model relationships with documents
 

More from mentallog

Builder pattern
Builder pattern Builder pattern
Builder pattern
mentallog
 
Façade pattern
Façade patternFaçade pattern
Façade pattern
mentallog
 
Break out game
Break out gameBreak out game
Break out gamementallog
 
Composite pattern
Composite patternComposite pattern
Composite patternmentallog
 
Mentallog12 10
Mentallog12 10Mentallog12 10
Mentallog12 10mentallog
 
Agile software development
Agile software developmentAgile software development
Agile software development
mentallog
 
Introduction about GIT
Introduction about GITIntroduction about GIT
Introduction about GIT
mentallog
 

More from mentallog (7)

Builder pattern
Builder pattern Builder pattern
Builder pattern
 
Façade pattern
Façade patternFaçade pattern
Façade pattern
 
Break out game
Break out gameBreak out game
Break out game
 
Composite pattern
Composite patternComposite pattern
Composite pattern
 
Mentallog12 10
Mentallog12 10Mentallog12 10
Mentallog12 10
 
Agile software development
Agile software developmentAgile software development
Agile software development
 
Introduction about GIT
Introduction about GITIntroduction about GIT
Introduction about GIT
 

Recently uploaded

Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
Globus
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 

Recently uploaded (20)

Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 

Relational Database and mysql insight

  • 1. RELATIONAL DB AND MYSQL INSIGHT
  • 3. Relational database management system 1. Purpose 2. Normalization
  • 4. History ● Wikipedia : A relational database management system (RDBMS) is a database management system (DDMS) that is based on the relational model as introduced by E. F. Codd, of IBM's San Jose Research Laboratory. Many popular databases currently in use are based on the relational database model. ● Relational database theory uses mathematical terminology, which are roughly equivalent to that of Normalization: RDBMS ~ NORMALIZATION
  • 5. NORMALIZATION • Normalization was first proposed by Codd as an integral part of the relational model. • It encompasses a set of procedures designed to eliminate nonsimple domains (non-atomic values) and the redundancy (duplication) of data, which in turn prevents data manipulation anomalies and loss of data integrity.
  • 8. Database Requirement Stylize, edit, and animate your media
  • 9. Requirement? • Much depends on the application  However we can think of something like – In application level: • Speed (performance) • Availability • Scalability – In transaction level: • ACID (atomicity, consistency, isolation, durability) – Something else?: • Compression , etc ….
  • 10. Just clarify the ACID • Atomicity: – All or nothing – One part of the transaction fails (for failures, errors, crashes), the entire transaction fails • Consistency: – Bring database from a valid state to another • Isolation: – The effect of an incomplete transaction might be or might not be visible to another • Durability: – The effect of a completed transaction must be stored permanently.
  • 11. MYSQL View your slides from anywhere!
  • 13. How does MySQL handle queries? • Concurrency control – Locking (READ, WRITE) – Table lock and row lock • Concurrency control – Locking (READ, WRITE) – Table lock and row lock • Transaction – Isolation level (remember ACID?)
  • 14. Performance • Depends on: – Table design • Schema • Index – Query • Some query beats all index • Query covered index – Storage engine • Sometimes affect performance much more than hard ware – Locking strategy – Etc, … – Hardware • RAM (should be enough to store index) • Hardrive, etc…
  • 16.
  • 17.
  • 18. GLHF

Editor's Notes

  1. This presentation demonstrates the new capabilities of PowerPoint and it is best viewed in Slide Show. These slides are designed to give you great ideas for the presentations you’ll create in PowerPoint 2011!For more sample templates, click the File menu, and then click New From Template. Under Templates, click Presentations.