SlideShare une entreprise Scribd logo
1  sur  6
Télécharger pour lire hors ligne
Why NOSQL? Ok. But, Why So
many?
December 23rd, 2013
Why NOSQL? Ok. But, Why So many?
www.aditi.com
TABLE OF CONTENTS
1. INTRODUCTION ........................................................................................... 3
2. WHY NOSQL?............................................................................................ 3
3. WHY SO MANY? .......................................................................................... 3
4. TYPES OF NOSQL DATABASES ........................................................................ 5
5. KEY ASPECTS .............................................................................................. 5
6. NEWSQL ................................................................................................... 6
7. CONCLUSION .............................................................................................. 6
Why NOSQL? Ok. But, Why So many?
www.aditi.com
1.INTRODUCTION
NOSQL: Not Only SQL, term generally referred to non SQL centric relational data stores
2.WHY NOSQL?
Necessity is the mother of all inventions. A look at what prompted the creation of NOSQL databases.
1. Exorbitant growth of data:
a. Large datasets become onerous when stored in relational databases
b. Query execution time increases creating performance bottlenecks
2. Data model/structure mismatch: Storing hierarchical/graph/relationship data as rows and columns is
highly inefficient, and so is Storing serialized objects
3. Introduction of Distributed Caching infrastructure on top of relational data storage for performance and
its related consistency problems
4. Heavy usage of blob storage beats the purpose
5. Massive Scale out
6. High Availability: always be able to write with a massive write performance, small continuous volatile
reads and write
7. Need for Faster key value access
8. Difficulty in handling volatility in schema and data types some relating to change in business and some
due to data acquisition
9. Complexity in Partitioning/Sharding: Done mostly for manageability, performance or availability
10. Performance in large databases
11. Too Generic, Need for specialist databases
12. Cost based optimization though simplified it for the naïve developers, it is unpredictible more so when
there is high resource queries being executed concurrently.
13. Resource contention, Resource concurrency, blocking queries, index updates, concurrent disk issues such
as log back ups, check pointing,
Is NOSQL the answer to everything stated above? NO, but certainly helps in resolving a few
What NOSQL promises in short is high performance and flexibility with high availability and scalability
3.WHY SO MANY?
What NOSQL databases doesn’t promise is ACID. NOSQL database implementations vary in confirming to various
consistency semantics, most tend to confirm BASE. Let’s look at what they are
ACID
“Atomic: All operations in a transaction succeed or every operation is rolled back.
Consistent: On transaction completion, the database is structurally sound.
Why NOSQL? Ok. But, Why So many?
www.aditi.com
Isolated: Transactions do not contend with one another. Contentious access to state is moderated by the database
so that transactions appear to run sequentially.
Durable: The results of applying a transaction are permanent, even in the presence of failures - Wikipedia”
BASE
“Basic availability: The store appears to work most of the time.
Soft-state: Stores don’t have to be write-consistent, nor do different replicas have to be mutually consistent all the
time.
Eventual consistency: Stores exhibit consistency at some later point (e.g., lazily at read time) – O’Rielly ”
It is important to note that not all NOSQL databases confirm to eventual consistency
Apart from the need for Specialist databases supporting specialised data structures, let’s look at the CAP Theorem
“The CAP theorem, also known as Brewer's theorem, states that it is impossible for a distributed computer system
to simultaneously provide all three of the following guarantees
Consistency (all nodes see the same data at the same time)
Availability (a guarantee that every request receives a response about whether it was successful or failed)
Partition tolerance (the system continues to operate despite arbitrary message loss or failure of part of the system)
According to the theorem, a distributed system cannot satisfy all three of these guarantees at the same time”
- Wikipedia
With drastically different business dynamics, and priorities amongst enterprises, NOSQL databases tend to pick
two of the above mentioned characteristics.
Given the need for flexibility in data structure, there are a multitude of NOSQL databases being introduced, see
figure below
Data Reference: http://nosql-database.org/
Why NOSQL? Ok. But, Why So many?
www.aditi.com
4.TYPES OF NOSQL DATABASES
1. Wide Column Store (Column Families): The data model stores columns of data together, instead of rows
optimized for queries over large datasets
2. Document Store: Pair each key with a complex data structure known as a document. Documents can
contain many different key-value pairs, or key-array pairs, or even nested documents
3. Key Value/Tuple Store: Every single item in the database is stored as an attribute name (or "key"),
together with its value
4. Graph Databases: Graph is a set of nodes and the relationships that connect them. Some graph databases
use native graph, while some serialize the graph data and store in to relational, object or other data store
5. Multi Model Databses: Serve multiple data models
6. Object Databases: Data is persisted in the form of objects
7. Grid and Cloud Database Solutions: Data persisted across multiple servers that work together to manage
information and related operations
8. XML Databases: Data persisted in XML format
9. MultiDimensional Databases: type of database that is optimized for data warehouse and online analytical
processing (OLAP) applications
10. Multi Value databases: Data is persisted as keys and multiple values , they have features that support and
encourage the use of attributes which can take a list of values, rather than all attributes being single-
valued
11. Event Sourcing: Persist application's state by storing the history that determines the current state of the
application
5.KEY ASPECTS
1. NOSQL is not an all in solution, certain scenario mentioned above naturally fits the NOSQL semantics.
NOSQL is certainly not a replcement for relational stores
2. Consider NOSQL for Real time analytics on operational data
3. Consider NOSQL when there are many systems including streaming data
4. NoSQL databases provide a linear approach to database scaling, making scaling easier and intuitive
5. All NOSQL databases are developed to be distributed, scalable databases
6. Data duplication and denormalization are a norm
7. Consider NOSQL for hierarchical, Content Caching, distributed file systems, Social Networking,
recommendation engine and graph like data
8. NOSQL databases can support unstructured and unpredictable data
9. NOSQL databases use a cluster of servers to store data. Data and the operations are usually spread across
clusters
10. Consider NOSQL databases which provide Integrated Caching
11. NOSQL is developed for continous availability
12. Certain NOSQL implementations provide configurable consistency models (strong vs eventual), but this
will have performance implications
13. Only a few NOSQL databases support ACID
14. Only a few NOSQL databases support transactions
Why NOSQL? Ok. But, Why So many?
www.aditi.com
15. Consider NOSQL databases when you have large amounts of data, large enough to not fit in one physical
server
16. Consider NOSQL database when you have a object-relational impedence mismatch
17. NOSQL databases trade off consistency for efficiency
18. Consider NOSQL databases when you need schema flexibility
19. Consider NOSQL database if you are looking for massive write performance
20. Consider NOSQL database if you are looking for fast key value access
21. NOSQL provides horizontal scaling
6.NEWSQL
“NewSQL is a class of modern relational database management systems that seek to provide the same scalable
performance of NoSQL systems for online transaction processing (read-write) workloads while still maintaining the
ACID guarantees of a traditional database system – Wikipedia”
As we have seen above NOSQL databases have been developed to serve different purposes, with one of the main
advantages being scale out. NewSQL is an attempt to provide all the benefits of NOSQL while continuing to support
ACID.
Google Spanner is one of the main contenders with a semi-relational data model, while NuoDB achieves it by split-
ting the transactional (in-memory) and the storage tier accompanied by peer-to-peer coordination.
http://static.googleusercontent.com/media/research.google.com/en//archive/spanner-osdi2012.pdf
http://www.nuodb.com/explore/newsql-cloud-database-how-it-works/
7.CONCLUSION
Be it mergers and acquisitions, or change in business dynamics, or the agility in development large enterprises are
bound to have hybrid solutions. Having multiple RDBMS’s, data warehouses, data marts in one environment is not
unseen or unheard off. It is more than likely for enterprises to add NOSQL/NewSQL databases in to the mix. Be on
the lookout for true shared-nothing distributed architectures!
Prashanth B Panduranga (Shan)
Director-Technology | 725-976-7006 | pandurangap@aditi.com
Connect with us: Blog | Twitter | LinkedIn | Facebook

