Important limitations and best practices
masterMulti-threading / Multi-core
Locking is not implemented. This library cannot be reliably used in multi-threaded or multi-core environments except for read-only operations.
Flash Memory Wear
Flash memory (SPIFFS/SD) has a limited number of write/erase cycles per sector (typically 10,000 to 100,000). While ESP32 supports wear-levelling, be cautious with write-intensive database projects to avoid premature hardware failure.
Performance
While SQLite can handle massive datasets, it may be slow on large datasets on ESP32. For example, retrieving a row from a 10-million-row dataset using an index can take approximately 700 ms.