Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一个数据库存储/查询 XML。
我的基本要求是:
是否可以在 PostgreSQL 上存储/查询不同格式的 XML?
还是使用原生 XML 解决方案更好,例如 Senda、XBase?
谢谢!
PostgreSQL 可以满足您的要求,您实际上可以围绕它构建非常复杂和精密的解决方案。基本问题是你还在做什么。如果只是 XML,您可能只想使用 XML 数据库。如果您还存储与文档相关的其他信息,那么 PostgreSQL 将是更好的方法。
简而言之,您只是存储 XML 吗?也许文档数据库是最好的?还是您需要混合关系/文档数据库?如果是后者,PostgreSQL 是一个非常好的选择。