Skip to main content
Question

Attachment pane performance issue

  • January 8, 2025
  • 8 replies
  • 159 views

Forum|alt.badge.img+16

Does anyone face problem when activating attachment pane on IEE? With newest IFS10 updates(UPD22, UPD24) or maybe with more data in database getting info for attachment pane takes nearly 10 seconds.

Our investigation provides to Doc_Reference_Object_API.Get_Obj_Conn_Client_Hit_Count and its cursor get_oct_excluded_count. Time to time oracle CBO changes execution plan and it cause an issue. As it is very often runing query it affects overall performance.

 

Amount of rows for two customers with this issue

select count(1) From ifsapp.DOCUMENT_ISSUE_ACCESS_TAB; -- cust1: 125324 rows, cust2: 834 165 rows
select count(1) from ifsapp.DOC_ISSUE_TAB; -- cust1: 38338 rows, cust2: 116 548 rows

 

I know about “Slow Network simulate” option but this is only workaround.

I found post where someone mentioned “product development team is currently working on a fix to optimize this” but seems nothing changed

https://community.ifs.com/framework-experience-infrastructure-cloud-integration-dev-tools-50/long-running-call-getcountattachments-33137?tid=33137&fid=50

 

8 replies

Forum|alt.badge.img+9

Hi,

 

We have experienced a very low performance after UPD21 a year ago.

We found out, it was caused by a change in DOCUMENT_VIEW_ACCESS.

Although we reported this Issue to IFS Support, it was not accepted as a bug. IFS Support mentioned, that this change was introduced due to an issue from another customer.

We finally reverted back to the PRE- UPD21 version of the view.

Here is the details compared.

Count DOCUMENT_ISSUE_ACCESS_TAB 157.306.245

Count Doc_issue_tab 14.295.463


Forum|alt.badge.img+16
  • Author
  • Superhero (Partner)
  • 398 replies
  • January 9, 2025

Hi ​@JohannesWittwer 

 

Great to hear that. I created ticket for this issue with proposal of solution but IFS Support reject it because “it carries a risk of negatively affecting other customers”. I have different idea because for few customer it works and I do not see any rist with that. IFS Support haven’t provided yet any example of potential risk.

Moreover they suggested to implement customization...


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2817 replies
  • January 10, 2025

@knepiosko 

We have decided to fix this. The previous communication about risk was done too hastily, for this particular issue.

To elaborate a bit on “risk”: it can be a risk, in general, if we introduce an optimizer hint "willy nilly". Different customers have different amount of data in different tables, and also different distribution of data, all of which can affect how the Oracle query optimizer decides on an execution plan. An optimizer hint might have a good result for one customer and a bad result for another.

Therefore, it's often safer to do things like introduce a new index or to add an optimizer hint, like in this case, for the customer in question. Because, again in the general case, the optimizer hint might have a different impact for a customer with different data.

Unfortunately in this case, adding an optimizer hint is seen as a customization (it IS changing standard code from IFS), whereas adding an index to solve a performance problem for a customer, is more in the gray zone between a customization and a configuration.

To repeat myself: we will solve this issue in the standard product and you should get a notification via the official support channel about it soon.
 


Forum|alt.badge.img+16
  • Author
  • Superhero (Partner)
  • 398 replies
  • January 24, 2025

I mentioned in my ticket that this is not only one-customer issue. Unfortunaltely Rnd’s judgmenet was based on Reference environment behavior with low amount of data:

doc_reference_object_tab = 22,415
document_view_access = 9980

 

It is a small percentage(~0,01%) of these:

Count DOCUMENT_ISSUE_ACCESS_TAB 157.306.245

Count Doc_issue_tab 14.295.463

 

This a real problem that RnD does not want accept real scenarios. Sometimes is better suppress problem that provide solution like. Eq.

https://community.ifs.com/framework-experience-infrastructure-cloud-integration-dev-tools-50/ext-file-trans-tab-growing-and-cannot-be-cleaned-33560

 


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2817 replies
  • January 27, 2025

@knepiosko 

I hope we can agree that we could have handled that better and also be happy that we decided to produce a fix.

Access to real-world data is a challenge for us, and it’s not always easy to solve. We can fake data to some extent, and it sounds easy, but what tables will we fake? All of them? No, that would produce a database that no one can host (millions of records in all tables). And even with many records in a table, depending on the distribution of data related to indexes, we might not be able to find the same issues a customer does.

At the end of the day, we need a combination of different things to handle performance problems and, unfortunately, at some point and for some issues, the only way forward is having access to an environment with real customer data where we can trouble shoot. It can often be arranged but sometimes it's a very heavy process. It's then very helpful when you as a competent partner can do some trouble shooting for us, that happened in my case.

It's a bit harsh, and wrong, to say that R&D doesn't want to accept real scenarios. We do handle real-world scenarios every day in support. That attitude doesn't foster good communication, so I would ask that you refrain from using it here. We are not perfect but we try our best, and I hope we also improve over time.

 


Forum|alt.badge.img+7
  • Sidekick (Partner)
  • 49 replies
  • February 11, 2025

@Mathias

Hi Mathias,
 

One of our customers recently upgraded from APP9 to APP10 UPD21 is also experiencing the same issue.

Could you please let us know when the fix will be delivered? Also, is there an IFS support case or a knowledge base (KB) article we can follow for updates on the fix?

We appreciate your support on this.


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2817 replies
  • February 12, 2025

@HashanD 

The fix, with bug ID 169758, should be available in Apps 10 UPD 27. Be warned though, we cannot promise that the fix fixes your problem since it might not have the same cause. The problem could be something else entirely.


Forum|alt.badge.img+7
  • Sidekick (Partner)
  • 49 replies
  • February 12, 2025
Mathias Dahl wrote:

@HashanD 

The fix, with bug ID 169758, should be available in Apps 10 UPD 27. Be warned though, we cannot promise that the fix fixes your problem since it might not have the same cause. The problem could be something else entirely.

Thank you Mathias for your response. I’ll check.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings