phoneix常用命令

建表:

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");

 

posted @ 2022-12-13 09:49  方大帝的博客  阅读(34)  评论(0编辑  收藏  举报