记得上下班打卡 | git大法好,push需谨慎

Commit bec8e485 authored by jiangxiulong's avatar jiangxiulong

mongo AdminUpushVo

parent e40a2ac6
...@@ -13,6 +13,7 @@ db.createCollection("KylinPerformanceMisVo"); ...@@ -13,6 +13,7 @@ db.createCollection("KylinPerformanceMisVo");
db.createCollection("KylinTicketPartnerVo"); db.createCollection("KylinTicketPartnerVo");
db.createCollection("KylinTicketTimesPartnerVo"); db.createCollection("KylinTicketTimesPartnerVo");
db.createCollection("PerformanceMemberAuditParam"); db.createCollection("PerformanceMemberAuditParam");
db.createCollection("AdminUpushVo");
#创建索引 #创建索引
db.KylinCheckUserPerformanceVo.createIndex({checkUserId:"hashed"}); db.KylinCheckUserPerformanceVo.createIndex({checkUserId:"hashed"});
...@@ -35,6 +36,7 @@ db.KylinTicketPartnerVo.createIndex({timesId:"hashed"}); ...@@ -35,6 +36,7 @@ db.KylinTicketPartnerVo.createIndex({timesId:"hashed"});
db.KylinTicketTimesPartnerVo.createIndex({performancesId:"hashed"}); db.KylinTicketTimesPartnerVo.createIndex({performancesId:"hashed"});
db.KylinTicketTimesPartnerVo.createIndex({ticketTimesId:"hashed"}); db.KylinTicketTimesPartnerVo.createIndex({ticketTimesId:"hashed"});
db.PerformanceMemberAuditParam.createIndex({performancesId:"hashed"}); db.PerformanceMemberAuditParam.createIndex({performancesId:"hashed"});
db.AdminUpushVo.createIndex({upushId:"hashed"});
#创建分片 #创建分片
sh.enableSharding("prod_ln_scene"); sh.enableSharding("prod_ln_scene");
...@@ -51,4 +53,5 @@ sh.shardCollection("prod_ln_scene.KylinPerformanceMisVo",{"performancesId":"hash ...@@ -51,4 +53,5 @@ sh.shardCollection("prod_ln_scene.KylinPerformanceMisVo",{"performancesId":"hash
sh.shardCollection("prod_ln_scene.KylinTicketPartnerVo",{"ticketsId":"hashed"}); sh.shardCollection("prod_ln_scene.KylinTicketPartnerVo",{"ticketsId":"hashed"});
sh.shardCollection("prod_ln_scene.KylinTicketTimesPartnerVo",{"ticketTimesId":"hashed"}); sh.shardCollection("prod_ln_scene.KylinTicketTimesPartnerVo",{"ticketTimesId":"hashed"});
sh.shardCollection("prod_ln_scene.PerformanceMemberAuditParam",{"performancesId":"hashed"}); sh.shardCollection("prod_ln_scene.PerformanceMemberAuditParam",{"performancesId":"hashed"});
sh.shardCollection("prod_ln_scene.AdminUpushVo",{"upushId":"hashed"});
...@@ -13,6 +13,7 @@ db.createCollection("KylinPerformanceMisVo"); ...@@ -13,6 +13,7 @@ db.createCollection("KylinPerformanceMisVo");
db.createCollection("KylinTicketPartnerVo"); db.createCollection("KylinTicketPartnerVo");
db.createCollection("KylinTicketTimesPartnerVo"); db.createCollection("KylinTicketTimesPartnerVo");
db.createCollection("PerformanceMemberAuditParam"); db.createCollection("PerformanceMemberAuditParam");
db.createCollection("AdminUpushVo");
#创建索引 #创建索引
db.KylinCheckUserPerformanceVo.createIndex({checkUserId:"hashed"}); db.KylinCheckUserPerformanceVo.createIndex({checkUserId:"hashed"});
...@@ -35,6 +36,7 @@ db.KylinTicketPartnerVo.createIndex({timesId:"hashed"}); ...@@ -35,6 +36,7 @@ db.KylinTicketPartnerVo.createIndex({timesId:"hashed"});
db.KylinTicketTimesPartnerVo.createIndex({performancesId:"hashed"}); db.KylinTicketTimesPartnerVo.createIndex({performancesId:"hashed"});
db.KylinTicketTimesPartnerVo.createIndex({ticketTimesId:"hashed"}); db.KylinTicketTimesPartnerVo.createIndex({ticketTimesId:"hashed"});
db.PerformanceMemberAuditParam.createIndex({performancesId:"hashed"}); db.PerformanceMemberAuditParam.createIndex({performancesId:"hashed"});
db.AdminUpushVo.createIndex({upushId:"hashed"});
#创建分片 #创建分片
sh.enableSharding("test_ln_scene"); sh.enableSharding("test_ln_scene");
...@@ -51,3 +53,4 @@ sh.shardCollection("test_ln_scene.KylinPerformanceMisVo",{"performancesId":"hash ...@@ -51,3 +53,4 @@ sh.shardCollection("test_ln_scene.KylinPerformanceMisVo",{"performancesId":"hash
sh.shardCollection("test_ln_scene.KylinTicketPartnerVo",{"ticketsId":"hashed"}); sh.shardCollection("test_ln_scene.KylinTicketPartnerVo",{"ticketsId":"hashed"});
sh.shardCollection("test_ln_scene.KylinTicketTimesPartnerVo",{"ticketTimesId":"hashed"}); sh.shardCollection("test_ln_scene.KylinTicketTimesPartnerVo",{"ticketTimesId":"hashed"});
sh.shardCollection("test_ln_scene.PerformanceMemberAuditParam",{"performancesId":"hashed"}); sh.shardCollection("test_ln_scene.PerformanceMemberAuditParam",{"performancesId":"hashed"});
sh.shardCollection("test_ln_scene.AdminUpushVo",{"upushId":"hashed"});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment