#385 ✓resolved
Ben Hood

Composite index on diffs table

Reported by Ben Hood | October 13th, 2011 @ 01:15 PM | in 0.9-series (closed)

The query

select max(reporteddi0_.seq_id) as col_0_0_ from diffs reporteddi0_ where reporteddi0_.domain=:1

is doing a full table scan (Cost 3027). There is an index on seq_id but because of the domain predicate it doesn’t help. What would probably help is a composite index on domain and seq_id.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Real Time Differencing Tool.

Shared Ticket Bins

People watching this ticket

Pages