Data sharing¶
Data sharing manages cross-workspace data publication and subscription. Publishers select all or some tables from a database and specify target workspaces. Subscribers confirm the source, then choose a local Catalog location. The current publish flow supports database tables only, and the permission is read-only.
Publish data¶
Add a publication¶
Open the Publish page and click Publish.
Enter a publication name.
Click Select Database and choose a database from Catalog.
Under Publication Scope, select Publish Entire Database (All Tables), or clear that option and select at least one table.
Under Publication Target, select one or more workspaces. You can also enter a workspace ID and click add.
Confirm the Read-only permission shown on the page.
Optionally enter a note, then click Confirm.
If the publication object catalog or database table list fails to load, use the retry entry in the dialog first. If the target workspace does not exist or you lack access, follow the error message to check the workspace name or ID.
Current publication dialog scope limits:
You can select only a database as the publication object.
The publication scope can only be all tables in the database or the selected tables.
You cannot publish volumes or files.
The current permission is fixed to Read-only. The page does not provide a Downloadable option.
Manage publication records¶
The publication list supports search by publication name, publication object, or publication target. The list shows publication name, publication object, publication target, publisher, creation time, modification time, publication permission, and actions.
Action |
Description |
|---|---|
Edit Publication |
Open an existing publication record and modify the editable fields provided on the page. You cannot reselect an already published object during edit. |
Delete |
Delete the publication record after a second confirmation. The page indicates that target workspaces will no longer be able to access the data. |
Before deleting a publication, confirm with the target workspace whether it is still using the data. This page does not infer what happens to data that the target workspace has already cached or exported.
Subscribe to data¶
View the subscription list¶
Open the Subscribe page, search by publication name or source workspace, and filter by All, Subscribed, Subscribing, or Not Subscribed. The list shows publication name, publication object, source workspace, publisher, publication time, subscription status, subscriber, subscription time, and subscription location.
Subscribe¶
For a record whose status is Not Subscribed, click Subscribe.
In the dialog, confirm the publication name and publication object.
Enter an object name as the local name in the current workspace.
Select a subscription location.
Click Confirm.
The page provides subscription locations by object level. When the page prompts for a catalog, database, or other Catalog location, follow the prompt. If the catalog fails to load, retry first. After submitting the subscription, wait until the status becomes Subscribed, then find the subscribed object in Catalog.
Unsubscribe¶
For a record whose status is Subscribed, click Unsubscribe.
Read the access impact described in the confirmation dialog.
After confirming the unsubscribe, wait for the list to refresh and verify the status change.
The page indicates that after unsubscribing, you can no longer access the data in the current workspace. Before unsubscribing, check whether workflows, knowledge bases, or queries still reference the subscribed object.
Boundaries of publish and subscribe¶
Role |
Responsibilities |
|---|---|
Publisher |
Select database tables, specify target workspaces, view or edit publication records, and delete publications. |
Subscriber |
View available subscription records, choose a local name and location, and subscribe or unsubscribe. |
Publish and subscribe are not data-loading tasks. The data sharing page manages only publication and subscription relationships. For data connections, data processing, and object management in Catalog, see the related task pages.