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

linux下操作数据库 linux操作数据库 linux 数据库 编程开发

linux下操作数据库:一、导入数据库,首先在根目录执行命令 mysql -u root -p 然后输入密码 进入mysql下面。1、首先建空数据库mysql>create database abc;2、导入数据库方法一:(1)选择数据库mysql>use abc;(2)设置数据库编码mysql>set names...

View Article


Image may be NSFW.
Clik here to view.

Write Safer User-Defined Functions & Procedures with the Neo4j Procedure...

ByFlorent Biville, Neo4j Ambassador | March 2, 2017 [As community content, this post reflects the views and opinions of the particular author and does not necessarily reflect the official stance of...

View Article


windows下的jedis安装以及设置密码 windows jedis安装 jedis设置密码 编程开发

windows下的jedis安装以及设置密码:windows下的jedis怎么安装和设置密码呢?希望下面的文章对大家有所帮助。 下载redis 地址:https://github.com/ServiceStack/redis-windows/tree/master/downloads 下载完成之前直接解压到相应路径,无需安装,绿色版本,最好不要放在c盘,因相关数据直接保存在下面 二、启动 1、cmd...

View Article

论find_in_set(str,strlist)参数单引号的重要性 findinset(str strlist)重要性 参数单 ...

问题点:String guestId_filter = "0001"StringBuilder sql = new StringBuilder("select m from Message m where 1=1 ");String condition = " and find_in_set(" + guestId_filter + ",...

View Article

Image may be NSFW.
Clik here to view.

PowerDesigner建立与数据库的连接,以便生成数据库和从数据库生成到PD中 PowerDesigne ...

第一步,打开PD15,找到【Database】,如图所示: 第二步,点击新建按钮,创建一个新的ODBC连接。 第三步,这里选择系统数据源,并选择Oracle 第四步,这里需要注意,服务器需要写的是Oracle客户端配置的服务名,也就是PL/SQL连接时所用的名称。不是IP地址。 第5步,测试是否连接成功。...

View Article


NoSQL and Technical Debt

So I just had a chance encounter with a former professor of mine, Dr. Hicks from Trinity University. While I was at Trinity University, mumble mumble long time ago, Dr. Hicks assured me that I needed...

View Article

Low level Voron optimizations: Primitives & abstraction levels

One of the things that I noticed with the recent spate of work we have been doing is that we are doing things that we have already tried, and failed. But suddenly we are far more successful. What is...

View Article

论find_in_set(str,strlist)参数单引号的重要性

问题点:String guestId_filter = "0001"StringBuilder sql = new StringBuilder("select m from Message m where 1=1 ");String condition = " and find_in_set(" + guestId_filter + ",...

View Article


Image may be NSFW.
Clik here to view.

PowerDesigner建立与数据库的连接,以便生成数据库和从数据库生成到PD中 数据生成

第一步,打开PD15,找到【Database】,如图所示: 第二步,点击新建按钮,创建一个新的ODBC连接。 第三步,这里选择系统数据源,并选择Oracle 第四步,这里需要注意,服务器需要写的是Oracle客户端配置的服务名,也就是PL/SQL连接时所用的名称。不是IP地址。 第5步,测试是否连接成功。...

View Article


Image may be NSFW.
Clik here to view.

利用ELK处理Percona审计日志 ELK 编程开发

利用ELK处理Percona审计日志:Percona Server为 mysql 数据库服务器进行了改进,在功能和性能上较 MySQL 有着很显著的提升。该版本提升了在高负载情况下的 InnoDB 的性能、为 DBA 提供一些非常有用的性能诊断工具;另外有更多的参数和命令来控制服务器行为。1、有强烈的审计需求。2、能允许10%-15%左右的性能损失。...

View Article

linux下操作数据库 linux 数据库 编程开发

linux下操作数据库:一、导入数据库,首先在根目录执行命令 mysql -u root -p 然后输入密码 进入mysql下面。1、首先建空数据库mysql>create database abc;2、导入数据库方法一:(1)选择数据库mysql>use abc;(2)设置数据库编码mysql>set names...

View Article

windows下的jedis安装以及设置密码 windows 编程开发

windows下的jedis安装以及设置密码:windows下的jedis怎么安装和设置密码呢?希望下面的文章对大家有所帮助。 下载redis 地址:https://github.com/ServiceStack/redis-windows/tree/master/downloads 下载完成之前直接解压到相应路径,无需安装,绿色版本,最好不要放在c盘,因相关数据直接保存在下面 二、启动 1、cmd...

View Article

Image may be NSFW.
Clik here to view.

Top 5 NoSQL Solutions Compared

If you’ve never seen it, you should take a look at the Gartner “Hype Cycle.” Technology changes the world quickly. And the technology world itself changes even more quickly. This can lead to...

View Article


Image may be NSFW.
Clik here to view.

What Kinds of Raises do DBAs Get?

I tookthe data from the 2017 Data Professional Salary Survey , and filtered just for database administratorsin the United States. Then, I pivoted it on the two experience questions. First, we’ll cover...

View Article

CouchDB Weekly News, March 2, 2017

Releases in the CouchDB Universe coucharchive 1.0.2 (python) Dump/restore a whole CouchDB server contents to/from a single tar.gz file. couch-rest 2.0.0 An active record style crud module for CouchDB...

View Article


Image may be NSFW.
Clik here to view.

Why the DBA is Necessary to the Cloud- Part I

There are a lot of people and companies starting to push the same old myth regarding the death of the database administrator role in companies. On the Oracle side, it started with release Oracle 7 and...

View Article

Post-mortem: Latency Issues

Recently, some of our customers have probably noticed periods of increased latency and report timeouts on mixpanel.com and to our query API, particularly in the three-week period from January 30th to...

View Article


NoSQL 持久层框架 Hibernate OGM 5.1 正式发布

Hibernate OGM 是 Hibernate 团队的新家族成员,OGM 是 Object Grid Mapping的缩写,它的目标是试图使用 JPA 来操作 NoSQL数据库。 5.1.0.最终版与之前发布的候选版相比,没有太多的变化。可以查看 5.1.0.Final 更改日志以获取所有详细信息。 与 5.0 Final 相比有什么新东西? 使用Hibernate ORM5.1 通过 Hot...

View Article

Image may be NSFW.
Clik here to view.

Redis热点key寻找与优化

热门新闻事件或商品通常会给系统带来巨大的流量,但对存储这类信息的Redis来说是一个巨大的挑战。以Redis Cluster为例,它会造成整体流量的不均衡,个别节点出现OPS过大的情况,极端情况下热点key甚至会超过Redis本身能够承受的OPS,因此寻找热点key对于开发和运维人员非常重要。 1.客户端...

View Article

cassandra 数据到Java对象的映射绑定

类似Hibernate和MyBatis的关系映射,自动帮你将查询数据或是修改的参数进行数据映射和绑定。 支持查询后返回数据ResultSet到Java对象的映射,支持修改、删除、查询之前参数的绑定。 在JavaEntity的命名方式不合规范情况下,可以用Map进行绑定映射。 这种做法可以适用于JDBC的sql result到Java Entity的映射绑定,但需要修改少量的代码。 代码如下: 1...

View Article
Browsing all 6262 articles
Browse latest View live