惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
宝玉的分享
宝玉的分享
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
爱范儿
爱范儿
Recorded Future
Recorded Future
博客园 - 【当耐特】
博客园 - 聂微东
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
MongoDB | Blog
MongoDB | Blog
S
SegmentFault 最新的问题
C
Check Point Blog
N
Netflix TechBlog - Medium
阮一峰的网络日志
阮一峰的网络日志
Microsoft Azure Blog
Microsoft Azure Blog
Last Week in AI
Last Week in AI
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
罗磊的独立博客
T
The Blog of Author Tim Ferriss
Recent Announcements
Recent Announcements
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
The Cloudflare Blog
博客园 - 司徒正美
D
Docker
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
J
Java Code Geeks
B
Blog
Martin Fowler
Martin Fowler
L
LangChain Blog
V
Visual Studio Blog
U
Unit 42
P
Proofpoint News Feed
Vercel News
Vercel News
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
F
Fortinet All Blogs
M
MIT News - Artificial intelligence
人人都是产品经理
人人都是产品经理
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
The Register - Security
The Register - Security
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
T
Tailwind CSS Blog
H
Help Net Security
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis Monitor Aruba Central in Datadog How we centralize and remediate risks with Datadog Case Management Accelerate incident response with Datadog and ServiceNow Monitor your application and network load balancer logs Understanding Karpenter architecture for Kubernetes autoscaling Tools for collecting metrics and logs from Karpenter Monitor Karpenter with Datadog What your product data is actually saying Key metrics for monitoring Karpenter Securing Datadog’s platform in the AI age: The role of observability data Four ways engineering teams use the Datadog MCP Server to power AI agents Approaching your observability migration with the right mindset Meet the new Bits AI SRE: Deeper reasoning, twice as fast Key learnings from the 2026 State of DevSecOps study Use plain English to query your multi-cloud infrastructure in Resource Catalog Simplifying troubleshooting across the user journey with Datadog Synthetic Monitoring Protect your OCI resources with Datadog Cloud Security This Month in Datadog - February 2026 Amazon EC2 security: How misconfigured and public AMIs expand your cloud attack surface Enable end-to-end visibility into your Java apps with a single command Measure and improve mobile app startup performance with Datadog RUM Evaluating our AI Guard application to improve quality and control cost Identify untested code across every level of your codebase Make use of guardrail metrics and stop babysitting your releases Monitor Versa Networks SD-WAN performance in Datadog Improve performance and reliability with APM Recommendations Remediate transitive vulnerabilities faster with Datadog Software Composition Analysis Generate audit-ready vulnerability and compliance reports with Datadog Sheets Monitor Fortinet FortiManager performance in Datadog Improve test coverage across codebases with Datadog Code Coverage Move fast, don’t break things: Consistent testing standards at scale Enrich logs with ServiceNow CMDB context before routing to any SIEM or logging tool Monitor Lustre with Datadog Make faster, better product decisions with Datadog Product Analytics Surface and remediate runtime posture issues with Workload Protection Findings Protect agentic AI applications with Datadog AI Guard How to optimize JavaScript code with CSS Trace Google Pub/Sub workloads in Cloud Run with Datadog Detect human names in logs with ML in Sensitive Data Scanner How we cut our NLQ agent debugging time from hours to minutes with LLM Observability Debug PostgreSQL query latency faster with EXPLAIN ANALYZE in Datadog Database Monitoring Datadog acquires Propolis Unify and correlate frontend and backend data with retention filters Scale compliance across global frameworks with Datadog Cloud Security Monitor Arista VeloCloud SD-WAN performance with Datadog Building reliable dashboard agents with Datadog LLM Observability Simplify log collection and aggregation for MSSPs with Datadog Observability Pipelines Mitigation for Node.js denial-of-service vulnerability affecting Datadog APM Automate flaky test fixes with the Bits AI Dev Agent and Test Optimization How we built an AI SRE agent that investigates like a team of engineers Datadog integrations 2025 recap: Observability for AI, security, and hybrid cloud Design effective executive dashboards with Datadog Implement dbt data quality checks with dbt-expectations Bring faster visibility into AWS Lambda functions with remote instrumentation Troubleshoot faster with the GitLab Source Code integration in Datadog How Cambia Health Solutions saved $30,000 monthly with Cloud Cost Management and the Datadog Resource Catalog Normalize any logs for Cloud SIEM with Datadog's OCSF processor Optimizing Datadog at scale: Cost-efficient observability at Zendesk Detect, diagnose, and resolve network issues easily with CNM Network Health Connect engineering errors to user impact in early-stage products Cilium configuration for Kubernetes operations at scale Designing feedback loops for progressive delivery Ship features faster and safer with Datadog Feature Flags Choosing the right OpenTelemetry Collector distribution Route your monitor alerts with Datadog monitor notification rules Automate Cloud SIEM investigations with Bits AI Security Analyst Cloud threat detection: How to identify risky activity across control and data planes Collecting Kafka performance metrics Monitoring Kafka with Datadog Monitoring Kafka performance metrics
Optimize PostgreSQL performance with Datadog Database Monitoring
2024-06-28 · via Datadog | The Monitor blog
Jonathan Morin

