CouchDB Weekly News, April 28, 2016
Releases in the CouchDB Universe cloudant-user 2.0.0 (Node) Helper module to use standard CouchDB _users db on a Cloudant db couchdb-ssl-proxy 1.0.0 (Node) SSL proxy for CouchDB node-express-couchdb...
View Articlephoenix到hbase的应用
一、phoenix的简介 hbase的java api或者其语法很难用,可以认为phoenix是一个中间件,提供了访问hbase的另外的语法。 二、配置phoenix和hbase 1.下载 phoenix的官网是:http://phoenix.apache.org/,用户可以到该网址找到对应hbase版本的phoenix来下载。...
View ArticleThe point of polyglot
Recently I spoke about polyglot persistence in one of the SQL Saturday events. The basic idea of this session revolved around the idea of not getting overwhelmed by the NoSQL boom, but at the same time...
View ArticleServerLess的好伙伴 一些有用的NPM包
【编者的话】本文介绍了在基于AWS Lambda进行Serverless应用开发的过程中可以使用的一些工具,包括可以支持babel到ES5的转换的Serverless框架插件,管理lambda函数的命令行工具node-lambda,DynamoDB的数据映射工具Vogels,可以本地运行DynamoDB的Dynalite以及处理javascript代码中的promises的工具BlueBird。...
View ArticleGraph Databases for Beginners: Native vs. Non-Native Graph Technology
ByJoy Chao, Novice Graphista | July 18, 2016 No technology is equally good at everything, and databases are no exception. It’s possible for databases to satisfy different kinds of functions: batch and...
View Article浅谈ORACLESQL语句优化经验
(1) 选择最有效率的表名顺序(只在基于规则的seo/' target='_blank'>优化器中有效): ORACLE 的解析器按照从右到左的顺序处理FROM子句中的表名,FROM子句中写在最后的表(基础表 driving table)将被最先处理,在FROM子句中包含多个表的情况下,你必须选择记录条数最少的表作为基础表。如果有3个以上的表连接查询,...
View ArticleCentOS6.5安装oracle11grelease2记录
前提条件:JDK和oracle11g安装包准备工作1. 修改主机名[root@localhost java]# vim /etc/sysconfig/networkNETWORKING=yesHOSTNAME=masterial2. 在hosts文件夹加入刚才修改的主机名和ip[root@localhost java]# vim /etc/hosts127.0.0.1 localhost...
View ArticleOpencv图像识别从零到精通(11)---一个窗口多图显示
前面介绍了如何批量的读取图片,从而也会有批量的显示一堆图片,那么在平时我们显示图片的时候,会发现都是一个图片一个窗口,会出来很多,这时候就会想到matlab中我们经常会使用subplot显示多张图片在一个窗口,从简单到复杂,再一次认为subplot(),感觉越来越有意思,虽然不是最好的,但是是入门比较好的,其中很多部分都可以进行优化,以后会在精通部分进行展示,这里已入门为主。 一、版本1 int...
View Article使用MongoDB.NET2.2.4驱动版本对Mongodb3.3数据库中GridFS增删改查
Program.cs代码如下:internal class Program { private static void Main(string[] args) { GridFSHelper helper = new GridFSHelper("mongodb://localhost", "GridFSDemo", "Pictures"); #region 上传图片 //第一种 //Image...
View Article源码-PL/SQL从入门到精通-第十章-使用游标-Part1
心得:在PL/SQL Developer中调试代码时,不能准确提示行号,此时,可将代码段复制到sqlplus界面,能准确提示出错的行数,帮助发现问题所在。 第一次接触Oracle时,感觉游标是个很高大上的概念。最近才发现游标和C语言中的指针类似,不是什么高深的概念。--第10章开始--代码10.1在PL/SQL中使用游标DECLARE emprow emp%ROWTYPE;...
View Article源码-PL/SQL从入门到精通-第九章-SQL内置函数-Part3
这一章的SQL语句比较长,第一次接触,感觉用不习惯,可能需要在用到的时候查资料了。不管怎样,先把源码备在这里。--排序子句(Order by)--未指定排序时,AVG值相同SELECT ename, sal, AVG(sal) OVER()FROM empWHERE ROWNUM <= 3;--指定排序后,计算累计平均值SELECT ename, sal, AVG(sal)...
View ArticleHive通过查询语句向表中插入数据过程中发现的坑
前言最近在学习使用Hive(版本0.13.1)的过程中,发现了一些坑,它们或许是Hive提倡的比关系数据库更加自由的体现(同时引来一些问题),或许是一些bug。总而言之,这些都需要使用Hive的开发人员额外注意。本文旨在列举我发现的2个通过查询语句向表中插入数据过程中的问题,希望大家注意。数据准备为了验证接下来出现的问题,需要先准备两张表employees和staged_employees,并准备好...
View ArticleMySql数据库操作
数据仓库 就与我们之前学过的纯文本,properties,XML这些技术一样.用来保存数据.并提供对数据进行增删改查的操作. 我们以后做项目时,项目中的数据都是保存在数据库中的. 和文本存数据的区别是数据库中存放的是格式化、有结构的数据。 关系数据库,是建立在关系模型基础上的数据库;现实世界中的各种实体以及实体之间的各种联系均用关系模型来表示。...
View ArticleModelling the Taxlot Matching Process in N1QL
Purpose of this Article This article enumerates how the tax lot matching process can be modelled and the run in Couchbase. While the data model itself is a subjective thing, this article is going to...
View ArticleMongoDB 3.3.10 发布
MongoDB 3.3.10 发布了,MongoDB 是一个介于关系数据库和非关系数据库之间的产品,是非关系数据库当中功能最丰富,最像关系数据库的。他支持的数据结构非常松散,是类似json的 bjson格式,因此可以存储比较复杂的数据类型。Mongo最大的特点是他支持的查询语言非常强大,其语法有点类似于面向对象的查询语言,几乎可以实现 类似关系数据库单表查询的绝大部分功能,而且还支持对数据建立索引。...
View ArticleExploring Blazegraph
While we’ve been testing Neo4j with all FlyMine data and with PhytoMine to verify how well it performs and scales with big databases, we started exploring another open source implementation for graph...
View ArticleHow choosing the right NoSQL database can set free an ocean of data to...
Finding the right database to use is more difficult than ever due to the numerous offerings available in the market. No longer do businesses have a choice between two or three but dozens. One business...
View ArticleQuery DynamoDB Items with Java Part 2
On a previouspost we had the chance to issue some basic DynamoDB query actions. However apart from the basic actions the DynamoDB api provides us with some extra functionality. Projections is a...
View ArticleMoving from a graph database to Postgres, When to use Hstore, JSON and JSONB
Our Journey From Graph Databases to PostgreSQL Graph databases have their time and place but just because you can do something in a graph database doesn’t mean it’s ideal. Here, follow a journey taken...
View ArticleRedis Getshell自动化实践之SSH key
不了解该漏洞建议先看这个文章 Redis 未授权访问配合 SSH key 文件利用分析 漏洞利用流程 1 生成一对用于ssh验证的密钥对 2 通过redis未授权访问漏洞,向redis插入一条记录,内容为已生成的公钥 3 通过redis数据导出功能,将含有公钥的数据导出到/root/.ssh/authorized_keys 4 使用自己的主机,通过ssh私钥与受害机进行匹配并登入 自动化的限制...
View Article