Thursday, April 18, 2019

UNDERSTAND DYNAMODB

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...

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...

MongoDB CRUD

Mogo Shell For more documentation of basic MongoDB operations in the mongo shell, see: Getting Started Guide Insert Documents Query Documents Update Documents Delete Documents mongo Shell Methods 1. Query method For the...

Copy MongoDB to S3

Sample project: https://www.codeproject.com/Articles/656093/Connecting-MongoDB-with-ASP-NET (Old mongo db driver) Visual Studio 2015 Install nuget: MongoDB.Driver 2.4.3 Configuration: Connection string: https://docs.mongodb.com/manual/reference/connection-string/   .net core   https://www.codeproject.com/Articles/1151842/Using-MongoDB-NET-Driver-with-NET-Core-WebAPI http://www.dotnetcurry.com/aspnet-mvc/1267/using-mongodb-nosql-database-with-aspnet-webapi-core Mixing Static and Dynamic Data http://mongodb.github.io/mongo-csharp-driver/2.4/examples/mixing_static_and_dynamic/   TUTORIAL http://edubanq.com/database/mongodb-database/mongodb-from-c-with-the-net-driver-2-0/

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 Cloud Install for Monitoring

Download rpm curl -OL https://cloud.mongodb.com/download/agent/monitoring/mongodb-mms-monitoring-agent-5.5.0.358-1.x86_64.rpm Install sudo rpm -U mongodb-mms-monitoring-agent-5.5.0.358-1.x86_64.rpm  

Entity Framework: Storing complex properties as JSON text in database

https://www.codeproject.com/Articles/1166099/Entity-Framework-Storing-complex-properties-as-JSO 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: https://cmatskas.com/ef-core-migrations-with-existing-database-schema-and-data/ dotnet ef migrations add dotnet ef dbcontext scaffold "ConnectionString" --output-dir ReverseModels --force https://docs.microsoft.com/en-us/ef/core/get-started/aspnetcore/existing-db Code first:  

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...

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...