ORACLE數據恢復
alter Log文件:Mon Feb 28 13:25:31 2005ORACLE V8.1.6.0.0 - Production vsnsta=0vsnsql=e vsnxtr=3Windows 2000 Version 5.0 Service Pack 4, CPU type 586 ----------------------某交警系統后臺數...
RAC禁止某个客户端登录数据库
单实例:1、以oracle用户进入$ORACLE_HOME/network/vi sqlnet.ora,添加:tcp.validnode_checking=yestcp.invited_nodes=(192.168.1.220,192.168.1.223)tcp.excluded_nodes=(192.168.1.221)解析:tcp.invited_node...
将一个非分区表转换为分区表
根據用戶需求、將某數據表5000萬筆數據依據范圍分區方式做表結構更改,以下兩篇很好的實驗例子: 說明一下:用insert into select * from時間短;alter table archive.R_WIP_TRACKING_T exchange partition ...
字段字符类型不匹配导致CPU占用率高
WINDOWS2003+MSSQL2005 CPUs:6*4Mem:32G cpu平均使用达40%;MEM使用25G; 分析硬件性能状态、汇总信息如下: 内存页交换较少、buffer命中率高、内存页生...
MSSQL2008 install fail
1、环境:WINDOWS2003 32Bit +MSSQLSERVER2008 R2遭遇战: 通过VPN远程连接SERVER安装MSSQLSERVER2008时遭遇MSXML6.0 SP2问题...... 解决方案: 如果您安...
遭遇ORA-12801 insufficient memory for PX buffers
10g or 11g, Install or Upgrade Fails due to ORA-12853: insufficient memory for PX buffers policy_indexes.sql [ID 1174093.1] Modified 22-SEP-2010 Type P...
Recovering a Dropped Table [ID 96197.1]
Recovering a Dropped Table from a Full Database Backup using manual backup and recovery procedures [ID 96197.1] 修改时间 03-JAN-2012 类型 TROUBLESHOOTI...
xargs
xargs xargs是一條Unix和類Unix作業系統的常用命令。它的作用是將參數列錶轉換成小塊分段傳遞給其他命令,以避免參數列表過長的問題[1]。例如,下面的命令:rm `find /path -type f`如果path目錄下文件過多...
Deadlocks
Deadlocks http://www.oracle-base.com/articles/misc/Deadlocks.phpA deadlock occurs when two or more session are waiting for data locked by each other, resulting in all the sessions being blocked. Oracl...
Join 和 Key
SQL join 用于根据两个或多个表中的列之间的关系,从这些表中查询数据。Join 和 Key有时为了得到完整的结果,我们需要从两个或更多的表中获取结果。我们就需要执行 join。数据库中的表可通过键将彼此联系起来...
SQL TOP 实例
TOP 子句TOP 子句用于规定要返回的记录的数目。对于拥有数千条记录的大型表来说,TOP 子句是非常有用的。注释:并非所有的数据库系统都支持 TOP 子句。SQL Server 的语法:SELECT TOP number|percent column_n...
Database Statistics
5.1.3 Interpreting StatisticsWhen initially examining performance data, you can formulate potential theories by examining your statistics. One way to ensure that your interpretation of the stati...
Database Statistics
Wait EventsWait events are statistics that are incremented by a server process or thread to indicate that it had to wait for an event to complete before being able to continue processing. Wait event ...
数据库访问优化法则详解之利用更多的资源
数据库访问优化法则详解之利用更多的资源利用更多的资源可利用更多的资源,达到优化数据库的目的。客户端的多进程并行访问多进程并行访问是指在客户端创建多个进程(线程),每个进程建立一个与数据库的连接,...
內存頁生命周期下降
環境:Windows2003 64bit MSSQLSERVER2008R2 Mem:32G SQL Server:Buffer Manager Page Life Expectancy >300内存指针之一,如果该值持续<300那么将考虑增加内存小于300时...
清除MSSQL history 記錄
declare @dt datetime select @dt = cast(N'2012-01-14T09:25:43' as datetime) exec msdb.dbo.sp_delete_backuphistory @dtGOEXEC msdb.dbo.sp_purge_jobhistory @oldest_date='2012-01-14T09:25:43'GOEXECUT...
oracle手動建庫
ORACLE VERSION:10.2.0.4DB_NAME=ygzhouORACLE_SID=ygzhouStep 1: create directory of DBmkdir –p /u01/app/oracle/oradata/ygzhou/datafile/mkdir –p /u01/app/oracle/oradata/ygzhou/onlinelog01/mkdir –p /u...
Scan and Node TNS Listener
11.2 Scan and Node TNS Listener Setup Examples [ID 1070607.1] Modified 15-FEB-2011 Type HOWTO Status PUBLISHED In thi...
How to update the IP address of the SCAN VIP
How to update the IP address of the SCAN VIP resources (ora.scan.vip) [ID 952903.1] Modified 13-AUG-2010 Type HOWTO Status PUBLISHED ...
Modifying RAC
Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node [ID 276434.1] Modified 19-DEC-2011 &n...