Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

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 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>