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

MongoDB unique index

实战 Part1: 写在最前 MongoDB的 unique index索引这里有个坑,主要体现在对NULL值的处理上,本文加以复现。 整体环境: MongoDB3.2.5 Part2: 集合内容 PRIMARY> db.helei.find() { "_id" : ObjectId("58b7ea9544e98b24a5bdcef5"), "i" : 0, "username" :...

View Article


Image may be NSFW.
Clik here to view.

Redis 学习之集群

该文使用centos6.5 64位 redis3.2.8 一、 redis-cluster架构图 集群通信 :所有redis节点之间通过PING-PONG机制彼此互联,内部使用二进制鞋子优化传输速度和带宽。 集群数据存储(哈希槽) : (1)redis-cluster把所有的物理节点映射到[0-16383]slot上,cluster...

View Article


Image may be NSFW.
Clik here to view.

图数据库――大数据时代的高铁

作者:董小珊,姚臻 责编:仲培艺(zhongpy@csdn.net) 本文为 《程序员》 原创文章,未经允许不得转载,更多精彩文章请 订阅《程序员》 如果把传统关系型数据库比做火车的话,那么到现在大数据时代,图数据库可比做高铁。它已成为NoSQL中关注度最高,发展趋势最明显的数据库。 简介...

View Article

Image may be NSFW.
Clik here to view.

The 5-Minute Interview: Antonio Molins, VP of Data Science at Miroculus

ByBryce Merkl Sasaki, Aspiring Graphista | March 3, 2017 “We think it’s good to use the right tool for the right problem ― and graph databases are the right tool if you are focusing on...

View Article

Image may be NSFW.
Clik here to view.

“CREATE ANY DIRECTORY”=DBA=SYSDBA ! Ouch !

As Kamil Stawiarski explained in some great articles : “A lot companies consolidates databases into one appliance like for example Oracle Exadata. So you can have a lot of different databases in one...

View Article


php+redis 简易的实现文章发布系统(用户投票系统)

/** * @data 文章发布 * 文章详情散列表中递增ID,讲文章发布者ID写入投票用户集合中,设置投票时间为一周 * 讲文章内容写入文章散列中,讲文章写入文章评分有序集合和文章发布有序集合中 * @author Lorne * @date 2017-03-03 */ public function post_article($user){ $VOTE_SCORE = 24; $redis =...

View Article

DBA 101: Unique Constraint vs Unique Index

Designing a rock solid application and database can be difficult. New features and overlapping features mean that you’re able to accomplish a single task in many ways. For instance the numeric and...

View Article

Image may be NSFW.
Clik here to view.

DBA 101: File growth

Maintaining a database is an important job of the DBA role. One of the many maintenance tasks is ensuring that the disk does not fill up and your files are able to grow over time. Additionally, you...

View Article


大数据~说说Hadoop

Hadoop是一个由Apache基金会所开发的分布式系统基础架构。 用户可以在不了解分布式底层细节的情况下,开发分布式程序。充分利用集群的威力进行高速运算和存储。 Hadoop实现了一个分布式文件系统(Hadoop Distributed File System),简称HDFS。HDFS有高容错性的特点,并且设计用来部署在低廉的(low-cost)硬件上;而且它提供高吞吐量(high...

View Article


Image may be NSFW.
Clik here to view.

Hadoop集群HA高可用搭建及问题分析

hadoop 集群HA高可用搭建 目录大纲 1. hadoop HA原理 2. hadoop HA特点 3. Zookeeper 配置 4. 安装Hadoop集群 5. Hadoop HA配置 搭建环境 环境 版本 地址地址 CentOS 6.5 64x 点击下载 hadoop 2.5.1 点击下载 Zookeeper 3.4.5 点击下载 Hadoop Ha配置 null 点击下载 null...

View Article

[Project Log #3] Pipeline for annotating DNA contigs

This is the set of steps I have followed in an attempt to annotate the data I have been given, and put it into a database. At the moment is is almost entirely a manual task, but if the scope for my...

View Article

Image may be NSFW.
Clik here to view.

The Enterprise Graph From Connections To Customer Insights

Know more, sell more. That’s the bottom-line when looking to introduce graph databases into the enterprise. Graphs are well-known for uncovering bad guys in instances of fraud, waste, and abuse. Now...

View Article

基于Apache Ambari搭建Hadoop大数据平台

基于Apache Ambari搭建Hadoop大数据平台 作者:雨水/家辉 日期:2017年2月28日 CSDN博客:http://blog.csdn.net/gobitan...

View Article


Image may be NSFW.
Clik here to view.

NewsBits - S3, CloudPets and MongoDB, Google's Rosehub, MySQL's Optimizer and...

cloud mysql mongodb NewsBits - S3, CloudPets and MongoDB, Google's Rosehub, MySQL's Optimizer and a universal SQL client NewsBits for the week ending March 3rd - Amazon's S3 post-mortem, another...

View Article

Image may be NSFW.
Clik here to view.

每秒千万级别的量是重生还是炼狱?

作者: tiankonguse | 更新日期: 2017-03-04 04:38:00 上篇文章记录了union服务曾经的架构与问题, 这篇记录目前的优化与计划优化. 零、炼狱者,无尽也 蜀道难,蜀道难!!难于上青天…… 上篇文章 荒蛮时代诞生的union服务 中介绍了大系统中面对众多数据接口网状调用时的解决方案以及面临的问题. 这篇文章记录一下后续的优化以及面临的问题....

View Article


Image may be NSFW.
Clik here to view.

MongoDB Audit Log: Why and How

This blog post is another in the series on the MongoDB 3.4 bundle release. In this blog post, we’ll talk about the MongoDB audit log. Percona’s development team has always invested in the open-source...

View Article

Image may be NSFW.
Clik here to view.

Xamarin Forms with Microsoft Azure

Short introduction Mobile apps mostly all of them are connected with some services. Retrieving data, receiving notifications or saving data. There are many options to create backend for mobile apps...

View Article


Image may be NSFW.
Clik here to view.

This Week in Neo4j 4 March 2017

ByMark Needham, Developer Relations Engineer | March 4, 2017 Welcome to the 2nd edition of This Week in Neo4j! If you’ve got any ideas for things we should cover in future editions, I’m @markhneedham...

View Article

Image may be NSFW.
Clik here to view.

Redis主从复制(Master-Slave Replication) 详解

案例测试: 1. Master新增网卡,修改server端配置 IP : 192.168.40.128/24 注释: bind,支持网络连接 2. 新建虚机slave,配置网络,修改redis配置 #slaveof <masterip> <masterport> slaveof 192.168.40.128 6379 # masterauth...

View Article

Image may be NSFW.
Clik here to view.

Redis主从复制-Replication

官网介绍看这里 http://redis.io/topics/replication 主从复制:就是主机数据更新后根据配置和策略,自动同步到备机的master/slaver机制, Master 以写为主,Slave 以读为主 Redis replication is a very simple to use and configure master-slave replication that...

View Article
Browsing all 6262 articles
Browse latest View live