Openbravo Issue Tracking System - Openbravo ERP  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0034874 | Openbravo ERP | I. Performance | public | 2017-01-09 17:45 | 2017-03-15 20:18 | 
  | 
| Reporter | Sandrahuguet |   | 
| Assigned To | collazoandy4 |   | 
| Priority | normal | Severity | minor | Reproducibility | have not tried | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 20 | OS Version | Community Appliance | 
| Product Version |  |   | 
| Target Version |  | Fixed in Version | 3.0PR17Q2 |   | 
| Merge Request Status |  | 
| Review Assigned To | markmm82 | 
| 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 | 0034874: it is necessary to add an index in fin_payment.fin_rev_payment_id to improve the performance | 
| Description | It is necessary to add an index in fin_payment.fin_rev_payment_id to improve the performance when use  
 
payment.getFINPaymentReversedPaymentList(); | 
| Steps To Reproduce | N/A | 
| Proposed Solution | CREATE INDEX reversepayment 
  ON public.fin_payment 
  USING btree 
  (fin_payment_id COLLATE pg_catalog."default"); | 
| Additional Information |  | 
| Tags | Performance | 
| Relationships |  | 
| Attached Files |  | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2017-01-09 17:45 | Sandrahuguet | New Issue |  | 
| 2017-01-09 17:45 | Sandrahuguet | Assigned To |  => Triage Finance | 
| 2017-01-09 17:45 | Sandrahuguet | OBNetwork customer |  => No | 
| 2017-01-09 17:45 | Sandrahuguet | Modules |  => Core | 
| 2017-01-09 17:45 | Sandrahuguet | Triggers an Emergency Pack |  => No | 
| 2017-01-09 17:48 | vmromanos | Note Added: 0093274 |  | 
| 2017-01-09 18:50 | markmm82 | Assigned To | Triage Finance => collazoandy4 | 
| 2017-01-10 17:46 | collazoandy4 | Status | new => scheduled | 
| 2017-01-11 16:51 | Sandrahuguet | Tag Attached: Performance |  | 
| 2017-01-16 19:53 | hgbot | Checkin |  | 
| 2017-01-16 19:53 | hgbot | Note Added: 0093612 |  | 
| 2017-01-16 19:53 | hgbot | Status | scheduled => resolved | 
| 2017-01-16 19:53 | hgbot | Resolution | open => fixed | 
| 2017-01-16 19:53 | hgbot | Fixed in SCM revision |  => http://code.openbravo.com/erp/devel/pi/rev/a09d6ae570dde223583290eb2e911c9640e97658 [^] | 
| 2017-01-16 19:58 | markmm82 | Review Assigned To |  => markmm82 | 
| 2017-01-16 19:58 | markmm82 | Note Added: 0093613 |  | 
| 2017-01-16 19:58 | markmm82 | Status | resolved => closed | 
| 2017-01-16 19:58 | markmm82 | Fixed in Version |  => 3.0PR17Q2 | 
| 2017-01-17 13:50 | vmromanos | Note Added: 0093638 |  | 
| 2017-01-17 13:50 | vmromanos | Status | closed => new | 
| 2017-01-17 13:50 | vmromanos | Resolution | fixed => open | 
| 2017-01-17 13:50 | vmromanos | Fixed in Version | 3.0PR17Q2 =>  | 
| 2017-01-17 15:10 | Sandrahuguet | Proposed Solution updated |  | 
| 2017-01-17 16:06 | hgbot | Checkin |  | 
| 2017-01-17 16:06 | hgbot | Note Added: 0093648 |  | 
| 2017-01-18 11:01 | lorenzofidalgo | Issue Monitored: lorenzofidalgo |  | 
| 2017-01-18 15:40 | hgbot | Checkin |  | 
| 2017-01-18 15:40 | hgbot | Note Added: 0093694 |  | 
| 2017-01-18 15:40 | hgbot | Status | new => resolved | 
| 2017-01-18 15:40 | hgbot | Resolution | open => fixed | 
| 2017-01-18 15:40 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/a09d6ae570dde223583290eb2e911c9640e97658 [^] => http://code.openbravo.com/erp/devel/pi/rev/82d9f1cfdafdd5f6e3fb7542241bfff49c15554b [^] | 
| 2017-01-18 21:21 | markmm82 | Note Added: 0093713 |  | 
| 2017-01-18 21:21 | markmm82 | Status | resolved => closed | 
| 2017-01-18 21:21 | markmm82 | Fixed in Version |  => 3.0PR17Q2 | 
| 2017-03-15 20:18 | hudsonbot | Checkin |  | 
| 2017-03-15 20:18 | hudsonbot | Note Added: 0095102 |  | 
| 2017-03-15 20:18 | hudsonbot | Checkin |  | 
| 2017-03-15 20:18 | hudsonbot | Note Added: 0095104 |  | 
| 2017-03-15 20:18 | hudsonbot | Checkin |  | 
| 2017-03-15 20:18 | hudsonbot | Note Added: 0095107 |  | 
	| 
		Notes	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0093612)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2017-01-16 19:53   
							 | 
		 
		 
	 | 
	
		
		
			
				Repository: erp/devel/pi 
Changeset: a09d6ae570dde223583290eb2e911c9640e97658 
Author: Andy <collazoandy4 <at> gmail.com> 
Date: Fri Jan 13 12:25:24 2017 -0500 
URL: http://code.openbravo.com/erp/devel/pi/rev/a09d6ae570dde223583290eb2e911c9640e97658 [^] 
 
Fixed issue 34874: Added an index in fin_payment.fin_rev_payment_id 
 
Added an index in fin_payment.fin_rev_payment_id to improve the performance 
 
--- 
M src-db/database/model/tables/FIN_PAYMENT.xml 
--- 
			 | 
		 
		 
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0093648)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2017-01-17 16:06   
							 | 
		 
		 
	 | 
	
		
		
			
				Repository: erp/devel/pi 
Changeset: b7dc8dff230a0ec7c8dbf2e6a6ab113d516abbe9 
Author: Mark <markmm82 <at> gmail.com> 
Date: Tue Jan 17 10:05:09 2017 -0500 
URL: http://code.openbravo.com/erp/devel/pi/rev/b7dc8dff230a0ec7c8dbf2e6a6ab113d516abbe9 [^] 
 
Related to issue 34874: Backed out changeset a09d6ae570dd 
 
This patch contains an incorrect definition for the partial index, and there is no need to create a multi-column index. Just one column (FIN_REV_PAYMENT_ID) would be enough 
 
--- 
M src-db/database/model/tables/FIN_PAYMENT.xml 
--- 
			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0093694)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2017-01-18 15:40   
							 | 
		 
		 
	 | 
	
		
		
			
				Repository: erp/devel/pi 
Changeset: 82d9f1cfdafdd5f6e3fb7542241bfff49c15554b 
Author: Mark <markmm82 <at> gmail.com> 
Date: Tue Jan 17 11:57:35 2017 -0500 
URL: http://code.openbravo.com/erp/devel/pi/rev/82d9f1cfdafdd5f6e3fb7542241bfff49c15554b [^] 
 
Fixed issue 34874: Added an index in fin_payment.fin_rev_payment_id 
 
Added an index in fin_payment.fin_rev_payment_id to improve the performance 
 
--- 
M src-db/database/model/tables/FIN_PAYMENT.xml 
--- 
			 | 
		 
		 
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 | 
	
		 
	 | 
	| 
		
	 | 
	
		
	 |