|
|
One simple solution may improve the query speed by introducing two new columns in your table
max_char(2), min_char(2).
Every time you insert record to the table you have pick up the max(big5 or any code order) and min char from you string, you must build index to these two columns.
Now you can filter out some rows before you can do full text search, for example if you want to match a string 'AABBCCDD', each AA,BB,... means a Chinese character.
select * from tableA
where max_char<='DD'
and min_char>='AA'
and string_matching_condtion
Be remembered that the distribution of the Chinese character may affect the performance of the above method. |
|