Hi Paul-André!
Thank you very much for your help!
Kind regards,
Eric van Loon
Air France/KLM Storage Engineering
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Paul-André Chassé
Sent: dinsdag 27 september 2016 21:54
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: archive_objects table
Hi Eric,
As it is shown by Tobias's example, we cannot select directly from the table
'archive_objects'. Instead we must join the table 'archive_objects' with the
table 'archives' using 'archives.object_id'
and 'archive_ojbects.objid' as the join columns.
As requested following is the list of columns for the table 'archive_ojbects'
for TSM 7.1.3:
NODEID:
FSID:
OBJTYPE:
HL:
LL:
INSDATE:
OBJID:
DESCR:
RETINIT_DATE:
OBJINFO:
OWNER:
MCID:
CGID:
ENCRYPT_KEY:
BFSIZE:
HDRSIZE:
SHAREDOBJID:
SEND_HDR:
STG_HINT:
CLNTTYPE:
BKSETRET:
SETDATATYPE:
HELD:
VOLDATEGMT:
ALIASOF:
VOLSEQ:
POSITION:
METADATASIZE:
FLAGS:
HL_NAME:
LL_NAME:
PARENTHL:
META_UPDATE:
GMTINSDATE:
OBJCHGID:
LOGICAL_SIZE:
Paul-André
______________________________
*Paul-André Chassé*, B. Sc.
Analyste de l'informatique - Centre de calcul scientifique (John-S.-Bourque)
Service des technologies de l'information Université de Sherbrooke
Tél. : 819 821-8000, poste 62582
Courriel : Paul-Andre.Chasse AT USherbrooke DOT ca
Le 2016-09-27 à 11:23, Loon, Eric van (ITOPT3) - KLM a écrit :
> Hi guys!
> I found a SQL query on the marvelous Tobias SQL page which is puzzling me. I
> always had a hard time relating archive sizes to archives. The archives table
> does not contain file sizes (at least not in version 6). There seem to be a
> table called archive_objects however which you can query for bfsize, but the
> strange thing is that is can only be used in a joined query. For instance:
>
> Querying only this table returns the error that the archive_objecs table does
> not exist:
>
> select node_name, bfsize from archive_objects
>
> ANR2939E The reference 'select node_name , bfsize from archive_objects '
> contains an unknown SQL table name.
>
> |
> ...............................V...............
> select node_name , bfsize from archive_objects
>
> ANS8001I Return code 28.
>
> While the SQL statement:
> select a.node_name, ao.bfsize from archives a, archive_objects ao Does
> return all archive files along with their size (be careful the list can be
> quite large).
> Does anybody know how this archive_objects (and backup_objects) tables work?
> How do I find all existing columns in archive_objects?
> Thanks in advance for your help!
> Kind regards,
> Eric van Loon
> Air France/KLM Storage Engineering
> ********************************************************
> 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
> ********************************************************
********************************************************
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
********************************************************
|