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: 29
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: 29
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: 29
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: 29
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: 29
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: 29
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: 29
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: 29
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: 29
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.

/* Улучшаем читаемость списков в документации */ .workarea ul, .content ul { margin: 15px 0 20px 25px !important; padding: 0 !important; list-style-type: disc !important; } .workarea li, .content li { margin-bottom: 8px !important; padding-left: 5px !important; line-height: 1.6 !important; } /* Ультимативный фикс для всех уровней заголовков в контенте */ .workarea h1, .workarea h2, .workarea h3, .workarea h4, .workarea h5, .workarea h6, .content h1, .content h2, .content h3, .content h4, .content h5, .content h6, div[id*="content"] h5, div[class*="content"] h5 { display: block !important; font-weight: 700 !important; color: #005aa0 !important; /* Наш фирменный синий */ text-transform: none !important; margin-top: 30px !important; margin-bottom: 15px !important; line-height: 1.2 !important; font-family: Arial, sans-serif !important; } /* Принудительные размеры в пикселях (чтобы не зависеть от % или em) */ .workarea h1, .content h1 { font-size: 28px !important; } .workarea h2, .content h2 { font-size: 24px !important; } .workarea h3, .content h3 { font-size: 21px !important; } .workarea h4, .content h4 { font-size: 19px !important; } .workarea h5, .content h5 { font-size: 18px !important; } /* Для 5 решеток ##### */ .workarea h6, .content h6 { font-size: 16px !important; } /* Фикс, если Битрикс добавил лишние отступы перед списками после заголовка */ .workarea h5 + ul, .content h5 + ul { margin-top: 5px !important; }