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

Image may be NSFW.
Clik here to view.

Building a Serverless Application with Stormpath Authentication

Serverless architectures are an easy new way to build scalable backend applications, without the hassle or cost of operating your own servers. With the proliferation of hosted cloud services, whether...

View Article


New features for Compose's ScyllaDB

scylladb compose New features for Compose's ScyllaDB A data browser, nodetool /JMX access and a version update to 1.6 are the latest enhancements to ScyllaDB at Compose. ScyllaDB, the high-performance...

View Article


Image may be NSFW.
Clik here to view.

Exploring WikiVoyage data with Neo4j and Cypher: Part 2 (Exploring the Data)

Part 2: Intro This is part two of a three part series. In part 1 of this series I wrote about using Elixir to parse Wikivoyage data dumps and push them into Neo4j. If you want to follow along at home...

View Article

Image may be NSFW.
Clik here to view.

Parallel Engineering Efforts

One of the most important things an organization can do as it grows out of startup-hood to maturity is to learn to run parallel engineering efforts. A parallel set of projects might implement multiple...

View Article

Image may be NSFW.
Clik here to view.

The seven most dangerous attack techniques: A SANS Institute rundown

It's become painfully clear that the threats of cyberattacks is no longer theoretical -- individuals, businesses, and critical national infrastructure are all at risk. At the RSA conference in San...

View Article


《Cassandra权威指南》第二版书评及访谈

关键点 了解关于Cassandra NoSQL数据库3.0版的功能; 如何安装和配置Cassandra数据库,包括集群管理; Cassandra数据库的数据模型(概念、逻辑和物理方面); Cassandra提供的数据分区和复制策略; 如何实现认证安全、授权和加密; 由Jeff Carpenter和Eben Hewitt合著的《 Cassandra权威指南 》第二版,讲述了 Cassandra...

View Article

Image may be NSFW.
Clik here to view.

Optimistic Concurrency in DocumentDB

I’ve started working on new side project using ASP.NET Core. I wanted to try a new datastore and decided to give Azure’s DocumentDB a try. This project isn’t doing anything complicatedbut does contain...

View Article

Cassandra2.0以后的新API类和接口总结 Cassandra API类 API接口 API总结

总的来说,cassandra新增了一个包,名字:com.datastax.driver.core 这个包提供了很多api类和接口,让在代码中对cassandra数据库的操作变得更容易和更简洁了。 首先从创建一个连接说起 1. com.datastax.driver.core.PoolingOptions连接池类 PoolingOptions pools = new PoolingOptions();...

View Article


数据库优化之PreparedStatement 数据库 数据库优化 PreparedStatement Statement

执行许多SQL语句的JDBC程序产生大量的Statement和PreparedStatement对象。通常认为PreparedStatement对象比Statement对象更有效,特别是如果带有不同参数的同一SQL语句被多次执行的时候。PreparedStatement对象允许数据库预编译SQL语句,这样在随后的运行中可以节省时间并增加代码的可读性。...

View Article


redis基本结构(6)------HyperLogLog redis redis结构 HyperLogLog 集合实现

如果我们要实现记录网站每天访问的独立IP数量这样的一个功能 集合实现: 使用集合来储存每个访客的 IP ,通过集合性质(集合中的每个元素都各不相同)来得到多个独立 IP , 然后通过调用 SCARD 命令来得出独立 IP 的数量。 举个例子,程序可以使用以下代码来记录 2014 年 8 月 15 日,每个网站访客的 IP :ip = get_vistor_ip()SADD...

View Article

数据库表的连接查询、子查询 数据库表 连接查询 子查询

一.连接查询包括:交叉连接,内连接,外连接(左外连,右外连)等。 1.交叉连接:一对多,获取两个表相乘后的数据行。 语法:select * from 表1 cross join 表2; 例如:select * from offices cross join users; 2.内连接:获取与连接条件匹配的数据行。 语法: select 需要查询的列名列表 from 表1 join 表2 on...

View Article

常用数据库连接串与驱动总结 数据库连接串 数据库驱动 数据库总结 常用数据库

1、sql...

View Article

char与varchar的区别 char varchar char与varchar的区别 字符串区别

1.CHAR的长度是固定的,而VARCHAR2的长度是可以变化的, 比如,存储字符串“abc",对于CHAR (10),表示你存储的字符将占10个字节(包括7个空字符),而同样的VARCHAR2 (10)则只占用3个字节的长度,10只是最大值,当你存储的字符小于10时,按实际长度存储。 2.CHAR的效率比VARCHAR2的效率稍高。 3....

View Article


Python数据抓取 Python Python抓取 Python数据

准备工作:Chrome,python(要安装requests,BeautifulSoup4) 安装requests:pip install requests, pip install BeautifulSoup4, pip install jupyter. cmd: jupyter notebook(开发在这个页面完成) 在新开页面中,选择new-》Python 3.进去coding页面。...

View Article

查询两个时间段是否有交集的情况 数据库 数据库时间段 时间段交集

数据库的字段 start_time, end_time 输入的字段 a,b 第一种SELECT*FROMtest_tableWHERE(start_time >= a AND start_time <= b)OR (start_time <= a AND end_time >= b)OR (end_time >= a AND end_time <=...

View Article


VBA的常见语法整理 VBA语法 常见语法整理 VBA命令集合 VBA整理

1、 for循环 2、字符串连接符 &Dim iFor i = 1 To 10Cells(i, 2) = "第" & i & "行"Next i3、设定必须显式声明变量Option Explicit4、while循环Dim jj = 1While Cells(j, 2) <> ""Cells(j, 3) = jj = j + 1Wend5、do while...

View Article

数据库触发器简单解析 数据库 触发器 触发器解析 数据库解析

准备知识:DDL:(Data Definition Language 数据定义语言)用于操作对象和对象的属性,DDL对这些对象和属性的管理和定义具体表现在Create、Drop和Alter上DML:(Data Manipulation Language 数据操控语言)数据操纵语言,关键字:Insert、delete、updateDCL:(Data Control Language...

View Article


Why you need a data strategy, and what happens if you don’t have one

For high-level data strategy, join the Strata Business Summit , March 14-16, 2017. The summit includes executive briefings on best practices and transformative technologies for CTOs, CDOs, and leaders...

View Article

Introducing await

I’m leading a migration to Kubernetes at my fulltime job at Saltside. Our goal is to deploy our SoA application as a helm chart. This posed a few initial problems. The biggest problem is that services...

View Article

Image may be NSFW.
Clik here to view.

Redis的内存优化

Redis所有的数据都在内存中,而内存又是非常宝贵的资源。对于如何优化内存使用一直是Redis用户非常关注的问题。本文让我们深入到Redis细节中,学习内存优化的技巧。分为如下几个部分: 一. 二. 三. 四. 五. 六. 一. redisObject对象 Redis存储的所有值对象在内部定义为redisObject结构体,内部结构如下图所示。...

View Article
Browsing all 6262 articles
Browse latest View live