Skip to main content
Solved

After upgrade the stored procedure get_gui_elemnt is running slow


Gosia
Apprentice

Hi, 

We recently conducted a production upgrade, and as a result, the end application has become significantly slower. We've observed that the following procedure is being invoked for each user. It appears that this procedure is called during startup, leading to a prolonged delay. How can we address and resolve this issue?

/* Create or alter stored procedure get_gui_elemnt. */ 

  • session_id 151, cpu_time: 212742, total_elapsed_time: 750783
  • session_id 153, cpu_time: 251607, total_elapsed_time: 1344832
  • session_id 160, cpu_time: 240716, total_elapsed_time: 1293270
  • session_id 178, cpu_time: 250101, total_elapsed_time: 623093
  • session_id 231, cpu_time: 133600, total_elapsed_time: 436721

GUI version: 2023.1.10.0.1 

Windows GUI and Universal are slow.

 

My second question is: Can someone explain to me the origin of this query and why it is consistently running or suspended?

(@source nvarchar(256))SELECT type, data FROM sys.fn_MSxe_read_event_stream (@source, 0)

session info: 

  • host_name: DB4C000001
  • program_name: TdService
  • nt_domain: NT AUTHORITY
  • login_name: NT AUTHORITY\SYSTEM 
  • status: suspended 
  • cpu_time: 12
  • total_elapsed_time: 1760436

The query in question is causing performance concerns, and I would appreciate insights into its source and the reasons for its persistent execution or suspension.

Best answer by Gosia

Hi @Jeroen van den Belt ,

This issue was urgent, and I also sought help through other channels. I've already received some tips to improve performance. My apologies for forgetting to mention it here and for closing/withdrawing the ticket.

 

Best answer I got:

“ The get_gui_elemnts can be a bit slower duo to an index issue in IAM or having to many old version in IAM. If you performaned a platform upgrade it could be that is previously was configured with a recompile and this recompile setting was lost during the platform upgrade.

The 2nd query I do not know. Cannot help you there. Might be a something related to performance monitoring. “ 

 

Kind regards,

Gosia

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

Hi Gosia,

Before answering your questions, let me ask you some questions first 🙂

  • What is the platform version you are using?
  • Is the application started against IAM or the SF?
  • Are you up to date with all hotfixes for this product?
  • Did you run tsf_optimize before collecting the results?

Gosia
Apprentice
  • December 6, 2023

Hi @Jeroen van den Belt ,

This issue was urgent, and I also sought help through other channels. I've already received some tips to improve performance. My apologies for forgetting to mention it here and for closing/withdrawing the ticket.

 

Best answer I got:

“ The get_gui_elemnts can be a bit slower duo to an index issue in IAM or having to many old version in IAM. If you performaned a platform upgrade it could be that is previously was configured with a recompile and this recompile setting was lost during the platform upgrade.

The 2nd query I do not know. Cannot help you there. Might be a something related to performance monitoring. “ 

 

Kind regards,

Gosia


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