Tableau Accommodating Data and File Size Limitations in Jet Data Sources

When you connect to a data source based on the Microsoft Jet Database Engine, such as Microsoft Excel or Access or a plain text (CSV) file, you may encounter unexpected issues that are related to limitations in the Jet data engine. This article focuses on limitations related to data and file size. For information about other types of limitations, see the articles listed under Related Articles.
Note: Jet limitations might occur in workbooks created in Tableau Desktop 8.1 and earlier that use Excel and text file data sources, and workbooks that use the jet-based legacy connection and Microsoft Access data sources. To avoid Jet data limitations, consider upgrading your Excel or text file data sources. For more information, see Upgrading Data Sources in Desktop Help.

Known data or file size limitations

  • Working with large CSV files can be problematic.There is no explicit or documented file-size limit, but based on testing by Tableau Development, a general guideline is to keep CSV file size smaller than 4GB if possible. Even if you can connect to a CSV file larger than 4GB, taking an extract might cause an error such as Query too complex.

    In addition, when you try to connect to a large CSV file, an error might occur that suggests that your computer does not have enough temporary disk space, even if it does. This is caused by a size limitation of 2GB for temporary files that Jet generates. If you get this error, check your Windows Temp folder for a .tmp file with a name that begins with JET and a file size of approximately 2GB.
  • Table size is limited to 255 columns (fields). In most cases Jet will fail when it reaches this limit.
  • Union joins contain more than 255 columns. If a Union join contains more than 255 columns, the following error will occur: Database error 0x800004005: Too many fields defined.
  • Memo fields in Access data sources might be truncated after 255 characters.
  • Table and file names are limited to 64 characters. If a table or file name exceeds this limit, when you connect to the data source from Tableau, you might get any of the following error messages:
    • An error occurred while communicating with data source  with an additional suggestion to check your permissions.
    • , then a suggestion to check for punctuation or other invalid characters.
    • Unable to open the text file…, with a suggestion that you confirm the file type and your permissions.
    • The table does not exist.
  • Field names are limited to 255 characters. Although Jet can read fields with names that are longer, many operations that you perform on those fields cause an Unknown error. This limitation also causes fields to disappear silently when you create an extract.
Note: Another cause of an Unknown error is outdated or corrupted Jet drivers. For more information, see the links in the Related Articles sections.

Working around issues caused by size limitations

If the issue you have encountered is caused by a column, table, or file name that exceeds the limited number of characters, the most reliable way to resolve the issue is to change the name at the data source level.
If you have a data source that contain more than 255 columns, or the data source file size is exceptionally large, you might get it to work if you separate the table into smaller sections (each with fewer than 255 columns), and then in Tableau, connect using multiple tables and joins. To do this, you will need a field to use as a unique key for the join. For example, create a row number field converted to string data type.
If performance is slow after you have connected to the tables, you might want to take an extract.
Note: Even if this workaround enables you to connect to the data, when you select View Data, you might get the following error: Database error 0x800004005: Too many fields defined.
Tip: You can find useful information and workarounds for these and other Jet-related issues on the Tableau community forums. See also Connect to Data and its sub-topics in the Desktop Help.