# Plex & Database

**URL:** <https://forums.plex.tv/t/plex-database/710365>\
**Category:** Plex Media Server\
**Tags:** server-docker\
**Created:** [April 19, 2021, 10:30am UTC](https://forums.plex.tv/t/plex-database/710365 "2021-04-19T10:30:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppcm](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ppcm/32/10751_2.png) [@ppcm](https://forums.plex.tv/u/ppcm)\
**Post date:** [April 19, 2021, 10:30am UTC](https://forums.plex.tv/t/plex-database/710365/1 "2021-04-19T10:30:57Z")

</div>

Hello there,

Is there a roadmap to improve peformance between the database and Plex?  
I installed Plex on Docker, and sometimes, I have the followinf error:  
Sqlite3: Sleeping for 200ms to retry busy DB.

I know, it is because sometimes, disks are busy with other pods and response is not enough good for Plex. but it freezes Plex until disk are no more busy

3 options are possible:

- Connect to an external database
- Write lot of less to database
- Cache data before writing to database

Thanks for your response

---

<div class="post-metadata">

**Author:** ![RealJerk](https://avatars.discourse-cdn.com/v4/letter/r/ce7236/32.png) [@RealJerk](https://forums.plex.tv/u/RealJerk)\
**Post date:** [April 20, 2021, 12:17am UTC](https://forums.plex.tv/t/plex-database/710365/2 "2021-04-20T00:17:29Z")

</div>

Also curious about this. When scanning multiple files in, the server will become inaccessible which is a huge pain in the butt.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 19, 2021, 12:17am UTC](https://forums.plex.tv/t/plex-database/710365/3 "2021-07-19T00:17:44Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
