1

I've got two very big tables, one with 5M rows the other with 37M rows. The first one has all the descriptive text fields filled for each row with several fulltext indexes (size 33GB). The later one doesn't have content for those text fields yet and I'm about to add text to those (size 20GB).

I've already asked about optimizing my search query on the 5M-row table on here and it seems it cannot be optimized further:

Optimizing a SELECT … UNION … query with ORDER and LIMIT on a table with 5M+ rows

We've managed reducing the execution time on the above query 10 times by making the server more powerful. But now if I add another SELECT ... UNION ... to the above mentioned query for the 37M-row table, its execution time exceeds more than 10 seconds which is not acceptable anymore.

So here is the question, would it be theoretically better if I move rows from the 37M-row table to the other one when adding additional text contents to the rows or that won't change anything?

Community
  • 1
  • 1
SAVAFA
  • 818
  • 8
  • 23

0 Answers0