Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
dealaccountdata
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 03ed6ee6
authored
May 11, 2026
by
林冲
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
batch_size = 100000
1 parent
2d969626
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
scene_refactor_data/scene_split_processor.py
scene_refactor_data/scene_split_processor.py
View file @
03ed6ee
...
@@ -1247,7 +1247,7 @@ class SceneSplitProcessor:
...
@@ -1247,7 +1247,7 @@ class SceneSplitProcessor:
self
.
logger
.
info
(
f
" 收集到 {total_count} 条需要插入的记录"
)
self
.
logger
.
info
(
f
" 收集到 {total_count} 条需要插入的记录"
)
# 批量插入
# 批量插入
batch_size
=
10000
batch_size
=
10000
0
total_batches
=
(
total_count
+
batch_size
-
1
)
//
batch_size
total_batches
=
(
total_count
+
batch_size
-
1
)
//
batch_size
self
.
logger
.
info
(
f
" 开始批量插入,共 {total_batches} 个批次,每批 {batch_size} 条"
)
self
.
logger
.
info
(
f
" 开始批量插入,共 {total_batches} 个批次,每批 {batch_size} 条"
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment