What happened
Codex has recently rolled out version 0.142.0, which aimed to address a significant issue related to high write-amplification in SQLite logging. While two fixes were implemented, users are still reporting elevated SSD write levels, indicating that the problem persists, albeit at a reduced rate.
Why this matters
The ongoing write-amplification issue can have serious implications for users, particularly those on SSDs, as it can lead to faster wear and tear on the drives. For instance, users on Ubuntu are still seeing around 10MB/s writes, which translates to an alarming 315TB annually. This situation is concerning for individuals and businesses relying on Codex for intensive data management tasks, as it could impact overall system performance and lifespan of their hardware.
Context
This issue was first brought to light when users began noticing unusual SSD activity while using Codex. The original reports highlighted excessive disk usage, prompting the developers to investigate and introduce fixes in version 0.142.0. However, user feedback suggests that these fixes have not completely resolved the problem and that further action is required.
What this means
For those using Codex, it's advisable to view version 0.142.0 as a step forward rather than a complete solution. Users who depend heavily on Codex should consider applying a temporary workaround that blocks inserts into the local logs table, which has reportedly reduced disk usage to almost zero for some. However, this workaround comes with its own caveat—it disables diagnostic logs, which could be crucial for troubleshooting. Alternatively, waiting for the anticipated version 0.143.0, which is expected to include further fixes, may be prudent for those affected by the logging issue.



