Exchange如果不采用循环日志,在成功实现全备份前,将产生大量DB日志。当磁盘性能比较差时,Exchange将延缓日志提交到数据库。因此这部分日志绝对不能删除,否则DB会有问题。而那些已经提交的db的log,其实可以手工delete掉(普通删除文件的方法)。当备份出现问题,磁盘容量又不够时,该方法非常有用。

以下KB就是帮助用户如何确定哪些日志已经提交,可以删除。

XADM: Using Eseutil to Determine Which Logs Have Been Committed
View products that this article applies to.
Article ID : 182961 
Last Review : October 28, 2006 
Revision : 4.3 
This article was previously published under Q182961
On This Page

SUMMARY

MORE INFORMATION

Exchange Server 5.5

Exchange 2000 Server
SUMMARY
You can use the Eseutil utility to view the contents of the checkpoint file to determine which log files have been committed to an Exchange database. 
Back to the top

MORE INFORMATION
Exchange Server 5.5
The information in this section applies to all three Exchange Server 5.5 databases: • Dir.edb 
• Priv.edb 
• Pub.edb 
To display the Edb.chk (checkpoint) file on the screen, run the following command from a command prompt: 
eseutil /mk edb.chk | more
If you do not run eseutil from the folder where the Edb.chk file is located, you must provide the full path to the file.

In Exchange Server 5.5, there is one checkpoint file for each set of log files. There will be one Edb.chk file for the directory and one for the information store. (Priv.edb and Pub.edb share the same log files and checkpoint file.)

The information that is displayed is similar to:    Microsoft(R) Exchange Server Database Utilities

Version 5.5

Copyright (C) Microsoft Corporation 1991-1997. All Rights Reserved.

Initiating FILE DUMP mode...
      Checkpoint file: edb.chk

LastFullBackupCheckpoint (8,615,203)
      Checkpoint (22,6485,399)
      FullBackup (8,615,203)
      FullBackup time:3/6/1998 11:52:16
      IncBackup (0,0,0)
      IncBackup time:0/0/1900 0:0:0
      Signature: Create time:2/24/1998 14:23:47 Rand:24842 Computer:
      Env (Session, Opentbl, VerPage, Cursors, LogBufs, LogFile, Buffers)
          (    168,   25200,    4440,    8400,      84,   10240,    8045)

Operation completed successfully in 0.20 seconds.
                                
Take the first number in the parentheses for the Checkpoint field and convert it to hexadecimal. The hexadecimal number is the file name of the first uncommitted log for the appropriate directory. Circular logging works by deleting all log files with generations that are lower than the generation in the checkpoint, for example: 
Checkpoint (22,6485,399) = EDB00016.LOG 
This syntax applies for most other fields in the dump file (LastFullBackupCheckpoint, FullBackup, IncBackup, and other fields). 
Back to the top

Exchange 2000 Server
In Exchange 2000, there is one checkpoint file for each storage group and one for the directory. When you try to identify the last committed log file for a storage group, note that the storage group prefix applies to the checkpoint file and to all of the log files. For example, the default first storage groups checkpoint file name is E00.chk, and its log files are E00xxxxxx.log (where xxxxx is the hexadecimal sequence number of the log file).

To display the Exx.chk (checkpoint) file on the screen, run the following command from a command prompt (from the Exchsrvr\Bin folder): 
eseutil /mk the_full_path_to_the_checkpoint_file
For example, you may run the following command: 
eseutil /mk "C:\Program Files\Exchsrvr\MDBDATA\E00.chk"
Note that you must use the quotation marks if there is a space in the path to the checkpoint file.

The output of this command is similar to:    Microsoft(R) Exchange Server(TM) Database Utilities
   Version 6.0
   Copyright (C) Microsoft Corporation 1991-2000.  All Rights Reserved.

Initiating FILE DUMP mode...
         Checkpoint file: C:\Program Files\Exchsrvr\MDBDATA\E00.chk

LastFullBackupCheckpoint: (0x0,0,0)
         Checkpoint: (0x6A,1119,3D)
         FullBackup: (0x0,0,0)
         FullBackup time: 00/00/1900 00:00:00
         IncBackup: (0x0,0,0)
         IncBackup time: 00/00/1900 00:00:00
         Signature: Create time:09/24/2001 17:10:26 Rand:522553071 Computer:
         Env (CircLog,Session,Opentbl,VerPage,Cursors,LogBufs,LogFile,Buffers)
             (    off,    202,  30300,   1365,  10100,    128,  10240,  97940)

Operation completed successfully in 1.192 seconds.
                                
Take the first number in the parentheses for the Checkpoint field. The hexadecimal number is the file name of the first uncommitted log for the appropriate database; in this example: 
Checkpoint (0x6A,1119,3D) = E000006A.log 
Back to the top

