Loading TOC...

SQL-COLUMNLIMIT

Message Text

SQL query exceeded column limit: SQL query requires too many columns (variable1) from one view

Cause

The query selects more columns from the same view than can be handled without running into memory problems. This usually occurs when a query uses SELECT * on a view with a large number of columns.

Response

Select only the columns you actually require, or change your view models to limit the number of columns in each view to no more than a couple hundred.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.