For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 0 0

odata many to many performance

hi
I found something very strange
when I have 3 entities (entity1 is main entity)
relation between entity1 to entity2 is many to many
relation between entity1 to entity3 is many to single

I'm using excel with odata v4
When expand of entity2 first - got performance issue since query is like:
http://localhost:8080/odata/v4/entity1('1086')entity2?$top=1000
and actually got a lot of queries sent to server

but when expand entity3 first - i got one query sent to server like:
http://localhost:8080/odata/v4/entity1$select=entity2,entity3&$expand=entity3($select=<fieldA>),entity2($select=<fieldB>)

any idea what cause the different and how to fix it?

datascope-selectdssperformance
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @eliau.miller ,

Your question does not appear to be related to Datascope Select API usage.

This forum is dedicated to questions and discussions on Datascope Select ( DSS) API usage.

Could you please confirm and provide more context, a Datscope Select request you are working with or you are trying to get to work would be most helpful in order to help you?

1 Answer

Upvotes
Accepted
32.2k 40 11 19

Hello @eliau.miller ,

Unfortunately, we have not heard back from you in response to our clarification request.

I am closing this discussion thread for the lack of response.

If you require further help, please do not hesitate to open a new discussion thread, and refer to this question via link, for any relevant information.

-AHS

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.