| Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Для анализа загруженности ежедневных табличных пространств (ЕТП) вы можете использовать скрипт Чтобы вывести информацию об использовании скрипта:
В результате будет выведена справочная информация: Чтобы использовать скрипт:
В случае выгрузки результатов выполнения скрипта файл будет сохранен в директории, где находится скрипт, и будет иметь имя:
Якорь |
|
tbs_type | Тип ТП: 0 - – Без нарушения; 1 - – Нарушение; 2 - – Другой (снимки экрана). |
part_date | Дата создания ТП. |
tbs_size | Размер ТП. |
avg_tbs_size | Средний размер ТП за указанный период времени. |
Сценарий 2
В результате выполнения сценария 2 будет выведена более подробная статистика по ТП за указанный период.
В столбцах будет указана следующая информация:
tbs_id | Идентификационный номер (ID) ТП. |
part_date | Дата создания ТП. |
tbs_type | Тип ТП: 0 - – Без нарушения; 1 - – Нарушение; 2 - – Другой (снимки экрана). |
tbs_status | Статус ТП: 0 - – online (подключено, в нормальном состоянии); |
count_objects | Количество событий в ТП. |
tbs_size | Размер ТП. |
Сценарий 3
В результате выполнения сценария 3 будет выведена статистика по конкретному ТП.
В столбцах будет указана следующая информация:
type_name | Тип событий. |
tbs_size | Общий размер событий указанного типа в ТП. |
Сценарий 4
В результате выполнения сценария 4 будет выведена статистика по типам событий за указанный период.
В столбцах будет указана следующая информация:
object_type | Тип событий. |
objects_size | Общий размер событий указанного типа. |
count_objects | Количество событий указанного типа. |
max_objects_in_hour | Максимальное количество событий в час в течение дня. |
Сценарий 5
В результате выполнения сценария 5 будет выведена статистика по топ-10 сотрудников, события с участием которых занимают наибольшее место в БД, за указанный период времени.
В столбцах будет указана следующая информация:
person_id | Идентификационный номер (ID) сотрудника. |
display_name | Отображаемое имя (ФИО) сотрудника. |
object_count | Количество событий. |
objects_size | Общий размер событий с участием сотрудника. |
Сценарий 6
В результате выполнения сценария 6 будет выведена статистика по конкретному сотруднику за указанный период времени.
В столбцах будет указана следующая информация:
object_type | Тип событий. |
object_count | Количество событий. |
objects_size | Общий размер событий с участием сотрудника. |
| Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
To analyze a load of daily tablespaces, you can use the To display the information on the script usage:
As a result, you will see the help information: To use the script:
In case of unloading the results of script performing, the file is saved in the directory where the script is located. The file has the following name:
Якорь |
|
tbs_type | TBS type: 0 - No Violations; 1 - Violation; 2 - Other (screenshots). |
part_date | Date of TBS creation |
tbs_size | TBS size |
avg_tbs_size | Average TBS size for the specified period of time |
Scenario 2
As a result of scenario 2 execution, more detailed statistics on tablespaces for the period of time will be displayed.
The following information will be shown in columns:
tbs_id | TBS ID |
part_date | Date of TBS creation |
tbs_type | TBS type: 0 - No Violations; 1 - Violation; 2 - Other (screenshots). |
tbs_status | TBS status: 0 - online (connected, in normal state); |
count_objects | Count of events in a TBS |
tbs_size | TBS size |
Scenario 3
As a result of scenario 3 execution, statistics on a particular TBS will be displayed.
The following information will be shown in columns:
type_name | Event type |
tbs_size | Overall size of the events of the particular type in TBS |
Scenario 4
As a result of scenario 4 execution, statistics on event types for the specified period of time will be displayed.
The following information will be shown in columns:
object_type | Event type |
objects_size | Overall size of the events of the particular type |
count_objects | Count of the events of the particular type |
max_objects_in_hour | Maximum count of events per hour during the day |
Scenario 5
As a result of scenario 5 execution, statistics on top-10 persons for the specified period of time will be displayed. Events with participation of top-10 persons take up the largest space in DB.
The following information will be shown in columns:
person_id | Person ID |
display_name | Person display name |
object_count | Count of events |
objects_size | Overall size of the events with participation of the person |
Scenario 6
As a result of scenario 6 execution, statistics on particular person for the specified period of time will be displayed.
The following information will be shown in columns:
object_type | Event type |
object_count | Count of events |
objects_size | Overall size of the events with participation of the person |