本文转自 bilinyee博客,原文链接:     http://blog.51cto.com/215363/808394   如需转载请自行联系原作者

全备份失败后,如何手工清除exchange日志文件,附微软KB相关推荐

  1. LabVIEW崩溃后所产生的错误日志文件的位置

    LabVIEW崩溃后所产生的错误日志文件的位置 LabVIEW开发环境刚刚崩溃,请问如何访问崩溃后自动生成的日志文件? LabVIEW崩溃后产生的转储文件位于何处? 代码导致了LabVIEW崩溃,请问 ...

  2. 新装的oracle缺少很多文件夹,丢失所有文件、拥有全备份,缺少后增加的文件

    1.测试,移除当前所有文件 从备份中恢复数据文件及控制文件(丢失后增加的文件) SQL> startup; ORACLE 例程已经启动. Total System Global Area 472 ...

  3. oracle9i目录不停增长,丢失所有文件、拥有全备份,缺少后增加的文件

    1.测试,移除当前所有文件 从备份中恢复数据文件及控制文件(丢失后增加的文件) SQL> startup; ORACLE 例程已经启动. Total System Global Area 472 ...

  4. oracle备份的输出日志文件,oracle导出数据,备份及恢复数据,及数据库日志文件的查看...

    以salary为例,在PLSQL Developer中操作 1.导出salary表的数据:将 salary 表的数据以 insert 语句的方式导出 tools-->Export Tables- ...

  5. Logparser 分析 Exchange 日志文件

    Exchange的日志分析有很多方式,最简单的应该是打开Exchange Manage Console, 然后ToolBox里面打开Troubleshooting assistant工具就可以通过GU ...

  6. Exchange日志清理

    1.清理日志--完整备份 Exchange Server 2013被部署在Windows Server 2012 及以上版本的操作系统中,使用操作系统内的"Windows Server Ba ...

  7. 当ORACLE归档日志满后如何正确删除归档日志

    当ORACLE 归档日志满了后,将无法正常登入ORACLE,需要删除一部分归档日志才能正常登入ORACLE. 一.首先删除归档日志物理文件,归档日志一般都是位于archive目录下,AIX系统下文件格 ...

  8. mysql 事务日志备份_SQL Server恢复模式与事务日志备份

    在SQL Server中,数据库不能像Oracle数据库一样设置归档模式,但是可以进行事务日志备份,其作用等同于Oracle数据库的日志文件归档. SQL Server 备份和还原操作发生在数据库的恢 ...

  9. Oracle RMAN 清除归档日志

    在开发环境及UAT环境经常碰到需要清除归档日志的情形,对于这个问题方法有很多.可以直接使用rm方式清除归档日志,也可以使用find命令来查找符合条件的记录来清除归档日志,或者直接写个shell脚本来搞 ...

最新文章

  1. MySQL 修改账号的IP限制条件
  2. tomcat中request对象是被创建的_常用开源框架中设计模式使用分析(全)
  3. 最新县及县以上行政区划代码(截止2010年12月31日)
  4. Python自然语言处理工具
  5. MySQL使用ALTER TABLE创建索引
  6. apache php隐藏头信息的方法,科技常识:nginx/apache/php隐藏http头部版本信息的实现方法...
  7. UnityShader之Shader格式篇【Shader资料1】
  8. 【BZOJ1934】【codevs2341】善意的投票,二分图最小割
  9. python学习之字符串函数用法
  10. 通过import keyword查看python中定义的关键字
  11. SpringBoot结合Druid配置JNDI多数据源
  12. world办公软件小技巧
  13. 文件打开对话框设定过滤
  14. 利用python-docx和docxcompose实现word合并,自动化办公
  15. 百度地图离线开发demo(初始化地图)
  16. 各大应用商店APP上架指南
  17. FOne easyModelVerifier™ 模型/代码Back-to-Back自动化验证工具
  18. 怎样阅读论文(台湾彭明辉)
  19. C#——获取银行卡所属银行,验证银行卡号是否正确
  20. html 晃动图标动画,SVG+CSS3 摇晃的铃铛动画图标

热门文章

  1. SAP CRM 使用Javascript触发SAP Server Event
  2. 集算报表用Java动态修改报表数据源
  3. Redis数据持久化之AOF持久化
  4. [转]如何将WCF服务发布到IIS中去VS2010版
  5. 基础命令之cd,mkdir,cp,ls
  6. Juddi介绍及安装
  7. android lua sd卡,记Android层执行Lua脚本的一次实践
  8. MySQL分组查询—简单使用
  9. 初识Docker-Docker架构
  10. isOnSyncQueue