Monitoring PostgreSQL with Navicat Monitor 3.0

Monitoring PostgreSQL with Navicat Monitor 3.0

Monitoring PostgreSQL with Navicat Monitor 3.0

Mar 10, 2023 by Robert Gravelle

Version 3 of Navicat Monitor has just be released. Unsurprisingly, it packs many outstanding new features, as well as numerous improvements to existing features. One of the most noteworthy changes between version 2 and 3 is added support for PostgreSQL, including an SQL Profiler for PostgreSQL instances.

Today’s blog will provide a quick guide on getting setup to monitor your be PostgreSQL instances using Navicat Monitor 3.0.

You can see all of the monitored database instances on the Overview screen. In order to monitor our PostgreSQL instance, we need to add it to this screen. To do that, we simply need to click the “+New Instance” button at the top of the screen. Doing so presents a context list of available database types – both traditional and cloud-based:

new_instance_button (34K)

Select the PostgreSQL item to open the New PostgreSQL Instance dialog:

new_postgresql_instance_dialog (68K)

Navicat Monitor can connect the database server over a secure SSH tunnel to send and receive monitoring data. It allows you to connect your servers even if remote connections are disabled or are blocked by firewalls.

In the PostgreSQL Server section, enter the following information:

  • Host Name: The host name or IP address of the database server.
  • Port: The TCP/IP port for connecting to the database server.
  • Username: A monitoring user for connecting to the database server.
  • Password: The login password of the monitoring user.
  • Server Type: The type of the server. Can be Unix-like or Windows.

Navicat Monitor can also collect the DB server’s system performance metrics such as CPU and memory resources. If you do not provide this login, you can still monitor your server, but system performance metrics will not be shown.

Once you’ve entered all of the above information, click the “New” button to create the new instance.

Now that we’ve added our PostgreSQL instance, we’re ready to activate it. To do that, we’ll need to assign a token to it via Configurations > Activate Tolens & License Instances.

activate_tokens_button (122K)

To activate the instance, we can locate it in the Unlicensed Instances list, check the box beside it, and click the License button to move it into the Licensed Instances list. Here’s our “PostgreSQL Test DB 1” instance in the Licensed list:

activated_pstgresql_instance (35K)

We can now receive server statistic details about our instance’s performance regarding query execution as well as server load, availability, disk usage, network I/O, table locks and more. By easily tracking the deviations and traffic among servers, we can examine possible solutions and adjust our server settings accordingly.

The Query Analyzer tool provides a graphical representation of the query logs that makes interpreting their contents much easier. In addition, the Query Analyzer tool enables us to monitor and optimize query performance, visualize query activity statistics, analyze SQL statements, as well as quickly identify and resolve long running queries. Here’s the Query Analyzer for our new instance:

query_analyzer (170K)

There are no Long Running Queries at this time because the database is new and not currently in use.

Thanks to Navicat Monitor 3.0, we can now monitor our PostgreSQL instances, via many useful tools, including the Enhanced Query Analyzer and Long Running Queries screens.

Navicat Monitor 3.0 is available fore Windows, macOS (using Homebrew), and Linux. You can try Navicat Monitor 3.0 for 14 days free of charge to sample of all its new features before you buy.

类似文章

  • 纸飞机收不到86短信验证

    # 纸飞机收不到86短信验证的原因及解决方案在使用纸飞机这款即时通讯软件时,一些用户可能会遇到一个常见的问题:无法收到来自86(中国大陆)的短信验证。这一问题不仅影响到用户的注册和登录体验,也可能阻碍他们对软件的更深入使用。本文将采用问答的形式,深入分析这个问题的原因以及相应的解决方案,以帮助用

  • 如何在Telegram中删除群组

    # 如何在Telegram中删除群组在现代通讯中,Telegram作为一种广泛使用的即时通讯工具,以其安全性和功能丰富而受到用户的青睐。然而,随着时间的推移,用户可能会发现一些群组已经不再需要,或者其中的信息过于冗杂,这时删除这些群组就成为了一项重要的任务。本文将深度分

  • 电报群搜索

    ### 电报群的特点与发展趋势分析电报群(Telegram Group)作为一种即时通讯工具和社交平台,近年来在全球范围内迅速崛起。其凭借高隐私性、快速信息传播、以及强大的功能性吸引了大量用户。本文将详细分析电报群的特点、影响力及发展趋势,探讨它在现代社会中的重要作用。##

  • telegram中文版下载

    # Telegram中文版:一款革命性的通讯工具在现代社会,通讯工具无处不在,而Telegram中文版的出现,则为用户提供了更多的选择与可能性。Telegram是一款以隐私与安全为核心的即时通讯应用,其中文版更是让广大中文用户能够享受便捷的通讯体验。本文将深入分析Telegram中文版的功能、优势