# Can i disable "temporal\_visibility" db?

**URL:** <https://community.temporal.io/t/can-i-disable-temporal-visibility-db/7231>\
**Category:** Server Deployment\
**Created:** [February 10, 2023, 6:53am UTC](https://community.temporal.io/t/can-i-disable-temporal-visibility-db/7231 "2023-02-10T06:53:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jackban](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jackban](https://community.temporal.io/u/jackban)\
**Post date:** [February 10, 2023, 6:53am UTC](https://community.temporal.io/t/can-i-disable-temporal-visibility-db/7231/1 "2023-02-10T06:53:32Z")

</div>

what does the db “temporal\_visibility” do ?

is that possible to disable the “temporal\_visibility” db?

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [February 20, 2023, 8:04pm UTC](https://community.temporal.io/t/can-i-disable-temporal-visibility-db/7231/4 "2023-02-20T20:04:54Z")

</div>

Temporal has two persistence stores. Primary store which persists your execution event histories (and other exec/cluster related info) and Visibility store which persists “visibility records” that include information about a specific execution (see docs [here](https://docs.temporal.io/visibility)). For visibility you can set up standard or advanced which is backed by Elasticsearch.

It’s not recommended to remove visibility as its part of the core experience of Temporal (for example your web ui would not work without visibility). If you set up advanced visibility with ES then you don’t need the temporal\_visibility db.

Server version [1.20.0](https://github.com/temporalio/temporal/releases/tag/v1.20.0) also brings support for advanced visibility on SQL dbs.

---

<div class="post-metadata">

**Author:** ![nrv](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@nrv](https://community.temporal.io/u/nrv)\
**Post date:** [April 2, 2024, 12:45pm UTC](https://community.temporal.io/t/can-i-disable-temporal-visibility-db/7231/5 "2024-04-02T12:45:45Z")

</div>

Hi ! You’re saying that it is not recommended, but that means that this is possible, right ?

I’m currently looking into doing this because there are some data that cannot be stored (even encrypted, we are not allowed to do so). That’s why I would like to disable all persistence stores if that’s possible.  
So would you have any adivce on how to deploy a temporal cluster without UI, and persistences ?

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [April 2, 2024, 6:48pm UTC](https://community.temporal.io/t/can-i-disable-temporal-visibility-db/7231/6 "2024-04-02T18:48:15Z")

</div>

I don’t think it is possible to disable visibility and other persistences to use Temporal. The main value proposition of Temporal is durability. Why are you planning to use it if you don’t care about durability?

The standard solution for the “extremely sensitive data” problem is to not pass data that cannot be persisted through workflow. Only pass references/IDs of that data and store them somewhere else (Redis, memory, etc.).
