If you show us the schema and query, we can help - my first bet will be that you have different types of data in the schema and query, and therefore you are now doing an additional type conversion somewhere, There may also be consequences of the actual data conversion that you performed, your database may be more fragmented than it was (or, as suggested in response to another identical question that you asked, your statistics may be outdated, which leads to poor queries).
source share