Jonathan Morin

Jason Manson-Hing

Jason Manson-Hing

PostgreSQL is a widely used open source relational database that many organizations operate as a core part of their infrastructure stack. Because of their mission-critical nature, database-related issues can have outsize downstream impacts on user experience, service performance, and data retention, making it vital to identify and address problems quickly. But providing all teams sufficient visibility into the different layers of your PostgreSQL databases to effectively troubleshoot issues and identify opportunities for optimization can be difficult, particularly if your organization restricts direct access to different parts of your database.

In this post, we’ll cover how Datadog Database Monitoring (DBM) enables developers, SREs, and database analysts to get a shared view of insights (beyond query performance metrics, explain plans, and other core telemetry) into the performance of their PostgreSQL instances and the applications they serve. Specifically, we’ll look at some of the latest DBM enhancements that enable you to:

Explore your data model

Having a well-defined data model that is understood by developers who build the applications that query the data is key to healthy database performance. But because of their sensitive nature, the ability to explore the schemas and tables that define a data model has traditionally required privileged permissions, which developers often do not have.

Datadog collects and displays important schema and table definitions, relations, and tuning recommendations across all of your databases in Datadog Database Monitoring’s new Schema Explorer. By providing centralized access to this information, users can independently and quickly reference available indexes and table relations in order to write efficient queries against the database.

View your PostgreSQL schemas.

In addition to being able to explore and inspect your database schemas, you can use DBM to quickly identify trends across your data tables to easily answer questions like, Which tables are growing the fastest? Which data is accessed most? Where are there optimization opportunities to address large indexes or instances with a high number of dead rows?

View trends across your database tables.

In some cases, despite having the same table structures, hosts in a complex cluster may have asymmetric hardware configurations, data volumes, or performance requirements. This means that, in addition to the fleet-level view of schemas, it may be helpful to look at a specific instance’s schema definition. When viewing a database host in Datadog DBM, you can dive deep into the localized schema for every database on the host instance. This allows you to ensure the integrity of the data model to rule out a potential source of error and determine if optimizations can be made specific to the schema of the tables on the host being examined, again without needing access to the individual database host or instance.

Dive into the schema on an specific database instance.

Verify database configuration

It can often be difficult to access a database’s configuration settings. But understanding these settings can reveal opportunities for optimizing performance and mitigating potential issues. For example, tuning cache sizes, buffer pools, or concurrency settings can optimize the database to meet specific performance requirements. Similarly, analyzing settings such as memory allocation, disk I/O configuration, autovacuum, and connection pool settings can reveal opportunities to enhance throughput and reduce latency.

Datadog DBM ingests database settings and configurations from your PostgreSQL databases. Database administrators and engineers can then view a database’s configuration to investigate the underlying parameters that govern database behavior and that ultimately impact performance and reliability, without needing direct database access.

