I have created an MDC table using UDB ESE v8.1 fixpack 6 on AIX 5.1.
The table is organized by 3 columns with a product of 100 * 3 * 5
values -- only 1500 values. When I try to use the load utility to
insert only 5000 rows of data, the load fails in the build phase with
an SQL03011C. I see messages in the diag log that the utility was
unable to obtain memory for the sortheap. However, I see no evidence
of memory constraint on the system when I do an lsps -a or a vmstat. I
have changed the ulimit for data to unlimited.
Any ideas? Thanks in advance for any help on this. 1 1904
David Frankel wrote: I have created an MDC table using UDB ESE v8.1 fixpack 6 on AIX 5.1. The table is organized by 3 columns with a product of 100 * 3 * 5 values -- only 1500 values. When I try to use the load utility to insert only 5000 rows of data, the load fails in the build phase with an SQL03011C. I see messages in the diag log that the utility was unable to obtain memory for the sortheap. However, I see no evidence of memory constraint on the system when I do an lsps -a or a vmstat. I have changed the ulimit for data to unlimited.
Any ideas? Thanks in advance for any help on this.
David,
Are you sure that it is not your UTIL_HEAP_SZ which needs to be increased ?
There were some problems pre-Stinger with the algorithm for finding where
to put a row of data, and if you can you'd be advised to put FP7a on.
Handy Hint : I've found that the fastest way to load MDC tables, if you can
spare the disk space, is to create a non-MDC version, load that then load
the MDC from a cursor opened on the non-MDC (with an ORDER BY dimensions
clause).
Another Hint : try to ensure that the extent size you choose will result in
mostly full extents for the cells. Otherwise you could end up wasting a
lot of space, and actually making your performance worse.
All this, and more, will be covered in a one day seminar on DB2 V8 and
Beyond which I plan to be teaching on 16th November in Birmingham (UK).
HTH
Phil This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: R. Clausen |
last post by:
During the night we replicate multiple tables from a production
database to a test database. Due to a server disk space full
condition occurring while replication was running, a tablespace was
left in 'Load Pending' status. This tablespace has about 20 tables in
it. I ran the load/terminate command and have now come to
understand that the message
'SQL3508N Error in accessing a file or path of type
"RESTART/TERMINATE INFO" during...
|
by: JS |
last post by:
EE instance DB2 v7.2.0 fixpack 3 on WIN2K.
I select some data from a table A and write it to a file using the COALESCE
function and whitespace as the null character:
eg coalesce(col1, ' '). This column has 10,000 nulls in table A.
Select count(*) from table A where col1 is null=10,000
Using the load utlity, I load the data file as follows into table B which
has not null constraint on col1:
LOAD FROM LOAD.TEST OF ASC
MODIFIED BY...
|
by: DB2 Novice |
last post by:
I am trying to use DB2 Control Centre (version 8.2) to load one flat
file into multiple tables. However, I don't see the options in Control
Centre that allows that.
Anyone knows how to do this?
DB2 Novice
|
by: db2udbgirl |
last post by:
Env: DB2 UDB 8.2, AIX 5.3
While trying to load data (73 Million rows, Medium size table uses 4K
tablespace) into a table using cursor it fails with "SQL0964C The
transaction log for the database is full. SQLSTATE=57011"
But I felt that Load utility wont log any acvitities on the database.
Here it what I tried to do
db2 "declare c1 cursor for select CAST(PARTITIONING_NBR AS CHAR(10)),
VEH_IDENT_NBR, OPTN_CD, VIN_TYPE_CD,...
|
by: dbagirltx |
last post by:
We have done some testing with mixed and forgotten results. So I'm
hoping that asking here can clarify some issues for us. Right now we do
one weekly warm backup. Throughout the week there are multiple
unrecoverable loads. We are tyring to come up with the best backup
strategy for this system? It is a large dev data warehouse.
What happens when a table is loaded unrecoverable and then we need to
restore (no DDL has been done)? Can we...
| |
by: huyuhui |
last post by:
The following is a question of LOAD utility.
Question:
How does the DB2 enforce table check constraints for data added to
table with the LOAD utility?
A. With the BUILD phase of LOAD
B. With the SET INTEGRITY statement
C. With the DELETE phase of the LOAD
D. With the UPDATE CONSTRAINTS statement
Answer is A
|
by: contractsup |
last post by:
Environment:
$ uname -a
AIX <withheld2 5 000100614C00
$ db2level
DB21085I Instance "<withheld>" uses "32" bits and DB2 code release
"SQL08024"
with level identifier "03050106".
Informational tokens are "DB2 v8.1.1.104", "s060120", "U805924", and
|
by: Ultrak The DBA |
last post by:
UDB Version 8.2 FP7 (r"DB2 v8.1.1.128", "s061108", "U810098", and
FixPak
"14".) 64 bit running on AIX 5.3.
We were getting the SQL0668 error below so we put the status sql into
the script to see the table state right before the cursor/load ran.
The table did not seem to be in a bad state. We switched this cursor/
load back to a regular export/load and the issue went away. We are
doing several cursor loads on some 52Million row tables...
|
by: danfan46 |
last post by:
Hi.
I'm on DB2 9.5.0.1 on Linux AMD 64 and the database has four
partitions
where catalog is on partion 0 and user data on 1 thru 3.
After a load failure (path to load file was wrong) I cannot access the
tables, even though the loads have been rerun with success.
set integrity for ..table..
|
by: rdudejr |
last post by:
Hi all,
I hardly ever make a post unless I am having a very purplexing issue,
so this one should be good...
I am trying to do a load against a database on an AIX server into a
DB2 v9.1 database, using SAN for storage. The table has a few CLOBs
(smallish clobs but we are storing XML data in non-native format).
Here is the load command I am using:
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
| |
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |