# Show tables in a database

**URL:** <https://community.influxdata.com/t/show-tables-in-a-database/5130>\
**Category:** Telegraf\
**Tags:** influxdb\
**Created:** [May 11, 2018, 10:10am UTC](https://community.influxdata.com/t/show-tables-in-a-database/5130 "2018-05-11T10:10:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![philb](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/philb/32/1805_2.png) [@philb](https://community.influxdata.com/u/philb)\
**Post date:** [May 11, 2018, 3:11pm UTC](https://community.influxdata.com/t/show-tables-in-a-database/5130/3 "2018-05-11T15:11:28Z")

</div>

@jwang

Yes, log into the database via terminal then with the following commands:

`use databasename`

It will say ‘Using database name’

Then you can run `SHOW MEASUREMENTS` and `SHOW RETENTION POLICY`

---

_[View the full topic](https://community.influxdata.com/t/show-tables-in-a-database/5130)._
