1. A computer-implemented method comprising: processing an original table to provide a plurality of smaller horizontally partitioned tables, the partitioned tables being configured to allow at least some overlapping data records, wherein processing an original table to provide a plurality of smaller horizontally partitioned tables comprises: estimating an average number of words per partitioned table; and calculating lower and upper word count boundaries for each partitioned table; and using query modification script to generate a query configured to work with the partitioned tables.