influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

[v3] increase database name character limit to 128

Open caiqinwei26-byte opened this issue 2 months ago • 3 comments

Can the character length limits for database names, table names, etc., be relaxed? Currently, they are restricted to 1–64 characters, and we would like to extend this to 1–128 characters.

caiqinwei26-byte avatar Nov 12 '25 06:11 caiqinwei26-byte

influxdb 3

caiqinwei26-byte avatar Nov 12 '25 06:11 caiqinwei26-byte

@caiqinwei26-byte -- yes, we have it documented internally that we want to increase the database name limit to what influxdb v1 supports which is 255 chars per db name and retention policy name.

I'm not sure when we'll make this change though.

A v3 table is a v1/v2 measurement, which have a very long accepted limit in v1/v2. I'm not sure we'll match that in v3, but I agree that 64 chars for a table name is on the shorter side.

I've seen folks in v1/v2 store "data" in measurement names where the name itself is very long and parsed in application code; this is almost always a bad schema design so shorter names (<= ~128) can encourage better schema designs.

philjb avatar Nov 12 '25 17:11 philjb

@philjb This issue is very serious and is blocking the migration from InfluxDB 1 to InfluxDB 3. We hope it can be fixed as soon as possible. Thank you.

caiqinwei26-byte avatar Nov 13 '25 02:11 caiqinwei26-byte