Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Long Waiting Time For Catalog Query

Forum

Search UsersRules
Long Waiting Time For Catalog Query
#1
Active user
Points:: 0
Joined:: Sep 27, 2023

Hello experts,

 Although there are 9 thousand records in the catalog, the data returns very late, what can we do,
 is there an option such as indexing or repair?

Profile
#2
Administrator
Points:: 0
Joined:: Oct 3, 2019

Hello Selim!

9 thousand - it is a very small value, with such a amount of data the query should work instantly!

Let's try to figure it out and find the reason for the slowdown.

First, show me please your query that works slowly.

Profile
#3
Active user
Points:: 0
Joined:: Sep 27, 2023

hg

Profile
#4
Administrator
Points:: 0
Joined:: Oct 3, 2019

I'm waiting for your querie's text :-)

Profile
#5
Active user
Points:: 0
Joined:: Sep 27, 2023

When I write the query, it gives access denied and I cannot write for a while.

Profile
#6
Active user
Points:: 0
Joined:: Sep 27, 2023

It is very simple query
from Catalog.Leads

Profile
#7
Administrator
Points:: 0
Joined:: Oct 3, 2019

Hmm... Does this problem occur when reading data only from this Catalog? When you make a query to another Object of programm - the query is also slow?

Profile
#8
Active user
Points:: 0
Joined:: Sep 27, 2023

No Sir, there is no problem in other sections at the moment,
 only this catalog has problems, is
 there a feature like catalog repair, how can we repair it?

Profile
#9
Administrator
Points:: 0
Joined:: Oct 3, 2019

Does the user you are working under have read permissions to this Catalog?
Have you tried querying this Catalog under a different user?

Profile
#10
Administrator
Points:: 0
Joined:: Oct 3, 2019

There is also a utility for restoring the integrity of database tables. It can be launched directly from the Designer - see screenshots.

But before using this utility, be sure to make a backup!

Profile
#11
Active user
Points:: 0
Joined:: Sep 27, 2023

Does the user you are working under have read permissions to this Catalog?
Have you tried querying this Catalog under a different user?


I have admin rights, other users reported the problem to me

Profile
#12
Active user
Points:: 0
Joined:: Sep 27, 2023

Repairing it won't cause data loss, right ?

Profile
#13
Administrator
Points:: 0
Joined:: Oct 3, 2019

No, it won't. It fixes the broken structure.

But - before this procedure, be sure to make a backup!

Profile
#14
Active user
Points:: 0
Joined:: Sep 27, 2023

Thank you so much for your help brother.

Profile
#15
Active user
Points:: 0
Joined:: Sep 27, 2023

We repeared it. but it didn't work,
  do you have any other solution?

Profile
#16
Administrator
Points:: 0
Joined:: Oct 3, 2019

Could you give me a dump of your program?

Profile
#17
Active user
Points:: 0
Joined:: Sep 27, 2023

How can i download the catalog, I didn't see an option

Profile
#18
Administrator
Points:: 0
Joined:: Oct 3, 2019

Send me .dt file please. Do you know how to make it?

Profile
#19
Active user
Points:: 0
Joined:: Sep 27, 2023

Hi brother, the company I work for did not allow me to share the dt file

Profile
#20
Administrator
Points:: 0
Joined:: Oct 3, 2019

Ok, I understand, this is a normal requirement...

Try this: dump all the data into a .dt file, then load the data back from that file.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.