Last active
June 12, 2021 17:20
-
-
Save gabanox/376f32e5ae6020c8f539b0927898ffba to your computer and use it in GitHub Desktop.
Referencia de comandos para redshift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Path de búsqueda | |
set search_path to enterprise; | |
show search_path; | |
--Consultar metadatos de una tabla | |
SELECT | |
* | |
FROM | |
PG_TABLE_DEF | |
where | |
schemaname = 'public' and tablename = ''; | |
--Consultar la cantidad de slices en un cluster | |
select node, slice from stv_slices; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment