title: Postgres incomplete schema tables dump using pg-dump
body: <p>I have postgres 9.6 database which having 20GB data. I am taking dump using following command -</p>
  
  <pre class="lang-none prettyprint-override"><code> pg_dump -U postgres -d test &gt; test.sql
  </code></pre>
  
  <p>Now the schema tables are having size like 12GB. </p>
  
  <p><img src="https://i.stack.imgur.com/hVBG7.jpg" alt="schema tables"></p>
  
  <p>I have taken dump another way:</p>
  
  <pre class="lang-none prettyprint-override"><code>pg_dump -U postgres -d iedb -Fc &gt; iedb.dmp
  </code></pre>
  
  <p>still only 2.3gb data exported in dump file. Its giving me following output after restoration - </p>
  
  <p><img src="https://i.stack.imgur.com/zVrNH.jpg" alt="pg_schema_after_restore"> </p>
  
  <p>I have tried using single schema but its not taking proper data.
  Can someone help me out with this. My data is stored on object schemas which is part of database. I am not able to export same amount of data to other server. Is their any config parameter regarding export data limit?</p>