0

您如何以编程方式告诉 ESENT 不要将事件记录到事件查看器?我注意到,每当我的应用程序使用数据库时,应用程序日志就会充满大量消息(在 1 秒内计数 68 条)。

这里只是我看到的一些例子。

MYAPP (22956,R,98) Replay of a Attach for database "database.mdb" at log position (00000001,0053,0268) was deferred due to IOError.  Additional information:  -1023 (0xfffffc01)

MYAPP (22956,D,35) Error -1919 validating header page on flush map file "database.jfm". The flush map file will be invalidated. 
Additional information: [SignDbHdrFromDb:Create time:00/00/1900 00:00:00.000 Rand:0 Computer:] [SignFmHdrFromDb:Create time:00/00/1900 00:00:00.000 Rand:0 Computer:] [SignDbHdrFromFm:Create time:08/11/2021 00:32:27.346 Rand:3483593618 Computer:] [SignFmHdrFromFm:Create time:08/11/2021 00:32:27.358 Rand:925208729 Computer:]

MYAPP (26620,R,98) The database engine has finished replaying logfile edb.log. 
 
Processing Stats: 
[1] 0.059780 -0.011053 (20) WT +J(CM:0, PgRf:0, Rd:0/0, Dy:0/0, Lg:2075703/19239) +M(C:0K, Fs:119, WS:224K # 228K, PF:4K # 8K, P:4K). 
Log record of type 'Insert   ' was seen most frequently (6975 times)

是否可以设置JetSetSystemParameterJetInit标志来限制写入事件查看器的数量?

4

0 回答 0