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

Database Maxspool - forum topic by Elle

$
0
0

Hello,
 
I understand how maxspool works for users and profiles, but am uncertain if the same rules or sizing techniques apply when creating a database.  So when I am creating a database (NOT user, NOT profile) what impact does the Spool settings have on queries?  What would be a general rule of thumb for setting spool (and temp) space for a database?
Thanks for your assistance!
 
Excerpt from "Database Administration - 13.10 " PDF
 
When using the CREATE USER, CREATE DATABASE, or CREATE PROFILE statements to
assign spool space limits, consider the settings of the following space levels, which are listed in
the DBC.DiskSpaceV view.
 
MaxSpool
A value used to limit the number of bytes the system allocates to create spool
files for a user.
The value you specify may not exceed the value of the immediate parent
(database or user) at the time you create the user. If you do not specify a value,
MaxSpool defaults to the MaxSpool value of the parent.
Specify the spool limit of each user, taking into consideration the tables they
access, to reduce the impact of “runaway” transactions, such as accidental
Cartesian product joins.

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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