powered by simpleCommunicator - 2.0.59     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Informix [игнор отключен] [закрыт для гостей] / кэш хранимых процедур
5 сообщений из 5, страница 1 из 1
кэш хранимых процедур
    #32414090
cpr
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
cpr
Гость
в статье
http://www.informix.kiev.ua/articles/tuning/tuning.htm

нашел ссылку на недокументируемые параметры onconfig
позволяющие увеличить сабж.
Кто нибудь сталкивался или нет.
В самой статье указано только что эти параметры существуют, но никаких указаний по настройке.
...
Рейтинг: 0 / 0
кэш хранимых процедур
    #32414391
Выбегалло
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
PC_POOLSIZE default 127
PC_HASHSIZE default 31

onstat -g prc позволяет посмотреть текущие значения.

Для 7.3 admin guide пишет
Administrator’s Guide for Informix Dynamic Server 7.3

Stored Procedures Cache
When a session needs to access a stored procedure for the first time, the
database server reads the stored procedure from the system catalog tables.
The database server converts the stored procedure into executable format
and stores the procedure in a cache, where it can be accessed by any session.
The size of the stored procedure cache is not configurable.

Для 9.x
Administrator’s Guide for Informix Dynamic Server.2000

SPL Routine and the UDR Cache
The database server converts an SPL routine to executable format and stores
the routine in the UDR cache, where it can be accessed by any session.
When a session needs to access an SPL routine or other user-defined routine
for the first time, the database server reads the definition from the system
catalog tables and stores the definition in the UDR cache.
You can configure the size of the UDR cache with the PC_HASHSIZE and
PC_POOLSIZE configuration parameters. For information about changing the
default size of the UDR cache, refer to the chapter on queries and the query
optimizer in your Performance Guide.

В таком вот аксепте
...
Рейтинг: 0 / 0
кэш хранимых процедур
    #32414402
cpr
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
cpr
Гость
дык в том то и дкло что статья называется

"Tuning Informix Dynamic Server and Your System for Optimum Performance"

и в разделе
"Undocumented Config File Parameters/Features"

говорится , что

Stored procedure cache.
The cache of stored procedure information is also configurable. Unfortunately, I have not been able to acquire either the default values for these parameters, nor any restrictions on their values or ranges. The controlling variables are: PC_HASHPOOL and PC_HASHSIZE.
If you make extensive use of large numbers of stored procedures, and are seeing performance degradation from your procedures as load increases, you can make a case to Informix Support that you may need to increase the stored procedure cache.

Администратор гайд я читал конечно, и до того как наткнулся на этот текст был уверен что изменить его невозможно.
...
Рейтинг: 0 / 0
кэш хранимых процедур
    #32414740
Фотография Daugava
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Внимательно обращаем внимание на год статьи - 1998. 9-ка в те времена была далеко не так распространена, в статье она даже не упоминается. Для 7-ки эти параметры действительно недокументированы.
...
Рейтинг: 0 / 0
кэш хранимых процедур
    #32431138
vasilis
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Вот что есть в DBA_Tools\Config\Add_onconfig.txt, куда я сохранял найденную в различных источниках информацию, в том числе и по сабжу.
Сразу скажу, что данные достаточно старые и тот же default 50 для PC_POOLSIZE уже давно не соответствует действительности даже на 7.31.

# -- Stored Procedure Cache ------------------------------
# -- You can monitor the stored procedure cache by running: onstat -g prc.
# PC_HASHSIZE # must be a prime number
# PC_POOLSIZE # sets the size of the stored procedure cache which is otherwise not configurable.
# # Maximum number of entries (default 50).
# # Warning: Changing it can result in "Assert Failed: Internal Error - Segmentation Violation."
# PC_HASHSIZE is related to PC_POOLSIZE, the former is the number of hash buckets
# and the latter is the number of entries permitted in each bucket. (default 31, must be a prime number)
# -- You may track activity on the stored procedure data dictionary tables in your databases with onstat -t or onstat -g ppf. 
#
# --
# DBMAXPROC 100 # Max number procedures in pool (by default 50)
# For applications with large numbers of complex, stored procedures, lowering DBMAXPROC will reduce shared memory requirements
#
...
Рейтинг: 0 / 0
5 сообщений из 5, страница 1 из 1
Форумы / Informix [игнор отключен] [закрыт для гостей] / кэш хранимых процедур
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]