Quantcast
Channel: CodeSection,代码区,数据库(综合) - CodeSec
Browsing all 6262 articles
Browse latest View live

MongoDB 文档的删除操作

在db中删除数据是十分危险的事,建议使用logic delete,即在doc中增加一个field:IsDeleted,将其设置为1,表示该doc在逻辑上被删除,这种workaround将delete操作转换为一个update操作,比较安全。 MongoDB使用remove删除doc,语法如下, db.collection.remove( <query filter>, {...

View Article


Image may be NSFW.
Clik here to view.

Building a successful enterprise grade IoT platform

Fivekey capabilities for IoT implementations IoT connected devices are turning up everywhere. Every major communications carrier is offering its own IoT platform. And hundreds of technology companies...

View Article


Image may be NSFW.
Clik here to view.

[Cassandra教程](十一) 深入NoSQL的数据删除

0. 引言 NoSQL 在设计理念上面就与传统的RDBMS就不一样,因此删除数据的处理方式非常不一样。然而,虽然NoSQL的选择很多,但是在数据删除的处理方式上,各家的处理方法又有很多共通的地方。 本文将带着大家以Cassandra为例,深入了解NoSQL是如何 来删除数据的。...

View Article

Image may be NSFW.
Clik here to view.

Announcing Hortonworks DataFlow (HDF) 2.0 GA!

Enterprise Productivity and Integration of Apache NiFi, Kafka and Storm, together with Ambari and Ranger We are pleased to announce that Hortonworks DataFlow ( HDF ) Version 2.0 is now generally...

View Article

Image may be NSFW.
Clik here to view.

N21_第x周_Storm_01_单机实践篇

这2周没有按马哥安排的课程走,因公司需要,大家一直在试尝大数据这块。作业不能不做,也不知道马哥哪周的作业会有storm,只好先将这段时间的实验慢慢记录下来(其它flume、kafka、spark等本周会慢慢补充),等知道具体的作业题目后,再完善。 实验目的 了解storm的原理,并用storm单机版实验加深理解,为后面的大数据做准备。...

View Article


Image may be NSFW.
Clik here to view.

[译] 高度敏感应用程序的迁移

译者:大愚若智 本文是Netflix计费系统迁移至云中系列文章的后续,详细介绍了将计费应用程序和数据存储从本地数据中心迁移至AWS云的技术细节。 你可能已经从早前发布的 Netflix云迁移博客文章 中了解到,Netflix的所有流媒体基础结构现已完全在云中运行。随着Netflix规模不断扩大,尤其是 Netflix Everywhere...

View Article

Image may be NSFW.
Clik here to view.

MongoDB 内嵌文档

MongoDB是文档型的数据库系统,doc是MongoDB的数据单位,每个doc相当于关系型数据库的数据行(row),doc和row的区别在于field的原子性:row中的column是不和分割的原子对象,而doc中的field可以是原子对象,也可以是内嵌doc(embedded doc),数组等数据类型。内嵌doc中所有field的Key不允许重复。 例如以下doc,contact...

View Article

Image may be NSFW.
Clik here to view.

唯品会多线程Redis设计与实现

声明:本文来自京东张开涛的微信公众号(kaitao-1234567),授权CSDN转载,如需转载请联系作者。 作者:申政,开源爱好者,唯品会高级DBA,主要负责Redis相关领域的源码研究和研发工作。 责编:钱曙光,关注架构和算法领域,寻求报道或者投稿请发邮件qianshg@csdn.net,另有「CSDN...

View Article


Image may be NSFW.
Clik here to view.

基于Redis的分布式Java任务执行和调度框架

Redisson是使用Redis实现 分布式 任务执行和调度的Java开源项目,它是通过标准JDK的ExecutorService和ScheduledExecutorService API实现的,被提交的任务在Redisson节点服务器上运行,它们共同连接同样的Redis数据库。 Redisson节点...

View Article


Image may be NSFW.
Clik here to view.

实时OLAP数据仓库架构优化演进

如需转载请联系听云College团队成员小尹 邮箱:yinhy#tingyun.com 本文整理自APMCon 2016中国应用性能管理大会数据库性能优化专场优酷广告基础设施技术专家张海雷演讲《实时OLAP数据仓库架构优化演进》,主要介绍了Druid实时导入、亚秒响应、支持高并发、高可用性等诸多特性。 在分享之前先自我介绍一下,我来自于优酷土豆广告团队,负责广告团队的Redis...

View Article

Image may be NSFW.
Clik here to view.

Synching PouchdDB with remote DB

If we want to control our own data, we must know how to run our own database. To make this more attractive, let us pick a database that knows how to sync with our mobile or web application. Then we can...

View Article

Image may be NSFW.
Clik here to view.

Drilling into analytics with NoSQL data stores

One question many app developers find themselves asking is, “OK, I have plenty of data from my application’s users. Now how do I gain insight from my application’s data?” Likely, much of the...

View Article

Ask HN: In what areas are NoSQL Databases beneficial over Relational Databases?

In my opinion, the only reason to leave behind ACID databases is if you have reached the point where they can't scale up any more. If you have reached this point, you're probably a company with 20+...

View Article


Image may be NSFW.
Clik here to view.

Reading Notes #249

Suggestion of the week Trying out the “standard” and “enterprise” templates in Azure Logic Apps (Richard Seroter) - Another excellent post from Seroter who shows us a quick simple logic app, and also...

View Article

Image may be NSFW.
Clik here to view.

一个Node.js+mongoDB+Vue.js的博客内容管理系统

在用过臃肿的WordPress后,一直想自己写一个轻便简约的博客内容管理器(CMS)。 一拖再拖,在暑假开学前,终是完成了这么个玩意儿。 嗯,其实我想完成的功能: 一个基本的博客内容管理器功能,如后台登陆,发布并管理文章等 支持markdown语法编辑 支持代码高亮 可以管理博客页面的链接 博客页面对移动端适配优化 账户管理(修改密码) 页面足够大气、酷炫嘿...

View Article


Image may be NSFW.
Clik here to view.

Apache Impala (Incubating) on Amazon: Performance and Cost Considerations for...

The benchmark testing results detailed below can help you make an informed decision about AWS storage options for Impala. In arecent post, you learned howImpala 2.6 on S3 delivers cloud-native features...

View Article

MongoDB复制集环境搭建

环境介绍: 192.168.1.250 主 port=27408 192.168.1.250 仲裁 port=27409 192.168.1.251 备 port=27408 [root@HE4 ~]# tar xvf mongodb-linux-x86_64-2.6.10.tgz [root@HE4 ~]# mkdir -p /export/mongodb [root@HE4 ~]# mkdir...

View Article


Image may be NSFW.
Clik here to view.

BoltDB之Bucket(一)

BoltDB中的Bucket类似于传统关系型数据库的”表”。BoltDB通过Bucket将一个庞大的数据库划分成诸多的命名空间。用户在每个命名空间内存储KV数据,通过此种办法可以提高数据的搜索效率。 例如,一个BoltDB中可: 创建User Bucket,用于记录用户信息(存储的K是用户名,而Value是用户详情) 创建Order...

View Article

Convert Mongo BSONDocument to an array in PHP

Ran into a scenario this weekend where I needed to take a subdocument from Mongo but I needed it in an array in php. Reading the data from Mongo with PHP was simple and won’t be discussed. What I’d...

View Article

Hadoop for Health Insurance: Hortonworks-Knowledgent: Partnering for Success...

Hadoop for Health Insurance: The future of the healthcare industry rests in the promise of collecting, analyzing and taking action on the output of larger amounts of information. Through the...

View Article
Browsing all 6262 articles
Browse latest View live