SWAP is a memory swap technology. Copy the memory to the preset disk space in pages.
Memory is fast and expensive. Disks are slow and cheap.
Generally the more SWAP is used, the lower the system performance will be.
Redis is an in-memory database, using SWAP will cause rapid performance degradation.
It is recommended thatleave enough memory and turn off SWAP.
The above is the detailed content of What is the use of turning off SWAP in Redis?. For more information, please follow other related articles on the PHP Chinese website!