Opened 16 years ago
Closed 16 years ago
#8896 closed enhancement (duplicate)
[PATCH] improve performance when searching tickets (postgres)
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | ticket system | Version: | none | 
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
We have a database of around 8,000 tickets with around 25 custom fields. We found that after migration from sqlite to postgres the ticket search was taking anything up to 2 minutes to run. The attached patch reduced the time to search to around 1-2 seconds.
Attachments (1)
Change History (2)
by , 16 years ago
| Attachment: | web_ui.py.patch added | 
|---|
comment:1 by , 16 years ago
| Component: | general → ticket system | 
|---|---|
| Resolution: | → duplicate | 
| Status: | new → closed | 
Oops, this ticket went unnoticed and in the meantime someone else reported the issue, also with a patch (see r9007).
Really sorry about that, but at least, you now deserve an entry in the THANKS file as well ;-) Please don't hesitate in the future to "make some noise" to get our attention. If we don't comment on a good patch within a week, something is wrong…
So, duplicate of #8935.



  
Patch to ticket search