postgres 中可以创建多少个模式 [英] How many schemas can be created in postgres

查看:67
本文介绍了postgres 中可以创建多少个模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用 postgres 为多租户实施解决方案时,我需要知道一个 postgres 数据库中最多可以驻留多少架构.

While implementing solution to a multi tenant using postgres I needed an answer on how much the maximum schemas can reside in one postgres database.

推荐答案

我们测试了数千个模式 - 数千个表没有问题.有几个已知问题

We tested thousands schemas - with thousands tables without problem. There are a few known issues

  • GUI 管理问题 - 由于在启动时读取完整的对象树而导致启动缓慢,
  • pg_dump 的问题 - 备份启动缓慢 - 需要大量时间来锁定对象.

这篇关于postgres 中可以创建多少个模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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