Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0040129 | Openbravo ERP | 07. Sales management | public | 2019-02-04 13:05 | 2019-02-13 09:09 | |||||||
| Reporter | vmromanos | |||||||||||
| Assigned To | AtulOpenbravo | |||||||||||
| Priority | urgent | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | 3.0PR19Q1 | Fixed in Version | 3.0PR19Q1 | |||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | Sandrahuguet | |||||||||||
| 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 | 0040129: Set two new columns in C_Invoice as nullable and do not set a default value | |||||||||||
| Description | In Create Lines From Refactor introduced in 18Q4, two new columns were added to C_Invoice table: CREATEFROMORDERS and CREATEFROMINOUTS. They were set as mandatory and default value 'N'. In versions before PG 11 this configuration adds an important overhead when creating the columns. So to avoid a performance issue in the update process, it would be better to set both columns as nullable and without a default value. Basically is to revert the changeset: https://code.openbravo.com/erp/devel/pi/rev/7d6426933ab5 [^] | |||||||||||
| Steps To Reproduce | In a HV table, like c_order, run: ALTER TABLE c_order add COLUMN test character varying(1) default 'N'; Check it's very slow. Now run: ALTER TABLE c_order add COLUMN test2 character varying(1); It's almost immediate. | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2019-02-04 20:10 | AtulOpenbravo | Type | defect => backport | |||||||||
| 2019-02-04 20:10 | AtulOpenbravo | Target Version | => 3.0PR19Q1 | |||||||||
| 2019-02-13 08:44 | hgbot | Checkin | ||||||||||
| 2019-02-13 08:44 | hgbot | Note Added: 0109787 | ||||||||||
| 2019-02-13 08:44 | hgbot | Status | scheduled => resolved | |||||||||
| 2019-02-13 08:44 | hgbot | Resolution | open => fixed | |||||||||
| 2019-02-13 08:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q1/rev/a7776fdd82a7ed3982632283e3bfd17292688d7c [^] | |||||||||
| 2019-02-13 09:09 | Sandrahuguet | Review Assigned To | => Sandrahuguet | |||||||||
| 2019-02-13 09:09 | Sandrahuguet | Note Added: 0109791 | ||||||||||
| 2019-02-13 09:09 | Sandrahuguet | Status | resolved => closed | |||||||||
| 2019-02-13 09:09 | Sandrahuguet | Fixed in Version | => 3.0PR19Q1 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||