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

Image may be NSFW.
Clik here to view.

【dbdao Hadoop 大数据学习】ResourceManger Restart

dbDao.com 引导式IT在线教育 Hadoop 技术学习QQ群号 : 134115150 本文固定链接:http://t.dbdao.com/archives/hadoop-resourcemanger-restart.html...

View Article


Stability Anti-Patterns

I recently finished reading the excellent book “ Release It! ” by Michael Nygard. One of the key points that I wanted to remember was the stability anti-patterns. So, this post will serve as a...

View Article


Image may be NSFW.
Clik here to view.

总结:如何使用redis缓存加索引处理数据库百万级并发

前言:事先说明:在实际应用中这种做法设计需要各位读者自己设计,本文只提供一种思想。准备工作:安装后本地数redis服务器,使用mysql数据库,事先插入1000万条数据,可以参考我之前的文章插入数据,这里不再细说。我大概的做法是这样的,编码使用多线程访问我的数据库,在访问数据库前先访问redis缓存没有的话在去查询数据库,需要注意的是redis最大连接数最好设置为300,不然会出现很多报错。...

View Article

Image may be NSFW.
Clik here to view.

Neo4j with Scala: User-Defined Procedures and APOC

ByAnurag Srivastava, Software Consultant, Knóldus Software | August 18, 2016 [As community content, this post reflects the views and opinions of the particular author and does not necessarily reflect...

View Article

Image may be NSFW.
Clik here to view.

Nginx Node.js Redis的Docker

在我的前一篇文章中,我已经介绍了关于容器和Docker是如何影响PaaS、微服务和云计算的。如果你刚刚接触Docker和容器,我强烈建议你先读一读我之前的文章。作为之前文章的一个延续,在本文中我仍会讲述一些Docker工作流实例的内容。你可以在GitHub上找到所有的代码示例。...

View Article


Image may be NSFW.
Clik here to view.

Redis Desktop Manager 0.8.8-beta 发布

Redis Desktop Manager 0.8.8-beta 发布, 此版本更新内容如下: Full Changelog 新特性: #3546 Flush database #3433 Sorting in Value Table #67 Search in sets, hashes and lists 修复: #3666 Incorrect rendering of some key...

View Article

想在网上保持匿名?教你用Linux如何实现!

信息时代给我们的生活带来极大便利和好处的同时也带来了很大的风险。一方面,人们只要点击几下按钮,就能基本上访问已知存在的全部信息和知识;另一方面,要是这种权力落到个别不法分子手里,就会引起重大破坏和灾难。兄弟连教育在本文中将介绍保护网上私密信息的几个步骤。...

View Article

Image may be NSFW.
Clik here to view.

数据库优化

1.选择优化的数据类型 更小的通常更好,但是如果是int(8)的话内存空间就是默认的int大小,只是显示的时候显示8位数 能用整数就尽量用整数,因为整数只需要比较一次,而字符串是每个字符进行比较,一般 Ip就用整型 尽量避免 NULL:会使得索引、索引统计 和 值比较变得复杂。InnoDB 使用单独的位(bit)来存储 NULL ,其实可以使用0、特殊值或者空字符串作为代替...

View Article


Image may be NSFW.
Clik here to view.

SQL基本知识

一、SQL执行循序 SQL单表执行循序 SELECT * FROM XXX WHERE XX = XX 1.先执行FROM的表 2.在执行相应的WHERE条件 3.在执行SELECT查询 SQL多表执行循序 SELECT DISTINCT(XX) FROM XXX(left_table)[join_type(left/right/all)] JOIN (right_tanle) ON left.XX...

View Article


Trip to Wonderland: Falling down coding rabbit holes

For my final project, I am making a “Very Simple Sign-in Sheet Application” (or V triple-S A for short) for my dance coach’s studio. I’ve broken the project down into 3 week long sprints with the last...

View Article

Image may be NSFW.
Clik here to view.

MongoDB content pack for vRealize Log Insight

MongoDB Overview MongoDB database ismore scalable and provide superior performance,and their data model addresses several issues that the relational model is not designed to address: Large volumes of...

View Article

The rlwrap utility for DBA.

I spend most of my time as a DBA in linux terminal and sqlplus. Everybody who works withoracle sqlplus knows about its power, but also about its limitations. For many years I have used the rlwrap...

View Article

Moving from RavenDb to Marten

For the purpose of this post, I’m only talking about the document database features in Marten. Our immediate need is to replace RavenDb before our busy season starts. Using the event store half of...

View Article


MYSQL 5.7 INNODB缓冲池NUMA功能支持――但是别高兴的太早

当前CPU都已是NUMA架构,相信除了历史遗留系统,很少会有数据库跑在SMP的CPU上了。NUMA架构带来的优势无言而语,CPU更快的内存访问速度,但是带来的问题也不言而喻,特别是对于数据库的影响。mysql之前“臭名昭著”的swap问题就是因为NUMA架构导致。大部分同学已经知道应对技巧,即在启动文件中加入: numactl --interleave=all mysqld ...ornumactl...

View Article

Image may be NSFW.
Clik here to view.

CouchDB Weekly News, August 18, 2016

Releases Apache CouchDB 2.0 Release Candidate 4 : You can download the latest release candidate from http://couchdb.apache.org/release-candidate/2.0/ . Files with -RC in their name a special release...

View Article


Image may be NSFW.
Clik here to view.

New Import for Compose MongoDB

We're pleased to announce that we are now enabling importing on MongoDB on Compose. Although MongoDB/Classic has had import options for some time, the newer SSL-enabled, WiredTiger supporting MongoDB...

View Article

Hadoop Weekly Issue #182

14 August 2016 Welcome to a double-issue of Hadoop Weekly. There's tons of content this week―lots of technical posts covering Impala, Spark, Metron, Kafka, Hadoop, and more. In news, Hortonworks...

View Article


SVDS Strengthens Executive and Advisory Team

I’m excited to announce two new members of our team:Antony Falco (VP, Product & Innovation) andNayla Rizk (Advisor). At Silicon Valley Data Science, we aspire to bring the best of agile, iterative...

View Article

Mongodb被动(passive)节点配置

将一个mongodb的普通数据节点修改为passive节点,也就是能同步数据、投票,但是不能成为primary节点。 除了仲裁节点,其他每个节点都有个代表优先权priority的值,我们可以通过设置优先权来决定谁成为primary的权重最大。 MongoDB replica sets中通过设置priority的值来决定优先权的大小,这个值的范围是0--100,值越大,优先权越高。...

View Article

Image may be NSFW.
Clik here to view.

Making the Elephant Fly in the Cloud

Ram Venkatesh also contributed to this blog series Why Apache Hadoop in the Cloud? Ten years ago, Hadoop, the elephant started the Big Data journey inside the firewall of a data center- the Apache...

View Article
Browsing all 6262 articles
Browse latest View live