I am creating an application that will retrieve data from a SQLite database and display it in a table.
I want the table to be updated in real time when the user makes a choice (via several drop-down lists). Each time the user selects a parameter from the drop-down lists, the application will have to create a new SELECT query with a new WHERE clause, which will be added, deleted or changed. The table will display the results of the query, since the item is selected from the drop-down list.
My question is to speed up the fetch process, should I / index each field in each table? I am not sure if this is possible.
I don’t need to worry about performance problems of INSERT, ALTER and others, since new data will be added very rarely.
thank
source
share