英语翻译FLUSH statement ensures that all data you have written t

英语翻译
FLUSH statement ensures that all data you have written to disk files has actually been written to disk.
The CLOSE statement also flushes the buffers,but FLUSH statement has the advantage of leaving the files open.
ren_ta 1年前 已收到1个回答 举报

爱楚生 春芽

共回答了13个问题采纳率:84.6% 举报

FLUSH语句确保所有你要写入硬盘的数据已经确实写入硬盘了
CLOSE语句也刷新缓存,但是FLUSH语句的优势是可以在保持文件打开的情况下刷新缓存
意思就是说你要写入硬盘的文件首先写入缓存,用一下FLUSH,缓存里的数据就全写入硬盘了,然后缓存刷新
CLOSE也能有同样的效果,但是会关闭你打开的文件

1年前

1
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 0.009 s. - webmaster@yulucn.com