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 ********************************************************