Académique Documents
Professionnel Documents
Culture Documents
JOSE SOTELO
NoSQL databases, also called in the context "Databases not only SQL", is a recent
approach and a new paradigm of database management and design that can define, manage
and control the capabilities of the data with centralized, distributed or virtualized models. It
can be said that the database is a database class very different from the relational database
model, which are used mainly as SQL as the native language of data queries. THE TYPES
OF NOSQL DATABASES Key-value: This type of NoSQL database is less complex. This
is the basis of the data. Examples of this type of database include: Cassandra, DB Dyanmo,
Azure Storage Table (AT S), Riak, Berkeley DB. Column store: It has also been called as
storage in columns, instead of storing data in rows, this database is available to store in data
tables as in sections of data columns, instead of rows of data. They can be referred to as a
reverse model of a standard database. Examples of this type of database They include: HB
ase, BigTable and Hypertable and others. Document Database: expands on the basic idea of
storage: key-value, where "documents" are more complex, because they contain the data
and each document is assigned a unique key, which is used to retrieve the document. These
are available for storage, retrieval and management of document-oriented information, also
seen as semi-structured data. Examples include database systems such as Mongo DB and
Couch DB. Graphic Database: This is the database. Examples include database systems
such as Neo4J and polyglot.
The growth of large volumes such as Big Data: Big Data is one of the main paradigms that
are driving the growth and popularity of database systems to NoSQL.
Models, Flexible, scalable and functional data designs: Organizations are increasingly
interested in migrating to NoSQL database systems; They are generally more flexible data
models than relational models. The relational data model is based on relationships defined
between the tables, which in turn are defined by a given structure of attributes and
constraints; all of them are structured explicitly in a database scheme in a very strict and
uniform way, in such a way that any change in the structure is highly costly from the point
of view of the administration, with all; the load of risks that can be generated with the
management of referential integrity.
USE OF DATABASES RELATIONSHIPS IN THE DATA MANAGEMENT AND
STORAGE SYSTEM
This system is of very recent appearance. It is a system that does not require fixed schemes,
avoid join operations by storing de-normalized data and are designed to scale horizontally.
Most of them can be classified as key-value warehouses or document-oriented databases.
Among the most popular applications that use the NoSql system we have MongoDB,
MemcacheDB, Redis, CouchDB, Hazelcast, Apache Cassandra and HBase, all of them
open source.
In this chapter we review the main concepts related to NoSQL databases. It begins by
justifying the role played by databases in the field of current information systems. Next, we
reflect on the limitations of relational databases.
NoSQL databases
Due to the limitations mentioned in the previous section, some companies decided to use
alternatives to relational databases. This was the case of Google and Amazon, which
developed storage systems based on the use of clusters: Google's Big Tables and Amazon's
Dynamo. These systems allowed to manage large amounts of data in distributed
environments and carry out their processing, so they are considered the origin of the so-
called "NoSQL databases". Although many companies did not manage the data scales of
the aforementioned companies, however, many of them began to design their applications
to run in these distributed environments and use this type of database when discovering the
advantages they offered:
In many applications, a great effort is expended in mapping between the data structures
used in memory and the relational model. NoSQL databases provide a data model that best
fits the needs of applications, thus simplifying interaction, resulting in less coding,
debugging and evolving applications.
Models of NoSQL databases oriented towards aggregates.
Although it is difficult to categorize NoSQL databases since in many cases some databases
share characteristics of several families, however, according to the data model, we can
distinguish: 3 • Key-value databases: Riak, Redis, Dynamo, Voldemort. • Document-
oriented databases: MongoDB, CouchDB. • Column-based databases: Cassandra,
Hypertable, HBase, SimpleDB • Graph databases: Neo4J, Infinite Graph.
Install MongoDB
Use Remote Desktop to connect to the server. Open a browser window and go to the MongoDB
download center. Click on the Community Server tab.
Select 1&1 Windows Server 2008 R2 64-bit and later with SSL support x64 as the version. Then
click DOWNLOAD (msi).
Open the mongodb-win32-x86_64-2008plus-ssl-3.4.10-signed.exe file which you
downloaded. This will launch the installation wizard. Click Next to begin.
C:\data\db
mixed
To start MongoDB, open a command prompt (Start > Windows System > Command Prompt) and
run mongod.exe with the command:
"C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe"
mixed
MongoDB will run as long as this command prompt window is open. When you are finished working
with MongoDB, use CTRL + C to exit this command prompt window and shut down MongoDB.
To use MongoDB, open a new command prompt window and connect to the MongoDB server with
the command:
"C:\Program Files\MongoDB\Server\3.4\bin\mongo.exe"
mixed
This will connect you to the MongoDB client, where you can issue MongoDB commands just as you
would on a Linux server. For more information on working with MongoDB, see our articles Installing
and Running MongoDB on a 1&1 Linux Server and Tutorial: Use MongoDB to Store Comments.
Y al abrir “mongo.exe” se abrirá el gestor MongoDB
Bibliography
Sarasa, Antonio. Introducción a las bases de datos NoSQL usando MongoDB, Editorial UOC, 2016.
ProQuest Ebook Central,
https://ebookcentral.proquest.com/lib/ucooperativasp/detail.action?docID=4721949.
Capacho, Portilla, José Rafael, and Bernal, Wilson Nieto. Diseño de base de datos, Universidad
del Norte, 2017. ProQuest Ebook Central,
https://ebookcentral.proquest.com/lib/ucooperativasp/detail.action?docID=5309026
Vaish, G. (2013). NoSQL Starter. Chapter 1. An Overview of NoSQL : Packt Publishing Ltd