'describe'에 해당되는 글 1건

  1. 2015.02.26 hawq 에서 show tables, databases, columns, describe 1
반응형

내부적으로 postgresql 을 사용하고 있으므로

hawq 매뉴얼에 없는 기능들은

postgresql 명령어를 검색하면 됨

mysql: SHOW TABLES
postgresql: \d
postgresql: SELECT table_name FROM information_schema.tables WHERE table_schema = 'public';

mysql: SHOW DATABASES
postgresql: \l
postgresql: SELECT datname FROM pg_database;

mysql: SHOW COLUMNS
postgresql: \d table
postgresql: SELECT column_name FROM information_schema.columns WHERE table_name ='table';

mysql: DESCRIBE TABLE
postgresql: \d+ table
postgresql: SELECT column_name FROM information_schema.columns WHERE table_name ='table';




반응형

'[BigData] > [Pivotal HAWQ]' 카테고리의 다른 글

metadata 관리 쿼리 manage query  (0) 2015.07.02
pivotal hawq download  (0) 2015.02.24
Posted by FeliZ_하늘..
,