KNOWLEDGE BASE

Error "Vizqlserver - ERROR: insert or update on table "views_stats" violates foreign key constraint..." Appears in Logs


Published: 09 Jan 2016
Last Modified Date: 13 Sep 2016

Issue

The following error is found in the Tableau Server log files:

Vizqlserver - ERROR: insert or update on table "views_stats" violates foreign key constraint "views_stats_view_id_fkey"
Detail: Key (view_id)=(-1) is not present in table "views" in the Tableau Server logs several times a day.

Environment

Tableau Server

Resolution

This error is benign and safe to ignore; there are no known issues related to this error message.
Did this article resolve the issue?