Enterprise Manager Generic (MOSC)

MOSC Banner

limits of list and JSON in advanced emcli scripting

edited Oct 19, 2015 8:04AM in Enterprise Manager Generic (MOSC) 3 commentsAnswered

Hi,

I am using  emcli scripting av I have found a strange thing with limits on use of list commands.

The reason I ask is that I am trying to get out the target properties and since I have almost a total of 100.000 properties from all targets I was trying to limit the selection.

I have tried to use list with resource='TargetProperties' but this is being capped by the max_fetch_rows...


target = list(resource='TargetProperties').out()['data']

So I thought I could use a sql against a mgmt$ views and limit the selection, example:

l_sql = "select * from mgmt$target_properties"

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center