Admin | Forum Posts
top of page

Посты на форуме

Admin
20 авг. 2023 г.
In SQL editor for PostgreSQL
[RU] Лист это область редактора запросов для работы с базами данных.  Для каждого листа создаются свои собственные соединения с базой данных, что обеспечивает работу программы одновременно с произвольным количеством баз Нажатием кнопки "New list PostgreSQL" File - New - Postgresql Комбинация клавиш:  Shift + F3 [EN] The sheet is the area of the query editor for working with databases. For each sheet, its own database connections are created, which ensures the program can work simultaneously with an arbitrary number of databases By pressing the "New list PostgreSQL" button File - New - PostgreSQL Keyboard shortcut: Shift + F3
0
0
14
Admin
20 авг. 2023 г.
In SQL editor for PostgreSQL
[RU] Рекомендация Максимальную производительность работы системы с базами данных PostgreSQL можно получить в случаи, если при соединении с базой данных используется библиотека той же версии. ​ В редакторе запросов реализован механизм указания пути к библиотеке для каждого из соединений сохраненных в программе (при соединении с БД путь может быть изменён)  Добавление библиотек Добавление библиотек для работы с базами данных PostgreSQL: На диске создать папку, например pg_13 в директории <путь к папке с программой>.\DLL\PG\ Из центра загрузки PostgreSQL скачать архив с библиотеками для ODBC, например psqlodbc_13_00_0000-x64.zip для подключения к версии 13 Скопировать все файлы из папки psqlodbc в созданную папку В менеджере подключения в поле "Vendor library" указать путь до библиотеки "libpq.dll" [EN] Recommendation The maximum performance of the system with PostgreSQL databases can be obtained if a library of the same version is used when connecting to the database. ​ The query editor implements a mechanism for specifying the path to the library for each of the connections saved in the program (the path can be changed when connecting to the database) Adding Libraries Adding libraries for working with PostgreSQL databases: Create a folder on the disk, for example pg_13 in the directory <path to the folder with the program>.\DLL\PG\ Download the archive with ODBC libraries from the PostgreSQL download center, for example psqlodbc_13_00_0000-x64.zip to connect to version 13 Copy all files from psqlodbc folder to created folder In the connection manager, in the "Vendor library" field, specify the path to the "libpq.dll" library
0
0
12
Admin
12 авг. 2023 г.
In CerebroSQL: main window
[EN] The main window is the main screen for displaying information from the monitoring kernel, systematizing the main parameters of the Oracle DBMS ​ The main program window also provides access to the instance administration mechanisms Description of metrics Active session - number of sessions in the "Active" status. The data is taken from the v$session view (the "Session list" opens with the "Active" filter set, the "Session" tab). Total session - number of sessions in the database. The data is taken from the v$session view (opens the "Session list" with the "All" filter set, "Session" tab). Count blocking - the number of sessions blocked by other sessions (opens the "Session list", tab "Blocking TREE"). Processes - number of processes in the database. Open cursor (https://www.cerebrosql.com/forum/monitoring-oracle/oracle-open-cursor-information)- the number of open cursors in the database. Corruption - number of database blocks in Corrupt status Parce count - the percentage of queries for which full parsing was performed to the total number of parsed queries. The lower the value, the better. Value calculation: round("parse count hard"/"parse count total")*100 Parse time - Calculation of value: "parse time cpu"/"parse time elapsed"*100 Switching logs - average switching time of REDO logs. Depending on the database operating mode (Archivelog or Noarchivelog), different queries are used General REDO size (https://www.cerebrosql.com/forum/monitoring-oracle/oracle-generate-redo-data)- Size in gigabytes of archived logs for the current day. When clicked, a window opens with a top list of objects for generating data into the REDO journal File stat: Reading - the amount of information read from the database during the time between passes by the monitoring kernel. When clicked, a window opens with additional information about input/output to the database. File stat: Write - the amount of information written to the database during the time between passes by the monitoring kernel. When clicked, a window opens with additional information about input/output to the database. RMAN (https://www.cerebrosql.com/forum/monitoring-oracle/oracle-rman-backup-info)- Time in minutes elapsed since the last successful backup performed using RMAN. The backup type is indicated in square brackets (Full DB, Incr, Archivelog). When clicked, a window opens to view data about the database backup using RMAN. ASM - The name and free space of the disk group with the least amount of free space. When clicked, a window opens to view data on resource use in ASM. FRA - percentage of free space in FRA (fast_recovery_area). Square brackets indicate the maximum amount of data (archive logs) that is allowed to be stored in this area. Size datafile|*Size datafile - Shows the current size of the database. Depending on the check setting, "Easy query" displays either the current size of all data files or the actual size of the database, taking into account the free space in the data blocks. When clicked, a window for viewing information about the tablespace (management, size, ...) opens - the "Tablespace management" section. @@Maximizing - maximum database size. @@Count - number of tablespaces | data files. @@Name [Min] - the name of the table space with the minimum amount of free space. @@Using [Perc] - percentage of the table space full with a minimum amount of free space. Reclaimable - The number of megabytes that can be freed in the database by compressing database objects. When clicked, a window opens with a list of recommendations for freeing up space in database objects [tables, indexes]. OMF Data - Whether "Oracle Managed Files" is used for data files. When clicked, OMF parameters management opens. OMF Log - Whether "Oracle Managed Files" is used for REDO logs. When clicked, OMF parameters management opens. UNDO - Number of ORA-01555 errors for the current day. When clicked, a window opens with information about the parameters of the UNDO space and analytics. Destination - Oracle destination status. If at least one destination is in the Invalid status, the metric value changes to Invalid. When clicked, a window for setting up and viewing statuses opens. Standby - status of the database standby. Job active - The number of active jobs (dbms_job) at a given time. When clicked, a window opens with additional information about jobs in the database created through dbms_job Scheduler active - The number of active jobs (dbms_scheduler) at a given time. Scheduler failed - The number of scheduler jobs that completed with an error for the current day. When clicked, a window with detailed information about errors opens. Outstanding - Number of warnings from the Oracle DBMS. When clicked, a window opens with a list of all recommendations Recyclebin - whether the recycle bin is included in the database (data is taken from V$PARAMETER, the value of the recyclebin parameter) Total PGA used - The amount of memory in the PGA area used by processes. When clicked, a window opens with detailed information about the use of PGA resources by processes. SGA max size (https://www.cerebrosql.com/forum/monitoring-oracle/oracle-memory-using-info)- The maximum memory size available for the SGA area. When clicked, a window opens to view detailed information about the memory parameters of the available database, pools @@Buffer cache -  The amount of memory allocated from the SGA area for Buffer cache (area for cacheDB data blocks). @@Shared pool - The amount of memory allocated from the SGA area under the Shared pool (the area for storing the library cache, dictionary cache, cache for parallel processes and control structures) @@Java pool - The amount of memory allocated from the SGA area for the Java pool (the area for storing Java code and data of the Java virtual machine) @@Large pool - The amount of memory allocated from the SGA area under the Large pool (memory area for transactions working with more than one database, I/O of server processes and backup and restore operations) @@Streams pool - The amount of memory allocated from the SGA area for the Streams pool (the pool is used only for Oracle Streams technology, stores message queues) Hit ratio - percentage of hits in a particular pool. Indicators are used to analyze the sufficiency of pool sizes and the total amount of memory for database operation @@Dictionary cache - a low value of the parameter indicates either an insufficient shared pool size or a large number of “new” requests to the dictionary. @@Library cache - reflects the effectiveness of the Library cache. A low value indicates insufficient memory to store PL\SQL constructs and parsed queries. @@Block buffer cache - a low value indicates a lack of memory in the Buffer cache. It also indicates that disk operations were required to complete queries, since the required data blocks were not found in memory and the data had to be taken from disk @@Latch - a low value indicates problems with latch and competition for the latch. Disk sort ratio - the ratio of disk sorts to in-memory sorts. The lower the value, the better Rollback Segment wait - percentage of waiting for access to rollback segments. Less is better Dispatcher workload - load on the dispatcher. Less is better TOP Wait event - Displays information about the “top wait event” as a percentage for the session and the database as a whole. When clicked, a window opens with a complete list of wait events in percentage for the database and session. Force: [YES|NO] - change the force mode of the database [RU] Главное окно - это основной экран вывода информации ядра мониторинга, систематизации основных параметров работы СУБД Oracle ​ Так же главное окно программы предоставляет доступ к механизмам администрирования инстанса Описание метрик • Active session - количество сессий в статусе "Active". Данные берутся из представления v$session (открывается "Session list" с установленным фильтром "Active", вкладка "Session"). • Total session - количество сессий в БД. Данные берутся из представления v$session (открывается "Session list" с установленным фильтром "All", вкладка "Session"). • Count blocking - количество сессий заблокированных другими сессиями (открывается "Session list", вкладка "Blocking TREE").   • Processes - количество процессов в БД. • Open cursor (https://www.cerebrosql.com/forum/monitoring-oracle/oracle-open-cursor-information)- количество открытых курсоров в БД. • Corruption - количество блоков БД в статусе Corrupt • Parce count - процент запросов для которых выполнялся полный разбор к общему количеству разобранных запросов. Чем меньше значение, тем лучше. Расчет значения: round("parse count hard"/"parse count total")*100  • Parse time - Расчет значения: "parse time cpu"/"parse time elapsed"*100  • Switching logs - среднее время переключения журналов REDO. В зависимости от режима работы БД (Archivelog или Noarchivelog) используются разные запросы • General REDO size (https://www.cerebrosql.com/forum/monitoring-oracle/oracle-generate-redo-data)- Размер в гигабайта архивных журналов за текущий день. При клике открывается окно с топом объектов по генерации данных в журнал REDO • File stat: Reading (https://www.cerebrosql.com/oracle-file-stats)- объем информации прочитанный из базы данных за время между проходами ядром мониторинга. При клике открывается окно с дополнительной информацией о вводе/выводе в БД. • File stat: Write (https://www.cerebrosql.com/oracle-file-stats)- объем информации записанной в базу данных за время между проходами ядром мониторинга. При клике открывается окно с дополнительной информацией о вводе/выводе в БД. • RMAN (https://www.cerebrosql.com/forum/monitoring-oracle/oracle-rman-backup-info)-(https://www.cerebrosql.com/forum/monitoring-oracle/oracle-rman-backup-info) Время в минутах прошедшее с момента последнего успешного бэкапа выполненного с использованием RMAN. В квадратных скобках указывается тип резервного копирования (Full DB, Incr, Archivelog) При клике открывается окно для  просмотра данных о резервном копировании БД с использованием RMAN. • ASM - Имя и свободное место в дисковой группе с наименьшим количеством свободного места. При клике открывается окно для просмотра данных по использованию ресурсов в ASM. • FRA - процент свободного места во FRA (fast_recovery_area). В квадратных скобках указывается максимальный объем данных (архивных журналов) которые разрешено хранить в данной области. • Size datafile|*Size datafile (https://www.cerebrosql.com/oracle-storage-manager)- Показывает текущий размер базы данных. В зависимости от установки чека "Easy query" отображает либо текущий размер всех датафайлов или фактический размер БД с учетом свободного места в блоках данных. При клике открывается окно просмотра информации о tablespace (управление, размер, ...) - раздел "Tablespace management". • @@Maximizing - максимальный размер базы данных. • @@Count - количество табличных пространств | фалов данных.  • @@Name [Min] - имя табличного пространства с минимальным количеством свободного места. • @@Using [Perc] - процент заполненности табличного пространства с минимальным количеством свободного места. • Reclaimable - Количество мегабайт которые можно освободить в БД выполнив сжатие объектов БД. При клике открывается окно со списком рекомендаций  по освобождению места в объектах БД [таблицы, индексы]. • OMF Data - Используется ли "Oracle Managed Files" для датафайлов. При клике открывается управление параметрами OMF. • OMF Log - Используется ли "Oracle Managed Files" для журналов REDO. При клике открывается управление параметрами OMF. • UNDO - Количество ошибок ORA-01555 за текущий день. При клике открывается окно с информацией о параметрах пространства UNDO, аналитикой.  • Destination - Статус Oracle destination. При нахождении хотя бы одного destination в статусе Invalid, значение метрики меняется на Invalid. При клике открывается окно настройки и просмотра статусов. • Standby - статус доката standby базы. • Job active - Количество активных заданий (dbms_job) в данный момент времени. При клике открывается окно с дополнительной информацией о заданиях в БД созданных через dbms_job • Scheduler active - Количество активных заданий (dbms_scheduler) в данный момент времени. • Scheduler failed - Количество заданий scheduler завершившихся с ошибкой за текущий день. При клике открывается окно с детальной информацией об ошибках • Outstanding - Количество предупреждений от СУБД Oracle. При клике открывается окно со списком всех рекомендаций • Recyclebin - включена ли корзина в БД (данные берутся из V$PARAMETER, значение параметра recyclebin) • Total PGA used - Количество памяти в области PGA использованное процессами. При клике открывается окно с подробной информацией о использование ресурсов PGA процессами • SGA max size (https://www.cerebrosql.com/forum/monitoring-oracle/oracle-memory-using-info)- Максимальный размер памяти доступный для области SGA. При клике открывается окно для просмотра подробной информации о параметрах памяти доступной БД, пулов • @@Buffer cache -  Объем памяти выделенной из области SGA под Buffer cache (область для кеширования блоков данных БД). • @@Shared pool - Объем памяти выделенной из области SGA под Shared pool (область для хранение библиотечного кеша, словарного кеша, кеша для параллельных процессов и структур управления) • @@Java pool - Объем памяти выделенной из области SGA под Java pool (область для хранения Java кода и данных виртуальной Java машины) • @@Large pool - Объем памяти выделенной из области SGA под Large pool (область памяти для транзакций работающий более чем с одной базой данных, ввода/вывода серверных процессов и операций резервного копирования и восстановления) • @@Streams pool - Объем памяти выделенной из области SGA под Streams pool (пул используется только для технологии Oracle Streams, хранит очереди сообщений) • Hit ratio - проценты попаданий в тот или иной пул. Показатели используются для анализа достаточности размеров пулов и общего количества памяти для работы базы • @@Dictionary cache - низкое значение параметра говорит или о недостаточном размере shared pool или о большом количестве "новых" запросов к словарю. • @@Library cache - отражает эффективность Library cache. Низкое значение говорит о недостатке памяти для хранения конструкций на языке PL\SQL и разобранных запросов. • @@Block buffer cache - низкое значение говорит о недостатке памяти в Buffer cache.Так же, указывает на то, что для выполнения запросов потребовались дисковые операции, так как нужные блоки данных небыли найдены в памяти и данные пришлось брать с диска • @@Latch - низкое значение говорит о проблемах с фиксацией и конкуренции за защелку. • Disk sort ratio - соотношение дисковых сортировок к сортировкам в памяти. Чем меньше значение, тем лучше • Rollback Segment wait - процент ожидания доступа к сегментам отката. Чем меньше, тем лучше • Dispatcher workload - нагрузка на диспетчера. Чем меньше, тем лучше • TOP Wait event - Отображает информацию о "главном событии ожидания"  в процентах для сессии и базы в целом. При клике открывается окно с полным перечнем событий ожидания в процентах для базы и сессии. • Force: [YES|NO] - изменение режима force БД
0
0
37
bottom of page