cost 113 ms
不同 API 的 Azure CosmosDB 写入延迟 - Azure CosmosDB write latencies for different APIs

我们有一个 Azure CosmosDB 的低延迟用例(例如,添加额外的 100 毫秒将对应用程序敏感)。 选择 Azure CosmosDB API 时是否对写入延迟有任何影响—— 核心 SQL 是默认设置,但查询解析等方面可能会有一些额外的开销。所以我认为 Cassandra 和 Mon ...

将托管身份与 Cosmos Db 表一起使用 Api - Using Managed Identity with Cosmos Db Table Api

我正在尝试使用托管标识连接到 cosmos db 表 api。 根据此处的文档,cosmos db 支持托管身份。 我找不到任何文档说明有关表 api 的任何具体内容。 我正在使用.Net 标准 SDK但它似乎不支持托管身份。 是否可以将托管标识与 Cosmos Db 表 api 一起使用? 如果 ...

How to: Azure python function triggered by Azure CosmosDB Table updates (new item/modified item/delete item) - How to: Azure python function triggered by Azure CosmosDB Table updates (new item/modified item/delete item)

我想要一个 Azure Function 在每个新项目上触发 function 的工作,修改现有项目或删除 ComosDB 中的项目。 到目前为止,我能够找到的文档始终是关于 CosmosDB 作为文档数据库的功能。 但是,我使用 cosmosdb 作为简单数据的表存储。 我还找到了 Azure ...

我可以为无服务的 Azure CosmosDB(Azure 表)动态创建表吗? - Can I create dynamically a table for a serveless Azure CosmosDB (Azure Table)?

我正在从表存储迁移到 Cosmos DB。 我创建了一个无服务的 Cosmos DB(表 Azure) 当我执行下面的代码 我收到一个错误: 无服务器帐户不支持读取或替换优惠。\r\nActivityId: 46c760ee-fb3f-400e-a3fc-819bec68b82b、Microsof ...

找不到方法:'System.Threading.Tasks.Task`1 <microsoft.azure.cosmos.serialization.hybridrow.result></microsoft.azure.cosmos.serialization.hybridrow.result> - Method not found: 'System.Threading.Tasks.Task`1<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result>

尝试插入 CosmosDb 时出现以下错误。 正在插入文档但抛出此错误。 我正在使用 .net 核心 5.0,Microsoft.Azure.Cosmos 3.17.0。 请指教。 Method not found: 'System.Threading.Tasks.Task 1&lt;Micro ...

Azure CosmosDB 存储过程更新所有项目的字段 - Azure CosmosDB stored procedure to update all items' field

假设我们有一个包含以下项目的容器 我们如何编写存储过程来查询所有项目并将所有项目的 bool 字段从 false 更新为 true? 我还没有找到任何参考资料,我知道 CosmosDB 存储过程只支持查询而不是更新或删除。 ...

Cosmos DB:更快的搜索选项 - Cosmos DB : Faster Search Options

我们拥有巨大的 cosmosDB 容器,其中包含数十亿行和近 300 列。 数据以我们大部分时间查询的方式进行分区和建模。 例如:用户表由 userId 分区,这就是为什么下面的查询可以正常工作。 但在某些情况下,我们需要对需要排序的数据进行不同的查询,然后再进行查询。 例如:使用 userpost ...

如何在 Azure Functions 参数中调用动态值 - How to call dynamic values in Azure Functions parameter

我有一个 Azure 函数,它在服务总线主题上触发,它会将数据从 blob 存储复制到 Azure Cosmos Db 表 Api。 根据 Azure Blob 存储中的文件名,文件数据将作为实体复制到 Cosmos Db 表 Api 中的相应表。 问题:我想在代码中为每个动态复制的文件引用表名, ...

如何在 ARM 模板中获取为表 API 创建的 cosmos DB 的连接字符串 - How to get Connection string of a cosmos DB created for table API in ARM template

我正在尝试为表 API 创建一个 cosmos db 帐户,并希望使用 ARM 模板将连接字符串上传到 KV。 我期望这种格式的连接字符串: 我正在使用这个: 但是通过上面的内容,我得到了一个如下所示的连接字符串: 如何获取与表端点的连接字符串? ...

如何编写 Azure 存储表查询不存在的列 - How to write Azure storage table queries for non-existent columns

我们有一个存储表,我们想在其中添加一个新的 integer 列(它实际上是一个转换为 int 的 3 个值的枚举)。 我们希望在以下情况下需要一行: 这是一个较旧的行,该列不存在这是一个新行,该列存在并且与特定值不匹配当我只在列上使用不等于运算符时,不会返回旧行。 如何处理? 更新假设比较总是为不存 ...

CosmosDB 每项 ttl 设置抛出异常:无法反序列化当前 JSON object - CosmosDB per item ttl setting throwing exception: Cannot deserialize the current JSON object

我正在按照此文档将每个项目的ttl设置为 CosmosDB 表条目。 但是当我在实体 class 中添加字段名称ttl时,我在进行插入/替换调用时遇到以下错误: 无法将当前 JSON object(例如 {"name":"value"})反序列化为类型 'System.Nullable`1[Sys ...

如何比较 cosmos DB 表中的默认时间戳属性 - How to compare default Timestamp property in a cosmos DB table

cosmos DB 表条目管理每个表操作的默认Timestamp属性。 当我尝试根据相同的时间戳字段查询上次更新的条目时,结果未按预期运行。 TableQuery 如下所示: 其中timestamp是DateTimeOffset object。 即使表中存在Timestamp列具有更高值的行,我 ...

连接字符串缺少必需的属性:使用新 CosmosClient(CosmosConnectionString) 时出现 AccountEndpoint 错误 - The connection string is missing a required property: AccountEndpoint error while using the new CosmosClient(CosmosConnectionString)

我收到The connection string is missing a required property: AccountEndpoint AccountEndpoint error while using the new CosmosClient(CosmosConnectionString ...

如何为 Azure Cosmos DB 中的表设置 TTL 值? - How to set TTL value for a table in Azure Cosmos DB?

Azure Cosmos DB 是否支持为表设置TTL ? 在使用CreateIfNotExists调用创建表时,我们如何从代码中设置它? (我正在使用Microsoft.Azure.Cosmos.Table )我不是在寻找按项目设置它(我在功能请求中发现它还不能作为功能使用)并希望它适用于桌 ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM