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

Where is RAII not going to work?

As I was getting ready to publish a new web application, I noticed some problems, pages marked as being CREATE when I could clearly see that they were marked as NORMAL (ready to be viewed.) Looking...

View Article


baeldung - Coding and Testing Stuff: Introduction to Couchbase SDK for Java

1. Introduction In this introduction tothe Couchbase SDK for Java,we demonstratehow tointeract withaCouchbase document database, covering basic concepts such as creating a Couchbase environment,...

View Article


mongodb 通过数组某一元素查询

> db.test.insert({ arr: [ 1, 2, 3, 4, 5] })WriteResult({ "nInserted" : 1 })> db.test.insert({ arr: [ 5, 6, 7, 8, 9 ] })WriteResult({ "nInserted" : 1 })> db.test.find({ arr : { $in : [ 3 ] }...

View Article

Takis - A util that blocks until a port is open.

Over at Mozilla's Engagement Engineering we use Docker to ship our websites. We build the docker images in CI and then we run tests against them. Our tests usually need a database or a cache server...

View Article

Greenplum的MVCC多版本控制的简单介绍(主要涉及cmin,cmax,xmin,xmax说明)

熟悉Greenplum数据库的朋友应该都知道,GP底层是使用PostgreSQL数据库来实行MPP架构的,而对于事务控制这一块,也是使用PostgreSQL的多版本控制MVCC,实现了读写分离,显然就会提高数据库每秒查询的性能。 在Read Commit事务隔离级别时,查询请求只读取查询请求之前已经提交的事务的数据更改,对当前版本的数据并不影响;...

View Article


如何用ORM支持SQL语句的CASE WHEN

如何用ORM支持SQL语句的CASE WHEN? OQL如何支持CASE WHEN?今天,一个朋友问我,OQL可否支持CASE WHEN语句?他给的示例SQL如下:select HName,case when IsEnable=1 then '启用' else '停用' from...

View Article

Image may be NSFW.
Clik here to view.

TimesTen数据库复制学习:11.ASP带缓存组复制的几种固定架构模式

概述对于带缓存组的复制,推荐的复制策略是 Active-Standby (A/S) pair。因为其复制整个库,并且复制和恢复都比较简单和直接,而且错误切换和恢复都是自动的。asp复制-单站点">带AWT缓存组的ASP复制 - 单站点此种复制不支持灾备注意数据的流向

View Article

Image may be NSFW.
Clik here to view.

11gGridControl安装过程的一些“坑”

Oracle提供的图形化管理工具目前主要有三个版本: EMDC:Enterprise Manager Database Control EMGC:Enterprise Manager Grid Control EMCC:Enterprise Manager Cloud Control...

View Article


Query DynamoDB Items with Java

On a previouspost we proceeded on inserting data on a DynamoDB database. On this tutorial we will issue some basic queries against our DynamoDB tables. The main rule is that every query has to use the...

View Article


Image may be NSFW.
Clik here to view.

How Graphs Deliver our Strategic Vision at Packt Publishing

ByGreg Roberts, Senior Data Analyst, Packt Publishing | June 9, 2016 Editor’s Note: This presentation was given by Greg Roberts at GraphConnect Europe in April 2016. Here’s the TL;DR of what he...

View Article

Image may be NSFW.
Clik here to view.

Ad: Der Oracle DBA Handbuch für die Administration der Oracle Database 12c

The 2nd revised edition of the Der Oracle DBA will finally be released in a couple of days. Pre-Orders are already possible. It took quite a while until the publication of this release. Work on the...

View Article

Image may be NSFW.
Clik here to view.

Quickly Launch Hortonworks Data Platform in Amazon Web Services

Big data is changing the way enterprises interact with and consume data. Modern data platforms, such as Hortonworks Data Platform (HDP) and Hortonworks Data Flow (HDF) , are driving a data revolution...

View Article

Use SSH Tunneling to access Ambari web UI, ResourceManager, JobHistory,...

Source:https://azure.microsoft.com/en-us/documentation/articles/hdinsight-linux-ambari-ssh-tunnel/ Original Author: Larry Franks Excerpts ssh tunnel command ssh -C2qTnNf -D <a...

View Article


Image may be NSFW.
Clik here to view.

Hadoop Job Opportunities 101: Your Guide To Bagging Top Hadoop Jobs In 2016

Consider this fact; your every like on Facebook, every Tweet on Twitter, every photo shared on Instagram, all the videos watched on YouTube, every product bought on Amazon, and all other actions online...

View Article

Image may be NSFW.
Clik here to view.

Celebrating with Hadoop and Red Hat communities

This postwas authoredby Joseph Sirosh, Corporate Vice President of the Data Group at Microsoft This week I had the opportunity to represent Microsoft in keynotes at both the Hadoop and Red Hat Summits...

View Article


3 ways Yahoo employed Hadoop to optimize utilization | #HS16SJ

In the last three years, the demands from customers have grown exponentially. Like many companies, Yahoo, Inc. is adapting to better serve itscustomers and provide a better user experience. In his...

View Article

Image may be NSFW.
Clik here to view.

Joins in MongoDB 3.2 using $lookup

One of the key tenants of MongoDB schema design is to account for the absence of server-side joins. Data is joined all the time inside of application code of course, but traditionally there’s been no...

View Article


Image may be NSFW.
Clik here to view.

Cloudian Hyperstore: manage more PBs with less FTE

If you want to build a private S3 object store, Cloudian HyperStore might be the productfor you. Using commodity servers to form a scale-out architecture, you can build your own, fully S3 compliant...

View Article

mesos + marathon集群搭建(2)

本地存储卷 前面示例已经启动了redis镜像,然后为了验证marathon的资源隔离(主要是内存)特性,做了以下尝试: 将redis容器的内存限制为32M; 通过脚本循环向redis写入长字符串; 发现当任务资源监控超过16M的时候,内存占用又会重新清零。...

View Article

Hadoop周刊―第 175 期

Hadoop 周刊 第 175 期 启明星辰平台和大数据总体组编译 2016 年 6 月 19 日 Hadoop 峰会已过去一周了,我们已看到有多个产品(项目)敲定了发布时间。所以在技术新闻部分,有关于 Hadoop Kerberos 认证的内容另外还有 Salsify 应用 Avro 的文章。在产品发布部分,包括 Yandex 新近开源的列式数据库在内的多个项目均有新版本发布。 技术新闻...

View Article
Browsing all 6262 articles
Browse latest View live