Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности

Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
09.02.2007, 11:40
|
|||
|---|---|---|---|
|
|||
про оптимизатор |
|||
|
#18+
Дальше идет моя фантазия (критика и мысли приветствуются) : Как информикс вычисляет Cost of SEQUENTIAL SCAN? cost = trunc(nrows*3/100) + npused RA_PAGES, RA_THRESHOLD, OPTCOMPIND, OPT_GOAL, PAGESIZE, ROWSIZE -- не влияют. Выполнялся запрос select {+explain, avoid_execute} a from test_w_blob, смотрел на Estimated Cost, Estimated # of Rows Returned. Зачем *3/100 -- не догадываюсь. ЗЫЖ Читаю книгу ДЖ.Льюис Oracle Основы Стоимостной Оптимизации. Работать крайне не хочется, поэтому развлекаюсь. Документацию по иформиксу я естественно не читал. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
09.02.2007, 12:38
|
|||
|---|---|---|---|
про оптимизатор |
|||
|
#18+
The optimizer uses cost estimates to determine the optimal query path to use. Each path is assigned a cost estimate based on a formula; the cheapest path is considered the optimal path. The formula used to calculate the cost is based on the cost of the I/O that will be performed and the amount of CPU that will be needed to process the data. I/O cost is calculated from the estimated number of disk accesses that will be needed to process all the necessary data. CPU cost is based upon the number of tuples processed. This cost is converted to an equivalent I/O cost using a weighting factor. The weighting factor is an adjustment to the CPU cost because processing a row (CPU cost) is relatively less expensive than a disk access (I/O cost). The weighting factor is a hard-coded value that cannot be changed. The full formula used is as follows: Код: plaintext 1. 2. 3. 4. (вот и твой коэффициент 3/100 :) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
09.02.2007, 12:45
|
|||
|---|---|---|---|
|
|||
про оптимизатор |
|||
|
#18+
vasilisThe optimizer uses cost estimates to determine the optimal query path to use. Each path is assigned a cost estimate based on a formula; the cheapest path is considered the optimal path. The formula used to calculate the cost is based on the cost of the I/O that will be performed and the amount of CPU that will be needed to process the data. I/O cost is calculated from the estimated number of disk accesses that will be needed to process all the necessary data. CPU cost is based upon the number of tuples processed. This cost is converted to an equivalent I/O cost using a weighting factor. The weighting factor is an adjustment to the CPU cost because processing a row (CPU cost) is relatively less expensive than a disk access (I/O cost). The weighting factor is a hard-coded value that cannot be changed.Как все просто, оказывается. vasilisThe full formula used is as follows: Код: plaintext 1. 2. 3. 4. (вот и твой коэффициент 3/100 :)Отлично, одной загадкой меньше. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=44&tablet=1&tid=1608454]: |
0ms |
get settings: |
10ms |
get forum list: |
16ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
48ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
42ms |
get tp. blocked users: |
2ms |
| others: | 251ms |
| total: | 384ms |

| 0 / 0 |
