Skip to content

Improve human print of DB instance #1180

@jerome-quere

Description

@jerome-quere

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

The way settings of a database instance is printed is not ideal:

ID                        2fe91a35-e819-4691-bae5-33613fc841dc
Name                      foobar
OrganizationID            951df375-e094-4d26-97c1-ba548eeb9c42
Status                    ready
Engine                    PostgreSQL-12
Endpoint.IP               51.159.26.195
Endpoint.Port             24332
Settings.0.Name           work_mem
Settings.0.Value          4
Settings.1.Name           max_connections
Settings.1.Value          100
Settings.2.Name           effective_cache_size
Settings.2.Value          1300
Settings.3.Name           maintenance_work_mem
Settings.3.Value          150
Settings.4.Name           max_parallel_workers
Settings.4.Value          0
Settings.5.Name           max_parallel_workers_per_gather
Settings.5.Value          0
BackupSchedule.Frequency  24
BackupSchedule.Retention  7
BackupSchedule.Disabled   false
IsHaCluster               false
NodeType                  db-dev-m
Volume.Type               lssd
Volume.Size               25 GB
CreatedAt                 few seconds ago
Region                    fr-par

Just by moving the Setting to a separate human section, the output could be much cleaner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementrdbManaged MySQL and PostgreSQL issues, bugs and feature requests

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions