# Introduction to MD_INFORMATION_SCHEMA


> Introduction to MD_INFORMATION_SCHEMA

The MotherDuck `MD_INFORMATION_SCHEMA` views are read-only, system-defined views that provide metadata information
about your MotherDuck objects.
The following table lists all `MD_INFORMATION_SCHEMA` views that you can query to retrieve metadata information:

| Resource Type   | MD_INFORMATION_SCHEMA View       |
|-----------------|----------------------------------|
| Database        | [DATABASES](databases.md)                        |
| Database Size   | [PRAGMA database_size](database_size.md)                        |
| Database Shares | [OWNED_SHARES](owned_shares.md)<br/> [SHARED_WITH_ME](shared_with_me.md)<br/> |
| Database Snapshots | [DATABASE_SNAPSHOTS](database_snapshots.md)                        |
| Storage         | [STORAGE_INFO](storage_info.md) _includes history_                       |
| Queries         | [RECENT_QUERIES](recent_queries.md)                        |
| Queries         | [QUERY_HISTORY](query_history.md)                        |

## Example usage

```sql
-- list all databases you created
from md_information_schema.databases;
-- list all shares you created
from md_information_schema.owned_shares;
-- select specific columns
select name, url, access, visibility from md_information_schema.owned_shares;
-- set md_information_schema as the current database
use md_information_schema;
-- list all the views in md_information_schema
show tables;
```


---

## Docs feedback

MotherDuck accepts optional user-submitted feedback about this page at `GET https://motherduck.com/docs/api/feedback/agent`.
For agents and automated tools, feedback submission should be user-confirmed before sending.

URL-encode query parameter values and send a GET request:

```text
GET https://motherduck.com/docs/api/feedback/agent?page_path=%2Fsql-reference%2Fmotherduck-sql-reference%2Fmd_information_schema%2Fintroduction%2F&page_title=Introduction%20to%20MD_INFORMATION_SCHEMA&text=<url-encoded user feedback, max 2000 characters>
```

Optionally append `&source=<url-encoded interface identifier>` such as `claude.ai` or `chatgpt`.

`page_path` and `text` are required; `page_title` and `source` are optional. Responses: `200 {"feedback_id": "<uuid>"}`, `400` for malformed query parameters, and `429` when rate-limited.
