title: How to Determine the Size of a TimescaleDB Table?
body: <p>To determine the size of my TimescaleDB table <code>my_table</code> (which has a hypertable created previously), I ran the SQL query</p>
  
  <pre><code>pg_size_pretty( pg_total_relation_size('my_table') );
  </code></pre>
  
  <p>However, despite having 10k rows in this table, the size returned from this query is <em>24 kB</em>.</p>
  
  <p>Querying for the size of the database gave a more reasonable size of <em>34 MB</em>, using the SQL query</p>
  
  <pre><code>SELECT pg_size_pretty( pg_database_size('database_development') ); 
  </code></pre>
  
  <p><strong>Question:</strong> What is the correct way for calculating the size of a TimescaleDB table?</p>
  
  <p><em>Using PostgreSQL 11.5, TimescaleDB 1.5.1</em></p>