Skip to content

Instantly share code, notes, and snippets.

@gabanox
Last active June 12, 2021 17:20
Show Gist options
  • Save gabanox/376f32e5ae6020c8f539b0927898ffba to your computer and use it in GitHub Desktop.
Save gabanox/376f32e5ae6020c8f539b0927898ffba to your computer and use it in GitHub Desktop.
Referencia de comandos para redshift
--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