During incident response, seamless access to configuration details enables teams to compare current settings with known good configurations to quickly identify deviations or misconfigurations that may be contributing to the issue. This can reduce mean time to resolution by minimizing time spent obtaining privileged access to this data, ultimately mitigating the impact of the impending performance degradation.

See database configuration settings in Datadog.

Monitor database instance performance

While database configurations and schemas offer new insights, metrics remain critical to identifying key issues in database health. Datadog DBM now provides a holistic view of metrics relating to the performance of your database’s underlying hosts and processes by visualizing telemetry ranging from core system metrics to database-specific telemetry such as vacuum operations, lock activity, and index usage. This enables you to see a wide range of addressable issues at a glance.

For example, steady growth in dead rows tells us to optimize autovacuum settings. The number of connections approaching max limits indicates we need to increase the limit or scale up. And regular spikes in I/O, CPU, or memory contention shows us we may want to adjust our database instance type, optimize the query load, or both. Making this telemetry accessible alongside active connections, blocking queries, and top SQL queries means application engineers and database administrators have a shared context and understanding of the databases that they maintain and rely on, enabling them to more easily determine if a database is healthy from a single view by minimizing time spent looking for performance signals.

Monitor database health and performance metrics.

Dive deeper into database load analysis

When monitoring database performance, understanding database load is important. But it can be challenging to get a full picture of load given the many potential factors that contribute to it. With Datadog DBM, you can track database load from a number of lenses, including wait activity, active connections, queries, and other performance metrics. DBM allows deeper analysis into load patterns, with a single panel that provides an overview on what’s driving load by visualizing active connections by SQL query, wait event, user, database, client, or application, with database and query filtering. This means you can quickly see what’s driving, for example, a spike in I/O wait events, whether it’s a single query or multiple queries on a single database.

Monitor database load across different aspects like active connections.

Diagnose fleet-wide issues more quickly

Being able to drill down into a specific host can be essential for efficiently resolving an incident. However, as your fleet scales in size, it becomes even more important to be able to maintain a bird’s-eye view of your database infrastructure so you can quickly determine which hosts need attention. The DBM overview page now places this information front and center. You can easily sort and filter the host list to see, for example, only hosts that have critical monitors in alert state, such as an alert of high CPU utilization.

Quickly see hosts with monitors in alert state.

Datadog surfaces these alerts alongside any Watchdog insights related to these hosts. Whether an alert you’ve created is triggered or Datadog detects something of interest in your systems, your view in DBM is optimized to help you quickly identify where you need to devote your attention.

Datadog surfaces any Watchdog Insights.

Improve database and query performance with Query Insights

In order to help you to identify problems more quickly and focus troubleshooting efforts before customer impact, Datadog DBM now automatically detects common failure modes and antipatterns—such as long-running queries, functions in filters, missing indexes on tables, anomalous wait event activity, or high blocking activity—and provides recommended remediation steps to maintain and improve database performance proactively, before an incident occurs.

For example, identifying slow queries early allows you to address the issue by optimizing the query or the underlying data structure. If the slowdown is caused by blocking, DBM automatically detects and highlights this behavior, making it easy to identify the offending query and reduce contention. If this issue is caused by a poorly written query, such as a using a function in a filter, DBM will detect and suggest remediation steps as well.

With automated performance degradation detection and remediation recommendations, Datadog reduces the manual effort required to maintain a database. This means your team can spend more time building applications and less time troubleshooting database issues.

Datadog surfaces key insights into query-level problems.

Get deeper insights into each level of your PostgreSQL databases with Datadog

In this post, we looked at how Datadog Database Monitoring provides visibility into your PostgreSQL databases beyond core performance. With DBM, application developers and SREs can explore data models and schemas across their database fleet, see configuration settings, and drill down to monitor query performance and database load from multiple angles. By providing all teams with this information, Datadog makes it easier to identify opportunities for optimization and to respond to incidents more effectively. See our documentation to get started with Datadog DBM for PostgreSQL. Or, if you’re not a customer, sign up for a free 14-day trial.