记得上下班打卡 | 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
bec8e485
Commit
bec8e485
authored
Jul 28, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mongo AdminUpushVo
parent
e40a2ac6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
mongo_db_ddl-prod.sql
...n/liquidnet-service-kylin-impl/docu/mongo_db_ddl-prod.sql
+3
-0
mongo_db_ddl.sql
...-kylin/liquidnet-service-kylin-impl/docu/mongo_db_ddl.sql
+3
-0
No files found.
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/docu/mongo_db_ddl-prod.sql
View file @
bec8e485
...
...
@@ -13,6 +13,7 @@ db.createCollection("KylinPerformanceMisVo");
db
.
createCollection
(
"KylinTicketPartnerVo"
);
db
.
createCollection
(
"KylinTicketTimesPartnerVo"
);
db
.
createCollection
(
"PerformanceMemberAuditParam"
);
db
.
createCollection
(
"AdminUpushVo"
);
#
创建索引
db
.
KylinCheckUserPerformanceVo
.
createIndex
(
{
checkUserId
:
"hashed"
}
);
...
...
@@ -35,6 +36,7 @@ db.KylinTicketPartnerVo.createIndex({timesId:"hashed"});
db
.
KylinTicketTimesPartnerVo
.
createIndex
(
{
performancesId
:
"hashed"
}
);
db
.
KylinTicketTimesPartnerVo
.
createIndex
(
{
ticketTimesId
:
"hashed"
}
);
db
.
PerformanceMemberAuditParam
.
createIndex
(
{
performancesId
:
"hashed"
}
);
db
.
AdminUpushVo
.
createIndex
(
{
upushId
:
"hashed"
}
);
#
创建分片
sh
.
enableSharding
(
"prod_ln_scene"
);
...
...
@@ -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.KylinTicketTimesPartnerVo"
,
{
"ticketTimesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.PerformanceMemberAuditParam"
,
{
"performancesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"prod_ln_scene.AdminUpushVo"
,
{
"upushId"
:
"hashed"
}
);
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/docu/mongo_db_ddl.sql
View file @
bec8e485
...
...
@@ -13,6 +13,7 @@ db.createCollection("KylinPerformanceMisVo");
db
.
createCollection
(
"KylinTicketPartnerVo"
);
db
.
createCollection
(
"KylinTicketTimesPartnerVo"
);
db
.
createCollection
(
"PerformanceMemberAuditParam"
);
db
.
createCollection
(
"AdminUpushVo"
);
#
创建索引
db
.
KylinCheckUserPerformanceVo
.
createIndex
(
{
checkUserId
:
"hashed"
}
);
...
...
@@ -35,6 +36,7 @@ db.KylinTicketPartnerVo.createIndex({timesId:"hashed"});
db
.
KylinTicketTimesPartnerVo
.
createIndex
(
{
performancesId
:
"hashed"
}
);
db
.
KylinTicketTimesPartnerVo
.
createIndex
(
{
ticketTimesId
:
"hashed"
}
);
db
.
PerformanceMemberAuditParam
.
createIndex
(
{
performancesId
:
"hashed"
}
);
db
.
AdminUpushVo
.
createIndex
(
{
upushId
:
"hashed"
}
);
#
创建分片
sh
.
enableSharding
(
"test_ln_scene"
);
...
...
@@ -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.KylinTicketTimesPartnerVo"
,
{
"ticketTimesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.PerformanceMemberAuditParam"
,
{
"performancesId"
:
"hashed"
}
);
sh
.
shardCollection
(
"test_ln_scene.AdminUpushVo"
,
{
"upushId"
:
"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