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

Low Performance...

HI,

I am making the importation of 200.000 rows for one temporary table.
To leave of this temporary table insert, updates and deletes for other
tables are executed. However the reply time that I am time is very
high, 24h to execute 200.000. My environment is AIX 433, with DB2
7.2, Fixpak 8. If somebody will have some tip to improve this
performance, is grateful.

Best Regards

Schardosim
Nov 12 '05 #1
2 1789
"Schardosim" <sc******@hotmail.com> wrote in message
news:26**************************@posting.google.c om...
HI,

I am making the importation of 200.000 rows for one temporary table.
To leave of this temporary table insert, updates and deletes for other
tables are executed. However the reply time that I am time is very
high, 24h to execute 200.000. My environment is AIX 433, with DB2
7.2, Fixpak 8. If somebody will have some tip to improve this
performance, is grateful.

Best Regards

Schardosim


Not sure what you trying to do. Is this a declared global temporary table?
Are you inserting 200,000 rows or using the import command (which I am not
sure is possible on a declared global temporary table).

Please show all DDL for table and indexes, and all DML or commands that are
being executed.
Nov 12 '05 #2
The environment is the following one: I make import of an archive
text for a table (not declared global temporary table), a common
table. From this point it is that it starts has to occur low the
performance. In the TABLE01 (temporary table) import of the archive
is made text. Import is made daily. Each process of importation
loads 200,000 approximately rows.
CREATE TABLE TABLE01 (
COL01 INTEGER NOT NULL,
COLCOD02 CHAR(1) NOT NULL,
COL03 BIGINT NOT NULL,
COL04 CHAR(1) NOT NULL,
COL05 SMALLINT,
COL06 SMALLINT,
COL07 INTEGER,
COL08 SMALLINT,
COL09 DATE,
COL10 VARCHAR(70),
COL11 VARCHAR(70),
PRIMARY KEY (COL01)
);
Through the loaded information in the TABLE01 INSERTS UPDATES and
DELETES in other tables will be made. However for each row deals in
the TABLE01 is necessary to inquire if it exists in tabela02. That is
made through primary key. The existence or not existence in the
TABLE02 generate a process of INSERT, UPDATE or DELETE in other
tables and arrow one of the FLAGS related in the TABLE02.
CREATE TABLE TABLE02 (
COL01 INTEGER NOT NULL,
COLCOD02 BIGINT NOT NULL,
COL03 CHAR(1) NOT NULL,
COL04 VARCHAR(70) NOT NULL,
COL05 VARCHAR(70),
COL06 DATE,
COL07 CHAR(1),
COL08 VARCHAR(70),
COL09 CHAR(1) NOT NULL DEFAULT '0',
COL10 TIMESTAMP NOT NULL DEFAULT CURRENT TIMESTAMP,
COL11 TIMESTAMP NOT NULL DEFAULT CURRENT TIMESTAMP,
COLFLAG12 CHAR(1) NOT NULL DEFAULT '0',
COLFLAG13 CHAR(1) NOT NULL DEFAULT '0',
COLFLAG14 CHAR(1) NOT NULL DEFAULT '0',
PRIMARY KEY (COL01)
);
Who makes this process of distribution of data is a Stored Procedure
that contains the logic of as this distribution of data will occur.
The problem is that this this delaying around 24h, and I am not
obtaining to discover where this the pass.
The logic of stored procedure nothing more is of that to make FETCH in
the TABLE01 and through conditional commands, and some SELECTS in the
TABLE02, to discover which action to take when comparative with each
row of the TABLE02. Comment: TABLE02 contain 15.000.000 rows. I
thank the aid.

Best Regards

Schardosim

"Mark A" <ma@switchboard.net> wrote in message news:<5V******************@news.uswest.net>...
"Schardosim" <sc******@hotmail.com> wrote in message
news:26**************************@posting.google.c om...
HI,

I am making the importation of 200.000 rows for one temporary table.
To leave of this temporary table insert, updates and deletes for other
tables are executed. However the reply time that I am time is very
high, 24h to execute 200.000. My environment is AIX 433, with DB2
7.2, Fixpak 8. If somebody will have some tip to improve this
performance, is grateful.

Best Regards

Schardosim


Not sure what you trying to do. Is this a declared global temporary table?
Are you inserting 200,000 rows or using the import command (which I am not
sure is possible on a declared global temporary table).

Please show all DDL for table and indexes, and all DML or commands that are
being executed.

Nov 12 '05 #3

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

Similar topics

25
by: Brian Patterson | last post by:
I have noticed in the book of words that hasattr works by calling getattr and raising an exception if no such attribute exists. If I need the value in any case, am I better off using getattr...
12
by: Fred | last post by:
Has anyone a link or any information comparing c and c++ as far as execution speed is concerned? Signal Processing algorithms would be welcome... Thanks Fred
12
by: serge | last post by:
I have an SP that is big, huge, 700-800 lines. I am not an expert but I need to figure out every possible way that I can improve the performance speed of this SP. In the next couple of weeks I...
6
by: teedilo | last post by:
We have an application with a SQL Server 2000 back end that is fairly database intensive -- lots of fairly frequent queries, inserts, updates -- the gamut. The application does not make use of...
5
by: Scott | last post by:
I have a customer that had developed an Access97 application to track their business information. The application grew significantly and they used the Upsizing Wizard to move the tables to SQL...
115
by: Mark Shelor | last post by:
I've encountered a troublesome inconsistency in the C-language Perl extension I've written for CPAN (Digest::SHA). The problem involves the use of a static array within a performance-critical...
13
by: bjarne | last post by:
Willy Denoyette wrote; > ... it > was not the intention of StrousTrup to the achieve the level of efficiency > of C when he invented C++, ... Ahmmm. It was my aim to match the performance...
13
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make...
7
by: Michael D. Ober | last post by:
When calling Enqueue, the internal array may need to be reallocated. My question is by how much? In the old MFC array classes, you could tell MFC how many additional elements to add to the array...
1
by: jvn | last post by:
I am experiencing a particular problem with performance counters. I have created a set of classes, that uses System.Diagnostics.PerformanceCounter to increment custom performance counters (using...
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: 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...
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
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...
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...
0
tracyyun
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...
0
agi2029
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,...

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.