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

Problem when migrating DB from v7 to v8

Dear all,

I am using DB2 for AIX, I have the following problem when migrating my DB
from DB2 v7.2 to v8.1

I orginally have a table with a CLOB field with logged and not compact
properties. We I use db2look to obtain the structure, the following is the
output:

CREATE TABLE "TEST"."TEST1" (
"ID" CHAR(4) NOT NULL ,
"TRACE" CLOB(4096) LOGGED NOT COMPACT );

When I migrated this DB to DB2 v8.1, when I run the db2look again, the CLOB
field changed to " NOT LOGGED NOT COMPACT" ie.

CREATE TABLE "TEST"."TEST1" (
"ID" CHAR(4) NOT NULL ,
"TRACE" CLOB(4096) NOT LOGGED NOT COMPACT );

However, when I select the table structure from the syscat.columns view in
DB2 v8.1, the LOGGED field is turned ON. ie:

db2 "select substr(TABNAME,1,20), substr(COLNAME,1,20), LOGGED, compact from
syscat.columns

1 2 LOGGED COMPACT
-------------------- -------------------- ------ -------
TEST ID
TEST TRACE Y N
Does anyone knows why there is such a difference?

Thank you !

Deacon
Nov 12 '05 #1
3 2758
ssg
Hi Deacon,

I am the db2look owner. I couldn't reproduce this problem on my
machine, both NT and AIX. Could you please try to create a new table
with CLOB column and run db2look again? Please let me know if you can
recreate the problem.

Thanks.

"Deacon" <de****@hkem.com> wrote in message news:<bv**********@imsp212.netvigator.com>...
Dear all,

I am using DB2 for AIX, I have the following problem when migrating my DB
from DB2 v7.2 to v8.1

I orginally have a table with a CLOB field with logged and not compact
properties. We I use db2look to obtain the structure, the following is the
output:

CREATE TABLE "TEST"."TEST1" (
"ID" CHAR(4) NOT NULL ,
"TRACE" CLOB(4096) LOGGED NOT COMPACT );

When I migrated this DB to DB2 v8.1, when I run the db2look again, the CLOB
field changed to " NOT LOGGED NOT COMPACT" ie.

CREATE TABLE "TEST"."TEST1" (
"ID" CHAR(4) NOT NULL ,
"TRACE" CLOB(4096) NOT LOGGED NOT COMPACT );

However, when I select the table structure from the syscat.columns view in
DB2 v8.1, the LOGGED field is turned ON. ie:

db2 "select substr(TABNAME,1,20), substr(COLNAME,1,20), LOGGED, compact from
syscat.columns

1 2 LOGGED COMPACT
-------------------- -------------------- ------ -------
TEST ID
TEST TRACE Y N
Does anyone knows why there is such a difference?

Thank you !

Deacon

Nov 12 '05 #2
Has been reproduced by others. Please open an APAR if you want a fix.

Cheers
Serge
Nov 12 '05 #3
If i remember correctly ...there is an open APAR with IBM regarding
this issue. In some platforms(SOLARIS)...db2look will not give good
DB2LOOK output while creating USER TEMPORARY TABLESPACE.

Please check with IBM regarding this...This is a DB2LOOK problem..
they may give you an APAR or a FIXPACK..

cheers...
Shashi Mannepalli
"Deacon" <de****@hkem.com> wrote in message news:<bv**********@imsp212.netvigator.com>...
Dear all,

I am using DB2 for AIX, I have the following problem when migrating my DB
from DB2 v7.2 to v8.1

I orginally have a table with a CLOB field with logged and not compact
properties. We I use db2look to obtain the structure, the following is the
output:

CREATE TABLE "TEST"."TEST1" (
"ID" CHAR(4) NOT NULL ,
"TRACE" CLOB(4096) LOGGED NOT COMPACT );

When I migrated this DB to DB2 v8.1, when I run the db2look again, the CLOB
field changed to " NOT LOGGED NOT COMPACT" ie.

CREATE TABLE "TEST"."TEST1" (
"ID" CHAR(4) NOT NULL ,
"TRACE" CLOB(4096) NOT LOGGED NOT COMPACT );

However, when I select the table structure from the syscat.columns view in
DB2 v8.1, the LOGGED field is turned ON. ie:

db2 "select substr(TABNAME,1,20), substr(COLNAME,1,20), LOGGED, compact from
syscat.columns

1 2 LOGGED COMPACT
-------------------- -------------------- ------ -------
TEST ID
TEST TRACE Y N
Does anyone knows why there is such a difference?

Thank you !

Deacon

Nov 12 '05 #4

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

Similar topics

0
by: Atul Kshirsagar | last post by:
I am embedding python in my C++ application. I am using Python *2.3.2* with a C++ extention DLL in multi-threaded environment. I am using SWIG-1.3.19 to generate C++ to Python interface. Now to...
8
by: Alban Hertroys | last post by:
Hello, I'm using psycopg to insert records in a number of threads. After the threads finish, another thread runs to collect the inserted data. Now, my problem is that psycopg let's my threads...
0
by: steve | last post by:
I am having huge problems migrating large db’s from one server to another. I use phpmyadmin to dump the data into a file, and then migrate it to my production server. Then I try to use this:...
6
by: Shai Levi | last post by:
Hi, I'm trying to migrate native c++ class to managed c++ class. The native class header definition looks as: class NativeClass { public: typedef void (CbFunc1)(int n,void* p);
1
by: JM | last post by:
Hi, Just recently one of my box went down due to filestsystem corruption.. Luckily I was able to recover my /var/lib/pgsql directory... now my problem lies on how to recover this data... all...
3
by: comzy | last post by:
Hi all, I have a peculiar problem. After migrating my existing asp.net 2003 project to 2005 my project works fine without any problem. The moment i thought of debugging it i came to face this...
1
by: tom.eeraerts | last post by:
Hello, I have a problem migrating an application from v5r2 to v5r3. The problem is with the prepared statements. To see what the problem is, i extracted a small piece of code and debugged the...
3
by: Gert van der Kooij | last post by:
Hi, Our SQL Replication is between DB2 databases on Windows servers. I'm searching for the document which tells me how to migrate our SQL Replication environment from V8 to V9 (we also need to...
1
by: John Dalberg | last post by:
I am migrating a web site project to a web application project as indicated at this page: http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx However when I try to compile, I get a...
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: 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...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.