mysql_sql小学(一)_mysql_sql
###查看2行记录mysql> select teacher_id,phone from yisile_teacher limit 2;+------------+--------------+| teacher_id | phone |+------------+------------...
sql developer 2.1快捷命令参考
数据库连接池原理及作用浅谈
最近监理的一个项目老是出现数据库莫名断开的问题,后来查明原因是由于使用的开发的数据库连接池出现的问题,那我就简单谈谈什么是数据库连接池及期原理。 对于一个简单的数据库应用,由于...
rhel5_shell_检测orcl数据库pd用户是否存在
-bash-3.2$ more monitor_pd_user.sh source /oracle/.bash_profile ##配置shell脚本的环境变量output=`sqlplus '/as sysdba'<<EOF ##output参数的值是用``括起来的 spoo...
v$session之小测试(三)_与dba_objects
--测试目的:学习v$session之last_call_et及row打头相关列的用法SQL> select sid,serial#,status,row_wait_obj#, --会话对应sql所等待对象(表索引等)的object_id,可与dba_objects的object_id匹配row_wait_file#,-...
v$session之小测试(二)_与v$sql
先罗列一点官方手册: V$SQL lists statistics on shared SQL area without the GROUP BY clause and contains one row for each child of the original SQL text entered. Statist...
v$session之小测试(一)_与v$lock
本次测试目的为:根据v$session找到产生持锁会话,视具体情况,kill掉持锁会话,解决死锁问题,并初步理解v$session各列的概念 SQL> select distinct sid from v$mystat; --确认一个会话的sid&n...
转摘viadeazhu大牛_查看oracle pga占用内存大小
http://space.itpub.net/15415488/viewspace-669547
pmap_awk
-bash-3.1$ pmap -x 2401|grep 'total'>tmpfile ##查看进程2401占用的内存大小,且写入到tmpfile文件中-bash-3.1$ cat tmpfile |awk '{sum+=$3;} END {print sum}' ##查看tmpfile文件第三列累计值-bash-3.1$...
oracle sql like优化(一)
SQL> select count(*) from t; COUNT(*)---------- 51838SQL> insert /*+append*/ into t select * from t;已创建51838行。SQL> commit;提交完成。SQL> insert /*+append*/ int...
oracle patch补丁类型type
4、 oracle里的补丁具体分为哪几种类型?答:oracle里的补丁具体分为如下这样6种类型:Oracle Interim patches: A patch that is applied in between patchset releases with the Opatch utility.&nb...
oracle cpu(critical patch update)关键补丁更新集_官方网址
一个关键补丁更新( Critical Patch Update,以下均简称CPU)是多个安全漏洞补丁的集合。它同时也包括非安全补丁,因为是和这些安全补丁相互依存所需要的。CPU是累积性的,每个advisory都只是描述增加上一...
oracle 免费下载各版本的metalink patch网址
http://edu.codepub.com/2010/0721/24404.php
iscsi target(服务端)之/etc/ietd.conf配置小记
1. The configuration file for the iscsi-target is ietd.conf located in /etc. The following is the ietd.conf file that I am using to share sdb as an iscsi disk. # iscsi target confi...
openfiler配置转摘(图文并存)
http://jeremiah.blog.违规广告.com/539865/277728
openfiler(for linux 32bit)安装配置小记
1,openfiler是一个经加工封装的linux2,openfiler安装后,通过web可以维护管理openfiler3,web访问方式为:https://openfiler ip:446/ 默认用户/密码:openfiler/password4,依次根据图形添加物...
iscsiadm探测新添加的openfiler共享卷报错小记
[root@rhel5 ~]# iscsiadm -m discovery -t st -p 192.168.0.10 ##用iscsiadm探测openfiler新添加的iscsi共享卷-bash: iscsiadm: command not found[root@rhel5 ~]# mount /dev/cdrom /media --加载光盘,安...
rhel5 x86_x86_64 bit下载网址(安装介质)
http://blog.itpub.net/post/39893/494396/ http://down.gougou.com/down?cid=81D693B5EA11669902C02E647C690263B07E883A http://www.gougou.com/search?search=rhel5&id=0
根据v$session 之status及logon_time有选择kill某些session会话
SQL> select username, sid, &nbs...
linux 命令行编辑快捷键
history 显示命令历史列表↑(Ctrl+p) 显示上一条命令↓(Ctrl+n) 显示下一条命令!num 执行命...