PostgreSQLで複雑なSQLのパフォーマンスを上げるべく、explainを使って癖を調べる。前方一致のLIKEであっても、ORでつなぐと(デフォルトでは)indexを使ってくれないのだな。一時的に「set enable_seqscan to off;」を発行して強制的に使わせたらだいぶ速くなった。
PostgreSQLで複雑なSQLのパフォーマンスを上げるべく、explainを使って癖を調べる。前方一致のLIKEであっても、ORでつなぐと(デフォルトでは)indexを使ってくれないのだな。一時的に「set enable_seqscan to off;」を発行して強制的に使わせたらだいぶ速くなった。
Explore the ranked best online casinos of 2025. Compare bonuses, game selections, and trustworthiness of top platforms for secure and rewarding gameplaycasino activities.