`
mocca3in1
  • 浏览: 42399 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
怎样查看oracle当前的连接数呢? select * from v$session where username is not null select username,count(username) from v$session where username is not null group by username #查看不同用户的连接数 select count(*) from v$process select count(*) from v$session   #连接数 Select count(*) from v$session where status='ACTIVE' #并发连 ...
或者先用create pfile from spfile 创建到系统目录下, 然后在shutdown , 再删除spfile; 在startup OracleSQLSQL Server    pfile(Initialization Parameter File)用于Oracle8i,在oracle9i中也可以用,以文本形式存在,可以用文本编辑器对其中参数进行修改。    spfile(Server-Side Initialization Parameter File)用于oracle9i,以二进制文本形式存在,不能用文本编辑器对其中参数进行修改。Spfile改正了pfile管理混乱的问 ...
fomular tab "show fomular" botton switch to 域状态 =HYPERLINK(CONCATENATE("[", MID(CELL("filename"),SEARCH("[",CELL("filename"))+1, SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1), "]Sheet2!A1 ...
Taking an AWR snapshot (10g and beyond)     EXEC dbms_workload_repository.create_snapshot;     Taking a STATSPACK snapshot:     EXEC statspack.snap; To execute a STATSPACK or AWR report, go to your $ORACLE_HOME/rdbms/admin directory and run: all awr report:     awrrpt.sql     spreport.sql for spe ...
冷备份数据必须是数据库不在open状态下,对数据库进用数据备份。 具体操作: (1): 关闭DB : shutdown immediate; (2):copy oradata目录下的所有文件, 包括数据文件, 控制文件,redo,等,还需要copy 密码文件 在目录ora92下 的database 中的pwd 文件.全部copy到一个安全目录中。在sql 下可以直接加一个 host 然后使用dos命令。如host copy ............. (3):如果是操作系统的重新安装,只要是同样系统,同样数据库版本,是可以做冷备恢复。一下谈的是系统的重新安装后的步骤。 (4):正常安装o ...

oracle uninstall

Manual Oracle Uninstall A number of people have contacted me regarding problems uninstalling Oracle products. The two methods listed below should only be used as a last resort and will remove all Oracle software allowing a reinstall. If you make any mistakes they can be quite destructive so be caref ...
一个简单的例子,备忘
create table ttemp( c_time date, c_seq number(38) ) create or replace procedure my_collect as begin insert into ttemp(c_time, c_seq) select sysdate, p.last_updated_seq from poller p; end --exec my_collect declare job1 number; begin   sys.dbms_job.submit(job => job1,                       what ...
from:http://blog.csdn.net/meboy88scofiled/archive/2009/12/19/5035045.aspx     我们初学者安装oracle的时候,字符集选择的一般是简体中文的格式,这方便我们英文不好的菜鸟,出错的时候定位错误,但是有一个问题伴随出现,我们写关于日期的sql的语句,我们想要英文的格式怎么办?下面有两个办法: 1. 连接到数据库后,我们使用如下语句   ALTER SESSION SET NLS_DATE_LANGUAGE='AMERICAN'   需要注意的是,断开数据库连接后,字符集会还原到默认中文字符集 2.我们定义日期格式的 ...
http://hi.baidu.com/tantea/blog/item/dba61bce3b4bd230f9dc6151.html ORACLE I/O 性能分析浅析 2010-06-25 17:48 ORACLE I/O性能分析步骤: 1,性能分析的几个原则:    a, 检查消息的成功率。(成功率必须>99%,否则测试无意义)    b, 监测日志,不应出现异常。 2,分析CPU负荷。(mpstat可看多CPU情况,top->1可查看cpu情况)    命令:mpstat -P ALL 2 10 3,再查找哪个磁盘I/O吃紧 (iostat -x 1)    命令:io ...
http://blog.chinaunix.net/u3/112561/showart_2221604.html 一、电子邮件系统的概念:     电子邮件也就是我们所说的E-mail。对于E-mail我们应该是比较熟悉的,我们每个人也应该有自己的邮箱,比如:163、雅虎、126、139、 gmail、foxmail等等。简 ...
转载:http://blog.csdn.net/kingquake21/archive/2010/03/11/5369827.aspx    1. ** 命令列表 **     2. connectors                  - 列出此 VM 中可用的连接器和传送器     3.      4. run [类 [参数]]             - 开始执行应用程序的主类     5.      6. threads [线程组]            - 列出线程     7. thread <线程 ID>            - 设置默认线程     ...
1 通过beanshell的remote server http://www.beanshell.org/manual/remotemode.html 2 JDPA(javac -g)   2.1 -Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=n   2.2 jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=1044       suspend       thread <ID>       set <lvalue ...
//index info select i.index_name, i.distinct_keys, i.num_rows   from user_indexes i, user_ind_columns c where i.index_name = c.index_name    and c.table_name = upper('reps_sla_item') //rebuild index   alter index sys_c0066955 rebuild   //analyze table analyze table reps_sla_item estimate statis ...
Oracle's alert.log   Oracle's alert.log chronologically records messages and errors arising from the daily database operation. Also, there are pointers to trace files and dump files. These messages include startups and shutdowns of the instance Messages to the operator console Errors causing trac ...
Global site tag (gtag.js) - Google Analytics