Postgres数据库挂起 [英] Postgres Database Hanging

查看:133
本文介绍了Postgres数据库挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,Azure,

我正在运行Django Web应用程序,直到今天一切都很好.所有的数据库查询都挂在我的postgres数据库上.我试图升级数据库,以重新启动它,以查看是否可以解决问题.

I am running a Django web app, and everything has been going fine until today. All DB lookups are just hanging on my postgres DB. I've tried to upgrade the DB as a means to restart it to see if that fixes the problem.

这是我的数据库设置:

'default': {
		'ENGINE': 'django.db.backends.postgresql_psycopg2',
		'NAME': 'wriberpostdb6',
		'USER': 'j0hnnywriber@wriber-db-postgres2',
		'PASSWORD': '<BLANKED OUT>',
		'HOST': 'wriber-db-postgres2.postgres.database.azure.com',
		'PORT': '5432',

		'OPTIONS': {
			'sslmode': 'require',
		}
	},

推荐答案

约翰,

一个简单的问题.您的磁盘空间不足吗?您可以使用pgAdmin连接到它吗? Azure门户中是否有任何警报?

Simple question. Are you out of disk space? Can you connect to it with pgAdmin? Are there any alerts in the Azure Portal?

此致

迈克


这篇关于Postgres数据库挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