
[英]Flask API works correctly locally but returns 415 on Azure App Service
当前环境 Python 3.10 Flask 2.3.2 和服务员 2.1.2 Postgresql Azure 上的 DB Postgresql 托管服务(灵活服务器) 为具有与上述相同要求的服务器运行 docker 容器的应用服务使用requests从 python 调用端点代码和用例服务 ...
[英]Flask API works correctly locally but returns 415 on Azure App Service
当前环境 Python 3.10 Flask 2.3.2 和服务员 2.1.2 Postgresql Azure 上的 DB Postgresql 托管服务(灵活服务器) 为具有与上述相同要求的服务器运行 docker 容器的应用服务使用requests从 python 调用端点代码和用例服务 ...
[英]Steps to connect using service principal to Azure PostgreSQL single server
如何安全地从 AKS 群集连接到 Azure PostgreSQL 不支持使用服务主体作为托管标识的单服务器。 ...
[英]Identify Azure Private DNS Zone entry for Azure Database for PostgreSQL flexible server
我为具有专用访问权限(VNet 集成)的 PostgreSQL 灵活服务器实例设置了一个 Azure 数据库。 必须提供我提供的私有 DNS 区域。 成功创建实例后,您可以在该私有 DNS 区域中找到一条记录,其名称(生成?)如a13af2aa1234指向实例的私有 IP。 是否有像This rec ...
[英]Memory continuously increases at a constant rate in Azure Database for PostgreSQL single server
我们的 memory 使用量以恒定速率增加。这在 Azure 指标中观察到。 这里有两个问题: 有没有办法知道哪个进程产生越来越高的 memory 消费? 即使服务器上没有活动工作,对于什么可能导致 memory 以恒定速率持续增长的任何见解? (随着 memory 增加,无论是否有查询运行) ...
[英]Create a Service Principal for PostgreSql server
我想知道我们如何为 Azure Postgresql 创建服务主体。这是我在 web 中关注的链接,但没有找到任何描述性链接或文档来执行此操作。 请帮我解决? 错误: 为 PostgreSQL 服务器创建服务主体 ...
[英]Django Rest Framework very slow on Azure
我已经从Heroku迁移到Microsft Azure,速度真的很慢,我的应用服务有以下规格的操作系统(linux): 然后当谈到我的Azure 数据库 PostgreSQL 灵活服务器时,以下是规格操作系统 (linux): 这是我的 15 秒响应时间,因为 Redis 缓存,有时它会上升到 3 ...
[英]Unable to get the list of queries in azure postgresql?
pg_stats_actvity 在 pgadmin 4 中使用,但它只提供当前查询。 并且还在 azure 门户上检查了服务器日志中的日志,那里看不到查询日志。 如果有人知道这方面的帮助,那就是 azure postgresql 服务器。 需要查询一个特定的数据库。 我在 pgadmin 4 ...
[英]Not able to connect Azure PostgreSQL using Azure Data Studio with SSL enabled
尝试连接到 Azure PostgreSQL 启用 SSL 使用 Azure Data Studio 或 pgAdmin4 SSL Mode=Verfiy-full,我得到以下错误根证书文件不存在提供文件或更改 sslmode 以禁用服务器证书验证并使用 SSL。在此处输入图像描述 建议我配置。 ...
[英]Postgres Audit - How to get information on who is performing the DDL operation?
我正在尝试在 Azure Postgres 单服务器中启用pgaudit 。 我遵循了 Microsoft 提供的说明以及 Postgres 的文档。 这些是我的设置(下图中选择的2个是DDL和ROLE) 日志参数 然后我使用存储帐户为文件配置了一个目的地。 到目前为止,一切都很好。 我运行了这 ...
[英]How to restore local PostgreSQL database backup to Azure PostgreSQL server?
我有一个问题,我们如何在 Azure PostgreSQL 服务器中恢复本地数据库备份? ...
[英]PostgreSQL: Import database dump (.sql) in Azure Space such as Azure Function, Azure Data Factory, ETC
我有一个 GB PostgreSQL 数据库转储。 我需要将其导入 Azure postgreSQL 单服务器。 我知道下面的命令,但我更喜欢在托管操作系统环境中在没有命令行的情况下在数据库中完成导入。 psql -U postgres -d mydatabase -f dumpfile.sql ...
[英]Scaling Azure Postgres: Specified Availability Zone not supported in this region
我尝试扩展(提供更多核心)到我的 Azure Postgres DB(灵活服务器)。 无论我选择哪种大小,我总是收到相同的错误:“该区域不支持指定的可用区”。 数据库部署到瑞典中心。 据此,Sweden Central 支持可用区。 我尝试的 VM 大小在该地区也可用。 有谁知道如何解决这个问 ...
[英]Spring Boot (Spring JPA) app connects to Azure PostgrestSQL on local but not on Azure App Service
我所做的只是按照 Microsoft 教程中关于Using Spring JPA with Azure Database for PostgreSQL的说明进行操作。 我按照教程一步一步来。 它确实在本地工作,但是一旦我尝试使用以下行部署到 Azure App Service: 我得到了以下例 ...
[英]SSL connection is required. Please specify SSL options and retry - postgresql using dbforge
I have enabled Azure Postgresql SSL connection mode and after doing that I was not able to connect to Postgres database using dbForge, it is showing ...
[英]Is there a way to set "Allow access to Azure services" in Microsoft.DBforPostgreSQL/servers using Bicep?
我一直在使用Microsoft.DBforPostgreSQL/servers资源和 Azure Bicep,专门使用此参考。 我缺少设置可从 Azure 资源访问的数据库的参数(参见附图)。 我认为publicNetworkAccess: 'Enabled'应该可以解决问题,但事实并非如此。 ...
[英]terraform azure install extension via terraform or gitlab CI
Azure postgre sql 可以通过 terraform(git lab CI) 安装。 但是如何配置扩展。 目前我们正在手动执行此操作。 例如,具有需要加密功能的应用程序团队可以使用CREATE EXTENSION命令启用 pg_crypto。 另外,我们将来如何通过gitlab CI ...
[英]Implement Oracle external table like functionality in Azure managed postgresql
目前,我们在本地使用 Oracle 19c 外部表功能,将 CSV 文件加载到数据库服务器上的特定位置,然后它们会自动加载到 oracle 外部表中。 文件位置作为表 DDL 的一部分提及。 我们需要迁移到 Azure 托管的 postgresql。 根据检查 postgresql 文档,可以在独 ...
[英]Azure Postgres Single server version upgrade
Azure Postgres 单服务器版本是 11。是否可以使用转储和还原将其升级到 13+ 版本,如此处所述: https://docs.microsoft.com/en-us/azure/postgresql/how-to-upgrade-using-dump-and-restore 它 ...
[英]Setting up Azure Postgre SQL environment variables causing issue in connecting database from PGAdmin
我正在使用一个开源平台来自定义我的应用程序,该应用程序使用 postgre SQL 运行。从本地它工作正常,当我尝试连接 Azure Postgre SQL 时,它要求提供一些安全密钥,但这些密钥不可用。 我的主要问题是如何创建 azure postgres 的环境变量以及如何克服导致连接错误的关键 ...
[英]Near zero downtime deployment with Azure Managed PostgreSQL
Azure 托管 PostgreSQL(单服务器或灵活服务器)是否可以支持接近零停机部署? 如果是,您能否建议在单服务器和灵活服务器选项中实施此类设置的最佳实践? 问候雅各布 ...