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

log files linux

i am a newbie of db2.
I need guidance in the following thing..

where can i find all the log files in linux (i am using db2 v8.1,
RedHat Linux v8)..specifically i am interested in finding out the time
taken to execute a query.

thanks
prabu
Nov 12 '05 #1
3 3608
"prabu" <ss*****@clemson.edu> wrote in message
news:cc**************************@posting.google.c om...
i am a newbie of db2.
I need guidance in the following thing..

where can i find all the log files in linux (i am using db2 v8.1,
RedHat Linux v8)..specifically i am interested in finding out the time
taken to execute a query.

thanks
prabu

DB2 log files are for database recovery only. They do not have information
about select statements. Even if you want to know about the time required
for an insert, update, or delete, the logs would not help you.

You can look at the query patroller or the event monitor. You could also
resubmit the query with the db2batch command and it will keep track of the
time in the output.
Nov 12 '05 #2
In DB2, logs are internal representations of transactions against the
database. To track a specific query, try DB2's snapshot monitor.

prabu wrote:
i am a newbie of db2.
I need guidance in the following thing..

where can i find all the log files in linux (i am using db2 v8.1,
RedHat Linux v8)..specifically i am interested in finding out the time
taken to execute a query.

thanks
prabu


Nov 12 '05 #3
Hi,

Just in case you requirements are really simple...

You can just do the following from the command line
(use unix 'time' command)

e.g time db2 "select count(*) from syscat.tables"

Paul.

ss*****@clemson.edu (prabu) wrote in message news:<cc**************************@posting.google. com>...
i am a newbie of db2.
I need guidance in the following thing..

where can i find all the log files in linux (i am using db2 v8.1,
RedHat Linux v8)..specifically i am interested in finding out the time
taken to execute a query.

thanks
prabu

Nov 12 '05 #4

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

Similar topics

5
by: neo002244 | last post by:
The move_uploaded_file() function is very quirky. I want to allow users to upload images to the Web site. Here is the code: if(!move_uploaded_file($_FILES, $imagefile)) { die("Could not move...
0
by: writeson | last post by:
Hi all, At work I'm using Zend Studio 3.5.2 to develop PHP files on my Win2K desktop machine. I've got Zend Studio setup with a secure FTP (SFTP) connection to a RedHat Enterprise Linux machine....
2
by: christos panagiotou | last post by:
hi all I am trying to open some .raw files that represent images (256x256, 8 bit per pixel, no header) in a c++ program I cannot copy paste the module here as it uses a method from the VTK...
1
by: Christopher M. Lusardi | last post by:
Hello, I have a program that can be compiled and run on SGI and Linux computers, and only one of the files in the program has is different. On the SGI system, the file has a dot capital C...
4
by: MLH | last post by:
A programmer developed an AMP (Apache/MySQL/PHP) application for me. When he was done, he sent me the PHP files and the MySQL dump file. Now, when I connect to the application on my LAN using...
11
by: JS | last post by:
I am a bit confused about the meaning of object files (.o). I read this in a make file: lotto: main.o init.o select.o sort.o display.o gcc main.o init.o select.o sort.o display.o -o lotto ...
7
by: Kristan | last post by:
Hi there, quick question, how would I retrieve a list of files in ANSI C in a purely platform independent way? Any pointers would be great! thanks Kristan
7
by: elgiei | last post by:
Good morning at all, i have to implement a server,that every n-seconds (eg. 10sec) sends to other clients,which files and directory has been deleted or modified. i build a n-tree, for each...
1
by: Kesavan | last post by:
I install apache2 in /usr/local/apache2 and install php5 by ./configure --with-apxs2=/usr/local/apache2/bin/ apxs PHP is successfully installed in my system. But now my .php files inside...
3
by: Jorgen Bodde | last post by:
Hi All, I am trying to make a debian package. I am following the tutorial by Horst Jens (http://showmedo.com/videos/video?name=linuxJensMakingDeb&fromSeriesID=37) and it is very informative....
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
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
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
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
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...

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.