识别内部与外部 schema
在继续排查 coffee county 气象表的性能问题时,您决定先确认其 schema public_intro_redshift 是内部还是外部,以便选择下一步的优化方向来提升其性能。
本练习是课程的一部分
Redshift 入门
练习说明
- 从所有 schema 的系统视图中选择 schema 名称和类型。
- 按 schema 名称对结果排序。
交互式实操练习
通过完成这段示例代码来试试这个练习。
-- Query the schema name and type
SELECT ___,
___
-- Use the proper system view to via all schemas
FROM ___
-- Sort by the schema name
ORDER BY ___;