Skip to content

[P2] Add Throughput Scaling commands #109

@sajeetharan

Description

@sajeetharan

Feature Request

Priority: P2 (Medium)

Description

CosmosDB Shell has a bucket command for SDK throughput control but no command to view or change the provisioned throughput (RU/s) or toggle autoscale for a database or container.

Comparable Features in Other Shells

  • Not directly comparable — this is Cosmos DB specific

Proposed Behavior

Add a throughput or scale command:

  • throughput show — Display current RU/s (manual or autoscale) and consumption
  • throughput set <RUs> — Change provisioned throughput
  • throughput autoscale <maxRUs> — Switch to or configure autoscale
  • throughput manual <RUs> — Switch to manual provisioning

Example Usage

cd /MyDatabase/MyContainer
throughput show
throughput set 4000
throughput autoscale 10000

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions