Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

SQL Help : Left join - response (2) by Qaisar Aftab Kiani

$
0
0
Queries aborting due to insufficient spool is because the quantity of data that is brought in spool for joining between the two tables is more than the allocated spool space for the user. Mostly this is because of improper primary index selection, because the rows needs to be on the same AMP to be joined together regardless of the type of join inner/outer. BETWEEN clause is more resource intensive and normally ends up in full table scan. You need to assign more spool space to the user.

Viewing all articles
Browse latest Browse all 27759

Trending Articles