sql - Temp Table cannot load content without timing out -
when trying load page times out after time , have no idea how edit query , fix problem.
the sql follows:
<createtemptable nml-type="string"> declare global temporary table temp_tdt (subject_id_num bigint) on commit preserve rows not logged replace </createtemptable>
the dataset not long @ still times out.
there has never been problem having no index in past, loaded data no problem, instead of loading data times out first time , goes loading fast. sql written in websphere in xlm file. looking more efficient way.
we're missing lot of detail here. either temporary table created every user (every new connection) or every app restart, plus there no indexes on temp table.
do timeouts occur on first invocation or after while? best change proper table indexed , if timeouts, analyse queries run against it.
Comments
Post a Comment