Re: Informix turbu/online restriction
Posted in 1991
Jim Gordon writes:
> I have a 2.5 million row table from which I am trying to produce a 4gl
> report. It fails, of course, because the temporary table built runs
> out of extents.
Here's an idea that might help, depending on the nature of the select
statement, and the reason that the SQL engine is creating a temp table:
You can create the temp table explicitly yourself, specifying an appropriate
extent size:
create temp table xyz .... extent size ...
Then you might be able to break the select into 2 parts, with the first part,
the part that needed the temp table, inserting its results into xyz, and the
the second part extracting the data from xyz, and outputing it to the report.
Again, this depends on being able to split the select up in an appropriate
way; 'set explain on' might help you figure out what part of the select
requires the temp table.
Hope this helps ...
-- Harry Bochner
-- bochner@das.harvard.edu