[英]What's the best approach to showcase benefits from SQL - NoSQL environment?
I was asked to create a little environment showcasing benefits from using NoSQL - SQL hybrid over only SQL database.我被要求创建一个小环境,展示使用 NoSQL - SQL 混合而不是 SQL 数据库的好处。 Since my background is mostly Admin/DevOps I have basic knowledge about databases, but I've never done something like this.
因为我的背景主要是 Admin/DevOps,所以我对数据库有基本的了解,但我从来没有做过这样的事情。
I thought of creating a VM hosting MySQL or PostgreSQL instance and populating it with Sakila or other free database as starting point and the second VM with Mongo/Redis, but I don't know what to do from this point.我想创建一个托管 MySQL 或 PostgreSQL 实例的 VM,并使用 Sakila 或其他免费数据库作为起点,第二个 VM 使用 Mongo/Redis,但我不知道从这一点开始该怎么做。 How can I integrate those databases?
如何集成这些数据库? How can I run tests and what should I test - query response times?
我如何运行测试以及我应该测试什么 - 查询响应时间? Is this even good strategy?
这甚至是一个好策略吗?
Any help would be appreciated.任何帮助,将不胜感激。
Try to make two data models for the twitter data feed, one in relational SQL tables and another one in a single JSON document.尝试为 twitter 数据馈送创建两个数据模型,一个在关系 SQL 表中,另一个在单个 JSON 文档中。
Used MySQL as a relational DB AND MongoDB as NoSQL DB.使用 MySQL 作为关系 DB 和 MongoDB 作为 NoSQL DB。
The main performance indicator will show up when you start executing SQL on table joins in MySQL against executing MongoDB queries where there is no need to joins.当您开始在 MySQL 中的表连接上执行 SQL 与执行 MongoDB 查询时,将显示主要性能指标。
This is an idea but there are many other advantages.这是一个想法,但还有许多其他优点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.