Oracle Nosql Cloud Service 是否提供设置每秒最大读取单位消耗量?
Does Oracle Nosql Cloud Service have provision to set max read units consumption per second?
Oracle Nosql 云服务是否提供设置每秒最大读取单位消耗量。例如在 40K 读取单元中,我想为第一次操作保留 20K,为第二次操作保留 20K。为了确保始终为第一次操作保留 20K,我想为第二次操作设置每秒最大读取单位消耗。这有可能吗?
供应值是针对整个 table,因此如果 table 有 40K 读取单位/秒,则由应用程序根据 operation.The SDK 的速率分配它们限制可以帮助解决这个问题的支持。例如,参见 https://oracle.github.io/nosql-java-sdk/oracle/nosql/driver/NoSQLHandleConfig.html#setDefaultRateLimitingPercentage(double)。
Sets a default percentage of table limits to use. This may be useful
for cases where a client should only use a portion of full table
limits. This only applies if rate limiting is enabled using
setRateLimitingEnabled(boolean).
您可以在您的情况下使用此方法。
Oracle Nosql 云服务是否提供设置每秒最大读取单位消耗量。例如在 40K 读取单元中,我想为第一次操作保留 20K,为第二次操作保留 20K。为了确保始终为第一次操作保留 20K,我想为第二次操作设置每秒最大读取单位消耗。这有可能吗?
供应值是针对整个 table,因此如果 table 有 40K 读取单位/秒,则由应用程序根据 operation.The SDK 的速率分配它们限制可以帮助解决这个问题的支持。例如,参见 https://oracle.github.io/nosql-java-sdk/oracle/nosql/driver/NoSQLHandleConfig.html#setDefaultRateLimitingPercentage(double)。
Sets a default percentage of table limits to use. This may be useful for cases where a client should only use a portion of full table limits. This only applies if rate limiting is enabled using setRateLimitingEnabled(boolean).
您可以在您的情况下使用此方法。