# Database validation poll

**URL:** <https://forum.inductiveautomation.com/t/database-validation-poll/6624>\
**Category:** Ignition\
**Created:** [June 1, 2013, 1:38am UTC](https://forum.inductiveautomation.com/t/database-validation-poll/6624 "2013-06-01T01:38:41Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![rfbuehler](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rfbuehler](https://forum.inductiveautomation.com/u/rfbuehler)\
**Post date:** [June 1, 2013, 1:38am UTC](https://forum.inductiveautomation.com/t/database-validation-poll/6624/1 "2013-06-01T01:38:41Z")

</div>

The database connection polls the database every 10 seconds to validate its OK.

I have a SQL Bridge running thru a cell router (ATT & Sprint) that means a packet is sent and received every 10 seconds. Every packet is at least 1K of data. I have two databases that are required. that means at the minimum I am using 4K of banwidth every 10 seconds. This means (4 \* 360) = 1440K,

- 24hrs = 34M, \* 30 days = 1G data per month just to validate a database. I have 2 databases that means a minimum of 2G / mnth just to validate the connection.

If I can change the validation poll to 1M from 10 sec that will reduce the bandwith by a factor of 6 or only 345M for validation.

Is there a way to change the polling rate?

And if not can the be a feature request?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [June 5, 2013, 3:47pm UTC](https://forum.inductiveautomation.com/t/database-validation-poll/6624/2 "2013-06-05T15:47:50Z")

</div>

First of all: yes, we can add this as a feature request.

Your arithmetic is a bit flawed though. First of all you doubled it up (counted both database connections in the initial 4k figure, and then doubled again at the end to get to 2gb/mo). The other thing that seems highly suspect is your initial premise that “each packet is 1K of data”. How did you arrive at this figure?

---

<div class="post-metadata">

**Author:** ![rfbuehler](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rfbuehler](https://forum.inductiveautomation.com/u/rfbuehler)\
**Post date:** [June 5, 2013, 8:37pm UTC](https://forum.inductiveautomation.com/t/database-validation-poll/6624/3 "2013-06-05T20:37:05Z")

</div>

Here is my math. There is at lest 4 data packets for the select statment. The phone company round up to 1K on the packets.

So here we go.

4K every 4 seconds = 60K per minute

60K per minute \* 1440 minutes per day = 86.4M per day

86.4M / day \* 30 days = 2.59G per month

2 data bases = 5G per month just in validation polls.

If this could be reduced for the SQL bridge when sitting on a Cell network to once every 2 minutes it would reduce the data usage to 172M / month which would work.

I need to update the SQL databases once every 5 minutes with 4 transaction records, which should add about 150M to the data usage.

I set up a system to test this and the numbers I am seeing are matching the validation polls I have figured. I have a SQL bridge with 2 databases and U ran it for 4 days and my numbers match the high data usage.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [June 6, 2013, 5:24pm UTC](https://forum.inductiveautomation.com/t/database-validation-poll/6624/4 "2013-06-06T17:24:41Z")

</div>

Don’t you mean: 4K every 10 seconds = 24K per minute?

It seems really crazy to me that you’re being changed per packet with each packet rounded up to 1k. I mean, these packets are all well under 150 bytes. The entire exchange (which, by the way, is nine packets) adds up to 764 bytes. That’s under 1k, but you’re telling me you’re being charged for 9k? I have a hard time believing that anyone could bill in such a punitive manner. This is cell, right, not satellite? What a rip-off!!

Anyhow - I’ll add this as an option, it’ll be in 7.6.2 or 7.6.3.

---

<div class="post-metadata">

**Author:** ![rfbuehler](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rfbuehler](https://forum.inductiveautomation.com/u/rfbuehler)\
**Post date:** [June 6, 2013, 6:37pm UTC](https://forum.inductiveautomation.com/t/database-validation-poll/6624/5 "2013-06-06T18:37:29Z")

</div>

I know.

Calculating data usage is one thing real life is another.

That is why I put together a system to test and ran actual tests over several days and checked with the cell provider what the actual usage was.

---

<div class="post-metadata">

**Author:** ![rfbuehler](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rfbuehler](https://forum.inductiveautomation.com/u/rfbuehler)\
**Post date:** [November 2, 2013, 7:59pm UTC](https://forum.inductiveautomation.com/t/database-validation-poll/6624/6 "2013-11-02T19:59:44Z")

</div>

Any further development on this issue?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [November 6, 2013, 11:15pm UTC](https://forum.inductiveautomation.com/t/database-validation-poll/6624/7 "2013-11-06T23:15:13Z")

</div>

It’s slated for 7.6.5

---

<div class="post-metadata">

**Author:** ![samson.miller](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@samson.miller](https://forum.inductiveautomation.com/u/samson.miller)\
**Post date:** [November 26, 2013, 12:37am UTC](https://forum.inductiveautomation.com/t/database-validation-poll/6624/8 "2013-11-26T00:37:37Z")

</div>

This feature has been added to ignition v7.6.5 rc1.

---

<div class="post-metadata">

**Author:** ![MSSpg](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@MSSpg](https://forum.inductiveautomation.com/u/MSSpg)\
**Post date:** [March 26, 2014, 11:04pm UTC](https://forum.inductiveautomation.com/t/database-validation-poll/6624/9 "2014-03-26T23:04:17Z")

</div>

I have downloaded the beta version of 7.6.5… how is this polling feature accessed/modified?

---

<div class="post-metadata">

**Author:** ![samson.miller](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@samson.miller](https://forum.inductiveautomation.com/u/samson.miller)\
**Post date:** [March 31, 2014, 3:58pm UTC](https://forum.inductiveautomation.com/t/database-validation-poll/6624/10 "2014-03-31T15:58:19Z")

</div>

Configure-\>Database Connections-\>Edit. The setting you’re looking for is between enabled and failover datasource in the database connection edit form. The setting is called Validation Timeout.
