Skip to content

Add query perf insights to databases - #51

Open
Miranlfk wants to merge 2 commits into
asgardeo:mainfrom
Miranlfk:add-query-perf-insight
Open

Miranlfk wants to merge 2 commits into
asgardeo:mainfrom
Miranlfk:add-query-perf-insight

Conversation

@Miranlfk

@Miranlfk Miranlfk commented Jun 5, 2026

Copy link
Copy Markdown
Member

Purpose

This pull request introduces a significant refactor of the PostgreSQL infrastructure to support three separate PostgreSQL servers—config, runtime, and user—each with its own configuration, resources, and automation throughout the Azure DevOps and Terraform stack. The changes improve modularity, scalability, and monitoring of database resources, and update all related variables, pipeline parameters, and automation scripts to reflect the new architecture.

PostgreSQL Infrastructure Refactor:

  • Split the single PostgreSQL server into three distinct servers: config, runtime, and user, each with its own Terraform module, configuration, and diagnostic settings in main.tf and associated variable files. [1] [2] [3]
  • Added server-specific configuration and monitoring modules for each PostgreSQL server, improving observability and performance tuning.

Pipeline and Variable Updates:

  • Updated Azure DevOps pipeline parameters and variables to support the new three-server architecture, including new parameters for each server's SKU and new variables for server names and hostnames. [1] [2] [3]
  • Modified Terraform and pipeline scripts to pass the correct server-specific variables and use the new naming conventions throughout infrastructure provisioning and destruction. [1] [2]

Automation and Scripting Enhancements:

  • Updated pipeline scripts to start and stop all three PostgreSQL servers in loops, ensuring all database resources are managed consistently. [1] [2]
  • Updated database host references in test execution and environment variables to use the new server-specific hostnames, ensuring application components connect to the correct databases. [1] [2]

These changes make the database infrastructure more modular, scalable, and easier to monitor and manage, paving the way for future enhancements and improved reliability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant