Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0034072 | Openbravo ERP | A. Platform | public | 2016-09-23 12:00 | 2016-09-26 11:57 |
Reporter | AugustoMauch | ||||
Assigned To | AugustoMauch | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0PR16Q4 | |||
Merge Request Status | |||||
Review Assigned To | caristu | ||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0034072: Adding an index on c_bpartner_location.c_location will speed certain processes | ||||
Description | There are processes that given a location (table c_location) they need to retrieve if it is related with any business partner location (table c_bpartner_location). This results in the invokation of a query like this: SELECT * FROM c_bpartner_location WHERE c_location_id = ? In an environment with around 20 million entries in c_location and c_bpartner_location this query takes around 6 seconds. After adding an index in the column c_location of c_bpartner_location the query takes around 250 milliseconds (0000102:0000024 times faster). | ||||
Steps To Reproduce | In any database, invoke: EXPLAIN SELECT * FROM c_bpartner_location WHERE c_location_id = <any_c_location_id> Check that a sequencia scan is done in the c_bpartner_location table. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-09-23 12:00 | AugustoMauch | New Issue | |||
2016-09-23 12:00 | AugustoMauch | Assigned To | => AugustoMauch | ||
2016-09-23 12:00 | AugustoMauch | OBNetwork customer | => No | ||
2016-09-23 12:00 | AugustoMauch | Modules | => Core | ||
2016-09-23 12:00 | AugustoMauch | Triggers an Emergency Pack | => No | ||
2016-09-23 12:18 | hgbot | Checkin | |||
2016-09-23 12:18 | hgbot | Note Added: 0090202 | |||
2016-09-23 12:18 | hgbot | Status | new => resolved | ||
2016-09-23 12:18 | hgbot | Resolution | open => fixed | ||
2016-09-23 12:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/74900cd513e19d00b3d319b4ea70d159290fde96 [^] | ||
2016-09-23 12:18 | AugustoMauch | Review Assigned To | => caristu | ||
2016-09-23 12:20 | AugustoMauch | Description Updated | bug_revision_view_page.php?rev_id=13172#r13172 | ||
2016-09-23 15:20 | caristu | Note Added: 0090210 | |||
2016-09-23 15:20 | caristu | Status | resolved => closed | ||
2016-09-23 15:20 | caristu | Fixed in Version | => 3.0PR16Q4 | ||
2016-09-23 18:22 | hudsonbot | Checkin | |||
2016-09-23 18:22 | hudsonbot | Note Added: 0090215 | |||
2016-09-26 11:57 | AugustoMauch | Note Added: 0090252 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|