What are the main characteristics of NOSQL systems in the areas related to data models and query languages?

CHARACTERISTICS RELATED TO DATA MODELS AND QUERY LANGUAGES.

 1. Not Requiring a Schema:

  •  Allowing semi-structured and self-describing data.
  • The users can specify a partial schema in some systems to improve storage efficiency, but it is not required to have a schema in most of the NoSQL systems. 
  • Constraints on the data would have to be programmed in the application programs that access the data items. 
  • Languages for describing semi-structured data: JSON (JavaScript Object Notation) and XML (Extensible Markup Language)

2.  Less Powerful Query Languages: 

  •  Many applications that use NoSQL systems may not require a powerful query language such as SQL, because search (read) queries in these systems often locate single objects in a single file based on their object keys. 
  • Reading and writing the data objects is accomplished by calling the appropriate operations by the programmer (API).
  •  SCRUD: Search, Create, Read, Update and Delete
  • Provide a high-level query language, but it may not have the full power of SQL, for example, the joins need to be implemented in the application programs.

3. Versioning: 

  • Provide storage of multiple versions of the data items, with the timestamps of when the data version was created.


Characteristics of NoSQL:

  • It’s more than rows in tables—NoSQL systems store and retrieves data from many formats: key-value stores, graph databases, column-family (Bigtable) stores, document stores, and even rows in tables.
  • It’s free of joins—NoSQL systems allow you to extract your data using simple interfaces without joins.
  • It’s schema-free—NoSQL systems allow you to drag and drop your data into a folder and then query it without creating an entity-relational model.
  • It works on many processors—NoSQL systems allow you to store your database on multiple processors and maintain high-speed performance.
  • It uses shared-nothing commodity computers—Most (but not all) NoSQL systems leverage low-cost commodity processors that have separate RAM and disk.
  • It supports linear scalability—When you add more processors, you get a consistent increase in performance.
  • It’s innovative—NoSQL offers options for a single way of storing, retrieving, and manipulating data. NoSQL supporters (also known as NoSQLers) have an inclusive attitude about NoSQL and recognize SQL solutions as viable options. To the NoSQL community, NoSQL means “Not only SQL.”


Comments

Popular posts from this blog

What are different steps used in JDBC? Write down a small program showing all steps.

Explain Parallel Efficiency of MapReduce.

Suppose that a data warehouse for Big-University consists of the following four dimensions: student, course, semester, and instructor, and two measures count and avg_grade. When at the lowest conceptual level (e.g., for a given student, course, semester, and instructor combination), the avg_grade measure stores the actual course grade of the student. At higher conceptual levels, avg_grade stores the average grade for the given combination. a) Draw a snowflake schema diagram for the data warehouse. b) Starting with the base cuboid [student, course, semester, instructor], what specific OLAP operations (e.g., roll-up from semester to year) should one perform in order to list the average grade of CS courses for each BigUniversity student. c) If each dimension has five levels (including all), such as “student < major < status < university < all”, how many cuboids will this cube contain (including the base and apex cuboids)?