473,385 Members | 1,506 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,385 software developers and data experts.

Tablespace issue

I got an error like this below. I already have a tablespace using 32K
pagesize.

The message below also says:
"If such a table space
already exists, eliminate one or more columns from the system
temporary table. "

But how do I do this?

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>
SQL1585N A system temporary table space with sufficient page size does
not exist.

Explanation:

One of the following conditions could have occurred:

1. The row length of the system temporary table exceeded the
limit that can be accommodated in the largest system
temporary table space in the database.

2. The number of columns required in a system temporary table
exceeded the limit that can be accommodated in the largest
system temporary table space in the database.

The system temporary table space limits depend on its page size.
These values are:
Max Max Page size of
Record Cols temporary
Length table space
----------- ---- ------------
1957 bytes 244 2K
4005 bytes 500 4K
8101 bytes 1012 8K
16293 bytes 1012 16K
32677 bytes 1012 32K
User Response:

Create a system temporary table space of a larger page size
supported, if one does not already exist. If such a table space
already exists, eliminate one or more columns from the system
temporary table. Create separate tables or views, as required,
to hold additional information beyond the limit.

sqlcode : -1585

sqlstate : 54048

Aug 2 '06 #1
5 5235
The select statement was like this:

select Table1.ID, Table2.ID, Table1.user from Table1, Table3, Table2
where (LOCATE(Table1.ID, Table3.fullID) 0) AND (LOCATE(Table3.ID,
Table2.fullID) 0) AND ((upper(Table1.user)=upper('admin')) OR
(upper(Table2.creator)=upper('admin'))) AND (Table1.isActive = '1')
ORDER BY upper(Table1.user);

Thanks for your help,
DW

de*********@yahoo.com wrote:
I got an error like this below. I already have a tablespace using 32K
pagesize.

The message below also says:
"If such a table space
already exists, eliminate one or more columns from the system
temporary table. "

But how do I do this?

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>
SQL1585N A system temporary table space with sufficient page size does
not exist.

Explanation:

One of the following conditions could have occurred:

1. The row length of the system temporary table exceeded the
limit that can be accommodated in the largest system
temporary table space in the database.

2. The number of columns required in a system temporary table
exceeded the limit that can be accommodated in the largest
system temporary table space in the database.

The system temporary table space limits depend on its page size.
These values are:
Max Max Page size of
Record Cols temporary
Length table space
----------- ---- ------------
1957 bytes 244 2K
4005 bytes 500 4K
8101 bytes 1012 8K
16293 bytes 1012 16K
32677 bytes 1012 32K
User Response:

Create a system temporary table space of a larger page size
supported, if one does not already exist. If such a table space
already exists, eliminate one or more columns from the system
temporary table. Create separate tables or views, as required,
to hold additional information beyond the limit.

sqlcode : -1585

sqlstate : 54048
Aug 2 '06 #2
<de*********@yahoo.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
>I got an error like this below. I already have a tablespace using 32K
pagesize.

The message below also says:
"If such a table space
already exists, eliminate one or more columns from the system
temporary table. "

But how do I do this?
Are you sure you have a system temporary tablespace with 32K page size. This
is different than a regular tablespace.
Aug 2 '06 #3
Mark A wrote:
<de*********@yahoo.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
>>I got an error like this below. I already have a tablespace using 32K
pagesize.

The message below also says:
"If such a table space
already exists, eliminate one or more columns from the system
temporary table. "

Are you sure you have a system temporary tablespace with 32K page size.
This is different than a regular tablespace.
....and also different from USER temp tablespaces.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Aug 2 '06 #4
Thanks to both of you. I didn't realize that system temp table space
and user table space are different.
DW

Knut Stolze wrote:
Mark A wrote:
<de*********@yahoo.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
>I got an error like this below. I already have a tablespace using 32K
pagesize.

The message below also says:
"If such a table space
already exists, eliminate one or more columns from the system
temporary table. "
Are you sure you have a system temporary tablespace with 32K page size.
This is different than a regular tablespace.

...and also different from USER temp tablespaces.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Aug 8 '06 #5
Hi guys,
I also like to know whether I need to make this table space available
to the databse user? Since this is system temp tablespace it need not
be avilable to the user right?
Thanks,
DW

denero_w...@yahoo.com wrote:
Thanks to both of you. I didn't realize that system temp table space
and user table space are different.
DW

Knut Stolze wrote:
Mark A wrote:
<de*********@yahoo.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
>>I got an error like this below. I already have a tablespace using 32K
>pagesize.
>>
>The message below also says:
>"If such a table space
>already exists, eliminate one or more columns from the system
>temporary table. "
>
Are you sure you have a system temporary tablespace with 32K page size.
This is different than a regular tablespace.
...and also different from USER temp tablespaces.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Aug 8 '06 #6

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

Similar topics

2
by: Pattnayak | last post by:
Hi, when i am trying to create a table in Db2, and specifies the tablespace as default,it gives an error saying "There is no default tablespace".Can anybody please help me out to assign a...
5
by: Christian Traber | last post by:
Hi! just playing with tablespaces... - moved a existing table to a new tablespace - tried to move it back to default tablespace (ALTER TABLE accounts SET TABLESPACE pg_default;) Got the...
0
by: Lan W via DBMonster.com | last post by:
I tried to restore DB2 UDB two databases into two different instances on AIX server. the raw devices size of rShortSpace0 and rShortSpace1 on the two instances are the same. # lsvg -l datavg...
2
by: Raghava | last post by:
hi all, i was working on DB2 and came across an issue. i.e. can a tablespace be rollforwarded to POINT-IN-TIME? the scenario is as follows: i created a data base and a tablespace in it. i have...
7
by: satish mullapudi | last post by:
Hi All, I am using Db2 UDB v 8.2 on RHEL . I have performed a load operation on a table. Now that tablespace has been switched into RESTORE PENDING state. Now I can only read the data in the...
0
by: wugon.net | last post by:
Env: DB2 LUW V8 + FP14 AIX 5.3 Problem Description: Our production database create one big temporary tablespace to do off- line reorg, after reorg complete, we drop this tablespace online...
2
by: Rahul Babbar | last post by:
Hi, I am unable to reorganise the tables and get an error "SQL2216N SQL error "-968" occurred while reorganizing a database table or its indexes." Further, i find that all these tables...
3
by: BD | last post by:
Hi, folks. Sorry about this - I have been R'ing all TFM's I can find, but am just getting more frustrated. Background: db2 UDB 8.1 on Windows. I'm quite new to db2, but have several...
2
by: holdingbe | last post by:
Hi , I am deleting the large amount of data in table using the delete statements .After that I have checked tablespace, there is no change in tablespace memory. But when using truncate statements,I...
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.