GBase 8a can load data from ftp, sftp, hdfs, and other sources, and sftp is the most common choice when security requirements are strict. Recent builds of the gbase database introduce a few parameters that make sftp loading noticeably faster.

These parameters are only available in fairly recent versions (as of June 24, 2026). If yours does not support them and you need better sftp load throughput, contact GBase support for a newer version.

Check Whether You Actually Have a Problem

If sftp loading currently meets your requirements and everything looks normal, keep things as they are.

Measure the Current Load Speed

Query the information_schema.load_status table to aggregate the overall load speed in MB/s, or per node by IP.

Judge Whether SFTP Loading Is Slow

From a database node, pull a data file from the source over sftp manually and see the raw throughput:

[root@localhost opt]# sftp root@10.0.2.201 root@10.0.2.201's password: Connected to 10.0.2.201. sftp> get xxx.tar.bz2 /root/xxx.tar.bz2 100% 86MB 98.3MB/s 00:00 sftp> quit 

If the combined speed of a node's concurrent LOAD tasks falls below 30% of the raw sftp pull speed (a rough threshold — what matters is whether the load speed meets your needs), sftp loading is likely slow, and the parameters below are worth trying.

The Parameters

gbase_use_ssh_sftp

A compatibility switch, settable at the session level:

  • 0 (default): the original sftp loading path
  • 1: the new path

gbase_use_ssh_sftp_algorithm

Sets the algorithm used for the sftp transfer; separate multiple algorithms with commas. The default is blank — the algorithm is negotiated automatically by the system. To pin a specific algorithm such as aes128-ctr:

set gbase_use_ssh_sftp_algorithm='aes128-ctr'; 

Note that specifying an algorithm the source sshd does not support will cause the connection to fail, so pick a fast algorithm from those the sshd actually offers.

Going forward, keep in mind that the new path raises load speed but also pushes CPU, network, and disk usage up proportionally — if your current load speed already meets requirements, leave it alone. A misconfigured algorithm can break ssh protocol negotiation entirely, so confirm the gain in a test environment or at the session level before enabling it across the gbase cluster.