Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Your file has been submitted successfully. We’re processing it now - please check back in a few minutes to view your report.
03-24-2025 15:03 PM - last edited 03-24-2025 15:05 PM
Check here to see the latest version.
%pip install semantic-link-labs
import sempy_labs as labs dataset = '' # Enter your dataset name workspace = None # Enter your workspace name (if set to None it will use the workspace in which the notebook is running)
labs.list_qso_settings(dataset=dataset, workspace=workspace )
Setting 'auto_sync' to True will ensure that the semantic model automatically syncs read-only replicas. Setting this to False will necessitate syncing the replicas (i.e. via the qso_sync function).
The 'max_read_only_replicas' is the maximum number of read-only replicas for the semantic model (0-64, -1 for automatic number of replicas).
labs.set_qso(dataset=dataset, auto_sync=False, max_read_only_replicas=-1, workspace=workspace)
labs.qso_sync(dataset=dataset, workspace=workspace)
dfA, dfB = labs.qso_sync_status(dataset=dataset, workspace=workspace) display(dfA) display(dfB)
labs.disable_qso(dataset=dataset, workspace=workspace)
labs.set_semantic_model_storage_format(dataset=dataset, storage_format='Large', workspace=workspace)
labs.set_semantic_model_storage_format(dataset=dataset, storage_format='Small', workspace=workspace)
https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fsemantic-link-labs%2Fblob%2Fmain%2Fnotebooks%2FQuery%2520Scale%2520Out.ipynb