Java知识分享网 - 轻松学习从此开始!    

Java知识分享网

Java1234官方群25:java1234官方群17
Java1234官方群25:838462530
        
SpringBoot+SpringSecurity+Vue+ElementPlus权限系统实战课程 震撼发布        

最新Java全栈就业实战课程(免费)

springcloud分布式电商秒杀实战课程

IDEA永久激活

66套java实战课程无套路领取

锋哥开始收Java学员啦!

Python学习路线图

锋哥开始收Java学员啦!

JavaScript Applications with Node.js, React, React Native and MongoDB PDF 下载


分享到:
时间:2024-03-19 11:31来源:http://www.java1234.com 作者:转载  侵权举报
JavaScript Applications with Node.js, React, React Native and MongoDB
失效链接处理
JavaScript Applications with Node.js, React, React Native and MongoDB  PDF 下载

 
 
相关截图:
 


主要内容:

Chapter 5: Managing Availability and
Performance
In an ideal world, you could store an infinite amount of data, access it
from anywhere in near-zero time and never have any data loss or corruption.
Reality is that it takes a lot of work to approach these ideals. As you design
your data model and subsequently try it out, you need to tune your DBMS for
consistency, availability, and performance. You can now consider what
mechanisms are at your disposal to approach these ideals.
It really takes a fair amount of time to fine-tune each aspect of the
management of your MongoDB database. Many times, you will be faced with
tradeoffs that have to be made. This chapter will look at some of the aspects
that can be “fine-tuned” for specific access scenarios.
In a PaaS environment, some of this work should be less than has been
traditionally required in the past with a DBMS. MongoDB has certainly done
a great job of making some things automatically happen that used to require a
lot of manual configuration.
5.1 Indexing
Imagine you had a problem finding personal belongings such as your car
keys, the TV remote, your favorite pair of socks, your wallet or purse, etc.
Perhaps when you try to head out the door, you find yourself frantically
searching for your car keys every morning.
One approach to solving this would be to keep a whiteboard right next to
your front door that had two columns. One column would list the item you
cared about and the other column would list the known location of that item.
The whiteboard might look like this:


 
 
 
------分隔线----------------------------

锋哥公众号


锋哥微信


关注公众号
【Java资料站】
回复 666
获取 
66套java
从菜鸡到大神
项目实战课程

锋哥推荐