Monday, May 20, 2019

Note about MongoDB 2019.02

Engine comparison: MMAPv1 MMAPv1 is quite mature and has proven to be quite stable over the years. One of the storage allocation strategies used with this...

Copy MongoDB to S3

Sample project: (Old mongo db driver) Visual Studio 2015 Install nuget: MongoDB.Driver 2.4.3 Configuration: Connection string:   .net core Mixing Static and Dynamic Data   TUTORIAL

Entity Framework: Storing complex properties as JSON text in database Complex properties in entity Framework models such as arrays, dictionaries, and objects can be serialized in SQL Server database in JSON format. In this...

Entity Frameworks Core

Database First: dotnet ef migrations add dotnet ef dbcontext scaffold "ConnectionString" --output-dir ReverseModels --force Code first:  


WHAT IS DYNAMODB? Read Unit: 4K, Write Unit: 1KB Requirements: 1000 4KB Item write/second >= 4000 Write Unit/second Avoid hot spot area: Limit: maximum record...

Mongo Cloud Install for Monitoring

Download rpm curl -OL Install sudo rpm -U mongodb-mms-monitoring-agent-  

Deploy mongodb on EC2

Mongodb on EC2 Migrate Mongodb to WireTiger Start mongod: sudo mongod --dbpath /var/lib/mongodb --config /etc/mongod.conf Deploy Replica Sample option File End  

MongoDB Backup and Restore single collection

mongodump --db=app_service_release --collection=661744644___users --out=data mongorestore --db=app_service_release --collection=661744644___users data/app_service_release/661744644___users.bson TOPIC 1: What is a MongoDB Replication Set? MongoDB handles replication through an implementation called "replication sets". Replication sets in...

Quản trị MySQL

Giới thiệu MySQL Replication 1. Giới thiệu Right tool for right job. Trước tiên phải hiểu là MySQL Replication không phải là giải pháp giải quyết...

Mongo DB

Mongo DB is an No SQL, opensource db, written in C++ Install   sudo apt-get install -y mongodb-org Một số chú ý: Mongodb từ 3.0 hỗ trợ hai loại...