QWHERE and WHERE commands
Clause | Description |
---|---|
QWHERE | Retrieves data from a BMC AMI Ops product and filters the data before the data is returned to the requester (view, alarm or API call) Use QWHERE when a query is being driven repetitively (such as with Alarm Management) and appropriate filters will reduce the overhead of delivering the data required to satisfy the requirement. |
WHERE | Retrieves data from the data returned by QWHERE and adds additional filters to the data before the data is returned to the requester (view, alarm or API call) The advantage of using WHERE is to allow multiple filters to be applied against a query set without the overhead of having to issue the query again, and without refreshing the data already in memory. Use WHERE when various filters need to be applied against a single query (such as online views that reformat data displayed to assist with problem resolution) without reissuing and refreshing the query. |