# storage

**URL:** https://discuss.hangfire.io/c/feature/storage/23.md

[Latest](https://discuss.hangfire.io/latest.md) · [Categories](https://discuss.hangfire.io/categories.md) · [Tags](https://discuss.hangfire.io/tags.md)

---

## [About the storage category](https://discuss.hangfire.io/t/about-the-storage-category/1156)

<div class="topic-metadata">

**Author:** [@odinserj](https://discuss.hangfire.io/u/odinserj)\
**Replies:** 0

</div>

---

## [New storage possibilities (Oracle, ...)](https://discuss.hangfire.io/t/new-storage-possibilities-oracle/3829)

<div class="topic-metadata">

**Author:** [@MYoucef](https://discuss.hangfire.io/u/MYoucef)\
**Replies:** 8\
**Last updated:** [August 1, 2023, 12:21pm UTC](https://discuss.hangfire.io/t/new-storage-possibilities-oracle/3829 "2023-08-01T12:21:28Z")

</div>

Hello we would like to use hangfire to automate the management of our background tasks. Our software supports both SQL Server and Oracle. I've seen that you do not support Oracle at the moment. I would like to know if …

---

## [Hangfire and SqlClient dependency version](https://discuss.hangfire.io/t/hangfire-and-sqlclient-dependency-version/8792)

<div class="topic-metadata">

**Author:** [@bhehe](https://discuss.hangfire.io/u/bhehe)\
**Replies:** 0\
**Last updated:** [November 12, 2021, 5:19pm UTC](https://discuss.hangfire.io/t/hangfire-and-sqlclient-dependency-version/8792 "2021-11-12T17:19:31Z")

</div>

I came here today as I was working through the deployment challenges to move a poc effort from a personal sandbox into a representation of our actual target deployment model. In this case I was working through the scena…

---

## [Clear locks in redis storage](https://discuss.hangfire.io/t/clear-locks-in-redis-storage/8541)

<div class="topic-metadata">

**Author:** [@bimkl07](https://discuss.hangfire.io/u/bimkl07)\
**Replies:** 0\
**Last updated:** [June 25, 2021, 9:58am UTC](https://discuss.hangfire.io/t/clear-locks-in-redis-storage/8541 "2021-06-25T09:58:32Z")

</div>

Is there a way to clear the locks in redis storage similar to manually deleting the rows in lock table in case of sql storage.

---

## [Redis Sentinel Support](https://discuss.hangfire.io/t/redis-sentinel-support/3260)

<div class="topic-metadata">

**Author:** [@nlowe](https://discuss.hangfire.io/u/nlowe)\
**Replies:** 4\
**Last updated:** [April 21, 2021, 2:59pm UTC](https://discuss.hangfire.io/t/redis-sentinel-support/3260 "2021-04-21T14:59:12Z")

</div>

We are trying to use redis sentinel for automated fail over. I've done some testing and while there seems to be some confusion as to whether or not sentinel is supported in StackExchange.Redis (See following posts, appar…

---

## [MemoryStorage available for testing](https://discuss.hangfire.io/t/memorystorage-available-for-testing/983)

<div class="topic-metadata">

**Author:** [@perrich](https://discuss.hangfire.io/u/perrich)\
**Replies:** 12\
**Last updated:** [September 26, 2019, 10:07am UTC](https://discuss.hangfire.io/t/memorystorage-available-for-testing/983 "2019-09-26T10:07:35Z")

</div>

Hi, I've discovered hang fire few month ago. I've wanted to check how hangfire works but I do not want to install/deploy an SQL Server or something else. The overview and dashboard screenshots are really good. I was sa…

---

## [Hangfire and ElasticSearch as storage](https://discuss.hangfire.io/t/hangfire-and-elasticsearch-as-storage/6586)

<div class="topic-metadata">

**Author:** [@martywaz](https://discuss.hangfire.io/u/martywaz)\
**Replies:** 0\
**Last updated:** [September 19, 2019, 6:01pm UTC](https://discuss.hangfire.io/t/hangfire-and-elasticsearch-as-storage/6586 "2019-09-19T18:01:28Z")

</div>

is ElasticSearch supported for storage…or is this on a roadmap anywhere?

---

## [MySql - .Net Core](https://discuss.hangfire.io/t/mysql-net-core/2861)

<div class="topic-metadata">

**Author:** [@donex93](https://discuss.hangfire.io/u/donex93)\
**Replies:** 1\
**Last updated:** [April 25, 2019, 11:39am UTC](https://discuss.hangfire.io/t/mysql-net-core/2861 "2019-04-25T11:39:23Z")

</div>

Hangfire support MySql database in .Net Core?

---

## [Announcing storage provider supporting MSSQL, Oracle, DB/2, MySQL, Firebird, PostgreSQL](https://discuss.hangfire.io/t/announcing-storage-provider-supporting-mssql-oracle-db-2-mysql-firebird-postgresql/4191)

<div class="topic-metadata">

**Author:** [@Xavier\_Jefferson](https://discuss.hangfire.io/u/Xavier_Jefferson)\
**Replies:** 9\
**Last updated:** [November 8, 2018, 10:49pm UTC](https://discuss.hangfire.io/t/announcing-storage-provider-supporting-mssql-oracle-db-2-mysql-firebird-postgresql/4191 "2018-11-08T22:49:16Z")

</div>

Hi, all! I’ve been a Hangfire enthusiast now for about two years. During a large span of that time, I fretted a whole lot because the SQL Server storage implementation uses Entity Framework, which is not compatible wit…

---

## [Oracle Extension (Re-Opened)](https://discuss.hangfire.io/t/oracle-extension-re-opened/5266)

<div class="topic-metadata">

**Author:** [@CharcoalUchiha](https://discuss.hangfire.io/u/CharcoalUchiha)\
**Replies:** 0\
**Last updated:** [September 20, 2018, 1:43pm UTC](https://discuss.hangfire.io/t/oracle-extension-re-opened/5266 "2018-09-20T13:43:30Z")

</div>

The Oracle Extension project has been re-opened. After taking a break from it for a day or two, I was able to come back to this project with fresh-eyes…sort of. I discovered that Hangfire doesn’t play well with several…

---

## [Support Mysql or planning to?](https://discuss.hangfire.io/t/support-mysql-or-planning-to/356)

<div class="topic-metadata">

**Author:** [@szmulder](https://discuss.hangfire.io/u/szmulder)\
**Replies:** 3\
**Last updated:** [March 12, 2018, 12:11pm UTC](https://discuss.hangfire.io/t/support-mysql-or-planning-to/356 "2018-03-12T12:11:02Z")

</div>

Any idea is the product support Mysql or planning to support it? Thanks!

---

## [Preventing dequeue during check to shutdown](https://discuss.hangfire.io/t/preventing-dequeue-during-check-to-shutdown/4400)

<div class="topic-metadata">

**Author:** [@huronbikes](https://discuss.hangfire.io/u/huronbikes)\
**Replies:** 0\
**Last updated:** [February 26, 2018, 6:12pm UTC](https://discuss.hangfire.io/t/preventing-dequeue-during-check-to-shutdown/4400 "2018-02-26T18:12:30Z")

</div>

Let me start off by saying we use Hangfire very oddly. I’m aware of this, I am trying to take steps to solve it, but in the mean time I have somethings I want to figure out just how feasible they are. We have a check t…

---

## [Customized table name](https://discuss.hangfire.io/t/customized-table-name/3694)

<div class="topic-metadata">

**Author:** [@sk29110](https://discuss.hangfire.io/u/sk29110)\
**Replies:** 2\
**Last updated:** [August 17, 2017, 12:04am UTC](https://discuss.hangfire.io/t/customized-table-name/3694 "2017-08-17T00:04:24Z")

</div>

Currently Hangfire create tables when I installed. Is it possible to have prefix for those tables installed by the Hangfire?

---

## [Customizing the persisted data](https://discuss.hangfire.io/t/customizing-the-persisted-data/3184)

<div class="topic-metadata">

**Author:** [@dantte](https://discuss.hangfire.io/u/dantte)\
**Replies:** 1\
**Last updated:** [April 12, 2017, 12:16pm UTC](https://discuss.hangfire.io/t/customizing-the-persisted-data/3184 "2017-04-12T12:16:22Z")

</div>

I want to know if it is possible to customize/extend the data that gets persisted to storage when jobs get enqueued, and if it is possible to get access to the same persistence model before/during the deserialization pro…

---

## [Storage and IDisposable](https://discuss.hangfire.io/t/storage-and-idisposable/3129)

<div class="topic-metadata">

**Author:** [@santavasco](https://discuss.hangfire.io/u/santavasco)\
**Replies:** 0\
**Last updated:** [March 29, 2017, 8:41am UTC](https://discuss.hangfire.io/t/storage-and-idisposable/3129 "2017-03-29T08:41:24Z")

</div>

When the Hangfire server is stopped, the storage is not disposed. Can server run Dispose() on storage if the storage supports IDisposable?

---

## [Entityframework storage](https://discuss.hangfire.io/t/entityframework-storage/2569)

<div class="topic-metadata">

**Author:** [@MaitreDede](https://discuss.hangfire.io/u/MaitreDede)\
**Replies:** 1\
**Last updated:** [March 28, 2017, 2:47am UTC](https://discuss.hangfire.io/t/entityframework-storage/2569 "2017-03-28T02:47:02Z")

</div>

Hi, Is it possible to use hangfire with storage on Entityframework, instead of direct database access ? Thanks

---

## [Is Entity Framework Required when Data persistence is required](https://discuss.hangfire.io/t/is-entity-framework-required-when-data-persistence-is-required/2246)

<div class="topic-metadata">

**Author:** [@kleelockerby](https://discuss.hangfire.io/u/kleelockerby)\
**Replies:** 0\
**Last updated:** [July 26, 2016, 9:10pm UTC](https://discuss.hangfire.io/t/is-entity-framework-required-when-data-persistence-is-required/2246 "2016-07-26T21:10:39Z")

</div>

Do I have to use Entity framework when background jobs require an entity model to be saved in the Hangfire database for job processing. As an example, can you use the Hangfire Highlighter tutorial which saves a CodeSnipp…

---

## [New storage provider](https://discuss.hangfire.io/t/new-storage-provider/178)

<div class="topic-metadata">

**Author:** [@burningice](https://discuss.hangfire.io/u/burningice)\
**Replies:** 10\
**Last updated:** [June 24, 2016, 9:31am UTC](https://discuss.hangfire.io/t/new-storage-provider/178 "2016-06-24T09:31:03Z")

</div>

Just wanted to let you all know that i've today published the code for a new Storage Provider that i've been working on for a while. The Provider is built for a system called Composite C1 (http://www.composite.net/) wh…

---

## [Schedule job from SQL Server stored procedure](https://discuss.hangfire.io/t/schedule-job-from-sql-server-stored-procedure/1739)

<div class="topic-metadata">

**Author:** [@prefire](https://discuss.hangfire.io/u/prefire)\
**Replies:** 0\
**Last updated:** [January 29, 2016, 8:50pm UTC](https://discuss.hangfire.io/t/schedule-job-from-sql-server-stored-procedure/1739 "2016-01-29T20:50:13Z")

</div>

Hello, I'm using sql server as job storage and have specific needs to schedule job from sql server stored procedure. What I'm required to do to properly schedule job?

---

## [SQL Server + MSMQ in Web Garden/Farm](https://discuss.hangfire.io/t/sql-server-msmq-in-web-garden-farm/1236)

<div class="topic-metadata">

**Author:** [@Ed\_Morris](https://discuss.hangfire.io/u/Ed_Morris)\
**Replies:** 0\
**Last updated:** [August 17, 2015, 5:54pm UTC](https://discuss.hangfire.io/t/sql-server-msmq-in-web-garden-farm/1236 "2015-08-17T17:54:44Z")

</div>

We currently use Hangfire with only SQL Server storage in a Web Farm configuration. The Hangfire servers are on the VM as our WebAPI sites and it works very well. We need to improve the trigger time and hope that MSMQ …

---

## [Storage configuration](https://discuss.hangfire.io/t/storage-configuration/634)

<div class="topic-metadata">

**Author:** [@canning\_s](https://discuss.hangfire.io/u/canning_s)\
**Replies:** 4\
**Last updated:** [August 17, 2015, 1:46am UTC](https://discuss.hangfire.io/t/storage-configuration/634 "2015-08-17T01:46:27Z")

</div>

Hi, When using Hangfire, is it possible to use xml files rather than SQL Server storage? I am thinking on the same lines as ELMAH, where the data is stored in App\_Data, rather than a database. Is this possible? Tha…

---

## [Updated Firebird storage with MSMQ support](https://discuss.hangfire.io/t/updated-firebird-storage-with-msmq-support/735)

<div class="topic-metadata">

**Author:** [@rsegerink](https://discuss.hangfire.io/u/rsegerink)\
**Replies:** 0\
**Last updated:** [March 1, 2015, 2:32pm UTC](https://discuss.hangfire.io/t/updated-firebird-storage-with-msmq-support/735 "2015-03-01T14:32:32Z")

</div>

Hi, I've updated the Firebird storage with MSMQ support and included a small nancyfx example. See: https://github.com/rsegerink/Hangfire.Firebird Also available on nuget as "Hangfire.Firebird" and "Hangfire.Firebird.Ms…

---

## [Firebird storage provider available](https://discuss.hangfire.io/t/firebird-storage-provider-available/700)

<div class="topic-metadata">

**Author:** [@rsegerink](https://discuss.hangfire.io/u/rsegerink)\
**Replies:** 1\
**Last updated:** [February 25, 2015, 2:47pm UTC](https://discuss.hangfire.io/t/firebird-storage-provider-available/700 "2015-02-25T14:47:36Z")

</div>

Hi, the initial version of the Firebird storage provider is now available: https://github.com/rsegerink/Hangfire.Firebird Based on the PostgreSQL provider, so thanks go to Frank Hommers. Not used in production at this …

---

## [Building Firebird storage support](https://discuss.hangfire.io/t/building-firebird-storage-support/686)

<div class="topic-metadata">

**Author:** [@rsegerink](https://discuss.hangfire.io/u/rsegerink)\
**Replies:** 2\
**Last updated:** [February 19, 2015, 7:51am UTC](https://discuss.hangfire.io/t/building-firebird-storage-support/686 "2015-02-19T07:51:22Z")

</div>

Hi Everyone, I've build a Firebird storage (wil make it available when it is ready, should be in a couple of days) and everything is working fine, but I've got one problem/question. Every time when the method Enqueue …

---

## [Enable automatic failover of master slave Redis Job store](https://discuss.hangfire.io/t/enable-automatic-failover-of-master-slave-redis-job-store/608)

<div class="topic-metadata">

**Author:** [@Rahul2009](https://discuss.hangfire.io/u/Rahul2009)\
**Replies:** 3\
**Last updated:** [January 29, 2015, 11:10am UTC](https://discuss.hangfire.io/t/enable-automatic-failover-of-master-slave-redis-job-store/608 "2015-01-29T11:10:50Z")

</div>

I am using Redis job store to persist delayed jobs created from Hangfire. I have a master redis node and 1 replica nodes. Is there any way I can achieve automatic fail over in case the master node goes down from hangfir…

---

## [Unable to see ALL the Succeeded Jobs](https://discuss.hangfire.io/t/unable-to-see-all-the-succeeded-jobs/519)

<div class="topic-metadata">

**Author:** [@Rahul2009](https://discuss.hangfire.io/u/Rahul2009)\
**Replies:** 3\
**Last updated:** [January 14, 2015, 8:40am UTC](https://discuss.hangfire.io/t/unable-to-see-all-the-succeeded-jobs/519 "2015-01-14T08:40:26Z")

</div>

I am new to HangFire and I am trying to create multiple scheduled jobs and using Redis as JobStore. On the HangFire Dashboard in the Succeeded Jobs section always shows Total Jobs: 100 even though on the left side menu i…

---

## [Basic SQL Server Config](https://discuss.hangfire.io/t/basic-sql-server-config/369)

<div class="topic-metadata">

**Author:** [@puzle](https://discuss.hangfire.io/u/puzle)\
**Replies:** 1\
**Last updated:** [November 10, 2014, 1:51pm UTC](https://discuss.hangfire.io/t/basic-sql-server-config/369 "2014-11-10T13:51:57Z")

</div>

In the documentation here: http://docs.hangfire.io/en/latest/users-guide/storage-configuration/using-sql-server.html#configuring-the-polling-interval It talks about Polling using MSMQ and then Redis. For our needs we…
