# How things work - history splitter - can edge remote history provider be shared with the history splitter?

**URL:** <https://forum.inductiveautomation.com/t/how-things-work-history-splitter-can-edge-remote-history-provider-be-shared-with-the-history-splitter/75147>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 16, 2023, 2:40pm UTC](https://forum.inductiveautomation.com/t/how-things-work-history-splitter-can-edge-remote-history-provider-be-shared-with-the-history-splitter/75147 "2023-06-16T14:40:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [June 16, 2023, 2:40pm UTC](https://forum.inductiveautomation.com/t/how-things-work-history-splitter-can-edge-remote-history-provider-be-shared-with-the-history-splitter/75147/1 "2023-06-16T14:40:52Z")

</div>

hi  
I got history splitter working and storing both locally and to remote history provider over gateway network.  
I had also separate history provider for storing data from Ignition Edge.

When i tried to use Edge history provider in History splitter settings as one of connections the storing did not work until i create separate local database connection and automatically history provider.

So fundamental question is when using history provider for edge remote sych this history provider cannot be used in the history splitter? Is there any fundamental reasoning behind that?

---

<div class="post-metadata">

**Author:** ![Bryson\_Prince](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bryson_prince/32/48866_2.png) [@Bryson\_Prince](https://forum.inductiveautomation.com/u/Bryson_Prince)\
**Post date:** [June 21, 2023, 11:05pm UTC](https://forum.inductiveautomation.com/t/how-things-work-history-splitter-can-edge-remote-history-provider-be-shared-with-the-history-splitter/75147/2 "2023-06-21T23:05:01Z")

</div>

Hi,

I'm having a little trouble understanding.

Are you syncing the Edge node's history to a remote history provider on a standard gateway? Are you then using a history splitter to take the history from the remote tag provider, and split it into a local database, and a remote database? Please give greater detail on what and where connections are being made

If you can provide an illustration of your architecture to give some more context that will be extremely helpful.

---

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [June 22, 2023, 8:39am UTC](https://forum.inductiveautomation.com/t/how-things-work-history-splitter-can-edge-remote-history-provider-be-shared-with-the-history-splitter/75147/3 "2023-06-22T08:39:01Z")

</div>

You understood it well.  
I was trying to use the same database connection from gateway 1 to the SQL database for both data synch and history splitter (local destination). This did not work until i created separate (second) database connection to use for the history splitter and point to the local sql database. I try to understand how things work and wonder if sharing the same connection is not possible?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/e/7e44b829a2483ad39e3040028e4170d32c84aa08.png)

---

<div class="post-metadata">

**Author:** ![Bryson\_Prince](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bryson_prince/32/48866_2.png) [@Bryson\_Prince](https://forum.inductiveautomation.com/u/Bryson_Prince)\
**Post date:** [June 22, 2023, 10:38pm UTC](https://forum.inductiveautomation.com/t/how-things-work-history-splitter-can-edge-remote-history-provider-be-shared-with-the-history-splitter/75147/4 "2023-06-22T22:38:57Z")

</div>

Hi,

What kind of database are you connecting to (Internal SQLite, MySQL, MSSQL, etc)? Did you have any database connections set up when the history splitter wasn't working?

Can you share screenshots of the configurations for your tag historian and history splitter?

---

<div class="post-metadata">

**Author:** ![Kurt.Larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kurt.larson/32/6426_2.png) [@Kurt.Larson](https://forum.inductiveautomation.com/u/Kurt.Larson)\
**Post date:** [June 23, 2023, 2:56pm UTC](https://forum.inductiveautomation.com/t/how-things-work-history-splitter-can-edge-remote-history-provider-be-shared-with-the-history-splitter/75147/5 "2023-06-23T14:56:16Z")

</div>

The two sources for the tag history splitter can be targeted towards historical providers that are _configured_ on the same gateway. Remote data sync (configured on the edge gateway) will target a historical provider that exists on a remote gateway.

Since the splitter exists as a historical provider, you would configure data sync to target the splitter provider on the edge gateway, and then have the splitter target Gateway 1 database and the remote historical provider pointing to Gateway 2.

---

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [June 23, 2023, 3:15pm UTC](https://forum.inductiveautomation.com/t/how-things-work-history-splitter-can-edge-remote-history-provider-be-shared-with-the-history-splitter/75147/6 "2023-06-23T15:15:47Z")

</div>

@Kurt.Larson @Bryson_Prince  
it works and the subject is well understood - many thanks