Contenu connexe

Tendances

Experimental evaluation of no sql databases
Experimental evaluation of no sql databasesExperimental evaluation of no sql databases
Experimental evaluation of no sql databasesijdms
 
Data warehouse 2.0 and sql server architecture and vision
Data warehouse 2.0 and sql server architecture and visionData warehouse 2.0 and sql server architecture and vision
Data warehouse 2.0 and sql server architecture and visionKlaudiia Jacome
 
SQL Server 2019 Data Virtualization
SQL Server 2019 Data VirtualizationSQL Server 2019 Data Virtualization
SQL Server 2019 Data VirtualizationMatthew W. Bowers
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLRamakant Soni
 
MySQL 8.0 Features -- Oracle CodeOne 2019, All Things Open 2019
MySQL 8.0 Features -- Oracle CodeOne 2019, All Things Open 2019MySQL 8.0 Features -- Oracle CodeOne 2019, All Things Open 2019
MySQL 8.0 Features -- Oracle CodeOne 2019, All Things Open 2019Dave Stokes
 
ActiveSTAK cloud storage
ActiveSTAK cloud storageActiveSTAK cloud storage
ActiveSTAK cloud storageZunaid Khan
 
NoSQL Data Architecture Patterns
NoSQL Data ArchitecturePatternsNoSQL Data ArchitecturePatterns
NoSQL Data Architecture PatternsMaynooth University
 
