建表:
CREATE TABLE GPS2("id" BIGINT PRIMARY KEY,"data"."mmsi" VARCHAR,"data"."lon" DOUBLE,"data"."lat" DOUBLE,"data"."sog" DOUBLE,"data"."cog" DOUBLE,"data"."time" BIGINT);
建二级索引:
CREATE INDEX IDX_GPS2_MMSI_TIME ON GPS2("data"."mmsi","data"."time" DESC) include("data"."lon","data"."lat","data"."sog","data"."cog");
标签:phoneix,GPS2,sog,DOUBLE,BIGINT,常用命令,data From: https://www.cnblogs.com/fangts/p/16977767.html