Opened 12 years ago
Closed 9 years ago
#5448 closed enhancement (no action required)
Remove SQL Hints from Activities class
| Reported by: | zippykid | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Activity | Version: | 1.9.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
This ticket is the result of a discussion here: http://buddypress.org/support/topic/performance-issues-with-the-wp_bp_activities-table/
Basically, I think it would be good if the SQL hint should be removed from the query in the activities class that returns a COUNT() .
Some tests and results of EXPLAIN are provided here; https://gist.github.com/vidluther/9370018
Change History (6)
#3
@
12 years ago
- Milestone 2.0 → 2.1
OK, the index hint is removed from the count query. I think we probably should remove it from the other query as well, but this is something I can't investigate right now, so I'm going to move this ticket to the next milestone so there's more time for benchmarking and testing.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks, zippykid.