Chapter1: NoSQL: It’s about making intelligent choices
Chapter1: NoSQL: It’s about making intelligent choicesChapter1: NoSQL: It’s about making intelligent choices
Chapter1: NoSQL: It’s about making intelligent choicesMaynooth University
 
SQL vs NoSQL: Big Data Adoption & Success in the Enterprise
SQL vs NoSQL: Big Data Adoption & Success in the EnterpriseSQL vs NoSQL: Big Data Adoption & Success in the Enterprise
SQL vs NoSQL: Big Data Adoption & Success in the EnterpriseAnita Luthra
 
Brief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas moslehBrief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas moslehFas (Feisal) Mosleh
 
Advanced SQL Server Performance Tuning | IDERA
Advanced SQL Server Performance Tuning | IDERAAdvanced SQL Server Performance Tuning | IDERA
Advanced SQL Server Performance Tuning | IDERAIDERA Software
 
MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0Ted Wennmark
 
Better Data Persistence on Android
Better Data Persistence on AndroidBetter Data Persistence on Android
Better Data Persistence on AndroidEric Maxwell
 
An Introduction to Cassandra - Oracle User Group
An Introduction to Cassandra - Oracle User GroupAn Introduction to Cassandra - Oracle User Group
An Introduction to Cassandra - Oracle User GroupCarlos Juzarte Rolo
 

Tendances (20)

Experimental evaluation of no sql databases
Experimental evaluation of no sql databasesExperimental evaluation of no sql databases
Experimental evaluation of no sql databases
 
Data warehouse 2.0 and sql server architecture and vision
Data warehouse 2.0 and sql server architecture and visionData warehouse 2.0 and sql server architecture and vision
Data warehouse 2.0 and sql server architecture and vision
 
No sql databases
No sql databasesNo sql databases
No sql databases
 
SQL Server 2019 Data Virtualization
SQL Server 2019 Data VirtualizationSQL Server 2019 Data Virtualization
SQL Server 2019 Data Virtualization
 
NOSQL vs SQL
NOSQL vs SQLNOSQL vs SQL
NOSQL vs SQL
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQL
 
MySQL 8.0 Features -- Oracle CodeOne 2019, All Things Open 2019
MySQL 8.0 Features -- Oracle CodeOne 2019, All Things Open 2019MySQL 8.0 Features -- Oracle CodeOne 2019, All Things Open 2019
MySQL 8.0 Features -- Oracle CodeOne 2019, All Things Open 2019
 
ActiveSTAK cloud storage
ActiveSTAK cloud storageActiveSTAK cloud storage
ActiveSTAK cloud storage
 
NoSQL Data Architecture Patterns
NoSQL Data ArchitecturePatternsNoSQL Data ArchitecturePatterns
NoSQL Data Architecture Patterns
 
Selecting best NoSQL
Selecting best NoSQL Selecting best NoSQL
Selecting best NoSQL
 
Chapter1: NoSQL: It’s about making intelligent choices
Chapter1: NoSQL: It’s about making intelligent choicesChapter1: NoSQL: It’s about making intelligent choices
Chapter1: NoSQL: It’s about making intelligent choices
 
SQL vs NoSQL: Big Data Adoption & Success in the Enterprise
SQL vs NoSQL: Big Data Adoption & Success in the EnterpriseSQL vs NoSQL: Big Data Adoption & Success in the Enterprise
SQL vs NoSQL: Big Data Adoption & Success in the Enterprise
 
Brief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas moslehBrief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas mosleh
 
Advanced SQL Server Performance Tuning | IDERA
Advanced SQL Server Performance Tuning | IDERAAdvanced SQL Server Performance Tuning | IDERA
Advanced SQL Server Performance Tuning | IDERA
 
