Azure搜索可以用作某些数据的主数据库吗? [英] Can Azure Search be used as a primary database for some data?

查看:186
本文介绍了Azure搜索可以用作某些数据的主数据库吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Microsoft将Azure搜索推广为云搜索,但不一定说它是数据库或数据存储。

Microsoft promotes Azure Search as "cloud search", but doesn't necessarily say it's a "database" or "data storage". It stops short of saying it's big data.

可以/应该将azure搜索用作某些数据的主数据库吗?

Can/should azure search be used as the primary database for some data? Or should there always be some "primary" datastore that is "duplicated" in azure search for search purposes?

如果是这样,在什么情况下/使用什么场景是有意义的Azure Search作为主数据库?

If so, under what circumstances/what scenarios make sense to use Azure Search as a primary database?

推荐答案

虽然我们一般不推荐使用Azure搜索,存储if:

Although we generally don't recommend it, you might consider using Azure Search as a primary store if:


  1. 您的应用程序可以容忍一些数据不一致。 Azure搜索最终是一致的。


    • 索引数据时,不能立即查询。

    • 目前没有控制并发机制

    • 在使用搜索查询读取数据时,分页不是基于任何类型的快照,因此您可能会丢失或重复的文档。

  1. Your app can tolerate some data inconsistency. Azure Search is eventually consistent.
    • When you index data, it is not available for querying immediately.
    • Currently there is no mechanism to control concurrent updates to the same document in an index.
    • When reading data using search queries, paging is not based on any kind of snapshot, so you may get missing or duplicated documents.

请注意,其中许多都是我们想要的区域为了可管理性和易于使用而在未来改进Azure搜索,但从来没有我们的目标是使Azure搜索成为通用的NoSQL数据库。

Note that many of these are areas where we want to improve Azure Search in the future for the sake of manageability and ease of use, but it has never been our goal to make Azure Search a general-purpose NoSQL database.

这篇关于Azure搜索可以用作某些数据的主数据库吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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