DECLARE test_cursor CURSORFOR SELECT ID FROM dbo.T_BD_Restaurant WHERE id '0AAB2E55-79F8-4F41-AFFA-00179DFABDB0'OPEN test_cursorDECLAR...
分类:
数据库 时间:
2014-07-23 16:56:21
阅读次数:
230
转自:http://www.dbafree.net/?p=778今天晚上在一个比较重要的库上,CPU严重的冲了一下,导致DB响应变慢,大量应用连接timeout,紧接着LISTENER就挂了,连接数也满了等一连串问题。我们的监控抓取了当时系统的等待事件,ACTIVE SQL及SESSION_WAIT...
分类:
其他好文 时间:
2014-07-22 22:53:13
阅读次数:
304
在/usr/shared/dstat目录下dstat_mysql5_conn.py中的部分源代码c = self.db.cursor()c.execute("""show global variables like 'max_connections';""")max = c.fetchone()c....
分类:
数据库 时间:
2014-07-22 22:51:36
阅读次数:
252
Android的通话记录都实现在静态类android.provider.CallLog.Calls中。首先需要读写通话记录的的权限?读取Cursor cursor = context.getContentResolver().query(CallLog.Calls.CONTENT_URI,new S...
分类:
移动开发 时间:
2014-07-22 22:40:13
阅读次数:
224
在红黑联盟上看到的,这几天一直考虑做一个Notification 的带下载功能的自定义通知,但没搞出来,无意中在论坛看到这个。先Mark,明天试试。
从Android 2.3(API level 9)开始Android用系统服务(Service)的方式提供了Download Manager来优化处理长时间的下载操作。Download Manager处理HTTP连接并监控连接中的状态变化以...
分类:
移动开发 时间:
2014-07-22 14:50:04
阅读次数:
345
dbms_xplan.display_cursor定义:function display_cursor(sql_id varchar2 default null, cursor_child_no integer default 0, formatvarchar2 default 'TYPICAL')...
分类:
数据库 时间:
2014-07-22 00:09:34
阅读次数:
376
---------------loop循环定义变量--------------------declare cursor c1 is select * from emp;# rec emp%rowtype;# i numeber:=1; # v_count number;begin# select count(*) into v_count from emp;#(1) open c1; loop...
分类:
数据库 时间:
2014-07-20 00:33:20
阅读次数:
334
Css中光标的使用:属性名称 属性值 说明cursor auto 默认输入文字的符号 crosshair 光标是十子形 ...
分类:
Web程序 时间:
2014-07-18 08:07:06
阅读次数:
206
百度在线手写板代码-php自学网
#sx{color:#00C;text-decoration:underline;cursor:pointer;}
手写
var w = window,d = document,n = navigator,k = d.f.wd
if (w.attachEvent) {
w.attachEve...
分类:
其他好文 时间:
2014-07-17 19:02:52
阅读次数:
635
原始代码如下:begin DECLARE @SQL_STMT NVARCHAR(300),@V_CLIENT_ID INT,@V_PGNAME VARCHAR(1000),@V_LOGID INT;DECLARE C2 CURSOR FOR SELECT PGNAME,CLIENT_ID FROM ...
分类:
其他好文 时间:
2014-07-16 10:57:40
阅读次数:
217