performance ir_ui_view index missing

Bug #580852 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Low
OpenERP's Framework R&D

Bug Description

branch and trunk

no index - full table scan

SELECT arch,name,field_parent,id,type,inherit_id FROM ir_ui_view WHERE model=e{} AND type=e{} AND inherit_id is null ORDER BY priority

suggestion
create index chricar_ir_ui_view_model_type_index on ir_ui_view(model,type);

Related branches

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
xrg (xrg) wrote : Re: [Bug 580852] [NEW] performance ir_ui_view index missing

On Saturday 15 May 2010, you wrote:
> Public bug reported:
>
> suggestion
> create index chricar_ir_ui_view_model_type_index on ir_ui_view(model,type);

Take note, we should consider commit 5b6e425151777eae

@Ferdninard: thanks

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Thanks for the report, this was an important one indeed!

The fix has landed in revision 3088 - <email address hidden>, along with other similar missing indices in view-related tables: http://bit.ly/hpzldo

Changed in openobject-server:
milestone: none → 6.0-rc2
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.