question

tmunro55-1427 avatar image
0 Votes"
tmunro55-1427 asked tmunro55-1427 commented

Soren Granfeldt PSMA Batch Size defaults to 100

The default export batch size for the Soren Granfeldt PSMA is set to 100 objects on the pipeline. With a large export (say 38,000) this has the overhead of calling PowerShell a great many times (in this case 380 times). Is there any reason the batch size cannot be set higher? Say 500 or 1000? Would there be a performance hit, potential data loss if something went horribly wrong?

Just curious...

Thanks.

microsoft-identity-manager
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LeoErlandsson avatar image
0 Votes"
LeoErlandsson answered tmunro55-1427 commented

Hi,

Well, you can set it to max 500 according to the code.

Please see:
https://github.com/sorengranfeldt/psma/blob/master/Granfeldt.PowerShell.ManagementAgent/MA.Export.cs

No performance hit I guess. On the contrary, it's faster (but the sync engine won't receive updates as often).

Br
Leo

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you Leo.

0 Votes 0 ·