其他功能
请使用以下链接查看可用的 SQL 函数:
函数 | 说明 |
---|---|
coalesce | 返回参数列表中第一个非空值 |
disk_cache_usage | 估算缓存空间的使用量 |
file_backup | 为持久数据库执行文件备份 |
format | 根据指定的格式化值。 |
fs_cache_warmup | 将数据库文件加载到文件系统缓存中 |
generate_series | 返回从起始值到结束值的连续数字 |
ifnull | 如果第一个参数为空,则返回第一个参数,否则返回第二个参数 |
nullifzero | 如果第一个参数为零,则返回空值,否则返回第一个参数 |
seq_skip_nan | 在 SQL 序列操作中用于跳过 NaN(非数字)值的序列函数 |
setDateTimePrecision | 使用 SmartESQL 更改日期时间操作的精度。 |
start_profile | 以指定的速率(微秒)开始连接锁性能分析 |
stop_profile | stop_profile |
高可用性函数 | |
xsql_ha_set_switch_mode | 切换高可用性模式 |
xsql_ha_set_quorum | 设置高可用性仲裁 |
xsql_ha_get_sequencer | 返回“数据库版本号” |