> For the complete documentation index, see [llms.txt](https://upsolver.gitbook.io/content/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://upsolver.gitbook.io/content/reference-1/monitoring/system-catalog/information-schema/views.md).

# Views

The **views** system table includes information about the materialized views that have been created within your organization.&#x20;

From a worksheet within Upsolver, run the following query:&#x20;

```sql
SELECT * 
FROM system.information_schema.views;
```

The **system.information\_schema.views** table includes the following columns:

<table><thead><tr><th width="163.33333333333331">Column</th><th width="118">Type</th><th>Description</th></tr></thead><tbody><tr><td>catalog</td><td>string</td><td>The name of the catalog used to store the view.</td></tr><tr><td>comment</td><td>string</td><td>An optional comment to describe the view.</td></tr><tr><td>created_at</td><td>datetime</td><td>The date and time when the view was created.</td></tr><tr><td>created_by</td><td>string</td><td>The name of the user who created the view.</td></tr><tr><td>id</td><td>string</td><td>The unique identifier for the view.</td></tr><tr><td>modified_at</td><td>datetime</td><td>The date and time when the view was modified.</td></tr><tr><td>modified_by</td><td>string</td><td>The name of the user who modified the view.</td></tr><tr><td>name</td><td>string</td><td>The name of the materialized view.</td></tr><tr><td>properties</td><td>string</td><td>See the <a href="#properties">Properties</a> table below.</td></tr><tr><td>schema</td><td>string</td><td>The name of the schema used to store the view.</td></tr></tbody></table>

### Properties

The **properties** column comprises information about the options specified when the materialized view was created:

<table><thead><tr><th width="286.3333333333333">Column</th><th width="92">Type</th><th>Description</th></tr></thead><tbody><tr><td>COMMENT</td><td>string</td><td>An optional comment to describe the view.</td></tr><tr><td>COMPUTE_CLUSTER</td><td>string</td><td>The compute cluster that runs the view.</td></tr><tr><td>MAX_TIME_TRAVEL_DURATION</td><td>integer</td><td>The number of days the state information maintained by the materialized view should be retained.</td></tr><tr><td>STORAGE_CONNECTION</td><td>string</td><td>The storage connection of the first table in the <code>FROM</code> statement in the view.</td></tr><tr><td>STORAGE_LOCATION</td><td>string</td><td>The storage location of the first table in the <code>FROM</code> statement in the view.</td></tr><tr><td>WINDOW</td><td>string</td><td>The maximum number of days to save the materialized view data before it is deleted.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://upsolver.gitbook.io/content/reference-1/monitoring/system-catalog/information-schema/views.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
