---
title: "Match Field Lengths"
canonical: "https://docs.perspectium.com/space/helium/2112606/Match%20Field%20Lengths"
format: markdown
---
By default, whenever a new text field is added to an existing table, the  DataSync Agent  will use  40  for lengths that are  less than 40 .  For text fields  greater than 40  in length, it will use the field length from the schema . To enable matching the length of the text fields, add the  <match_field_lengths/>  directive within your  agent.xml  configuration file.   NOTE : This directive will work for new fields only. Prerequisites  First, you will need to set up one of the Perspectium   DataSync Agents .   You should also   stop running your DataSync Agent   before making any Agent configuration changes. Procedure To match field lengths your DataSync Agent, follow these steps: