任何人都可以帮助我进行 redshift JSON_EXTRACT_PATH_TEXT 的基准测试/性能统计吗 功能?
我们是否应该使用此功能提取大量数据以提取 json 数据(大约 5000 万)?
最佳答案
5000 万对于 redshift 来说是小菜一碟,但提取 json 内容肯定比常规专栏中的任何内容都慢。
在 24xdc1.large 集群上
2.3B行
select count(*) from table where json_extract_path_text(what_extra_json, 'is_logged_in') is not null;
计数
1364239102 (1 行)
24 秒内
关于postgresql - 基准 Amazon Redshift JSON_EXTRACT_PATH_TEXT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27122296/