greptimedb icon indicating copy to clipboard operation
greptimedb copied to clipboard

GreptimeDB commandline utilities

Open v0y4g3r opened this issue 2 years ago • 3 comments

Like MySQL's mysqldump/mysqlcheck, we need to provide a set of executable utlities for functionalities like:

  • WAL dump & repair @v0y4g3r
  • Read manifest file of tables
  • Backup database
  • Import data in bulk load manner
  • ...

v0y4g3r avatar Nov 10 '22 11:11 v0y4g3r

Import data in bulk load manner

This should be a normal function of DB I think

waynexia avatar Nov 10 '22 11:11 waynexia

Consider implement it as subcommand of gtctl.

@zyy17 I think we do need a subcommand system in gtctl to support various domains of task:

  • kubernetes management
  • db management
  • cloud management

sunng87 avatar Nov 10 '22 12:11 sunng87

@sunng87 What you mention above is also the design goal of gtctl. The DB can provide the fundamental mechanism that @v0y4g3r mentioned above and gtctl can integrate it in a more operator-friendly way. For convenience, the related binary utilities also can implement in greptimedb(maybe can share the same crate implementation), but such utilities are only for database developers.

zyy17 avatar Nov 10 '22 13:11 zyy17

Move to Ideas until we have more concrete proposals.

tisonkun avatar Mar 22 '24 08:03 tisonkun