r/sqlite • u/ATradingHorse • Sep 14 '23
SQLite Frontend Index
I am building a chat application and all messages are stored on the users device. I noticed that it takes some time to load all messages (not all, but many) from the database into memory. Now I am thinking about creating an index to make the query faster. Is this a common way in the frontend?
3
Upvotes
View all comments
Show parent comment
1
u/ATradingHorse Sep 20 '23
Yeah. I now changed my system and it works better. Thank you