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

What to check to improve load job performance in DB2

Hi,

I am working on DB2 database performance. In our production environment daily jobs are running which are loading bulk of data in db2 database.

Loading the data into database is not taking much time but after loading the data we are running runstats on table in which we are loading the data.

Loading the data take only 5 minute to load million of record but runstats will take on hour to complete.

My question is can omit this runstats on daily basis. Instead of running daily can we run weekly will it going to impact query performance in any way?

Thanks..
Jan 10 '11 #1
1 2356
vijay2082
112 100+
Hi Ankur,

Yes you can omit the runstas on daily basis if the percentage os data loaded in the table is relativerly small as compared to the to teh total size of the table. post load you can also check for the queries aginst the table to make sure that's index are getitng used.

There is no similarity between load and runstats, both are distinct activity and take time according to the data in the underlying files or table as is the case.

Point is what is your issue in running the runstats that goes for an hour ? Is it hindering your work ? You can run the runstats in a throttled mode that will utilize less resources for your system. Also you can try scheduling load and runstats in a time period so that before business hour table is available for the business.

If you are still not sure about the timings for stats then you can leave it to the automatic maintenance stuff ( you need to enable it for the database), which will take care of the runstats and other maintenance activity.

Cheers, Vijay
Jan 11 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: querypk | last post by:
What is the fastest way to code this particular block of code below.. I used numeric for this currently and I thought it should be really fast.. But, for large sets of data (bx and vbox) it takes...
3
by: Leader | last post by:
Hi All, I am getting slower performance of select statements in MS SQL. I am finding select statements in MS SQL are even slower than MS ACCESS. Is there any way to improve the performance of...
5
by: charlies224 | last post by:
Hi, I am using SQL 2000 and has a table that contains more than 2 million rows of data (and growing). Right now, I have encountered 2 problems: 1) Sometimes, when I try to query against this...
7
by: Bing Wu | last post by:
Hi Folks, I have a very large table containing 170 million rows of coordinats: CREATE TABLE "DB2ADMIN"."COORDINATE" ( "FID" INTEGER NOT NULL , "AID" INTEGER NOT NULL , "X" REAL NOT NULL ,...
1
by: Oberfuhrer | last post by:
Hello all VB.net friends ! i have done most of my programming in assembly, at least so far. Recently i decided to learn a high level language for windows programming. I didnt take long to...
1
by: Hendry | last post by:
i want insert many rows into a table use javascript, but it was too slow when i insert 50 by 50 how can i improve the performance.
5
by: Tony Girgenti | last post by:
Hello. I'm trying to develop a web comsuming client using VS.NET 2003(VB), .NET Framework 1.1.4322, ASP.NET 1.1.4322, WSE2.0 on a WinXP Pro Sp2 comuter. If i comsume this web service:...
5
by: Sangs | last post by:
I have a table called DMPD_Product_Lookup_Dom. It is a lookup table which contains values for certain fields of other tables in the database. This takes long time to run. Is there any way to...
4
by: mrajanikrishna | last post by:
Hi friends, I have a page which has dropdownlists bound to data source controls. Its a big page has some input controls. How can I improve the page rendering time/ thanks
13
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...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.