![]() Sequences in the middle, things are more complex. If the AOF file is not just truncated, but corrupted with invalid byte What should I do if my AOF gets corrupted? Optionally use diff -u to check what is the difference between two files. Still RDB is able to provide more guarantees about the maximum latency even in the case of a huge write load. In general with fsync set to every second performance is still very high, and with fsync disabled it should be exactly as fast as RDB even under high load. AOF can be slower than RDB depending on the exact fsync policy.AOF files are usually bigger than the equivalent RDB files for the same dataset. ![]() For instance even if you've accidentally flushed everything using the FLUSHALL command, as long as no rewrite of the log was performed in the meantime, you can still save your data set just by stopping the server, removing the latest command, and restarting Redis again.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |