- use tables to store data
- SQL databases have predefined schema
- SQL databases are vertically scalable
- SQL databases are scaled by increasing the horse-power of the hardware
- SQL databases uses SQL ( structured query language ) for defining and manipulating the data
- SQL database examples: MySql, Oracle, Sqlite, Postgres and MS-SQL
- use documents
- NoSQL databases have dynamic schema for unstructured data
- the NoSQL databases are horizontally scalable
- NoSQL databases are scaled by increasing the databases servers in the pool of resources to reduce the load
- In NoSQL database, queries are focused on collection of documents. Sometimes it is also called as UnQL (Unstructured Query Language). The syntax of using UnQL varies from database to database.
- NoSQL database examples: MongoDB, BigTable, Redis, RavenDb, Cassandra, Hbase, Neo4j and CouchDb What kind of data is a good fit for an SQL database?
- Answer: If your data is highly structured and associations among the program entities are clearly defined
- Answer: (for instance, if you are developing a point of sale system where you need to store customer orders and product records), conventional SQL based databases are the best fit.
- Answer: NoSQL seems to work better on both unstructured and unrelated data. The better solutions are the crossover databases that have elements of both NoSQL and SQL.
- Answer: Document based database like MongoDB, and Redis are great for small scale, hierarchical data with a relatively small amount of children for each entry.
- Answer: MySQL, MSSQL, Oracle, PostgreSQL, all are highly scalable, it's just that they require little maintenance for it. All SQL based databases are very stable, and are in production since years.
- Answer: ( structured query language )
- Answer: A relational database is a type of database that stores and provides access to data points that are related to one another
- Answer: relational model means that the logical data structures—the data tables, views, and indexes—are separate from the physical storage structures.
- Answer: A schema is a mental concept that informs a person about what to expect from a variety of experiences and situations. Schemas are developed based on information provided by life experiences and are then stored in memory.
- Answer: NoSQL, which stands for “not only SQL,” is an approach to database design that provides flexible schemas for the storage and retrieval of data beyond the traditional table structures found in relational databases
- Answer: schemas for the storage and retrieval of data beyond the traditional table structures found in relational databases
- Answer: Documents
- **Answer:**mongoDB dont have to use schema
- Answer:
- MongoDB uses high memory for data storage.
- There is a limit for document size, i.e. 16mb.
- There is no transaction support in MongoDB.