DataWorks provides HoloStudio for you to connect to Hologres to perform interactive analytics. This topic describes how to bind a Hologres instance to an existing DataWorks workspace to query data from MaxCompute foreign tables in HoloStudio.
Prerequisites
- An Alibaba Cloud account is registered.
- Real-name verification is completed.
- MaxCompute is activated. For more information, see Activate MaxCompute.
- DataWorks is activated and a DataWorks workspace is created. For more information, see Create a workspace.
Purchase a Hologres instance
Note If you have purchased a Hologres instance, skip this step and directly bind the Hologres
instance to an existing workspace in DataWorks.
- Go to the Alibaba Cloud official website, click Log In in the upper-right corner, and then enter your account name and password.
- Move the pointer over Products in the top navigation bar and choose > Hologres (Interactive Analytics) to go to the product landing page of Hologres.
- Click Buy Now.
- On the buy page of Hologres, click the Subscription tab. On the Subscription tab, select a region and a computing resource specification, enter an instance name, and then click Buy Now.
Create a database in the Hologres console
After you purchase a Hologres instance, a database named postgres is created by default.
This database is allocated with a few resources and only used for management purposes. You can create a database based on your business requirements.
- Log on to the Hologres console and click in the left-side navigation pane. On the Hologres Instances page, click the name of the target Hologres instance to go to the details page.
- Click Create Database. In the Create Database dialog box, set Database Name, select Enable or Disable for SPM, and then click OK. . On the page that appears, click