TDengine适合存储大文本字段吗?

发布于 2025-01-18 02:27:28 字数 130 浏览 2 评论 0原文

我需要将数据库从 PostgreSQL 迁移到 TDengine,因为其中大部分都是时间序列数据。但表中有一个文本字段用于存储大块文本。

我想知道 TDengine 是否适合存储任何数据类型的大块文本? nchar的最大长度是多少?

I need to migrate my database from PostgreSQL to the TDengine since most of them are time-series data. But there is a text field in the table for storing large chunks of text.

May I know if TDengine is suitable to store large chunks of text with any data type?
How long the maximum length of nchar is?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦断已成空 2025-01-25 02:27:28

您可以使用 16374 字节 binary 和 16374/4=4093 nchar 创建 TDengine 表

create table tb1(ts timestamp, vv binary(16374), nchar(4093))

You can create TDengine table with 16374-bytes binary and 16374/4=4093 nchar

create table tb1(ts timestamp, vv binary(16374), nchar(4093))
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文