# Is it possible to change the History table default varchar(255) "stringvalue" to something larger?

**URL:** <https://forum.inductiveautomation.com/t/is-it-possible-to-change-the-history-table-default-varchar-255-stringvalue-to-something-larger/14702>\
**Category:** Ignition\
**Created:** [July 6, 2017, 1:42pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-change-the-history-table-default-varchar-255-stringvalue-to-something-larger/14702 "2017-07-06T13:42:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bob/32/16899_2.png) [@Bob](https://forum.inductiveautomation.com/u/Bob)\
**Post date:** [July 6, 2017, 1:42pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-change-the-history-table-default-varchar-255-stringvalue-to-something-larger/14702/1 "2017-07-06T13:42:55Z")

</div>

Is it possible to change the History table default varchar(255) size for the “stringvalue” column to something larger?

I’m sure I can do this manually, but I would like all the partition tables that get created automatically by the Gateway History settings to use the larger “stringvalue” column size also.

I am using Ignition v7.9.2

Thank you,  
Bob

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [August 25, 2023, 6:13pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-change-the-history-table-default-varchar-255-stringvalue-to-something-larger/14702/3 "2023-08-25T18:13:21Z")

</div>

There are some workable solutions over in this thread:

> [@Tag history string length](https://forum.inductiveautomation.com/t/tag-history-string-length/43274):
>
> Using version 8.1.2 I started with internal tag history which worked great with long JSON strings. I added a push to remote server using MariaDB connection with regular tag historian db. I updated the Table definition as varchar(10000) but still getting error message. java.sql.BatchUpdateException: Data truncation: Data too long for column ‘stringvalue’ at row 1
