gpt4 book ai didi

django - 为什么 Django 更喜欢 Postgresql?

转载 作者:搜寻专家 更新时间:2023-10-30 22:10:09 27 4
gpt4 key购买 nike

<分区>

我在这里阅读了它的官方文档:

https://docs.djangoproject.com/en/1.8/topics/migrations/

PostgreSQL

PostgreSQL is the most capable of all the databases here in terms of schema support; the only caveat is that adding columns with default values will cause a full rewrite of the table, for a time proportional to its size.

For this reason, it’s recommended you always create new columns with null=True, as this way they will be added immediately.

但是并没有解释什么是“schema support”。为什么 Postgresql 在 Django 上比其他(MySQL 等)更强大?

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com