Answer the question
In order to leave comments, you need to log in
SQLite fetch from large database?
Interested in the question, how fast will the selection of 1 element from the database table, where the number of records is 10 ^ 6, 10 ^ 8 ?
Table format:
CREATE TABLE `table` (
`text` TEXT NOT NULL,
`foreignKeyId` INTEGER NOT NULL,
PRIMARY KEY(text)
)
Answer the question
In order to leave comments, you need to log in
SELECT * FROM `table`
WHERE `text` = 'mytext'
Yes, I checked. Sampling by indexed field takes no more than 1ms.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question