Lot size simply indicates how many objects need to be taken at a time. Most likely, this will not help you. Let's look at your use case a little ...
The user enters “F” and you specify the database: “Go find all the names starting with“ F ”and the database looks through all 10k + entries to find those starting with“ F ”
Then the user enters “r”, so you tell the database to find all records starting with “Fr” and look again at all 10k + records to find those starting with “Fr.”
, fetchBatchSize, : ", , 50 , ". , .
fetchLimit 100 , 10k +, , 100 , , . , 100 , .
, , , .
, . Xcode (, , , ). , .
-, , "F", , , "Fr". "Fr ' ' F ', NSManagedObject . , .
, , . , . , , .
, , , .
, , , . , . .
, , . CoreData , .
,
, SQLLite , B-Tree logBN, 30 . . , .
, . . fetchBatchSize , .
countFetchRequext executeFetchRequest, . fetchLimit , .
... , , .
, ... ? - (, ), .
, , - , , . . .
, - - ...