Slides

No sql database

Description
1. NoSQLDATABASEBy:Vishal Kumar GuptaRoll No. 1003310078Computer Science & Engg (3rd year) 2. 1. NoSQL stands for Not Only SQL.2. A class of non-relational…
Categories
Published
of 25
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  • 1. NoSQLDATABASEBy:Vishal Kumar GuptaRoll No. 1003310078Computer Science & Engg (3rd year)
  • 2. 1. NoSQL stands for Not Only SQL.2. A class of non-relational data-storage system.3. Useful when working with a huge quantity of data when the datasnature does not require a relational model.4. Does not require a fixed table schema.5. Does not require SQL languane for data manipulation.AN INTRODUCTION :WHAT and WHY ?
  • 3. HOW IT WORKS?An Example of Amazon’s Service Oriented ArchitectureIncomingRequestPage RendoringComponentsAggregtor ServicesServicesDynamo Instances
  • 4. 1. NoSQL does not use SQL as its Query Language.2. Data is partitioned among different machines so that traditionalJOIN operations can not be used.3. NoSQL can not necessarily give full ACID guarantees. Usuallyonly eventual consistency is guaranteed or transactions limited tosingle data items.4. NoSQL has a distributed, fault-tolerant architecture.5. NoSQL follow the CAP (Consistency, Availability, PartitionTolerence) theorem.CHARACTERISTICS
  • 5. WHAT IS CAP THEOREM???
  • 6. CAP THEOREM: We do notcrop ACID properityThe CAP theorem states that it is impossiblefor a distributed computer system tosimultaneously provide all three of thefollowing guarantees:1. Consistency: All nodes see the same data atthe same time2. Availability: A guarantee that every requestreceives a response about whether it wassuccessful or failed.3. Partition Tolerance: The system continuesto operate despite arbitrary message loss orfailure of part of the system.According to the theorem, a distributedsystem can satisfy any two of these guaranteesat the same time, but not all three.Z
  • 7. SQL-NoSQL ??
  • 8. COMPARISON OF SQL and NoSQLSQLSQL database is relationaldatabase that matches data byusing common characteristicsfound in the dataset.Users have to scale relationaldatabase on powerful serversthat are expensive and difficultto handle.There must be a schema forrelational database.NoSQLNoSQL database is non-relation-al database. Usually avoid joinoperations, and typically scale h-orizontally.The scalability is handle throughSharding and Replication. It au-tomatically spreads your data o-nto multiple servers without re-quiring application assistance.No schema is required.
  • 9. Sharding:DB Sharding is nothing but horizontal partitioning of data. In atraditional database, you would do the partitioning such as in Oracledatabase. A table with billions of rows can be partitioned using “RangePartitioning”.Replication:To ensure high availability and performance of a service, resources fordata and query processing must be distributed to and stored in two ormore locations. This is what we call replication.WHAT IS SHARDING AND REPLICATION?
  • 10. 1. Key–value stores2. Big-Table implementations3. Document store databases4. Graph DatabasesCLASSIFICATIONNoSQL databases are categorized according to theway they store the data.
  • 11. It allow the application developer to store schema-less data. This datais usually consisting of a string which represents the key and the actualdata which is considered to be the value in the "key - value"relationship.The way it works is demonstrated in this little sample chart:Color RedAge 18Size LargeName SmithTitle The Brown DogKEY-VALUE STORESHoffman code strategy to storekey values.
  • 12. Big-Table is a compressed, high performance, and proprietary datastorage system built on Google File System, Chubby Lock Service,SSTable (log-structured storage like LevelDB) and a few otherGoogle technologies.It is not distributed outside Google.BIG-TABLE IMPLEMENTATIONBig Data Storage System in Big Table implementation.
  • 13. The concept of a document store is the notion of a "document".While each document-oriented database implementation differs onthe details of this definition, in general, they all assume thatdocuments encapsulate and encode data (or information) in somestandard formats or encodings.DOCUMENT STORE DATABASERelational Storage Database Document Store Database
  • 14. This kind of database is designed for data whose relations are well rep-resented as a graph (elements interconnected with an undeterminednumber of relations between them).The kind of data could be in social relations, public trans -portlinks, road maps or network topologies.GRAPH DATABASEGraph Storage Database
  • 15. 1. Dynamo:Dynamo is a distributed key-value storage system that isused internally by Amazon for its own services.2. Amazon S3 (Simple Storage Service):S3 is a distributed and scalable key-value stor -age systemcomparable to Dynamo.3.SimpleDB:SimpleDB is a schema free and distributed database provi-ded by Amazon as a web service. Its main feature is itsease of use: SimpleDB does not need a schema, decidesautomatically which indexes are needed and provides asimple SQL like query interface.NoSQL PRODUCTS/PROJECTS
  • 16. 4. Big Table:Big-Table is one of Googles solutions to deal with its vast amount ofdata. It is build on top of Googles distributed file system GFS and isused by Google for several applications with different demands on thelatency of the database.5. Google App Engine:The Google App En -gine datastore provides applications that a -rerunning inside Googles App Engine with a query able and schema freedata store.6. MongoDB:MongoDB is a schema less document oriented database developed by10gen and an open source community. The database is intended to bescalable and fast and is written in C++. In addition to its documentoriented databases features, MongoDB can be used to store and distri-bute large binary files like images and videos.…continue
  • 17. 7. CouchDB:CouchDB is a schema free document oriented database with anoptimistic replication mechanism.CouchDB itself is currently not a distributed database by itself, but itcan be used as such in combination with a proxy layer, which handlesthe sharding and server management.8. Apache Cassandra:Apache Cassandra is a highly scalable and high-performance distrib-uted database management system. Cassandra is able to manage thedistribution of data across multiple data centers and offers incrementalscalability with no single point of failure.Cassandra is a logical choice for enterprises that need constant optim -e, reliability, and very fast performance. Many leadingcompanies, includingCisco, HP, Motorola, Netflix, Ooyala, Openwave, Rackspa- ce, andTwitter rely upon Cassandra to manage the data needs of their criticalproduction applications.…continue
  • 18. NoSQL databases generally process data faster thanrelational databases.NoSQL databases are also often faster because their datamodels are simpler.Major NoSQL systems are flexible enough to betterenable developers to use the applications in ways thatmeet their needs.ADVANTAGES OF NoSQL
  • 19. 1. Businesses that have outgrown legacy relational systems are nowturning to NoSQL solutions to manage their critical data needs.NoSQL databases have shown they’re capable of handling bothreal-time / system of record applications as well as analytic andbusiness intelligence systems. This is why many enterprises havealready elevated NoSQL as a primary data provider along withtraditional RDBMSs. However, not all NoSQL databases arecreated alike – and some are more enterprise-ready than others.2. For example, a recent Evans Data survey revealed that corporateenterprise developers in North America and UK are rapidlyaccepting NoSQL. The study also showed that NoSQL databasesalready are being used in 56 percent of organization -ssurveyed, and 63 percents of respondents said they plan to useNoSQL in the next two years.MOMENTUM Of NoSQL In The ENTERPRISE
  • 20. Percent of Planned Enterprise NoSQL UsageNorthAmerica EMEAAPAC050100
  • 21. CAREER??
  • 22. This work has shown that there are a lot of differences betweencurrent NoSQL implementations. This is not a surprisingresult, because none of the examined databases aim to be the perfectsolution for every problem. Instead each database has its ownproperties and features, so that developers have to choose the rightdatabase depended on the requirements of their project. Thereforethis work compared the trade-offs of the examined databaseimplementations and explained why these are necessary.CONCLUION
  • 23. QUESTION????
  • 24. THANK YOU
  • 25. 1. Wikipedia.org/wiki/NoSQL2. Ieee.org/NoSQL/ WG2_N1537_SQL_Standard_and_NoSQL_Databases 2011-05 by Keith W. Hare3 Ieee.org/NoSQL/ WP-DataStax-NoSQL by DataStax Corporation4. Ieee.org/NoSQLDatabases by Prof. Walter Kriha5. thewindowsclub.com/difference-sql-nosql-comparisionREFERENCES
  • We Need Your Support
    Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

    Thanks to everyone for your continued support.

    No, Thanks
    SAVE OUR EARTH

    We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

    More details...

    Sign Now!

    We are very appreciated for your Prompt Action!

    x