Couchdb每用户数据库设计文件管理

编程入门 行业动态 更新时间:2024-10-28 14:32:16
本文介绍了Couchdb每用户数据库设计文件管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在评估Couchdb用于一个会有很多用户的Web应用程序。如果我使用每个用户的数据库模型,那么每个数据库中的设计文档都将完全相同。我没有提到作用于多个数据库的全局设计文档,也没有提及任何使所有用户数据库中的设计文档都易于更改的工具。

I am evaluating Couchdb for a web application where there would be many users. If I use the database-per-user model, presumably the design documents in every database will all be identical. I have not found any mention of 'global' design documents acting upon multiple databases, or of any tools to make it easy to change the design docs across all user databases. How is this handled?

推荐答案

您可以在包含所有设计文档的模板数据库之间设置连续复制。因此,无论何时更改模板数据库,用户数据库都会得到更新。

You can setup continuous replication between a template database that contains all your design documents. So whenever you change the template database, user's database gets updated.

更多推荐

Couchdb每用户数据库设计文件管理

本文发布于:2023-10-30 03:13:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1541598.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件管理   数据库   用户   Couchdb

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!