正如你所看到,每当我们写模式中打开以前的内容越来越截断文件。
As you see whenever we open the file in write mode the previous contents are getting truncated.
在这种情况下,您将需要定期截断文件,否则它将会无限增长下去。
In this case, you will need to periodically truncate the file, since it will grow indefinitely otherwise.
当重新连接到数据库时,前一个连接中的最后一个要放置数据的日志文件将被截断,使它的大小等于文件中数据的大小。
Upon reconnecting to the database, the last log file to have data placed in it from the previous connections will be truncated to the size of the data in the file.
应用推荐