14 March 2024
Viewing Data Types
To view data types in the Space:
In the Space overview page, click a Space to drill down.
Within this page, the IT administrator or developer can review the Object Type properties and metrics related to size, distribution per partition etc.
At the top of the page, it is possible to review the Object Type name and data related to the number of entries, indexes, and Notify Contains generated by the Object Type. A summary of the information available is given below.
Parameter | Description |
---|---|
Name | Name of the data object |
Entries | Number of entries for the object |
RAM size | Total amount of RAM used by the object |
ID | Pointer to the primary key of the data type in the Space |
Indexes | Number of indexes defined for the Object Type |
Routing | Pointer to the field that identifies the Space partition. |
Notify containers | How many instances of this object type match a template in an event container. |
Press on the SQL Editor tab to see a SQL SELECT statement for the selected Object Type.
Press Run Query. The results will appear in the Query Results table on the bottom of the page.
An example query is as follows:
SELECT * FROM "com.mycompany.app.model.Persons" LIMIT 10
This example query can be seen in the Ops Manager screen:
The user can edit the query, for example:
SELECT * FROM "com.mycompany.app.model.Persons" where personname LIKE '%Person 1%' LIMIT 10
The Explain Plan of a query can be viewed In the Ops Manager when running a query in the SQL Query Editor. The output of the query explain plan is shown in a collapsible view above the query results table.
To enable the Explain Plan feature, begin the query with EXPLAIN
, for example:
EXPLAIN SELECT * FROM "com.mycompany.app.model.Persons" LIMIT 10
Running a query with an Explain Plan may impact the query performance.