CentOS is a really fine platform for professional Linux servers which is - among others - characterized by stable software releases. However, especially in a research environment every once in a wh...
分类:
其他好文 时间:
2015-07-23 10:50:43
阅读次数:
281
1. 前言
为了安全和操作的可追溯性考虑,越来越多的公司加入了审计功能。mysql5.5推出了相关的审计功能,到5.6.20功能进一步完善,算是勉强可用了,虽然细粒度方面做的不是太好,但是后续版本还是可以期待一下的。这里主要介绍下相关的功能和特性。
2. 开启审计
2.1 配置文件加载
mysql5.6中的审计是通过audit_log插件来实现的,我们可以在配置文件...
分类:
数据库 时间:
2015-07-22 14:41:48
阅读次数:
226
正如之前看到的一篇文章,如果想要知道是谁登陆了你的数据库服务器,干了什么东西,那么你需要使用Mysql Enterprise Audit plugin。
下面介绍一下Mysql Enterprise Audit plugin.的使用方法:
方法一:
1、在你的MySQL安装目录里找到audit_log.so。我的是在/usr/lib/mysql/plugin/目录下。
2、将plugin-...
分类:
数据库 时间:
2015-07-21 17:07:36
阅读次数:
159
DescriptionMohammad has recently visitedSwitzerland. As he loves his friends very much, he decided to buy some chocolate for them, but as this fine ch...
分类:
其他好文 时间:
2015-07-17 22:21:23
阅读次数:
122
大巧克力问题题目大意:Mohammad has recently visitedSwitzerland. As he loves his friends very much, he decided to buy some chocolate for them, but as this fine ch...
分类:
其他好文 时间:
2015-07-17 22:17:58
阅读次数:
146
原文 The Wayle is a small river that cuts across the park near my home. I like sitting by the Wayle on fine afternoons. It was warm last Sunday, so I went and sat on the river bank as usual. Some c...
分类:
其他好文 时间:
2015-07-13 20:47:13
阅读次数:
153
libcurl同时封装了select以及poll这两种I/O机制。代码中使用宏HAVE_POLL_FINE对这两者进行分离。如果定义了这个宏,则使用poll,否则使用select。
这两者的使用代码都定义在函数curl_poll()中,而函数定义在文件lib/select.c中。为了方便分析,阅读,会将select与poll相关的代码分离开来,各自独立分析。
本篇文章主要分析curl_poll...
分类:
Web程序 时间:
2015-07-13 18:37:11
阅读次数:
632
1. case .. when .. then .. end Oracle CASE WHEN 用法介绍 1 select nvl(sum(case p.need_mistake_audit_level 2 when 1 then 3 ...
分类:
数据库 时间:
2015-07-10 20:38:32
阅读次数:
154
Greedy.
证明:
Let's say we have job 1, 2, ..., n, and they have time and fine as t1, f1, t2, f2, ..., tn, fn
and they are in the order of t1/f1
So this is the objective schedule. Now w...
分类:
其他好文 时间:
2015-07-07 16:59:38
阅读次数:
141
前言:线上oracle数据库有张表的数据有些乱,依据应用db的log和应用的log也没有检查出来谁改动了。所以决定把这张单表做个具体的insert、update、delete监控。一:使用数据库自带的审计功能1,查看审计功能是否启动SQL> show parameter audit ...
分类:
数据库 时间:
2015-07-02 11:35:12
阅读次数:
140