amazon-web-services - 获取 Amazon Redshift 存储过程中 UNLOADed 记录的计数
问题描述
我的 UNLOAD 语句位于 Amazon Redshift 的存储过程中。我想记录有关卸载到 S3 的记录数的信息。
我用了
GET DIAGNOSTICS integer_var := ROW_COUNT;
RAISE NOTICE 'Unload executed with %', integer_var;
但是它登录到 SVL_STORED_PROC_MESSAGES “卸载执行为 0”,实际上卸载了 60K 多条记录。所以,我想得到,“卸载以 60000 执行”。
请问有人可以帮忙吗
解决方案
推荐阅读
- javascript - 用于 javascript 代码的简短 jQuery 解决方案
- java - 构造函数的参数 0 需要一个找不到的 bean
- python - 使用 Python 存储和操作数据的最佳方式
- powershell - 非结构化文本到 CSV
- javascript - 如何在 AmChart-StockChart 中创建 Click 事件
- azure - 将 Centos AWS 映像迁移到 Azure VM
- c# - 如何从.net核心实体框架调用具有表值参数的存储过程
- java - 使用带有 List 作为 NamedParameters 的 SpringBatch JdbcCursorItemReader
- mysql - 将新值插入 MySQL 数据库时,键“PRIMARY”的重复条目“111-222”
- python - 从 aspx 页面解析动态生成的 url