SQL vs NoSQL
SQL vs NoSQLSQL vs NoSQL
SQL vs NoSQL
 
NoSQL Consepts
NoSQL ConseptsNoSQL Consepts
NoSQL Consepts
 
MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0
 
Better Data Persistence on Android
Better Data Persistence on AndroidBetter Data Persistence on Android
Better Data Persistence on Android
 
An Introduction to Cassandra - Oracle User Group
An Introduction to Cassandra - Oracle User GroupAn Introduction to Cassandra - Oracle User Group
An Introduction to Cassandra - Oracle User Group
 
NoSql Databases
NoSql DatabasesNoSql Databases
NoSql Databases
 

En vedette

High Voltage - Building Static Sites With Wordpress-Managed Content
High Voltage - Building Static Sites With Wordpress-Managed ContentHigh Voltage - Building Static Sites With Wordpress-Managed Content
High Voltage - Building Static Sites With Wordpress-Managed ContentNicolle Morton
 
Qualities To Look For In A Recruitment Agency
Qualities To Look For In A Recruitment AgencyQualities To Look For In A Recruitment Agency
Qualities To Look For In A Recruitment AgencyT & A Solutions
 
Is Any Job Better Than No Job?
Is Any Job Better Than No Job?Is Any Job Better Than No Job?
Is Any Job Better Than No Job?T & A Solutions
 
Introduction to Enterprise architecture and the steps to perform an Enterpris...
Introduction to Enterprise architecture and the steps to perform an Enterpris...Introduction to Enterprise architecture and the steps to perform an Enterpris...
Introduction to Enterprise architecture and the steps to perform an Enterpris...Prashanth Panduranga
 
Factors to Consider Before Switching Your Job
Factors to Consider Before Switching Your JobFactors to Consider Before Switching Your Job
Factors to Consider Before Switching Your JobT & A Solutions
 
Things To Avoid At Office
Things To Avoid At OfficeThings To Avoid At Office
Things To Avoid At OfficeT & A Solutions
 
What's Your Element? - Ignite Presentation
What's Your Element? - Ignite PresentationWhat's Your Element? - Ignite Presentation
What's Your Element? - Ignite Presentationmaevekaiser
 

En vedette (11)

High Voltage - Building Static Sites With Wordpress-Managed Content
High Voltage - Building Static Sites With Wordpress-Managed ContentHigh Voltage - Building Static Sites With Wordpress-Managed Content
High Voltage - Building Static Sites With Wordpress-Managed Content
 
Doc byyou
Doc byyouDoc byyou
Doc byyou
 
Being there
Being thereBeing there
Being there
 
Qualities To Look For In A Recruitment Agency
Qualities To Look For In A Recruitment AgencyQualities To Look For In A Recruitment Agency
Qualities To Look For In A Recruitment Agency
 
Is Any Job Better Than No Job?
Is Any Job Better Than No Job?Is Any Job Better Than No Job?
Is Any Job Better Than No Job?
 
Introduction to Enterprise architecture and the steps to perform an Enterpris...
Introduction to Enterprise architecture and the steps to perform an Enterpris...Introduction to Enterprise architecture and the steps to perform an Enterpris...
Introduction to Enterprise architecture and the steps to perform an Enterpris...
 
Maths probability
Maths probabilityMaths probability
Maths probability
 
Factors to Consider Before Switching Your Job
Factors to Consider Before Switching Your JobFactors to Consider Before Switching Your Job
Factors to Consider Before Switching Your Job
 
Things To Avoid At Office
Things To Avoid At OfficeThings To Avoid At Office
Things To Avoid At Office
 
Minerals
MineralsMinerals
Minerals
 
What's Your Element? - Ignite Presentation
What's Your Element? - Ignite PresentationWhat's Your Element? - Ignite Presentation
What's Your Element? - Ignite Presentation
 

Similaire à Why nosql also_why_somany

SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...IJCERT JOURNAL
 
Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...ijdms
 
NoSQL_Databases
NoSQL_DatabasesNoSQL_Databases
NoSQL_DatabasesRick Perry
 
Unit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docxUnit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docxvvpadhu
 
Big Data technology Landscape
Big Data technology LandscapeBig Data technology Landscape
Big Data technology LandscapeShivanandaVSeeri
 
Assignment_4
Assignment_4Assignment_4
Assignment_4Kirti J
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQLbalwinders
 
