记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
28daf8e1
Commit
28daf8e1
authored
Jun 28, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交mongo 分片 索引
parent
99ab9040
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
26 deletions
+26
-26
mongo_db_ddl-prod.sql
...n/liquidnet-service-kylin-impl/docu/mongo_db_ddl-prod.sql
+13
-13
mongo_db_ddl.sql
...-kylin/liquidnet-service-kylin-impl/docu/mongo_db_ddl.sql
+13
-13
No files found.
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/docu/mongo_db_ddl-prod.sql
View file @
28daf8e1
...
...
@@ -38,17 +38,17 @@ db.PerformanceMemberAuditParam.createIndex({performancesId:"hashed"});
#
创建分片
sh
.
enableSharding
(
"prod_ln_scene"
);
db
.
shardCollection
(
"prod_ln_scene.KylinCheckUserPerformanceVo"
,
{
"checkUserId"
:
"hashed"
}
);
db
.
shardCollection
(
"prod_ln_scene.KylinCheckUserVo"
,
{
"checkUserId"
:
"hashed"
}
);
db
.
shardCollection
(
"prod_ln_scene.KylinOrderRefundEntitiesVo"
,
{
"orderRefundsEntitiesId"
:
"hashed"
}
);
db
.
shardCollection
(
"prod_ln_scene.KylinOrderRefundPicVo"
,
{
"refundPicId"
:
"hashed"
}
);
db
.
shardCollection
(
"prod_ln_scene.KylinOrderRefundsVoBase"
,
{
"orderRefundsId"
:
"hashed"
}
);
db
.
shardCollection
(
"prod_ln_scene.KylinOrderTicketEntitiesVo"
,
{
"orderTicketEntitiesId"
:
"hashed"
}
);
db
.
shardCollection
(
"prod_ln_scene.KylinOrderTicketVo"
,
{
"orderTicketsId"
:
"hashed"
}
);
db
.
shardCollection
(
"prod_ln_scene.KylinPerformanceVo"
,
{
"performancesId"
:
"hashed"
}
);
db
.
shardCollection
(
"prod_ln_scene.KylinRoadShowVo"
,
{
"roadShowsId"
:
"hashed"
}
);
db
.
shardCollection
(
"prod_ln_scene.KylinPerformanceMisVo"
,
{
"performancesId"
:
"hashed"
}
);
db
.
shardCollection
(
"prod_ln_scene.KylinTicketPartnerVo"
,
{
"ticketsId"
:
"hashed"
}
);
db
.
shardCollection
(
"prod_ln_scene.KylinTicketTimesPartnerVo"
,
{
"ticketTimesId"
:
"hashed"
}
);
db
.
shardCollection
(
"prod_ln_scene.PerformanceMemberAuditParam"
,
{
"performancesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.KylinCheckUserPerformanceVo"
,
{
"checkUserId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.KylinCheckUserVo"
,
{
"checkUserId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.KylinOrderRefundEntitiesVo"
,
{
"orderRefundsEntitiesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.KylinOrderRefundPicVo"
,
{
"refundPicId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.KylinOrderRefundsVoBase"
,
{
"orderRefundsId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.KylinOrderTicketEntitiesVo"
,
{
"orderTicketEntitiesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.KylinOrderTicketVo"
,
{
"orderTicketsId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.KylinPerformanceVo"
,
{
"performancesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.KylinRoadShowVo"
,
{
"roadShowsId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.KylinPerformanceMisVo"
,
{
"performancesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.KylinTicketPartnerVo"
,
{
"ticketsId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.KylinTicketTimesPartnerVo"
,
{
"ticketTimesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.PerformanceMemberAuditParam"
,
{
"performancesId"
:
"hashed"
}
);
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/docu/mongo_db_ddl.sql
View file @
28daf8e1
...
...
@@ -38,16 +38,16 @@ db.PerformanceMemberAuditParam.createIndex({performancesId:"hashed"});
#
创建分片
sh
.
enableSharding
(
"test_ln_scene"
);
db
.
shardCollection
(
"test_ln_scene.KylinCheckUserPerformanceVo"
,
{
"checkUserId"
:
"hashed"
}
);
db
.
shardCollection
(
"test_ln_scene.KylinCheckUserVo"
,
{
"checkUserId"
:
"hashed"
}
);
db
.
shardCollection
(
"test_ln_scene.KylinOrderRefundEntitiesVo"
,
{
"orderRefundsEntitiesId"
:
"hashed"
}
);
db
.
shardCollection
(
"test_ln_scene.KylinOrderRefundPicVo"
,
{
"refundPicId"
:
"hashed"
}
);
db
.
shardCollection
(
"test_ln_scene.KylinOrderRefundsVoBase"
,
{
"orderRefundsId"
:
"hashed"
}
);
db
.
shardCollection
(
"test_ln_scene.KylinOrderTicketEntitiesVo"
,
{
"orderTicketEntitiesId"
:
"hashed"
}
);
db
.
shardCollection
(
"test_ln_scene.KylinOrderTicketVo"
,
{
"orderTicketsId"
:
"hashed"
}
);
db
.
shardCollection
(
"test_ln_scene.KylinPerformanceVo"
,
{
"performancesId"
:
"hashed"
}
);
db
.
shardCollection
(
"test_ln_scene.KylinRoadShowVo"
,
{
"roadShowsId"
:
"hashed"
}
);
db
.
shardCollection
(
"test_ln_scene.KylinPerformanceMisVo"
,
{
"performancesId"
:
"hashed"
}
);
db
.
shardCollection
(
test_ln_scene
.
KylinTicketPartnerVo
",{"
ticketsId
":"
hashed
"});
db.shardCollection(
test_ln_scene.KylinTicketTimesPartnerVo"
,
{
"ticketTimesId"
:
"hashed"
}
);
db
.
shardCollection
(
"test_ln_scene.PerformanceMemberAuditParam"
,
{
"performancesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.KylinCheckUserPerformanceVo"
,
{
"checkUserId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.KylinCheckUserVo"
,
{
"checkUserId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.KylinOrderRefundEntitiesVo"
,
{
"orderRefundsEntitiesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.KylinOrderRefundPicVo"
,
{
"refundPicId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.KylinOrderRefundsVoBase"
,
{
"orderRefundsId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.KylinOrderTicketEntitiesVo"
,
{
"orderTicketEntitiesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.KylinOrderTicketVo"
,
{
"orderTicketsId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.KylinPerformanceVo"
,
{
"performancesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.KylinRoadShowVo"
,
{
"roadShowsId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.KylinPerformanceMisVo"
,
{
"performancesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test_ln_scene.KylinTicketPartnerVo"
,
{
"ticketsId"
:
"hashed"
}
);
sh
.
shardCollection
(
"
test_ln_scene.KylinTicketTimesPartnerVo"
,
{
"ticketTimesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.PerformanceMemberAuditParam"
,
{
"performancesId"
:
"hashed"
}
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment