| CPC G06F 16/24549 (2019.01) [G06F 7/14 (2013.01); G06F 16/2228 (2019.01); G06F 16/2379 (2019.01); G06F 21/6218 (2013.01); G06F 21/6227 (2013.01)] | 30 Claims |

|
1. A method comprising:
receiving an instruction to enable logging of database operations of a source table stored in a network-based data system;
in response to receiving the instruction, scanning existing data objects stored in a metadata database associated with the source table to generate index records for a N-gram index associated with past database operations performed on the source table;
scanning the index records in the N-gram index to generate index statistics;
updating the N-gram index based on new logs from a log cache to generate a new version of the N-gram index;
enabling search of the new version of the N-gram index, the search using the index statistics for execution;
receiving, from a user, a search request including a search string; and
processing the search request based on the new version of the N-gram index;
wherein the new logs are updated in the N-gram index in a separate process than processing the search request.
|