Since its first appearance in 2009, NodeJS has come a long way. Many frameworks have been developed on top of it. These all make our task easy and quick. It is us who need to decide which one to choose? So, here is the list of top 10 NodeJS frameworks that will help you build an awesome application.
This document provides an introduction and overview of MongoDB. It discusses introducing MongoDB and databases, the differences between SQL/MySQL and MongoDB, the differences between JSON and BSON, how to install MongoDB, and how to perform CRUD operations in MongoDB. Key topics covered include defining a database and its advantages, installing the MongoDB community server, and performing create, read, update, and delete operations on databases and collections in MongoDB.
MongoDB is an open-source, document-oriented database that provides flexible schemas, horizontal scaling, and high performance. It stores data as JSON-like documents with dynamic schemas, making the integration of data easier for developers. MongoDB can be scaled horizontally and supports replication and load balancing for high availability.
This document outlines an agenda for a MongoDB administration and operations training. It covers topics such as installing MongoDB, architecture, common methods, indexes, backup and recovery, replication, and security management. Interactive labs are included to demonstrate starting the MongoDB service, creating collections and inserting documents. Comparisons to relational databases are provided.
This document provides an overview of MongoDB and discusses its installation and configuration on Windows systems. It covers downloading the appropriate MongoDB version, installing the downloaded file, setting up the MongoDB environment by creating a data directory and log files, and connecting to MongoDB using the mongo shell. The document is divided into multiple sections covering MongoDB's features, data modeling using documents, database and collection management operations, and connecting to MongoDB from Java applications.
This document provides an overview of MongoDB, including: a brief history of databases from the 1960s to today's NoSQL databases and cloud computing; how MongoDB stores data in databases, collections of documents, and fields; MongoDB's document model for storing data; and basic operations like installation, running the MongoDB shell, saving and retrieving data, replication, and sharding.
MongoDB is a document-oriented database where data is stored in flexible JSON-like documents within collections, rather than rows in tables. Documents can contain various data types and dynamically vary in structure. The MongoDB database stores collections of documents and provides basic CRUD functions through its shell interface to create, read, update and delete documents through queries, indexes and special collection types.
The document provides an agenda for a presentation on getting expertise with MongoDB design patterns. It includes sections on MongoDB recap, how MongoDB works, the _id field, query execution order, indexes, replication, sharding, and introduces the presenters.
Since its first appearance in 2009, NodeJS has come a long way. Many frameworks have been developed on top of it. These all make our task easy and quick. It is us who need to decide which one to choose? So, here is the list of top 10 NodeJS frameworks that will help you build an awesome application.
This document provides an introduction and overview of MongoDB. It discusses introducing MongoDB and databases, the differences between SQL/MySQL and MongoDB, the differences between JSON and BSON, how to install MongoDB, and how to perform CRUD operations in MongoDB. Key topics covered include defining a database and its advantages, installing the MongoDB community server, and performing create, read, update, and delete operations on databases and collections in MongoDB.
MongoDB is an open-source, document-oriented database that provides flexible schemas, horizontal scaling, and high performance. It stores data as JSON-like documents with dynamic schemas, making the integration of data easier for developers. MongoDB can be scaled horizontally and supports replication and load balancing for high availability.
This document outlines an agenda for a MongoDB administration and operations training. It covers topics such as installing MongoDB, architecture, common methods, indexes, backup and recovery, replication, and security management. Interactive labs are included to demonstrate starting the MongoDB service, creating collections and inserting documents. Comparisons to relational databases are provided.
This document provides an overview of MongoDB and discusses its installation and configuration on Windows systems. It covers downloading the appropriate MongoDB version, installing the downloaded file, setting up the MongoDB environment by creating a data directory and log files, and connecting to MongoDB using the mongo shell. The document is divided into multiple sections covering MongoDB's features, data modeling using documents, database and collection management operations, and connecting to MongoDB from Java applications.
This document provides an overview of MongoDB, including: a brief history of databases from the 1960s to today's NoSQL databases and cloud computing; how MongoDB stores data in databases, collections of documents, and fields; MongoDB's document model for storing data; and basic operations like installation, running the MongoDB shell, saving and retrieving data, replication, and sharding.
MongoDB is a document-oriented database where data is stored in flexible JSON-like documents within collections, rather than rows in tables. Documents can contain various data types and dynamically vary in structure. The MongoDB database stores collections of documents and provides basic CRUD functions through its shell interface to create, read, update and delete documents through queries, indexes and special collection types.
The document provides an agenda for a presentation on getting expertise with MongoDB design patterns. It includes sections on MongoDB recap, how MongoDB works, the _id field, query execution order, indexes, replication, sharding, and introduces the presenters.
MongoDB for Coder Training (Coding Serbia 2013)Uwe Printz
Slides of my MongoDB Training given at Coding Serbia Conference on 18.10.2013
Agenda:
1. Introduction to NoSQL & MongoDB
2. Data manipulation: Learn how to CRUD with MongoDB
3. Indexing: Speed up your queries with MongoDB
4. MapReduce: Data aggregation with MongoDB
5. Aggregation Framework: Data aggregation done the MongoDB way
6. Replication: High Availability with MongoDB
7. Sharding: Scaling with MongoDB
This document provides an introduction and agenda for a presentation on MongoDB 2.4 and Spring Data. The presentation will include a quick introduction to NoSQL and MongoDB, an overview of Spring Data's MongoDB support including configuration, templates, repositories and queries, and details on metadata mapping, aggregation functions, GridFS file storage and indexes in MongoDB.
MongoDB is the most famous and loved NoSQL database. It has many features that are easy to handle when compared to conventional RDBMS. These slides contain the basics of MongoDB.
MongoDB is a document database that provides high performance, high availability, and easy scalability through embedding, indexing, replication, and sharding. It uses a dynamic schema which allows polymorphism and flexible data structures. MongoDB stores data as documents with dynamic schema in BSON format and provides CRUD operations through methods like insert(), find(), update(), and remove(). It can be deployed in standalone, replica set, or sharded cluster configurations for scaling.
This document provides an overview and introduction to MongoDB. It discusses how new types of applications, data, volumes, development methods and architectures necessitated new database technologies like NoSQL. It then defines MongoDB and describes its features, including using documents to store data, dynamic schemas, querying capabilities, indexing, auto-sharding for scalability, replication for availability, and using memory for performance. Use cases are presented for companies like Foursquare and Craigslist that have migrated large volumes of data and traffic to MongoDB to gain benefits like flexibility, scalability, availability and ease of use over traditional relational database systems.
MongoDB is an open-source, document-oriented database that provides high performance and horizontal scalability. It uses a document-model where data is organized in flexible, JSON-like documents rather than rigidly defined rows and tables. Documents can contain multiple types of nested objects and arrays. MongoDB is best suited for applications that need to store large amounts of unstructured or semi-structured data and benefit from horizontal scalability and high performance.
MongoDB is a popular NoSQL database. This presentation was delivered during a workshop.
First it talks about NoSQL databases, shift in their design paradigm, focuses a little more on document based NoSQL databases and tries drawing some parallel from SQL databases.
Second part, is for hands-on session of MongoDB using mongo shell. But the slides help very less.
At last it touches advance topics like data replication for disaster recovery and handling big data using map-reduce as well as Sharding.
The document discusses SQL and NoSQL databases, comparing SQL and MongoDB. It introduces SQL and relational database management systems (RDBMS), then covers what NoSQL is and why it was developed. Key differences between SQL and NoSQL are outlined. MongoDB is introduced as a leading NoSQL database, explaining its schema-less and document-oriented structure and auto-sharding for scalability. The Bottle framework is also briefly described as a lightweight Python web framework. References are provided for further reading.
The document provides information about a workshop session covering introductions to Mongoose, NodeJs, Express, schemas and models in Mongoose, and performing CRUD operations using MongoDB Compass. Key topics include:
- Mongoose is an ODM library that manages relationships between data and provides schema validation for MongoDB and Node.js.
- Node.js is a JavaScript runtime for building scalable network applications using a non-blocking and event-driven I/O model.
- Express.js is a web application framework for Node.js used to build web apps quickly.
- Schemas in Mongoose define the shape of documents in a collection and models provide methods to create, read, update and delete documents.
-
Christian Kvalheim gave an introduction to NoSQL and MongoDB. Some key points:
1) MongoDB is a scalable, high-performance, open source NoSQL database that uses a document-oriented model.
2) It supports indexing, replication, auto-sharding for horizontal scaling, and querying.
3) Documents are stored in JSON-like records which can contain various data types including nested objects and arrays.
The document outlines an agenda for discussing MongoDB, including an overview of MongoDB as a non-SQL, document-based database using dynamic schemas. It then compares SQL and MongoDB concepts like databases, tables, and indexes. Key features and how MongoDB achieves performance are mentioned, as well as where MongoDB fits and doesn't fit. The agenda closes with discussing pros and cons, a demo, customers and references, and Q&A.
This document discusses document databases and MongoDB. It defines documents as the main concept, which are simply named collections of fields that can be in formats like JSON, XML, or BSON. It covers designing document databases through modeling data as documents, denormalizing or normalizing documents, handling complex relations, indexing, and summarizing. Features of MongoDB like consistency, replication, transactions, availability, querying and scaling are examined. Examples of suitable use cases and when not to use document databases are provided. The document includes samples of documents, architectures, cases for product catalogs and order histories, and MongoDB tools.
This document provides an overview of Spring Data and its support for MongoDB. Spring Data provides common repositories and abstraction for data access across NoSQL and SQL databases. It includes the MongoRepository interface which provides basic CRUD functionality for MongoDB. Custom queries can be written for MongoDB through the MongoRepository interface. Spring Data also includes the MongoTemplate class which provides a template-based API for MongoDB similar to its native driver.
Slidedeck presented at http://devternity.com/ around MongoDB internals. We review the usage patterns of MongoDB, the different storage engines and persistency models as well has the definition of documents and general data structures.
This document provides an overview and introduction to MongoDB, an open-source, high-performance NoSQL database. It outlines MongoDB's features like document-oriented storage, replication, sharding, and CRUD operations. It also discusses MongoDB's data model, comparisons to relational databases, and common use cases. The document concludes that MongoDB is well-suited for applications like content management, inventory management, game development, social media storage, and sensor data databases due to its flexible schema, distributed deployment, and low latency.
Mongo DB: Fundamentals & Basics/ An Overview of MongoDB/ Mongo DB tutorialsSpringPeople
The document discusses MongoDB, an open-source document database. It provides an overview of MongoDB, including what it is, why it is used, its basic concepts like databases, collections, and documents, and how it compares to a relational database. It also covers MongoDB commands for creating and dropping collections, inserting, querying, and updating documents.
Arizona's Grand Canyon is one of the Seven Wonders of the Natural World for very good reason. Enjoyed a 2015 trek to the spectacle to find out just how many photos you needed to take of the natural marvel to do it justice. Answer? Check out the slide show and you'll see.
Este documento describe cómo las nuevas tecnologías de la información y la comunicación, como Internet, están transformando la educación. Las redes educativas virtuales se están convirtiendo en la unidad básica del sistema educativo. Para preparar a las personas para vivir en una sociedad de la información, el sistema educativo debe basarse en las telecomunicaciones en lugar del transporte físico, y replantear sus objetivos, metas, pedagogías y didácticas.
MongoDB for Coder Training (Coding Serbia 2013)Uwe Printz
Slides of my MongoDB Training given at Coding Serbia Conference on 18.10.2013
Agenda:
1. Introduction to NoSQL & MongoDB
2. Data manipulation: Learn how to CRUD with MongoDB
3. Indexing: Speed up your queries with MongoDB
4. MapReduce: Data aggregation with MongoDB
5. Aggregation Framework: Data aggregation done the MongoDB way
6. Replication: High Availability with MongoDB
7. Sharding: Scaling with MongoDB
This document provides an introduction and agenda for a presentation on MongoDB 2.4 and Spring Data. The presentation will include a quick introduction to NoSQL and MongoDB, an overview of Spring Data's MongoDB support including configuration, templates, repositories and queries, and details on metadata mapping, aggregation functions, GridFS file storage and indexes in MongoDB.
MongoDB is the most famous and loved NoSQL database. It has many features that are easy to handle when compared to conventional RDBMS. These slides contain the basics of MongoDB.
MongoDB is a document database that provides high performance, high availability, and easy scalability through embedding, indexing, replication, and sharding. It uses a dynamic schema which allows polymorphism and flexible data structures. MongoDB stores data as documents with dynamic schema in BSON format and provides CRUD operations through methods like insert(), find(), update(), and remove(). It can be deployed in standalone, replica set, or sharded cluster configurations for scaling.
This document provides an overview and introduction to MongoDB. It discusses how new types of applications, data, volumes, development methods and architectures necessitated new database technologies like NoSQL. It then defines MongoDB and describes its features, including using documents to store data, dynamic schemas, querying capabilities, indexing, auto-sharding for scalability, replication for availability, and using memory for performance. Use cases are presented for companies like Foursquare and Craigslist that have migrated large volumes of data and traffic to MongoDB to gain benefits like flexibility, scalability, availability and ease of use over traditional relational database systems.
MongoDB is an open-source, document-oriented database that provides high performance and horizontal scalability. It uses a document-model where data is organized in flexible, JSON-like documents rather than rigidly defined rows and tables. Documents can contain multiple types of nested objects and arrays. MongoDB is best suited for applications that need to store large amounts of unstructured or semi-structured data and benefit from horizontal scalability and high performance.
MongoDB is a popular NoSQL database. This presentation was delivered during a workshop.
First it talks about NoSQL databases, shift in their design paradigm, focuses a little more on document based NoSQL databases and tries drawing some parallel from SQL databases.
Second part, is for hands-on session of MongoDB using mongo shell. But the slides help very less.
At last it touches advance topics like data replication for disaster recovery and handling big data using map-reduce as well as Sharding.
The document discusses SQL and NoSQL databases, comparing SQL and MongoDB. It introduces SQL and relational database management systems (RDBMS), then covers what NoSQL is and why it was developed. Key differences between SQL and NoSQL are outlined. MongoDB is introduced as a leading NoSQL database, explaining its schema-less and document-oriented structure and auto-sharding for scalability. The Bottle framework is also briefly described as a lightweight Python web framework. References are provided for further reading.
The document provides information about a workshop session covering introductions to Mongoose, NodeJs, Express, schemas and models in Mongoose, and performing CRUD operations using MongoDB Compass. Key topics include:
- Mongoose is an ODM library that manages relationships between data and provides schema validation for MongoDB and Node.js.
- Node.js is a JavaScript runtime for building scalable network applications using a non-blocking and event-driven I/O model.
- Express.js is a web application framework for Node.js used to build web apps quickly.
- Schemas in Mongoose define the shape of documents in a collection and models provide methods to create, read, update and delete documents.
-
Christian Kvalheim gave an introduction to NoSQL and MongoDB. Some key points:
1) MongoDB is a scalable, high-performance, open source NoSQL database that uses a document-oriented model.
2) It supports indexing, replication, auto-sharding for horizontal scaling, and querying.
3) Documents are stored in JSON-like records which can contain various data types including nested objects and arrays.
The document outlines an agenda for discussing MongoDB, including an overview of MongoDB as a non-SQL, document-based database using dynamic schemas. It then compares SQL and MongoDB concepts like databases, tables, and indexes. Key features and how MongoDB achieves performance are mentioned, as well as where MongoDB fits and doesn't fit. The agenda closes with discussing pros and cons, a demo, customers and references, and Q&A.
This document discusses document databases and MongoDB. It defines documents as the main concept, which are simply named collections of fields that can be in formats like JSON, XML, or BSON. It covers designing document databases through modeling data as documents, denormalizing or normalizing documents, handling complex relations, indexing, and summarizing. Features of MongoDB like consistency, replication, transactions, availability, querying and scaling are examined. Examples of suitable use cases and when not to use document databases are provided. The document includes samples of documents, architectures, cases for product catalogs and order histories, and MongoDB tools.
This document provides an overview of Spring Data and its support for MongoDB. Spring Data provides common repositories and abstraction for data access across NoSQL and SQL databases. It includes the MongoRepository interface which provides basic CRUD functionality for MongoDB. Custom queries can be written for MongoDB through the MongoRepository interface. Spring Data also includes the MongoTemplate class which provides a template-based API for MongoDB similar to its native driver.
Slidedeck presented at http://devternity.com/ around MongoDB internals. We review the usage patterns of MongoDB, the different storage engines and persistency models as well has the definition of documents and general data structures.
This document provides an overview and introduction to MongoDB, an open-source, high-performance NoSQL database. It outlines MongoDB's features like document-oriented storage, replication, sharding, and CRUD operations. It also discusses MongoDB's data model, comparisons to relational databases, and common use cases. The document concludes that MongoDB is well-suited for applications like content management, inventory management, game development, social media storage, and sensor data databases due to its flexible schema, distributed deployment, and low latency.
Mongo DB: Fundamentals & Basics/ An Overview of MongoDB/ Mongo DB tutorialsSpringPeople
The document discusses MongoDB, an open-source document database. It provides an overview of MongoDB, including what it is, why it is used, its basic concepts like databases, collections, and documents, and how it compares to a relational database. It also covers MongoDB commands for creating and dropping collections, inserting, querying, and updating documents.
Arizona's Grand Canyon is one of the Seven Wonders of the Natural World for very good reason. Enjoyed a 2015 trek to the spectacle to find out just how many photos you needed to take of the natural marvel to do it justice. Answer? Check out the slide show and you'll see.
Este documento describe cómo las nuevas tecnologías de la información y la comunicación, como Internet, están transformando la educación. Las redes educativas virtuales se están convirtiendo en la unidad básica del sistema educativo. Para preparar a las personas para vivir en una sociedad de la información, el sistema educativo debe basarse en las telecomunicaciones en lugar del transporte físico, y replantear sus objetivos, metas, pedagogías y didácticas.
Universidad tecnologica equinoccial solis villalta doris remache bunci manu...1986-06-26
Este documento presenta un proyecto de tesis para una universidad tecnológica. Detalla el alumno, tutor, créditos, fecha de entrega, descripción del proyecto, cronograma de actividades y fuentes de financiamiento.
The document discusses the history and current state of climate change research. It notes that scientific consensus has formed around the occurrence of climate change due to human activity like fossil fuel burning. Recent studies have found that climate change effects are happening faster and more extensively than previous estimates, with global temperatures projected to rise significantly without action to reduce emissions.
El agua es un recurso limitado y preciado, por lo que debemos tomar medidas para ahorrarla y usarla de manera responsable. Algunas formas sencillas de ahorrar agua incluyen cerrar el grifo mientras nos lavamos las manos o los dientes, reparar fugas, y utilizar la lavadora y el lavavajillas sólo cuando estén llenos. Cada pequeña acción cuenta para conservar este valioso recurso natural.
Matt Hunter es un cantante y actor estadounidense nacido en 1998. Lanzó su sencillo debut "Mi amor" en julio de 2012 y participó en la Teletón de Chile en diciembre de ese mismo año.
Presentación del sistema genesis y portal institucional j afelipegomezg
Este documento proporciona instrucciones sobre cómo acceder y utilizar el sistema de información institucional de una universidad. Explica cómo entrar al sistema, ver el horario de clases, cambiar la contraseña, acceder al reglamento estudiantil y a la hoja de notas, e inscribirse en asignaturas. También resume brevemente la misión y visión de la universidad de acuerdo a sus creencias religiosas y objetivos de ofrecer una educación de alta calidad y desarrollar líderes para el país.
O documento discute o papel do professor como mediador do processo de aprendizagem dos alunos, estimulando sua curiosidade e orientando seu aprendizado, incluindo o uso de tecnologias como mídias educacionais, videoconferência e softwares para construir estruturas mentais que apoiem o uso de tecnologia.
OTS Solutions is a global IT solutions and staffing company that has been in business since 2002. They have a global presence with offices worldwide and over 200 clients. Their services include web content management, enterprise content management, e-commerce, CRM, mobility, custom app development, and IT staffing. They have a track record of over 10 years and world-class infrastructure to support clients in industries such as retail, publishing, banking, healthcare, education, and software. They provide staffing models including corp to corp, contract to hire, remote, and full time hiring.
Contents :
General biochemistry
General features of biochemistry
Studies
Bonds
pH and buffers
Energy
Pathyways in cytosol and mitochondria
Carbohydrates
Epimers and enantiomers
Structure of carbohydrates
Glucose transporters
Cori cycle
Glucose
Glycolysis
Acetyl coA
Kreb’s cycle
Gluconeogenesis
Glycogenolysis
Electron transport chain
HMP shunt
Glucose phosphate dehydrogenase deficiency
Fructose metabolism
Lactose metabolism
General features of glycogen storage disorders
Von gierke’s disease
Disorders of galactose metabolism
Substrate level phosphorylation
Lipids
Fatty acids
Synthesis of fatty acids
Oxidation of fatty acids
General features of lipoprotein
Lipoprotein lipase
Chylomicron
LDL
VLDL
HDL
Apoprotein
Cholesterol
Hypercholesterolemia
Xanthoma
Abetalipoproteinemia
Bile acids
Ketone bodies
Starvation
Aminoacids
General features of aminoacids
Proline
Valine
Leucine
Arginine
Histidine
Glycine
Alanine
Phenylalanine
Tyrosine
Tryptophan
Cysteine
Methionine
Homocysteine
Aspartate
Glutamate
Glutamine
Lysine
Glutathione
Creatinine
General features of disorders of aminoacid metabolism
Phenylketonuria
Maple syrup urine disease
Multiple carboxylase deficiency
Hartnup disease
Alkaptonuria
Ammonia
Urea
Glutamate dehydrogenase
Disorders of heme synthesis
Porphyrin and porphyria
Proteins and enzymes
Structure of protein
Determination of protein structure
Glycoproteins
Proteoglycan
Types of protein
Estimation of proteins
Denaturation of proteins
Separation of proteins
General features of enzymes
Oxidase
Oxygenase
Dehydrogenase
Hydrolase
Transferase
Ligase
Lyase
Holoenzyme
Transamination
Serine protease
Enzyme inhibition
Enzyme regulation
Ribozymes
Isoenzymes
Components of enzymes
Coenzymes and cofactors for enzymes
Informational macromolecules
Purine metabolism
Pyrimidine metabolism
Structure of DNA
Histone
Mitochondrial DNA
Telomerase
Replication of DNA
Genetic code
Introns and exons
Mutation
Regulation of DNA
General features of transcription
RNA polymerase
Post transcriptional modification
Splicing
rRNA
mRNA
tRNA
microRNA
Ribosomes
Translation
Post translational modification
Protein folding
Inborn errors of metabolism
General features of inborn errors of metabolism
Tay sach’s disease
Gaucher’s disease
Niemann pick disease
For more details, visit www.medpgnotes.com
You can send your queries to medpgnotes@gmail.com
O documento discute a ilusão da terceira dimensão, explicando que ela é criada no cérebro a partir de duas imagens projetadas em pontos de vista diferentes. Também aborda como a tecnologia 3D funciona em câmeras, softwares e óculos, além de exemplos de onde ela é usada e suas vantagens e desvantagens.
Este documento contiene las notas de clase de una semana de Matemáticas 4o. Incluye temas como operaciones con fracciones, áreas y volúmenes de figuras geométricas, conversiones en el sistema métrico decimal y tablas y gráficos estadísticos. También describe actividades en clase como resolver ejercicios y realizar evaluaciones escritas, así como tareas para casa sobre los diferentes temas.
Karen Rosenkilde is a Danish politician who has served as Minister for Development Cooperation since June 2019. She is a member of the Social Democrats and has held various government positions since 2011, including Minister of Higher Education and Science. Rosenkilde has a background in political science and has focused her career on international development issues.
Inocencio meléndez julio. la contabilidad como herramienta de la administra...INOCENCIO MELÉNDEZ JULIO
Este documento describe la estructura del catálogo de cuentas contables y cómo se utiliza la contabilidad para administrar una empresa. Explica los diferentes niveles del catálogo de cuentas (clase, grupo, cuenta, subcuenta, auxiliares), así como ejemplos de cuentas específicas como caja, bancos nacionales, capital social suscrito y pagado. También describe cómo las cuentas del activo, pasivo y patrimonio se utilizan para registrar transacciones y preparar estados financieros.
El documento resume las principales creencias y doctrinas del Islam. En particular, describe que el Islam proclama ser la religión original monoteísta, enfatiza la sumisión a Alá y el cumplimiento de los cinco pilares, y que el Corán es considerado la palabra perfecta de Dios revelada a Mahoma. También resume que Dios es uno, el pecado más grave es el shirk o considerar a Dios más de uno, se cree en ángeles y demonios, habrá un juicio final, y la salvación se determina por la fe y buenas obras de ac
Inocencio meléndez julio. contratación y gestión. la segmentación del me...INOCENCIO MELÉNDEZ JULIO
Este documento resume un artículo sobre la segmentación del mercado de computadores Macbook Pro de Apple en Colombia. Explica que este producto está dirigido a estudiantes, profesionales y ejecutivos de estratos medios y altos entre 10-60 años. Actualmente estos consumidores enfrentan la decisión de comprar un Macbook o un computador tradicional debido a que el TLC redujo los precios de ambos. El autor argumenta que la entrada oficial de Apple a Colombia a través de distribuidores autorizados podría satisfacer mejor las necesidades de este segmento al
Node Js, AngularJs and Express Js TutorialPHP Support
This document provides an overview of the Node.js, Express.js, AngularJS, and MongoDB technologies and how they can be used together. It discusses what each technology is, its features and uses. Node.js is a JavaScript runtime built on Chrome's V8 engine for building fast network applications. Express.js is a web framework built on Node.js that simplifies building web apps. AngularJS is a JavaScript framework for building dynamic web apps. MongoDB is a popular open-source NoSQL database that stores data in JSON-like documents.
This document provides information about MongoDB, including:
- MongoDB is a cross-platform document-oriented database that provides high performance, high availability, and easy scalability.
- Data is stored in MongoDB in the form of JSON-like documents with dynamic schemas, instead of using fixed table schemas as in SQL-based databases.
- Relationships between documents can be modeled either by embedding one document inside another or by storing references between separate documents.
SQL vs NoSQL, an experiment with MongoDBMarco Segato
A simple experiment with MongoDB compared to Oracle classic RDBMS database: what are NoSQL databases, when to use them, why to choose MongoDB and how we can play with it.
Everything You Need to Know About MongoDB Development.pptx75waytechnologies
Today, organizations from different verticals want to harness the power of data to grab new business opportunities and touch new heights of success. Such an urge leads them to follow unique ways to use and handle data effectively. After all, the right use of data boosts the ability to make business decisions faster. But at the same time, working with data is not as easy as a walk in the garden. It sometimes turns out to be a long-standing problem for businesses that also affects their overall functioning.
Companies expect fast phase development and better data management in every scenario. Modern web-based applications development demands a quality working system that can be deployed faster, and the application is able to scale in the future as per the constantly changing environment.
Earlier, relational databases were used as a primary data store for web application development. But today, developers show a high interest in adopting alternative data stores for modern applications such as NoSQL (Not Only Structured Query Language) because of its incredible benefits. And if you ask us, one of the technologies that can do wonders in modern web-based application development is MongoDB.
MongoDB is the first name strike in our heads when developing scalable applications with evolving data schemas. Because MongoDB is a document database, it makes it easier for developers to store both structured and unstructured data. Stores and handles large amounts of data quickly, MongoDB is undoubtedly the smart move toward building scalable and data-driven applications. If you’re wondering what MongoDB is and how it can help your digital success, this blog is surely for you.
Pros and Cons of MongoDB in Web DevelopmentNirvana Canada
Databases are available in plenty, and choosing the right one for your organization is a challenging task. In this blog, we will specifically focus on MongoDB and its pros and cons for web development.
This document provides an introduction to MongoDB, a non-relational NoSQL database. It discusses what NoSQL databases are and their benefits compared to SQL databases, such as being more scalable and able to handle large, changing datasets. It then describes key features of MongoDB like high performance, rich querying, and horizontal scalability. The document outlines concepts like document structure, collections, and CRUD operations in MongoDB. It also covers topics such as replication, sharding, and installing MongoDB.
how_can_businesses_address_storage_issues_using_mongodb.pptxsarah david
MongoDB enables seamless data storage and performance. Explore our blog to learn how MongoDB handles storage issues for startups and large-scale enterprises. Discover how to optimize MongoDB performance using open-source database storage.
how_can_businesses_address_storage_issues_using_mongodb.pdfsarah david
MongoDB is an open-source database that can help businesses address storage issues. It provides scalability, availability, and handles large amounts of data well. MongoDB uses a flexible document data model and has features like replication, sharding, and indexing that improve performance. While it has advantages like flexibility, simplicity, and speed, it also has drawbacks like limited transactions and joins compared to relational databases. Understanding both the benefits and limitations of MongoDB is important for businesses evaluating it for their data storage needs.
MongoDB is a cross-platform document-oriented database program that uses JSON-like documents with dynamic schemas, commonly referred to as a NoSQL database. It allows for embedding of documents and arrays within documents, hierarchical relationships between data, and indexing of data for efficient queries. MongoDB is developed by MongoDB Inc. and commonly used for big data and content management applications due to its scalability and ease of horizontal scaling.
Introduction to MongoDB and its best practicesAshishRathore72
This document provides a summary of a presentation on MongoDB best practices. It discusses MongoDB concepts like data modeling, CRUD operations, querying, and aggregation. It also covers topics like MongoDB security, scaling options, real-world use cases, and best practices for hardware, schema design, indexing, and scalability. The presentation provides an overview of using MongoDB effectively.
Node.js is a JavaScript runtime environment that allows JavaScript to run on the server side. It uses the V8 engine and is cross-platform, high-performance, and allows for building scalable network applications. MongoDB is a scalable, flexible, high-performance NoSQL database that stores data in flexible, JSON-like documents. An Object Document Mapper (ODM) allows mapping between objects in application code and documents in MongoDB. The MERN stack uses MongoDB, Express, React, and Node.js and allows building single-page web applications that are high-performance, scalable, flexible, efficient, and secure.
MongoDb is a document oriented database and very flexible one as it gives horizontal scalability.
In this presentation basic study about mongodb with installation steps and basic commands are described.
What are the major components of MongoDB and the major tools used in it.docxTechnogeeks
MongoDB, a renowned NoSQL database, comprises key components like databases, collections, documents, indexes, replica sets, and sharding, enabling flexible and scalable data management. Major tools include the Mongo Shell, MongoDB Compass, MongoDB Atlas, and Mongoose, facilitating database administration, monitoring, and development tasks. MongoDB's optimization strategies involve indexing, efficient querying, projection, aggregation, and sharding to enhance query performance. Capped collections offer a specialized solution for managing time-ordered data with predictable sizes, ensuring high performance and simplicity for specific use cases like event logging. Understanding MongoDB's components, utilizing its tools, and implementing optimization strategies empower developers to build modern, scalable, and efficient applications tailored to their needs.
MongoDB is an open-source, cross-platform document-oriented database written in C++. It provides high performance, high availability, and automatic scaling. MongoDB stores data as documents with dynamic schemas, making it flexible and suitable for big data and real-time applications. It supports features like ad-hoc queries, indexing, replication, sharding, and map-reduce for aggregation.
This document provides an introduction to NoSQL and MongoDB. It outlines that NoSQL databases are used to manage unstructured data and overcome limitations of relational databases. MongoDB is introduced as a popular document-oriented NoSQL database that stores data as JSON-like documents. Key features of MongoDB include high performance, scalability, rich query language, and automatic replication for high availability.
- MongoDB is a document-oriented, non-relational database that uses JSON-like documents with dynamic schemas, horizontal scaling with sharding and replication, and high performance.
- It is used by many large companies and is a good fit for huge, unstructured data or when dynamic schemas are needed. However, it does not support transactions or have the same data integrity features as relational databases.
- MongoDB can store data in flexible document formats, allows ad hoc queries, and supports common operations like insert, update, delete. Features include replication, sharding, indexing, geospatial queries and MapReduce.
MongoDB NoSQL database a deep dive -MyWhitePaperRajesh Kumar
This document provides an overview of MongoDB, a popular NoSQL database. It discusses why NoSQL databases were created, the different types of NoSQL databases, and focuses on MongoDB. MongoDB is a document-oriented database that stores data in JSON-like documents with dynamic schemas. It provides horizontal scaling, high performance, and flexible data models. The presentation covers MongoDB concepts like databases, collections, documents, CRUD operations, indexing, sharding, replication, and use cases. It provides examples of modeling data in MongoDB and considerations for data and schema design.
The document provides an introduction and overview of NoSQL databases. It discusses why NoSQL databases were created, the different categories of NoSQL databases including column stores, document stores, and key-value stores. It also provides an overview of Hadoop, describing it as a framework that allows distributed processing of large datasets across computer clusters.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc
How does your privacy program stack up against your peers? What challenges are privacy teams tackling and prioritizing in 2024?
In the fifth annual Global Privacy Benchmarks Survey, we asked over 1,800 global privacy professionals and business executives to share their perspectives on the current state of privacy inside and outside of their organizations. This year’s report focused on emerging areas of importance for privacy and compliance professionals, including considerations and implications of Artificial Intelligence (AI) technologies, building brand trust, and different approaches for achieving higher privacy competence scores.
See how organizational priorities and strategic approaches to data security and privacy are evolving around the globe.
This webinar will review:
- The top 10 privacy insights from the fifth annual Global Privacy Benchmarks Survey
- The top challenges for privacy leaders, practitioners, and organizations in 2024
- Key themes to consider in developing and maintaining your privacy program
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Speck&Tech
ABSTRACT: A prima vista, un mattoncino Lego e la backdoor XZ potrebbero avere in comune il fatto di essere entrambi blocchi di costruzione, o dipendenze di progetti creativi e software. La realtà è che un mattoncino Lego e il caso della backdoor XZ hanno molto di più di tutto ciò in comune.
Partecipate alla presentazione per immergervi in una storia di interoperabilità, standard e formati aperti, per poi discutere del ruolo importante che i contributori hanno in una comunità open source sostenibile.
BIO: Sostenitrice del software libero e dei formati standard e aperti. È stata un membro attivo dei progetti Fedora e openSUSE e ha co-fondato l'Associazione LibreItalia dove è stata coinvolta in diversi eventi, migrazioni e formazione relativi a LibreOffice. In precedenza ha lavorato a migrazioni e corsi di formazione su LibreOffice per diverse amministrazioni pubbliche e privati. Da gennaio 2020 lavora in SUSE come Software Release Engineer per Uyuni e SUSE Manager e quando non segue la sua passione per i computer e per Geeko coltiva la sua curiosità per l'astronomia (da cui deriva il suo nickname deneb_alpha).
HCL Notes and Domino License Cost Reduction in the World of DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-and-domino-license-cost-reduction-in-the-world-of-dlau/
The introduction of DLAU and the CCB & CCX licensing model caused quite a stir in the HCL community. As a Notes and Domino customer, you may have faced challenges with unexpected user counts and license costs. You probably have questions on how this new licensing approach works and how to benefit from it. Most importantly, you likely have budget constraints and want to save money where possible. Don’t worry, we can help with all of this!
We’ll show you how to fix common misconfigurations that cause higher-than-expected user counts, and how to identify accounts which you can deactivate to save money. There are also frequent patterns that can cause unnecessary cost, like using a person document instead of a mail-in for shared mailboxes. We’ll provide examples and solutions for those as well. And naturally we’ll explain the new licensing model.
Join HCL Ambassador Marc Thomas in this webinar with a special guest appearance from Franz Walder. It will give you the tools and know-how to stay on top of what is going on with Domino licensing. You will be able lower your cost through an optimized configuration and keep it low going forward.
These topics will be covered
- Reducing license cost by finding and fixing misconfigurations and superfluous accounts
- How do CCB and CCX licenses really work?
- Understanding the DLAU tool and how to best utilize it
- Tips for common problem areas, like team mailboxes, functional/test users, etc
- Practical examples and best practices to implement right away
Programming Foundation Models with DSPy - Meetup SlidesZilliz
Prompting language models is hard, while programming language models is easy. In this talk, I will discuss the state-of-the-art framework DSPy for programming foundation models with its powerful optimizers and runtime constraint system.
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slackshyamraj55
Discover the seamless integration of RPA (Robotic Process Automation), COMPOSER, and APM with AWS IDP enhanced with Slack notifications. Explore how these technologies converge to streamline workflows, optimize performance, and ensure secure access, all while leveraging the power of AWS IDP and real-time communication via Slack notifications.
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
In the rapidly evolving landscape of technologies, XML continues to play a vital role in structuring, storing, and transporting data across diverse systems. The recent advancements in artificial intelligence (AI) present new methodologies for enhancing XML development workflows, introducing efficiency, automation, and intelligent capabilities. This presentation will outline the scope and perspective of utilizing AI in XML development. The potential benefits and the possible pitfalls will be highlighted, providing a balanced view of the subject.
We will explore the capabilities of AI in understanding XML markup languages and autonomously creating structured XML content. Additionally, we will examine the capacity of AI to enrich plain text with appropriate XML markup. Practical examples and methodological guidelines will be provided to elucidate how AI can be effectively prompted to interpret and generate accurate XML markup.
Further emphasis will be placed on the role of AI in developing XSLT, or schemas such as XSD and Schematron. We will address the techniques and strategies adopted to create prompts for generating code, explaining code, or refactoring the code, and the results achieved.
The discussion will extend to how AI can be used to transform XML content. In particular, the focus will be on the use of AI XPath extension functions in XSLT, Schematron, Schematron Quick Fixes, or for XML content refactoring.
The presentation aims to deliver a comprehensive overview of AI usage in XML development, providing attendees with the necessary knowledge to make informed decisions. Whether you’re at the early stages of adopting AI or considering integrating it in advanced XML development, this presentation will cover all levels of expertise.
By highlighting the potential advantages and challenges of integrating AI with XML development tools and languages, the presentation seeks to inspire thoughtful conversation around the future of XML development. We’ll not only delve into the technical aspects of AI-powered XML development but also discuss practical implications and possible future directions.
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceIndexBug
Imagine a world where machines not only perform tasks but also learn, adapt, and make decisions. This is the promise of Artificial Intelligence (AI), a technology that's not just enhancing our lives but revolutionizing entire industries.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
Infrastructure Challenges in Scaling RAG with Custom AI modelsZilliz
Building Retrieval-Augmented Generation (RAG) systems with open-source and custom AI models is a complex task. This talk explores the challenges in productionizing RAG systems, including retrieval performance, response synthesis, and evaluation. We’ll discuss how to leverage open-source models like text embeddings, language models, and custom fine-tuned models to enhance RAG performance. Additionally, we’ll cover how BentoML can help orchestrate and scale these AI components efficiently, ensuring seamless deployment and management of RAG systems in the cloud.
GraphRAG for Life Science to increase LLM accuracyTomaz Bratanic
GraphRAG for life science domain, where you retriever information from biomedical knowledge graphs using LLMs to increase the accuracy and performance of generated answers
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfMalak Abu Hammad
Discover how MongoDB Atlas and vector search technology can revolutionize your application's search capabilities. This comprehensive presentation covers:
* What is Vector Search?
* Importance and benefits of vector search
* Practical use cases across various industries
* Step-by-step implementation guide
* Live demos with code snippets
* Enhancing LLM capabilities with vector search
* Best practices and optimization strategies
Perfect for developers, AI enthusiasts, and tech leaders. Learn how to leverage MongoDB Atlas to deliver highly relevant, context-aware search results, transforming your data retrieval process. Stay ahead in tech innovation and maximize the potential of your applications.
#MongoDB #VectorSearch #AI #SemanticSearch #TechInnovation #DataScience #LLM #MachineLearning #SearchTechnology
“An Outlook of the Ongoing and Future Relationship between Blockchain Technologies and Process-aware Information Systems.” Invited talk at the joint workshop on Blockchain for Information Systems (BC4IS) and Blockchain for Trusted Data Sharing (B4TDS), co-located with with the 36th International Conference on Advanced Information Systems Engineering (CAiSE), 3 June 2024, Limassol, Cyprus.
4. prepared for: 20/20 Companies | 8.22.2010
NoSQL Introduction
● NoSQL database, also called Not Only SQL, is an approach to data
management and database design that's useful for very large sets of
distributed data.
● A NoSQL database provides a mechanism for storage and retrieval of data
that is modeled in means other than the tabular relations used in traditional
relational databases.
● NoSQL (not only SQL) - a number of approaches and projects aimed for the
implementation of database models, with significant differences from those
that used in traditional relational database management system with access to
the data with the help of SQL. Description schema in the case of NoSQL can
be carried out through the use of different data structures: hash tables, arrays,
trees, etc.
● For the first time the term "NoSQL" was used in the late 90's.
● Now there are about 150 kinds of NoSQL databases (nosql-database.org)
9. prepared for: 20/20 Companies | 8.22.2010
Advantage of using NoSQL
● Quicker development times, this is due to aggregates, meaning you write to the
database once, instead of multiple times for individual entities.
● Easy to scale where relational databases are meant for a single server.
● Prevents having to create tables with custom columns like custom1, custom2,
etc. This is due to all NoSQL databases being schema-less
● Prevents having tables with large amounts of NULL values (sparse table).
● It’s More Scalable
● It’s Flexible
● It’s Administrator-Friendly
● It’s Cost-Effective and Open-Source
● The Cloud’s the Limit
10. prepared for: 20/20 Companies | 8.22.2010
Disadvantages of using NoSQL
● It Has a Very Narrow Focus
● Standardization and Open Source
● Performance and Scaling > Consistency
● A General Lack of Maturity
● It Doesn’t Play Nice with Analytics
● No relations between the tables(collections in mongodb).
● No Stored Procedures in mongodb (NoSql database).
● Most of the administration is depends upon scripting like bash,perl etc.,
in linux environment.
● GUI mode tools to access the database is not flexibly available in
market.
12. prepared for: 20/20 Companies | 8.22.2010
● It is a Open Source, cross platform database written in C++.
● It is a document oriented database that provides, high performance, high
availability, and easy scalability.
● It stores data as documents. So it is a document oriented database.
● It does not support SQL It supports a rich, ad-hoc query language of its own.
● It works on concept of collection and document.
There are few organizations migrated to MongoDb and it proven benefits to them:. These are:
What is a MongoDB?
Organization Migrated From Application
MTV Networks Multiple RDBMS Centralized content management
Cisco Multiple RDBMS Analytics, social networking
Foursquare PostgreSQL Social, mobile networking platforms
Salesforce marketing Cloud RDBMS Social marketing, analytics
Orange Digital MySQL Content management
edmunds.com Oracale Billing, online advertising, user data
13. prepared for: 20/20 Companies | 8.22.2010
Basic Overview
Database: Database is a physical container for
collections. Each database gets its own set of
files on the file system. A single MongoDB
server typically has multiple databases.
Collection: Collection is a group of MongoDB
documents. It is the equivalent of an RDBMS
table. Collections do not enforce a schema.
Documents within a collection can have different
fields.
Document: A document is a set of key-value
pairs. Documents have dynamic schema.
Dynamic schema means that documents in the
same collection do not need to have the same
set of fields or structure, and common fields in a
collection's documents may hold different types
of data.
14. prepared for: 20/20 Companies | 8.22.2010
● Schema less : MongoDB is document database in which one collection holds
different different documents. Number of fields, content and size of the
document can be differ from one document to another.
● You can set an index on any attribute of a MongoDb record (as
FirstName="Sameer",Address="8 Gandhi Road"), with respect to which, a
record can be sort quickly and ordered.
● MongoDb supports various programming languages like C, C# and .NET,
C++, Erlang, Haskell, Java, Javascript, Perl, PHP, Python, Ruby, Scala (via
Casbah).
● MongoDb supports rich query to fetch the data.
● Data is stored in the form of JSON style documents.
● No complex joins
● MongoDb is easily installable.
Why MongoDB?
15. prepared for: 20/20 Companies | 8.22.2010
Features
● Document-oriented
● Ad hoc queries
● Indexing
● Replication
● Load balancing
● File storage
● Aggregation
● Server-side JavaScript execution
● Capped collections
● HTTP Server for REST API
16. prepared for: 20/20 Companies | 8.22.2010
How mongoDB works?
There is a process “mongod” that acts as a database server.
This process attaches itself to a directory with the --dbpath option.
(Default dbpath : “/data/db”).
And start listening to a specific port number via --port option.
(Default port : 27017, 28017 - Http interfaces)
Example:-
> .mongod.exe --dbpath "C:datadb" --port 28080
17. prepared for: 20/20 Companies | 8.22.2010
➢ JSON:- JSON (JavaScript Object Notation) is a lightweight data-interchange
format. It is easy for humans to read and write. It is easy for machines to
parse and generate. Its built on key value structure and ordered list of
values.
➢ BSON:- Binary JSON, is a binary-encoded serialization of JSON-like docu-
ments. It supports the embedding of documents and arrays within other doc-
uments and arrays. BSON also contains extensions that allow representa-
tion of data types that are not part of the JSON spec.
Characteristics:-
○ Lightweight: minimum overhead
○ Traversable
○ Efficient: encoding and decoding
Behind MongoDB - JSON / BSON
21. prepared for: 20/20 Companies | 8.22.2010
Sample MongoDB Document
Below given example shows the document structure of a blog site which is simply a comma separated key value pair.
{ _id: ObjectId(7df78ad8902c)
title: 'MongoDB Overview',
description: 'MongoDB is no sql database',
by: 'tutorials point',
url: 'http://www.tutorialspoint.com',
tags: ['mongodb', 'database', 'NoSQL'],
likes: 100,
comments: [
{
user:'user1',
message: 'My first comment',
dateCreated: new Date(2011,1,20,2,15),
like: 0
},
{
user:'user2',
message: 'My second comments',
dateCreated: new Date(2011,1,25,7,45),
like: 5
}
]
}
Note:
_id is a 12 bytes hexadecimal number which
assures the uniqueness of every document.
You can provide _id while inserting the
document. If you didn't provide then
MongoDB provide a unique id for every
document. These 12 bytes first 4 bytes for the
current timestamp, next 3 bytes for machine
id, next 2 bytes for process id of mongodb
server and remaining 3 bytes are simple
incremental value.
22. prepared for: 20/20 Companies | 8.22.2010
Relationship of RDBMS terminology with MongoDB
Below given table shows the relationship of RDBMS terminology with MongoDB
RDBMS MongoDB
Database Database
Table Collection
Tuple/Row Document
column Field
Table Join Embedded Documents
Primary Key Primary Key (Default key
_id provided by mongodb
itself)
Database Server and Client
Mysqld/Oracle mongod
mysql/sqlplus mongo
24. prepared for: 20/20 Companies | 8.22.2010
➢ Authentication - Who are you in MongoDB?
○ Application user
○ Administrator
○ Backup job
○ Monitoring agents
➢ Authorization - What can you do in MongoDB?
○ CDUD Operation
○ Configure the database
○ Manage sharding/replication
○ User management
MongoDB Configuration
25. prepared for: 20/20 Companies | 8.22.2010
Manage User and Roles
➢ MongoDB employs Role-Based Access Control (RBAC) to determine access
for users
➢ MongoDb store user and roles details to admin database.
➢ Each application and user of a MongoDB system should map to a distinct
application or administrator
➢ MongoDB provide built-in roles like…
○ Database user role
■ read
■ readWrite
○ Database Administration Roles
■ dbAdmin
■ dbOwner
■ userAdmin
26. prepared for: 20/20 Companies | 8.22.2010
Create a system user administrator
use admin
db.createUser({
user: "root",
pwd: "root",
roles: ["root"]
})
db.createUser({
user: "siteUserAdmin",
pwd: "password",
roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
})
33. prepared for: 20/20 Companies | 8.22.2010
Collection : Filter Query
Comparison Operators
$eq Matches values that are equal to a specified value.
$gt Matches values that are greater than a specified value.
$gte Matches values that are greater than or equal to a
specified value.
$lt Matches values that are less than a specified value.
$lte Matches values that are less than or equal to a
specified value.
$ne Matches all values that are not equal to a specified
value.
$in Matches any of the values specified in an array.
$nin Matches none of the values specified in an array.
34. prepared for: 20/20 Companies | 8.22.2010
Collection : Filter Query
Logical Operators
$or Joins query clauses with a logical OR returns all documents that match
the conditions of either clause.
$and Joins query clauses with a logical AND returns all documents that
match the conditions of both clauses.
$not Inverts the effect of a query expression and returns documents that do
not match the query expression.
$nor Joins query clauses with a logical NOR returns all documents that fail
to match both clauses.
35. prepared for: 20/20 Companies | 8.22.2010
Collection : Filter Query
$exists Matches documents that have the specified field.
$type Selects documents if a field is of the specified type.
Element Operators
Array Operators
$all Matches arrays that contain all elements specified in the query.
$elemMatch Selects documents if element in the array field matches all the
specified $elemMatch conditions
$size Selects documents if the array field is a specified size.
36. prepared for: 20/20 Companies | 8.22.2010
Collection : Projection
Projection Operators
$ Projects the first element in an array that matches the query
condition.
$elemMatch Projects the first element in an array that matches the specified
$elemMatch condition.
$meta Projects the document’s score assigned during $text operation.
$slice Limits the number of elements projected from an array. Supports
skip and limit slices.
37. prepared for: 20/20 Companies | 8.22.2010
Aggregation Framework
➢ Aggregations are operations that process data records and return computed
results.
➢ MongoDB provides a rich set of aggregation operations that examine and
perform calculations on the data sets.
➢ Running data aggregation on the mongod instance simplifies application
code and limits resource requirements.
40. prepared for: 20/20 Companies | 8.22.2010
Zip document
{
"_id": "10280",
"city": "NEW YORK",
"state": "NY",
"pop": 5574,
"loc": [ -74.016323, 40.710537 ]
}
Report:
➢ States with Populations above 10 Million
➢ Average City Population by State
➢ Largest and Smallest Cities by State
Aggregation : Demo
41. prepared for: 20/20 Companies | 8.22.2010
SQL and the corresponding MongoDB statements
Statement MYSQL MONGODB
Create CREATE TABLE users ( id INT NOT NULL
AUTO_INCREMENT, user_id Varchar(30), age Number,
status char(1), PRIMARY KEY (id) )
db.users.insert( { user_id: "abc123", age: 55,
status: "A" } )
OR
db.createCollection("users")
Alter ALTER TABLE users ADD join_date DATETIME db.users.update( { }, { $set: { join_date: new
Date() } }, { multi: true } )
Drop Column ALTER TABLE users DROP COLUMN join_date db.users.update( { }, { $unset: { join_date: ""
} }, { multi: true } )
Drop Table DROP TABLE users db.users.drop()
Insert INSERT INTO users(user_id, age, status) VALUES
("bcd001", 45, "A")
db.users.insert( { user_id: "bcd001", age: 45,
status: "A" } )
Select SELECT user_id, status FROM users WHERE status = "A" db.users.find( { status: "A" }, { user_id: 1,
status: 1, _id: 0 } )
()
Update UPDATE users SET status = "C" WHERE age > 25 db.users.update( { age: { $gt: 25 } }, { $set: {
status: "C" } }, { multi: true } )
Delete DELETE FROM users WHERE status = "D" db.users.remove( { status: "D" } )
42. prepared for: 20/20 Companies | 8.22.2010
➢ What is a priority?
○ High consistency
○ High read performance
○ High write performance
➢ How does the application access and manipulate data?
○ Read/Write Ratio
○ Types of Queries / Updates
○ Data life-cycle and growth
○ Analytics (MapReduce, Aggregation)
Schema Design - Patterns
43. prepared for: 20/20 Companies | 8.22.2010
➢ One to One Relationship
○ Relationships are often embedded
○ Optimized read performance.
○ Document provides a holistic representation of objects with
embedded entities
➢ One to Many Relations
○ De-normalization
○ Provides data locality using Referencing or Embedding
➢ Many to Many Relations
○ Referencing and indexing
Schema Design - Example
45. prepared for: 20/20 Companies | 8.22.2010
Data Modeling in MongoDB
There are two tools that allow applications to represent these relationships: references and embedded documents.
References: References: References store the relationships between
data by including links or references from one document to another.
Applications can resolve these references to access the related data.
Embedded Data: Embedded documents capture
relationships between data by storing related data in a single
document structure. These denormalized data models allow
applications to retrieve and manipulate related data in a
single database operation.
User Document:
{
_id: <ObjectId1>,
username: "user1"
}
Contact Document:
{
_id: <ObjectId2>,
user_id: <ObjectId1>,
phone: "1234567890",
email: "user@example.com"
}
Access Document:
{
_id: <ObjectId3>,
user_id: <ObjectId1>,
level: 5,
group: "Dev"
}
{
_id: <ObjectId1>,
username: "user1",
contact: {
phone: "1234567890",
email: "user@example.com"
},
access: {
level: 5,
group: "Dev"
}
}
46. prepared for: 20/20 Companies | 8.22.2010
Replication
➢ A replica set in MongoDB
is a group of mongod
processes that maintain
the same data set
➢ Replica sets provide
redundancy and high
availability, and are the
basis for all production
deployments
47. prepared for: 20/20 Companies | 8.22.2010
Sharding
➢ Sharding is the process of storing
data records across multiple
machines and is MongoDB’s
approach to meeting the demands of
data growth.
➢ With sharding, you add more
machines to support data growth and
the demands of read and write
operations.