【发布时间】:2016-07-08 07:42:18
【问题描述】:
在处理跨越集群中不同节点上的多个表(就 gemfire 而言是区域)的内容时,哪个运算符提供更快的结果。
假设现在我的搜索 OQL 查询如下所示:
select * from /content_region where content_type = 'xyz' AND (shared_with.contains('john') OR (shared_with.contains('michael') OR (shared_with.contains('peter')))
考虑 'shared_with' 是列表。
参考资料:
IN vs OR in the SQL WHERE Clause
SQL performance tuning for Oracle Many OR vs IN () [duplicate]
【问题讨论】:
标签: gemfire spring-data-gemfire oql