The 1C:Enterprise developers forum

#1
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Sep 27, 2023
Company:

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?

 
#2
People who like this: 0 Yes / 0 No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

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.

 
#3
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Sep 27, 2023
Company:

hg

 
#4
People who like this: 0 Yes / 0 No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

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

 
#5
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Sep 27, 2023
Company:

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

 
#6
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Sep 27, 2023
Company:

It is very simple query
from Catalog.Leads

 
#7
People who like this: 0 Yes / 0 No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

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?

 
#8
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Sep 27, 2023
Company:

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?

 
#9
People who like this: 0 Yes / 0 No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

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

 
#10
People who like this: 0 Yes / 0 No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

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!

Download 1.png (10.59 KB)
Download 2.png (9.27 KB)
 
#11
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Sep 27, 2023
Company:

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

 
#12
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Sep 27, 2023
Company:

Repairing it won't cause data loss, right ?

 
#13
People who like this: 0 Yes / 0 No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

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

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

 
#14
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Sep 27, 2023
Company:

Thank you so much for your help brother.

 
#15
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Sep 27, 2023
Company:

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

 
#16
People who like this: 0 Yes / 0 No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

Could you give me a dump of your program?

 
#17
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Sep 27, 2023
Company:

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

 
#18
People who like this: 0 Yes / 0 No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

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

 
#19
People who like this: 0 Yes / 0 No
Active user
Rating: 2
Joined: Sep 27, 2023
Company:

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

 
#20
People who like this: 0 Yes / 0 No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

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.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.