Can i disable "temporal_visibility" db?

what does the db “temporal_visibility” do ?

is that possible to disable the “temporal_visibility” db?

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). 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 also brings support for advanced visibility on SQL dbs.