473,505 Members | 15,381 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to find indexes working on a temporary table in UDB AIX.(UDB 8.1)

Hi Everybody,
We are using UDB v8.1
I will explain about my Stored procedures which we are executing in
UDB AIX box. We have 3 millions(apporox) of data in 22 tables. By
applying the business logic through Stored procedures on 22 tables and
writing into 3 new tables. We have used all temporary tables except
starting 22 tables. The Stored procedures we have used nearly 6
temporary tables to handle the business logic. Finally we are loading
into 3 permanent tables. For processing the above 3 million records it
took 29 hours, which should not happened to take that much time. We
are not able to find whether indexes which we have created on
temporary tables are working or not. We have tuned the same Stored
procedure and run in NT box for 1 lakh records it was executed in 6
min.
Can anybody will give a command to find whether indexes are working or
not? and one more question what is the limit, for which indexes will
work on temporary tables?
I will appreciate, if I get the solution as soon as possible. We are
in deep trouble. Please help me on this.

Thanks and Regards,
Sampath Reddy G.
Chennai - india
Nov 12 '05 #1
1 2590

"Sampath Reddy" <gs********@yahoo.com> wrote in message
news:4f**************************@posting.google.c om...
Hi Everybody,
We are using UDB v8.1
I will explain about my Stored procedures which we are executing in
UDB AIX box. We have 3 millions(apporox) of data in 22 tables. By
applying the business logic through Stored procedures on 22 tables and
writing into 3 new tables. We have used all temporary tables except
starting 22 tables. The Stored procedures we have used nearly 6
temporary tables to handle the business logic. Finally we are loading
into 3 permanent tables. For processing the above 3 million records it
took 29 hours, which should not happened to take that much time. We
are not able to find whether indexes which we have created on
temporary tables are working or not. We have tuned the same Stored
procedure and run in NT box for 1 lakh records it was executed in 6
min.
Can anybody will give a command to find whether indexes are working or
not? and one more question what is the limit, for which indexes will
work on temporary tables?
I will appreciate, if I get the solution as soon as possible. We are
in deep trouble. Please help me on this.

Thanks and Regards,
Sampath Reddy G.
Chennai - india

Capture the access plan you could find out if the temporary table use
indexes or not. I never did this. But I remembered I ever asked this
question and the instructor did the test and told me the result.
Nov 12 '05 #2

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

Similar topics

11
4584
by: Hemant Shah | last post by:
Folks, I have a perl script that creates and uses global termporary table. This script worked fine with UDB 7.2 on AIX. Sometime ago I moved the database to UDB 8 on Linux. The select statement...
1
5734
by: Raquel | last post by:
Here is the scenario: 1. I create a unique index on a table. 2. I create a primary key on that table with same columns as the ones in the unique index by Alter table add primary key statement....
10
8221
by: Troels Arvin | last post by:
Hello, At http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems it's stated that DB2 doesn't have bitmap indexes. This seemed strange to me, so I tried looking in...
2
1861
by: UnixSlaxer | last post by:
Hello, I am using DB2-UDB 8.2, when running the design advisor, It exists tells me that "catalog simulation requires that the server be at level V8.0 or newer", although the DB2 version is 8.2...
5
1682
by: bughunter | last post by:
For example - very large table with a lot indexes and updates work very slow. I'd like found unused or rarely used indexes. How? Yes, for static I found all sql in packages and, after analyse,...
16
2121
by: romicva | last post by:
I've recently upgraded from 8.1.4 to 8.2.3. System slowed down noticably. Explain shows that indexes are not used. I did reorgs on indexes and tables, collected stats on key fields with detail...
2
1732
by: alex.mcshane | last post by:
Hi - I would be grateful for guidance regarding the following. (Please note that my DB2 backgorund is principally OS/390. I have only recently become involved in DB2 for LUW). OVERVIEW I...
15
1892
by: MLH | last post by:
Mr Leigh Purvis gave me a very clever piece of SQL to accomplish what is probably an uncommon objective. In it, he uses the EXISTS operator. I can find no documentation on it in A97 HELP. I would...
11
6254
by: rawu | last post by:
hi , all . I got a question about creating indexes in db2 . a table has 44236333 rows an index planed to be build include 2 field ( 6 byte ) accordding to db2 document temporary...
0
7216
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
7098
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
7367
jinu1996
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...
1
7018
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
7471
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...
1
5028
isladogs
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...
0
4699
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1528
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 ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.