How can I free Spice capacity?

0

Hello, I just startet using AWS Quicksight and ran into a problem when trying to upload new datasets using SPICE. According to the site on Manage Quicksight/ SPICE capacity my SPICE usage is with 297 GB way over my capacity limit of 31 GB. The Problem is that I already deleted all Datasets in Quicksight to get more SPICE capacity and this led to a gain of 14 MB of free capacity, but I am now wondering how should I free the remaining capacity of 297 GB? I can not see an option to release capacity in the QuickSight console. Enter image description here

질문됨 일 년 전1238회 조회
1개 답변
1

Let's have a look at the datasets and ingestions first. You can check the amount of SPICE capacity used by a particular dataset, as well as the users accessing them (ARNs) by running the list-ingestions CLI command [1] listed along with the describe-data-set [2] command:

$ aws quicksight describe-data-set --aws-account-id <AccountID> --data-set-id '<value>'
Please replace the '<value>' with the dataset-id of each dataset and check the value of 'ConsumedSpiceCapacityInBytes' in the output of the CLI command. 

To get the datasets IDs, you can list of all DataSets in QuickSight account, using list-data-sets CLI [3]

$ aws quicksight list-data-sets --aws-account-id 152558349946

If you prefer to use the Python SDK, sample code is below to retrieve data:

To list the datasets:

response = client.list_data_sets(
               AwsAccountId=aws_account_id,
               NextToken=next_token,
               MaxResults=100
)

To list the SPICE ingestions:

response = client.list_ingestions(  
               DataSetId = data_set_id,
               AwsAccountId=aws_account_id,
               MaxResults=100
)

[1] list-ingestions: https://docs.aws.amazon.com/cli/latest/reference/quicksight/list-ingestions.html#list-ingestions

[2] describe-data-set: https://docs.aws.amazon.com/cli/latest/reference/quicksight/describe-data-set.html

[3] list-data-set: https://docs.aws.amazon.com/cli/latest/reference/quicksight/list-data-sets.html

Other References:

You can also see the Aggregate SPICE metrics - https://docs.aws.amazon.com/quicksight/latest/user/monitoring-quicksight.html#aggregate-spice-metrics

And here is the link on how to view SPICE capacity and usage in an AWS Region - https://docs.aws.amazon.com/quicksight/latest/user/managing-spice-capacity.html#spice-current-capacity-and-usage

Finally, for QuickSight related questions, we have launched a fully dedicated community; in case you want to check there to see if there are further answer to your questions: https://community.amazonquicksight.com/

profile pictureAWS
전문가
답변함 일 년 전
profile picture
전문가
iwasa
검토됨 일 년 전
  • Thanks a lot I will try that!

  • I think Jonathan is right.
    QuickSight datasets cannot see datasets owned by others.
    So you have to delete it with confirmation using API.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