ADSM-L

Re: [ADSM-L] SQL querying

2008-07-25 09:08:16
Subject: Re: [ADSM-L] SQL querying
From: Norman Bloch <Norman_Bloch AT READERSDIGEST.TM DOT FR>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 25 Jul 2008 15:07:10 +0200
and this one is running in TSM OR of course !

__________________

Hi Eric,
I use the following query to be warned if there are failed files, on a
given node archive, over the past 24hours, from summary table :
select failed as F_A3 from summary where activity = 'ARCHIVE' and entity =
'MYNODE' and cast((current_timestamp-start_time) days as integer ) < 1
Replace ARCHIVE with BACKUP and it should also do the trick.
Regards.
Norman



"Loon, E.J. van - SPLXM" <Eric-van.Loon AT KLM DOT COM>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
23/07/2008 16:35
Please respond to
"ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>


To
ADSM-L AT VM.MARIST DOT EDU
cc

Subject
[ADSM-L] SQL querying






Hi *SM-ers!
I'm trying to create an SQL query to extract failed files from the
activity log.
When I do a select * from actlog all goes well, but as soon as I replace
the * with things like nodename, date_time, message to filter the
output, the query becomes slower and slower.
Is there a possibility in TSM to put the output of a slightly filtered q
actlog (eg. Select * from actlog where originator='CLIENT') in a
temporary table space which one can use in different queries later on?
Thank you very much for you help in advance!
Kindest regards,
Eric van Loon
KLM Royal Dutch Airlines


**********************************************************************
For information, services and offers, please visit our web site:
http://www.klm.com. This e-mail and any attachment may contain
confidential and privileged material intended for the addressee
only. If you are not the addressee, you are notified that no part
of the e-mail or any attachment may be disclosed, copied or
distributed, and that any other action related to this e-mail or
attachment is strictly prohibited, and may be unlawful. If you have
received this e-mail by error, please notify the sender immediately
by return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries
and/or its employees shall not be liable for the incorrect or
incomplete transmission of this e-mail or any attachments, nor
responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal
Dutch Airlines) is registered in Amstelveen, The Netherlands, with
registered number 33014286
**********************************************************************

<Prev in Thread] Current Thread [Next in Thread>