Azure Cosmos DB永久性问题 [英] Azure Cosmos DB Permormance Issue

查看:167
本文介绍了Azure Cosmos DB永久性问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用CONTAINS/通配符搜索来提高性能的最佳选择是什么?

注意:我们正试图在不使用Azure搜索索引的情况下实现这一目标.

解决方案

您好,Vrsingireddy,

您是否使用Cosmos DB的SQL API?这是 Azure Cosmos DB SQL语法参考,其中包含一些非常有用的信息(如果使用的是SQL API).与CONTAINS有关的具体内容是 这里.

有关Cosmos DB的SQL查询主题的其他信息可用 这里.

如果您还有其他疑问,请告诉我.

此致

迈克


When we do search Cosmos Db documents with "Contains" ,we can see performance hit. This works fine but taking more RUS (5000 times to the "Equals" operator).

What are the best options to improve the performance with CONTAINS/Wild card search ?

Note : We are trying to achieve this without using Azure search Indexing.

解决方案

Hi Vrsingireddy,

Are you using the SQL API for Cosmos DB? Here is the Azure Cosmos DB SQL syntax reference that contains some very useful information, if you are using the SQL API. The specific content related to CONTAINS is here.

Additional information about the topic of SQL Queries for Cosmos DB is available here

Please let me know if you have any additional questions. 

Regards,

Mike


这篇关于Azure Cosmos DB永久性问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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