473,382 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Two tempspaces on database

I have the default TEMPSPACE1 (4K) in my database and another 4K
tempspace (T_0001) of bigger size. A particular query failed with "File
System full error" db2diag.log shows the following error message

2006-04-16-20.34.55.088285-240 E1002439A714 LEVEL: Error
PID : 643166 TID : 1 PROC : db2pclnr 3
INSTANCE: cardm1in NODE : 003
FUNCTION: DB2 UDB, buffer pool services, sqlbClnrAsyncWriteCompletion,
probe:0
MESSAGE : ADM6017E The table space "TEMPSPACE1" (ID "1") is full.
Detected on
container
"/udb/udbdata/cardm1in/cardm1in/NODE0003/SQL00001/SQLT0001.0"
(ID
"0"). The underlying file system is full or the maximum
allowed
space usage for the file system has been reached. It is also
possible
that there are user limits in place with respect to maximum
file size
and these limits have been reached.

My questions
1. Does this mean that I need to drop the default TEMPSPACE1 tablespace
so that my query would use the big T_0001 tablespace ?
2. Will DB2 round robin between temporary table spaces of the same page
size ?
PS: Env : UDB 8.1 FP 10, AIX 5.3

Thanks,
db2udbgirl.

Apr 17 '06 #1
6 5149
"db2udbgirl" <db********@gmail.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
I have the default TEMPSPACE1 (4K) in my database and another 4K
tempspace (T_0001) of bigger size. A particular query failed with "File
System full error" db2diag.log shows the following error message

2006-04-16-20.34.55.088285-240 E1002439A714 LEVEL: Error
PID : 643166 TID : 1 PROC : db2pclnr 3
INSTANCE: cardm1in NODE : 003
FUNCTION: DB2 UDB, buffer pool services, sqlbClnrAsyncWriteCompletion,
probe:0
MESSAGE : ADM6017E The table space "TEMPSPACE1" (ID "1") is full.
Detected on
container
"/udb/udbdata/cardm1in/cardm1in/NODE0003/SQL00001/SQLT0001.0"
(ID
"0"). The underlying file system is full or the maximum
allowed
space usage for the file system has been reached. It is also
possible
that there are user limits in place with respect to maximum
file size
and these limits have been reached.

My questions
1. Does this mean that I need to drop the default TEMPSPACE1 tablespace
so that my query would use the big T_0001 tablespace ?
2. Will DB2 round robin between temporary table spaces of the same page
size ?
PS: Env : UDB 8.1 FP 10, AIX 5.3

Thanks,
db2udbgirl.


1. Are you sure that T_0001 is a system temporary tablespace, or could be it
be a user temporary tablespace?

2. Yes, if they are both of the same kind (i.e., system temporary
tablespaces).
Apr 17 '06 #2
1. Yes it is a system temporary tablespace

Name = T_0001
Type = Database managed space
Contents = System Temporary data
State = 0x0000
Detailed explanation:
Normal

So to resolve the problem I think that I need to drop the default
TEMPSPACE1 tablespace show that DB2 would always use the big TEMPSPACE.
Is this assumption correct ?

Thanks,
db2udbgirl.

Apr 17 '06 #3

"db2udbgirl" <db********@gmail.com> wrote in message
news:11**********************@e56g2000cwe.googlegr oups.com...
1. Yes it is a system temporary tablespace

Name = T_0001
Type = Database managed space
Contents = System Temporary data
State = 0x0000
Detailed explanation:
Normal

So to resolve the problem I think that I need to drop the default
TEMPSPACE1 tablespace show that DB2 would always use the big TEMPSPACE.
Is this assumption correct ?

Thanks,
db2udbgirl.


Yes, that will work fine if the T_0001 is large enough.

BTW, SMS is recommended for system temporary tablespaces because it takes
longer to create a table in DMS (as it optimizes space), and system
temporary tables need to be created and dropped quickly during the execution
of an SQL statement.
Apr 17 '06 #4
oh ok. Thanks for the info. I will look into it.

Thanks,
db2udbgirl.

Apr 17 '06 #5
Please correct me if I am wrong.

can you revoke USE priviledge of TEMPSPACE1 from this user, so the user
will have to user the larger tmpspace you created?

Apr 17 '06 #6
mike_li wrote:
Please correct me if I am wrong.

can you revoke USE priviledge of TEMPSPACE1 from this user, so the user
will have to user the larger tmpspace you created?

The USE privilege cannot be used with SYSTEM temporary table spaces.

Apr 19 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Cherrish Vaidiyan | last post by:
sir, The following are the steps that i followed in setting up standby database on Red hat Linux 9. i am using Oracle 9i. i have followed the steps in this site : ...
6
by: Marvin Libson | last post by:
Hi All: I am running DB2 UDB V7.2 with FP11. Platform is Windows 2000. I have created a java UDF and trigger. When I update my database I get the following error: SQL1224N A database...
8
by: Kamlesh | last post by:
Hi, How do I know the physical database path of a database. When I goto the DB2INSTANCE users's directory (/home/db2inst1), I see following folders: /db2inst1/NODE0000/SQL00001...
1
by: pintur | last post by:
The message is: SQL1036C Errore di I/O durante l' accesso al database. SQLSTATE=58030 what is the proble? what for restore tables? thanks
3
by: josh.kuo | last post by:
Sorry about the subject, I can't think of a better one. I recently wrote some PHP classes that I think might be of interest to this group. Since I have been reaping the benefits of reading news...
0
by: Jack | last post by:
Training Classes for Oracle10g, 9i, 8i Certification training in Oracle10g and 9i: DBA, Developer, Discoverer. training conducted at your location worldwide. Courseware licensing also available....
0
by: Winder | last post by:
Training Classes for Oracle10g, 9i, 8i Certification training in Oracle10g and 9i: DBA, Developer, Discoverer. training conducted at your location worldwide. Courseware licensing also available....
0
by: Laurynn | last post by:
# (ebook - pdf) - programming - mysql - php database applicati # (Ebook - Pdf)Learnkey How To Design A Database - Sql And Crystal Report # (ebook-pdf) E F Codd - Extending the Database Relational...
9
by: Peter Duniho | last post by:
Is there a straightfoward API in .NET that allows for inspection of a database? That is, to look at the structure of the database, without knowing anything in advance about it? For example,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.