wiki.techinc.nl/maintenance/archives/patch-logging_user_text_time_index.sql
Jackmcbarn 65a304c444 Add index on logging.log_user_text
Fixing bug #54404 requires querying against logging.log_user_text, which
is currently unindexed. Add an index, to prevent performance from being
adversely affected by the fix.

Bug: 54432
Change-Id: I6b2af65c75bbee57377cb1ec2e75ea41a5091f80
2013-12-19 03:13:05 +00:00

1 line
85 B
SQL

CREATE INDEX /*i*/log_user_text_time ON /*_*/logging (log_user_text, log_timestamp);