上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 21 下一页
  2012年3月15日
摘要: CentOS Linux Server 会将许多系统运行的状态发邮件给管理员root用户,系统邮件存放在 /var/spool/mail/root 目录中,可以通过使用 mail 命令来查看邮件,但是时间长了,也会造成邮件过多,如何使用 Shell 命令来批量删除或者全部删除呢? 方法一:使用mail命令,然后在 & 提示符下使用 d 命令(Delete),批量删除邮件,例如删除1~53邮件: # mail & d 1-53 方法二:删除全部系统邮件 # > /var/spool/mail/root or cat /dev/null > /var/spool/mai 阅读全文
posted @ 2012-03-15 09:45 weaver_chen 阅读(8812) 评论(0) 推荐(2) 编辑
  2012年3月9日
摘要: 1. tempdb 文件过大,可以通过重新启动SQL Server 系统,tempdb数据文件及Log会释放空间到初始大小(比如8M).2. tempdb 在系统默认的C盘,自动扩展过大可能导致系统盘C盘空间问题,需要迁移到数据盘 。 Use masterITPUB个人空间$R+C:?_;u$]y Alter database tempdb modify file (NAME='TEMPDEV',FILENAME='D:\SQLDATA\TEMPDB.MDF'); GO Alter database tempdb modify fileITPUB个人空间;R 阅读全文
posted @ 2012-03-09 17:08 weaver_chen 阅读(2628) 评论(0) 推荐(0) 编辑
  2012年3月7日
摘要: Disk Queue Length vs. Disk Latency Times: Which is Best for Measuring Database PerformanceMonday, 29 September 2008 18:22IntroductionThere are several common metrics that people use to look for performance bottlenecks. They are usually:- Disk queue length- Disk latency/transfer times- MB/sec- IO/sec 阅读全文
posted @ 2012-03-07 14:55 weaver_chen 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Oracle how-tobackup and recovery with RMANSlavo Kozac, 17 Apr 2010, 19:54============================================================BACKUP============================================================-------------------------------------------------------------- backup full database - compressed-- st 阅读全文
posted @ 2012-03-07 13:25 weaver_chen 阅读(244) 评论(0) 推荐(0) 编辑
摘要: RMAN 目录管理维护2010年07月30日 星期五 10:13关于RMAN目录管理和维护的相关知识:LIST,REPORT,CROSSCHECK,VALIDATE,CHANGE.1. LIST LIST命令将使RMAN读取目录或控制文件来显示备份的有关细节,主要是列出已有的备份的相关信息。可以添加过滤条件来查看特定的备份集、表空间、数据文件、控制文件、归档日志文件等。 1). 列出数据库形态incranation信息 RMAN> list incarnation; List of Database Incarnations DB Key Inc Key DB Name DB ID ST 阅读全文
posted @ 2012-03-07 13:16 weaver_chen 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 有关备份验证的官网链接如下: Validating Database Files and Backups http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmvalid.htm#BRADV90064 Rman 对数据文件的验证,主要是验证坏块,包括逻辑坏块和物理坏块。 关于坏块的说明,参考我的Blog: Oracle 坏块 总结 http://blog.csdn.net/tianlesoftware/archive/2009/12/17/5024966.aspx一. 备份DB并查看备份备份脚本参考: Nocatal 阅读全文
posted @ 2012-03-07 12:46 weaver_chen 阅读(310) 评论(0) 推荐(0) 编辑
摘要: RMAN 的备份信息如下:RMAN> list backupset summary;List of Backups===============Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag------- -- -- - ----------- --------------- ------- ------- ---------- ---9 b 1 a disk 01-jun-11 1 1 no dave_lev110 b 1 a disk 01-jun-11 1 1 no dave_lev113 阅读全文
posted @ 2012-03-07 12:42 weaver_chen 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 一、list常用命令总结备忘 list命令列出控制文件、RMAN恢复目录中备份信息, 是我们对所有可见的数据库备份文件的一个最直观的了解的方法 list incarnation; list backup summary; list backup of database summary; list backup of tablespace summary; list backup of datafile n,n summary; list archivelog all summary; list backup by file; list backup; list expired backup; 阅读全文
posted @ 2012-03-07 11:23 weaver_chen 阅读(813) 评论(0) 推荐(0) 编辑
  2012年3月6日
摘要: I have been moving over the data from one database to another and am currently using XML files as an intermediate step. The process has been going very smoothly, and I just learned something new. I need to keep certain ID column values across the database and was worried about turning on and off ide 阅读全文
posted @ 2012-03-06 14:08 weaver_chen 阅读(253) 评论(0) 推荐(0) 编辑
  2012年3月5日
摘要: Similar to the Deprecated Warning, you may see the following warning in your logsPHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are*required* to use the date.timezone setting or the date_default_timezone_set() function. In caseyou used any of those method 阅读全文
posted @ 2012-03-05 18:48 weaver_chen 阅读(279) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 21 下一页