Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SQLite 中是否有任何 api 可以返回 WAL 日志文件的当前大小?我需要定期检查它的大小,如果它超过一定的限制,就执行一些操作。我目前正在使用我的 c++ 程序中的 stat() 之类的系统调用来实现这一点,但只是想知道是否有任何内置的独立于平台的方法可用。
不; -wal就数据库 API 而言,该文件不可见。
-wal