Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0024507 | Openbravo ERP | A. Platform | public | 2013-08-07 15:58 | 2013-08-16 20:32 |
|
Reporter | shuehner | |
Assigned To | shuehner | |
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.0MP27 | |
Merge Request Status | |
Review Assigned To | alostale |
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 | 0024507: Add debugging code to OBDal flush() method to help debugging performance+memory usage problems |
Description | Sometimes calls to flush() are very slow and the time spent is not directly related to the needed dml calls in the database but rather spent on just iterating over all the entities in the hibernate session just to find out which objects in there have been modified.
To help debugging those problems 4 infos are useful
- time spent in flush, who called flush
- numbers of entities/collections in the hibernate session
- list of entities in the hibernate session. |
Steps To Reproduce | Add the proposed items to the flush() method.
They should not do anything by default, but provide that info the log4j debug level logging is enabled for the OBDal class.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-08-07 15:58 | shuehner | New Issue | |
2013-08-07 15:58 | shuehner | Assigned To | => shuehner |
2013-08-07 15:58 | shuehner | Modules | => Core |
2013-08-07 15:58 | shuehner | OBNetwork customer | => No |
2013-08-07 15:58 | shuehner | Triggers an Emergency Pack | => No |
2013-08-07 15:59 | shuehner | Review Assigned To | => alostale |
2013-08-07 18:56 | hgbot | Checkin | |
2013-08-07 18:56 | hgbot | Note Added: 0060540 | |
2013-08-07 18:56 | hgbot | Status | new => resolved |
2013-08-07 18:56 | hgbot | Resolution | open => fixed |
2013-08-07 18:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/1fb4fef1d70b3c004d63887bc4f1dbeaaab7e98e [^] |
2013-08-08 15:28 | alostale | Note Added: 0060546 | |
2013-08-08 15:28 | alostale | Status | resolved => closed |
2013-08-08 15:28 | alostale | Fixed in Version | => 3.0MP27 |
2013-08-16 20:32 | hudsonbot | Checkin | |
2013-08-16 20:32 | hudsonbot | Note Added: 0060637 | |