Presentation on NoSQL Database related RDBMS
Presentation on NoSQL Database related RDBMSPresentation on NoSQL Database related RDBMS
Presentation on NoSQL Database related RDBMSabdurrobsoyon
 
Data management in cloud study of existing systems and future opportunities
Data management in cloud study of existing systems and future opportunitiesData management in cloud study of existing systems and future opportunities
Data management in cloud study of existing systems and future opportunitiesEditor Jacotech
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sqlRam kumar
 
Enterprise NoSQL: Silver Bullet or Poison Pill
Enterprise NoSQL: Silver Bullet or Poison PillEnterprise NoSQL: Silver Bullet or Poison Pill
Enterprise NoSQL: Silver Bullet or Poison PillBilly Newport
 
Introduction to mongodb
Introduction to mongodbIntroduction to mongodb
Introduction to mongodbMohammed Ragab
 

Similaire à Why nosql also_why_somany (20)

Datastores
DatastoresDatastores
Datastores
 
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
SURVEY ON IMPLEMANTATION OF COLUMN ORIENTED NOSQL DATA STORES ( BIGTABLE & CA...
 
Datastores
DatastoresDatastores
Datastores
 
NOSQL
NOSQLNOSQL
NOSQL
 
Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...
 
NoSQL_Databases
NoSQL_DatabasesNoSQL_Databases
NoSQL_Databases
 
Unit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docxUnit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docx
 
Artigo no sql x relational
Artigo no sql x relationalArtigo no sql x relational
Artigo no sql x relational
 
Big Data technology Landscape
Big Data technology LandscapeBig Data technology Landscape
Big Data technology Landscape
 
NoSQL Basics and MongDB
NoSQL Basics and  MongDBNoSQL Basics and  MongDB
NoSQL Basics and MongDB
 
NoSQL
NoSQLNoSQL
NoSQL
 
No sql database
No sql databaseNo sql database
No sql database
 
Assignment_4
Assignment_4Assignment_4
Assignment_4
 
NoSQL Basics - A Quick Tour
NoSQL Basics - A Quick TourNoSQL Basics - A Quick Tour
NoSQL Basics - A Quick Tour
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
 
Presentation on NoSQL Database related RDBMS
Presentation on NoSQL Database related RDBMSPresentation on NoSQL Database related RDBMS
Presentation on NoSQL Database related RDBMS
 
Data management in cloud study of existing systems and future opportunities
Data management in cloud study of existing systems and future opportunitiesData management in cloud study of existing systems and future opportunities
Data management in cloud study of existing systems and future opportunities
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
 
Enterprise NoSQL: Silver Bullet or Poison Pill
Enterprise NoSQL: Silver Bullet or Poison PillEnterprise NoSQL: Silver Bullet or Poison Pill
Enterprise NoSQL: Silver Bullet or Poison Pill
 
Introduction to mongodb
Introduction to mongodbIntroduction to mongodb
Introduction to mongodb
 

Plus de Prashanth Panduranga (20)

WebApplicationArchitectureAzure.pptx
WebApplicationArchitectureAzure.pptxWebApplicationArchitectureAzure.pptx
WebApplicationArchitectureAzure.pptx
 
WebApplicationArchitectureAzure.pdf
WebApplicationArchitectureAzure.pdfWebApplicationArchitectureAzure.pdf
WebApplicationArchitectureAzure.pdf
 
Digital transformation
Digital transformationDigital transformation
Digital transformation
 
Dev opsnirvana
Dev opsnirvanaDev opsnirvana
Dev opsnirvana
 
Architecting extremelylargescalewebapplications
Architecting extremelylargescalewebapplicationsArchitecting extremelylargescalewebapplications
Architecting extremelylargescalewebapplications
 
Architecting extremelylarge scale web applications
Architecting extremelylarge scale web applicationsArchitecting extremelylarge scale web applications
Architecting extremelylarge scale web applications
 
Inevitability of Multi-Tenancy & SAAS in Product Engineering
Inevitability of Multi-Tenancy & SAAS in Product EngineeringInevitability of Multi-Tenancy & SAAS in Product Engineering
Inevitability of Multi-Tenancy & SAAS in Product Engineering
 
Augmenting IT strategy with Enterprise architecture assessment
Augmenting IT strategy with Enterprise architecture assessmentAugmenting IT strategy with Enterprise architecture assessment
Augmenting IT strategy with Enterprise architecture assessment
 
Arch on global_hackathon
Arch on global_hackathonArch on global_hackathon
Arch on global_hackathon
 
View d print
View d printView d print
View d print
 
Social review
Social reviewSocial review
Social review
 
Seeory
SeeorySeeory
Seeory
 
Safesors
SafesorsSafesors
Safesors
 
My stylemyway
My stylemywayMy stylemyway
My stylemyway
 
Meet mi
Meet miMeet mi
Meet mi
 
Mcr trendz
Mcr trendzMcr trendz
Mcr trendz
 
Light suitcase
Light suitcaseLight suitcase
Light suitcase
 
Flex matics
Flex maticsFlex matics
Flex matics
 
C s rwe
C s rweC s rwe
C s rwe
 
Asset anywhere
Asset anywhereAsset anywhere
Asset anywhere
 

Dernier

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Dernier (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

Why nosql also_why_somany

  • 1. Why NOSQL? Ok. But, Why So many? December 23rd, 2013
  • 2. Why NOSQL? Ok. But, Why So many? www.aditi.com TABLE OF CONTENTS 1. INTRODUCTION ........................................................................................... 3 2. WHY NOSQL?............................................................................................ 3 3. WHY SO MANY? .......................................................................................... 3 4. TYPES OF NOSQL DATABASES ........................................................................ 5 5. KEY ASPECTS .............................................................................................. 5 6. NEWSQL ................................................................................................... 6 7. CONCLUSION .............................................................................................. 6
  • 3. Why NOSQL? Ok. But, Why So many? www.aditi.com 1.INTRODUCTION NOSQL: Not Only SQL, term generally referred to non SQL centric relational data stores 2.WHY NOSQL? Necessity is the mother of all inventions. A look at what prompted the creation of NOSQL databases. 1. Exorbitant growth of data: a. Large datasets become onerous when stored in relational databases b. Query execution time increases creating performance bottlenecks 2. Data model/structure mismatch: Storing hierarchical/graph/relationship data as rows and columns is highly inefficient, and so is Storing serialized objects 3. Introduction of Distributed Caching infrastructure on top of relational data storage for performance and its related consistency problems 4. Heavy usage of blob storage beats the purpose 5. Massive Scale out 6. High Availability: always be able to write with a massive write performance, small continuous volatile reads and write 7. Need for Faster key value access 8. Difficulty in handling volatility in schema and data types some relating to change in business and some due to data acquisition 9. Complexity in Partitioning/Sharding: Done mostly for manageability, performance or availability 10. Performance in large databases 11. Too Generic, Need for specialist databases 12. Cost based optimization though simplified it for the naïve developers, it is unpredictible more so when there is high resource queries being executed concurrently. 13. Resource contention, Resource concurrency, blocking queries, index updates, concurrent disk issues such as log back ups, check pointing, Is NOSQL the answer to everything stated above? NO, but certainly helps in resolving a few What NOSQL promises in short is high performance and flexibility with high availability and scalability 3.WHY SO MANY? What NOSQL databases doesn’t promise is ACID. NOSQL database implementations vary in confirming to various consistency semantics, most tend to confirm BASE. Let’s look at what they are ACID “Atomic: All operations in a transaction succeed or every operation is rolled back. Consistent: On transaction completion, the database is structurally sound.
  • 4. Why NOSQL? Ok. But, Why So many? www.aditi.com Isolated: Transactions do not contend with one another. Contentious access to state is moderated by the database so that transactions appear to run sequentially. Durable: The results of applying a transaction are permanent, even in the presence of failures - Wikipedia” BASE “Basic availability: The store appears to work most of the time. Soft-state: Stores don’t have to be write-consistent, nor do different replicas have to be mutually consistent all the time. Eventual consistency: Stores exhibit consistency at some later point (e.g., lazily at read time) – O’Rielly ” It is important to note that not all NOSQL databases confirm to eventual consistency Apart from the need for Specialist databases supporting specialised data structures, let’s look at the CAP Theorem “The CAP theorem, also known as Brewer's theorem, states that it is impossible for a distributed computer system to simultaneously provide all three of the following guarantees Consistency (all nodes see the same data at the same time) Availability (a guarantee that every request receives a response about whether it was successful or failed) Partition tolerance (the system continues to operate despite arbitrary message loss or failure of part of the system) According to the theorem, a distributed system cannot satisfy all three of these guarantees at the same time” - Wikipedia With drastically different business dynamics, and priorities amongst enterprises, NOSQL databases tend to pick two of the above mentioned characteristics. Given the need for flexibility in data structure, there are a multitude of NOSQL databases being introduced, see figure below Data Reference: http://nosql-database.org/
  • 5. Why NOSQL? Ok. But, Why So many? www.aditi.com 4.TYPES OF NOSQL DATABASES 1. Wide Column Store (Column Families): The data model stores columns of data together, instead of rows optimized for queries over large datasets 2. Document Store: Pair each key with a complex data structure known as a document. Documents can contain many different key-value pairs, or key-array pairs, or even nested documents 3. Key Value/Tuple Store: Every single item in the database is stored as an attribute name (or "key"), together with its value 4. Graph Databases: Graph is a set of nodes and the relationships that connect them. Some graph databases use native graph, while some serialize the graph data and store in to relational, object or other data store 5. Multi Model Databses: Serve multiple data models 6. Object Databases: Data is persisted in the form of objects 7. Grid and Cloud Database Solutions: Data persisted across multiple servers that work together to manage information and related operations 8. XML Databases: Data persisted in XML format 9. MultiDimensional Databases: type of database that is optimized for data warehouse and online analytical processing (OLAP) applications 10. Multi Value databases: Data is persisted as keys and multiple values , they have features that support and encourage the use of attributes which can take a list of values, rather than all attributes being single- valued 11. Event Sourcing: Persist application's state by storing the history that determines the current state of the application 5.KEY ASPECTS 1. NOSQL is not an all in solution, certain scenario mentioned above naturally fits the NOSQL semantics. NOSQL is certainly not a replcement for relational stores 2. Consider NOSQL for Real time analytics on operational data 3. Consider NOSQL when there are many systems including streaming data 4. NoSQL databases provide a linear approach to database scaling, making scaling easier and intuitive 5. All NOSQL databases are developed to be distributed, scalable databases 6. Data duplication and denormalization are a norm 7. Consider NOSQL for hierarchical, Content Caching, distributed file systems, Social Networking, recommendation engine and graph like data 8. NOSQL databases can support unstructured and unpredictable data 9. NOSQL databases use a cluster of servers to store data. Data and the operations are usually spread across clusters 10. Consider NOSQL databases which provide Integrated Caching 11. NOSQL is developed for continous availability 12. Certain NOSQL implementations provide configurable consistency models (strong vs eventual), but this will have performance implications 13. Only a few NOSQL databases support ACID 14. Only a few NOSQL databases support transactions
  • 6. Why NOSQL? Ok. But, Why So many? www.aditi.com 15. Consider NOSQL databases when you have large amounts of data, large enough to not fit in one physical server 16. Consider NOSQL database when you have a object-relational impedence mismatch 17. NOSQL databases trade off consistency for efficiency 18. Consider NOSQL databases when you need schema flexibility 19. Consider NOSQL database if you are looking for massive write performance 20. Consider NOSQL database if you are looking for fast key value access 21. NOSQL provides horizontal scaling 6.NEWSQL “NewSQL is a class of modern relational database management systems that seek to provide the same scalable performance of NoSQL systems for online transaction processing (read-write) workloads while still maintaining the ACID guarantees of a traditional database system – Wikipedia” As we have seen above NOSQL databases have been developed to serve different purposes, with one of the main advantages being scale out. NewSQL is an attempt to provide all the benefits of NOSQL while continuing to support ACID. Google Spanner is one of the main contenders with a semi-relational data model, while NuoDB achieves it by split- ting the transactional (in-memory) and the storage tier accompanied by peer-to-peer coordination. http://static.googleusercontent.com/media/research.google.com/en//archive/spanner-osdi2012.pdf http://www.nuodb.com/explore/newsql-cloud-database-how-it-works/ 7.CONCLUSION Be it mergers and acquisitions, or change in business dynamics, or the agility in development large enterprises are bound to have hybrid solutions. Having multiple RDBMS’s, data warehouses, data marts in one environment is not unseen or unheard off. It is more than likely for enterprises to add NOSQL/NewSQL databases in to the mix. Be on the lookout for true shared-nothing distributed architectures! Prashanth B Panduranga (Shan) Director-Technology | 725-976-7006 | pandurangap@aditi.com Connect with us: Blog | Twitter | LinkedIn | Facebook