Relevant system information:
OS: Windows 10 x64, etc]
PostgreSQL version : 10.x
TimescaleDB version 1.1.4
Installation method: Installer
Describe the bug
Hello all,
How to partition table (in postgresqlDB) with table don't have column of type timestamp, Integer , DateTime integer ?
CREATE TABLE rep_backup
(
type character varying(100) COLLATE pg_catalog."default" NOT NULL,
id character varying(120) COLLATE pg_catalog."default" NOT NULL,
data bytea NOT NULL,
CONSTRAINT pk_replication_backups PRIMARY KEY (type, id)
)
above table don't have any column of type timestamp, Integer , DateTime.
Want to know for above table hash partition is possible , if yes please guide how to do?
Please provide sample example if possible.
Urgent one help to clarify/reply asap.
I'm a little uncertain ... for what are you trying to use TimescaleDB? Is this somehow time-series data?
Mike,聽
Thanks for quick reply.聽TimescaleDB want to use for PostgreSQLDB extension as we have more time related data and wan to partition.聽
I have done for聽 partition聽for some tables already, only question聽is below table don't have column of type聽聽timestamp, Integer , DateTime.
CREATE TABLE rep_backup
(
type character varying(100) COLLATE pg_catalog."default" NOT NULL,
id character varying(120) COLLATE pg_catalog."default" NOT NULL,
data bytea NOT NULL,
CONSTRAINT pk_replication_backups PRIMARY KEY (type, id)
)
So, want to know can i do HASH partition ?聽As per documentation hash partition used as multi dimension聽 partition聽_https://docs.timescale.com/latest/api#add_dimension_聽.
Just help me clarify, MUST need column of type聽聽timestamp, Integer , DateTime聽 in table to create hypertable or without those those types using hash partition聽possible.聽聽
Regards, Vivek
Hypertables currently require some type of timestamp/integer/date.
You might consider with the above is you need to partition at all (what benefit do you get from it?) or use native PG partitioning.
May i know the timeline for the timescaledb version compatible for PostgreSQL 12.x.
Hope many looking for this version. :)
We have similar user scenarios, but there are id(bigint) and create_time(timestamp), it's business transcation data(not a IoT data) , we expect get the stable &high throughput from timescale锛宒oes it reasonable?
May i know the timeline for the timescaledb version compatible for PostgreSQL 12.x.
Hope many looking for this version. :)
See discussion #1456