RM 刪除數據文件恢復操作
[oracle@ygzhou01 ygzhou01]$ rm -rf ygzhou01.dbf[oracle@ygzhou01 ygzhou01]$ ps -ef|grep dbw|grep -vgreporacle 6081 1 0Mar14 ? &nbs...
CMMSG WHHMD DB PLAN
類別用途設備規格OS版本DB版本RAID需求可用空間邏輯磁盤數據文件分布HMD借用AGRA主DL580G5 /E7450 *4/4GB*8/72G SAS 10K*2+300G SAS 10K *5 /P400i 512MB/RPS/NC360Tlinux RedHat 5.5Ora...
DB存儲規劃
DB 安裝需求類別用途設備規格OS版本DB版本RAID需求可用空間邏輯磁盤數據文件分布L6 SFC主DL580 G5 /Intel® Xeon® CPU E7450 @2.40GHz*24/4GB*8/72G SAS 15K*3+146G SAS 10...
10g Release 2 Tablespace Point In Time Recovery – recover
RMAN> recover tablespace ygzhou until scn 2420448 auxiliary destination '/home/oracle/backup'; Starting recover at 15-MAR-12using channel ORA_DISK_1RMAN-05026: WARNING: presuming following set of...
dbverify Utility
1、check datafile: https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=35512.1(1) SQL> show parameter db_block_size NAME &n...
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 ----------------------某交警系統后臺數...
将一个非分区表转换为分区表
根據用戶需求、將某數據表5000萬筆數據依據范圍分區方式做表結構更改,以下兩篇很好的實驗例子: 說明一下:用insert into select * from時間短;alter table archive.R_WIP_TRACKING_T exchange partition ...
遭遇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...
刪除重復數據
背景: 某定时应用程序(每天02:00启动)会读取指定目录下的所有txt扁平数据文件,并将数据保存到ORACLE数据库。本来应用程序将txt文件中数据入库后,会将目录中的txt数据文件备份到另外的目录中...
收藏
http://www.hellodba.com/index.php?class=doc&lang=cn
Linux管理腳本之自動執行腳本
在unix环境下,如何快速高效的工作。 首先,我们开始介绍,如何在unix下,创建一个可以与数据库进行交互的脚本。在unix下,很多时候,我们需要一个shell脚本,通过这个脚本,对数据...