Creating a Column Family
This topic describes creating a column family.
Prerequisites
- A table must be available for you to create a column family.
- You must have the permissions to create column families on the table.
About this task
Follow the steps given below to create a column family on a table.
Procedure
- Log on to the Data Fabric UI.
- Click the All resources icon on the left pane, click the table view icon.
- Select the Resource details check box.
- In the tabular list of fabrics, click the down arrow for the fabric that contains the table on which you want to create a column family.
- Click the table name seen under Resource Name.
-
Click Add column family on the Column
families tab.
The Add column family wizard opens on the Column family details screen.
- Enter the Column family name.
- Enter the Max version and Min version for your column family. This is the the maximum and minimum number of versions that are retained upon revision to the column family.
- Click the toggle to enable Read optimization. Read optimzation enables in-memory caching for read workloads, greatly improving the speed of read operation for large workloads.
-
(Optional) Create user access controls for your column family.
The wizard automatically creates a default column family Access control entry. You can edit the default entry, or delete it with the action button (trash can).
- Select the user Type.
- Enter the user Name.
-
Select the permissions you want the user to have:
- Read: The user has read permissions on the column family.
- Write: The user has write permissions on the column family.
- Append: The user has append permissions on the column family.
- Version: The user can roll the column family back to a previous version.
- (Optional) Click Add to create another user access control for the column family.
-
Click Manage column permissions.
The Add column family wizard opens the Manage column permissions window. From this window, you can create columns and column-specific access controls.
- (Optional) To create a column in the column family, enter the column name.
-
(Optional) Create user access controls for your column.
The wizard automatically creates a default column Access control entry. You can edit the default entry, or delete it with the action button (trash can).
- Select the user Type.
- Enter the user Name.
-
Select the permissions you want the user to have:
- Read: The user can read the entries in the column.
- Write: The user can alter the existing column entries.
- Append: The user can add new records to the column.
- (Optional) Click Add to create another user column in the column family.
- Click Apply.