Attu Management
Attu is an open-source management tool designed for the Milvus vector database. It provides a graphical user interface (GUI) that simplifies managing Milvus. Vector Retrieval Service for Milvus integrates Attu to efficiently manage resources such as databases, collections, indexes, and entities.
Prerequisites
Ensure you have configured network access and security settings. For more information, see Network access and security settings.
Connect to Attu
In a browser, enter one of the following endpoints:
Internal endpoint:
{{clusterId}}-internal.milvus.aliyuncs.com:3000Public endpoint:
{{clusterId}}.milvus.aliyuncs.com:3000NoteIf you use a public endpoint, you can also go to the Details page and click Attu Manager.
In the dialog box, enter the database, username, and password, and click Connect to open the Attu management page.
After you create an instance, the system automatically creates a default database named
defaultand a user namedroot. The password for therootuser is the one you set when you created the instance.
Manage databases
You can create, delete, and view databases. These operations require database management permissions.
The default database cannot be deleted.
To create a database:
On the Attu page, click the
icon in the left-side navigation pane.On the Databases page, click + Create Database.
In the dialog box that appears, enter a database name and click Create.
Manage collections
You can manage schema design, data import, and daily maintenance for your collections. These actions require collection management permissions. The following example shows how to create a collection, create an index, and import and load vector data.
On the Attu page, click the
icon in the left-side navigation pane.On the Collections page, click Create Collection to create a collection named
demo.Click the collection name. On the Schema tab, create an index for the required fields.
Click the
icon in the row of the target collection to import a sample dataset into demo.Load the vector data into memory.
You can click Release to unload a collection from memory. The data is retained on disk, but you cannot search the collection until it is loaded again.
You can also click Drop to permanently delete a collection and its data. This action cannot be undone.
Vector search
Use vector search to explore data, validate models, and develop applications.
Select a loaded collection, and click the Vector Search tab.
Enter the target vector for the similarity search, configure the search parameters, and click Search.
You can also click the
icon at the top and enter a filter expression to query scalar fields in the collection to obtain faster and more accurate search results.
Manage users and roles
Use this feature to create new users and roles, and assign permissions to users by granting them roles.
Create a user
On the Attu page, click the
icon in the left-side navigation pane.On the Users tab, click + User.
In the dialog box, set a Username and Password, assign a role to the user, and click Create.
Create a role
On the User and Role page, click the Roles tab.
On the Roles tab, click + Role.
In the dialog box, set a role name, select the desired permissions, and click Create.