01 2022 档案

摘要:每日一句 Once you choose your way of life, be brave to stick it out and never return. 生活的道路一旦选定,就要勇敢地走到底,绝不回头 概述 mongod.exe常用参数如下 参数 描述 --bind_ip 绑定服务IP,若 阅读全文
posted @ 2022-01-22 23:53 yltrcc 阅读(107) 评论(0) 推荐(0)
摘要:每日一句 If no one else guards the world, then I will come forward. 如果没有别人保卫这个世界,那么我将挺身而出。 概述 MongoDB主要是由文档(document)、集合(collection)、数据库(database)这三部分组成的。 阅读全文
posted @ 2022-01-22 22:22 yltrcc 阅读(325) 评论(0) 推荐(0)
摘要:每日一句 Human beings are designed for many things, but loneliness isn't one of them. 人类能应对许多问题,但孤独并不在其中。 概述 RabbitMQ 是一个消息中间件:它接受并转发消息。类比于快递站点,当你要发送一个包裹时 阅读全文
posted @ 2022-01-22 18:39 yltrcc 阅读(153) 评论(0) 推荐(0)
摘要:每日一句 You must try things that may not work. And you must not let anyone define your limits because of where you come from. Your only limit is your sou 阅读全文
posted @ 2022-01-22 16:55 yltrcc 阅读(182) 评论(0) 推荐(0)
摘要:每日一句 Storms make trees take deeper roots. 越是经历风暴,树木扎根越深。 概述 地址:https://github.com/yltrcc/article 引入依赖 <parent> <groupId>org.springframework.boot</grou 阅读全文
posted @ 2022-01-22 15:51 yltrcc 阅读(63) 评论(0) 推荐(0)
摘要:每日一句 Failure will never overtake me if my determination to succeed is strong enough. 只要我成功的决心足够强,失败就永远不会打倒我。 概述 MongoDB 是由C++语言编写的,是一个基于分布式文件存储的开源数据库系 阅读全文
posted @ 2022-01-21 18:00 yltrcc 阅读(167) 评论(0) 推荐(0)
摘要:每日一句 Wisdom is knowing what to do next, skill is knowing how to do it, and virtue is doing it. 智慧是知道下一步做什么,技能是知道如何做,而美德就是去做。 windows 1.下载并安装erlang,下载地 阅读全文
posted @ 2022-01-21 15:57 yltrcc 阅读(86) 评论(0) 推荐(0)
摘要:每日一句 The secret of being miserable is to have leisure to bother about whether you are happy or not. 痛苦的秘密在于有闲工夫担心自己是否幸福。 概述 官网:https://www.rabbitmq.co 阅读全文
posted @ 2022-01-20 18:43 yltrcc 阅读(298) 评论(0) 推荐(0)
摘要:每日一句 I must say a word about fear. It is life’s only true opponent. Only fear can defeat life. 这里必须说说恐惧,它是生活惟一真正的对手,因为只有恐惧才能打败生活。 概述 当在 Spring 中定义一个 时 阅读全文
posted @ 2022-01-20 17:32 yltrcc 阅读(60) 评论(0) 推荐(0)
摘要:每日一句 Ideal is the beacon. Without ideal, there is no secure direction; without direction, there is no life. 理想是指路明灯。没有理想,就没有坚定的方向;没有方向,就没有生活。 概述 对集合进行 阅读全文
posted @ 2022-01-20 11:12 yltrcc 阅读(327) 评论(0) 推荐(0)
摘要:每日一句 A flower cannot blossom without sunshine, and man cannot live without love. 花没有阳光就不能盛开,人没有爱就不能生存。 题目来源 https://leetcode-cn.com/problems/edit-dist 阅读全文
posted @ 2022-01-19 23:26 yltrcc 阅读(44) 评论(0) 推荐(0)
摘要:每日一句 Human beings are designed for many things, but loneliness isn't one of them. 人类能应对许多问题,但孤独并不在其中。 概述 本章节中主要介绍了大致的网站架构演变过程。 传统架构(单点应用)-> 分布式架构(以项目进 阅读全文
posted @ 2022-01-19 19:37 yltrcc 阅读(74) 评论(0) 推荐(0)
摘要:每日一句 Progress is the result of a bunch of failures. 进步是不断失败的成果。 概述 MongoDB涉及到的一些比如集合啥的命令规范。 集合的命名规范 集合名不能是空字符串 集合名不能含有 \0 字符(空字符),这个字符表示集合名的结尾。 集合名不能以 阅读全文
posted @ 2022-01-19 17:57 yltrcc 阅读(236) 评论(0) 推荐(0)
摘要:每日一句 Zeal without knowledge is fire without light. 没有知识的热忱犹如火之无光。 给每个数据库设置单独的管理员 我们除了可以设置数据库的超级管理员以外,还可以给每个数据库设置单独的管理员。其只有操作单独数据的一定权限。 db.createUser({ 阅读全文
posted @ 2022-01-19 15:42 yltrcc 阅读(298) 评论(0) 推荐(0)
摘要:每日一句 Life is like a shower. One wrong turn and you're in hot water. 生活就像淋浴,方向转错,水深火热。 概述 MongoDB在副本集中,会自动进行主节点的选举,主节点选举的触发条件: 主节点故障 主节点网络不可达(默认心跳信息为10 阅读全文
posted @ 2022-01-19 14:33 yltrcc 阅读(448) 评论(0) 推荐(0)
摘要:每日一句 Medalist don't grow on trees, you have to nurture them with love, with hard work, with dedication. 金牌选手不会从天而降,你必须用热爱、刻苦和投入来浇灌他们。 概述 分片(sharding)是 阅读全文
posted @ 2022-01-19 12:52 yltrcc 阅读(130) 评论(0) 推荐(0)
摘要:每日一句 Sometimes your whole life boils down to one insane move. 人一生中出人头地的机会不多,一旦有了一定要抓住! 概述 默认情况下,MongoDB实例启动运行时是没有启用用户访问权限控制的,也就是说,在实例本机服务器上都可以随意连接到实例进 阅读全文
posted @ 2022-01-19 11:19 yltrcc 阅读(73) 评论(0) 推荐(0)
摘要:每日一句 Perfection is not just about control. It's also about letting go. 完美不是控制出来的,是爆发出来的。 概述 MongoDB中的副本集(Replica Set)是一组维护相同数据集的mongod服务。副本集可提供冗余和高可用性 阅读全文
posted @ 2022-01-18 15:34 yltrcc 阅读(70) 评论(0) 推荐(0)
摘要:每日一句 Nothing like a little truth to sober you up. 唯有事实最能让人清醒。 概述 索引支持在MongoDB中高效地执行查询。如果没有索引,MongoDB必须执行全集合扫描,即扫描集合中的每个文档,以选择与查询语句匹配的文档。这种扫描全集合的查询效率是非 阅读全文
posted @ 2022-01-17 11:39 yltrcc 阅读(116) 评论(0) 推荐(0)
摘要:每日一句 There should be a better way to start a day than waking up every morning. 应该有更好的方式开始新一天, 而不是千篇一律的在每个上午醒来。 数据库操作 查询数据库 查看所有数据库 查看所有数据库,可以使用 show d 阅读全文
posted @ 2022-01-16 08:52 yltrcc 阅读(880) 评论(0) 推荐(0)
摘要:每日一句 If no one else guards the world, then I will come forward. 如果没有别人保卫这个世界,那么我将挺身而出。 概述 MongoDB主要是由文档(document)、集合(collection)、数据库(database)这三部分组成的。 阅读全文
posted @ 2022-01-15 07:50 yltrcc 阅读(172) 评论(0) 推荐(0)
摘要:每日一句 Once you choose your way of life, be brave to stick it out and never return. 生活的道路一旦选定,就要勇敢地走到底,绝不回头 概述 mongod.exe常用参数如下 参数 描述 --bind_ip 绑定服务IP,若 阅读全文
posted @ 2022-01-14 07:41 yltrcc 阅读(128) 评论(0) 推荐(0)