Utility Guide (Rev. A18)
Total Page:16
File Type:pdf, Size:1020Kb
PRODUCT DOCUMENTATION Pivotal™ Greenplum Database® Version 4.3 Utility Guide Rev: A18 © 2016 Pivotal Software, Inc. Copyright Utility Guide Notice Copyright Copyright © 2016 Pivotal Software, Inc. All rights reserved. Pivotal Software, Inc. believes the information in this publication is accurate as of its publication date. The information is subject to change without notice. THE INFORMATION IN THIS PUBLICATION IS PROVIDED "AS IS." PIVOTAL SOFTWARE, INC. ("Pivotal") MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Use, copying, and distribution of any Pivotal software described in this publication requires an applicable software license. All trademarks used herein are the property of Pivotal or their respective owners. Revised April 2016 (4.3.8.1) 2 Contents Utility Guide Contents Chapter 1: Preface.......................................................................................5 About This Guide................................................................................................................................ 6 About the Greenplum Database Documentation Set..........................................................................7 Document Conventions....................................................................................................................... 8 Command Syntax Conventions................................................................................................ 8 Getting Support................................................................................................................................... 9 Product information and Technical Support............................................................................. 9 Chapter 2: Management Utility Reference.............................................. 10 Backend Server Programs................................................................................................................ 12 analyzedb...........................................................................................................................................14 gpactivatestandby.............................................................................................................................. 18 gpaddmirrors......................................................................................................................................20 gpbitmapreindex................................................................................................................................ 24 gpcheck..............................................................................................................................................26 gpcheckcat.........................................................................................................................................28 gpcheckperf....................................................................................................................................... 31 gpconfig............................................................................................................................................. 34 gpcrondump....................................................................................................................................... 37 gpdbrestore........................................................................................................................................49 gpdeletesystem..................................................................................................................................56 gpexpand........................................................................................................................................... 58 gpfdist................................................................................................................................................ 62 gpfilespace.........................................................................................................................................65 gpinitstandby......................................................................................................................................68 gpinitsystem....................................................................................................................................... 71 gpload................................................................................................................................................ 76 gplogfilter........................................................................................................................................... 87 gpmapreduce..................................................................................................................................... 90 gpmfr..................................................................................................................................................92 gpmigrator..........................................................................................................................................95 gpmigrator_mirror.............................................................................................................................. 97 gpperfmon_install...............................................................................................................................99 gppkg............................................................................................................................................... 102 gprecoverseg................................................................................................................................... 104 gpreload........................................................................................................................................... 109 gpscp............................................................................................................................................... 111 gpseginstall...................................................................................................................................... 113 gpsnmpd.......................................................................................................................................... 115 gpssh............................................................................................................................................... 117 gpssh-exkeys................................................................................................................................... 120 gpstart.............................................................................................................................................. 123 gpstate............................................................................................................................................. 125 gpstop.............................................................................................................................................. 129 gpsys1..............................................................................................................................................132 gptransfer.........................................................................................................................................133 pgbouncer........................................................................................................................................ 143 PgBouncer Configuration File...............................................................................................144 3 Contents Utility Guide Example Configuration Files.................................................................................................153 PgBouncer Authentication File Format.................................................................................154 PgBouncer HBA File Format................................................................................................155 PgBouncer Administration Console Commands.................................................................. 155 Chapter 3: Client Utility Reference........................................................ 163 Client Utility Summary.....................................................................................................................164 clusterdb.......................................................................................................................................... 167 createdb........................................................................................................................................... 169 createlang........................................................................................................................................ 171 createuser........................................................................................................................................ 173 dropdb..............................................................................................................................................176 droplang........................................................................................................................................... 178 dropuser...........................................................................................................................................180