fix(generate): stream bulk data generation with progress and configurable timeout

This commit is contained in:
gggaiitx authored and GitHub committed 2026-09-04 20:24:32 +08:00
1 parent 259071c09b
commit a3772fb442
14 files changed
+986 -99

No files matched your search

+11 -1
View File
@@ -5643,7 +5643,7 @@ export default {
successLabel: "{count} succeeded",
failLabel: "{count} failed",
totalLabel: "/ {count} entries",
copyAllSql: "Copy All SQL",
copySampleSql: "Copy sample SQL",
prevStep: "Previous",
startInsert: "Start Insert",
confirm: "Confirm",
@@ -5869,6 +5869,16 @@ export default {
drivers_license: "Driver's License",
custom: "Custom",
},
insertingTable: "Writing to {table} (table {index}/{count})",
elapsed: "{seconds}s elapsed",
samplePreviewNotice: "Showing the first {shown} sample rows; all {count} rows are generated while inserting",
largeRowCountHint: "Large row count ({count}); rows are generated and inserted in batches and you can cancel at any time",
timeoutSecs: "Timeout (seconds)",
timeoutHint: "0 means no timeout; keep 0 or raise it for large data volumes",
batchRows: "Rows per batch",
batchRowsHint: "Rows generated and inserted per round trip; oversized batches are split automatically",
cancelInsert: "Cancel insert",
cancelledLabel: "Cancelled; rows already written remain in the table",
},
tableToolbox: {
title: "Data Tools",
+11 -1
View File
@@ -5363,7 +5363,7 @@ export default withEnglishFallback({
successLabel: "{count} exitosas",
failLabel: "{count} fallidas",
totalLabel: "/ {count} filas",
copyAllSql: "Copy All SQL",
copySampleSql: "Copiar SQL de ejemplo",
prevStep: "Anterior",
startInsert: "Start Insert",
confirm: "Confirmar",
@@ -5589,6 +5589,16 @@ export default withEnglishFallback({
drivers_license: "Carnet de conducir",
custom: "Personalizado",
},
insertingTable: "Escribiendo en {table} (tabla {index}/{count})",
elapsed: "{seconds} s transcurridos",
samplePreviewNotice: "Se muestran las primeras {shown} filas de ejemplo; las {count} filas se generan al insertar",
largeRowCountHint: "Número de filas elevado ({count}); se generan e insertan por lotes y puede cancelar en cualquier momento",
timeoutSecs: "Tiempo de espera (segundos)",
timeoutHint: "0 significa sin límite; mantenga 0 o auméntelo para grandes volúmenes",
batchRows: "Filas por lote",
batchRowsHint: "Filas generadas e insertadas en cada envío; los lotes grandes se dividen automáticamente",
cancelInsert: "Cancelar inserción",
cancelledLabel: "Cancelado; las filas ya insertadas permanecen en la tabla",
},
tableToolbox: {
title: "Herramientas de datos",
+11 -1
View File
@@ -5361,7 +5361,7 @@ export default withEnglishFallback({
successLabel: "{count} riuscite",
failLabel: "{count} non riuscite",
totalLabel: "/ {count} righe",
copyAllSql: "Copia tutto SQL",
copySampleSql: "Copia SQL di esempio",
prevStep: "Precedente",
startInsert: "Avvia inserimento",
confirm: "Conferma",
@@ -5587,6 +5587,16 @@ export default withEnglishFallback({
drivers_license: "Patente di guida",
custom: "Personalizzato",
},
insertingTable: "Scrittura in {table} (tabella {index}/{count})",
elapsed: "{seconds}s trascorsi",
samplePreviewNotice: "Prime {shown} righe di esempio; le {count} righe vengono generate durante l'inserimento",
largeRowCountHint: "Numero elevato di righe ({count}); le righe vengono generate e inserite in batch ed è possibile annullare in qualsiasi momento",
timeoutSecs: "Timeout (secondi)",
timeoutHint: "0 significa nessun timeout; mantieni 0 o aumentalo per grandi volumi",
batchRows: "Righe per batch",
batchRowsHint: "Righe generate e inserite per invio; i batch troppo grandi vengono divisi automaticamente",
cancelInsert: "Annulla inserimento",
cancelledLabel: "Annullato; le righe già scritte restano nella tabella",
},
tableToolbox: {
title: "Strumenti dati",
+11 -1
View File
@@ -5399,7 +5399,7 @@ export default withEnglishFallback({
successLabel: "{count}件成功",
failLabel: "{count}件失敗",
totalLabel: "/ {count}エントリ",
copyAllSql: "すべてのSQLをコピー",
copySampleSql: "サンプル SQL をコピー",
prevStep: "戻る",
startInsert: "挿入開始",
confirm: "確認",
@@ -5625,6 +5625,16 @@ export default withEnglishFallback({
drivers_license: "運転免許証",
custom: "カスタム",
},
insertingTable: "{table} に書き込み中({index}/{count} テーブル)",
elapsed: "経過時間 {seconds} 秒",
samplePreviewNotice: "先頭 {shown} 行はサンプルです。{count} 行は挿入時に順次生成されます",
largeRowCountHint: "行数が多いため({count} 行)、生成と挿入をバッチで行います。いつでもキャンセルできます",
timeoutSecs: "タイムアウト(秒)",
timeoutHint: "0 はタイムアウトなしです。大量データでは 0 のままにするか、より長い時間を設定してください",
batchRows: "1 バッチの行数",
batchRowsHint: "1 回で生成・挿入する行数。上限を超える場合は自動的に分割されます",
cancelInsert: "挿入をキャンセル",
cancelledLabel: "キャンセルしました。書き込み済みの行はテーブルに残ります",
},
tableToolbox: {
title: "データツール",
+11 -1
View File
@@ -5060,7 +5060,7 @@ export default withEnglishFallback({
successLabel: "{count}개 성공",
failLabel: "{count}개 실패",
totalLabel: "/ {count}개 항목",
copyAllSql: "모든 SQL 복사",
copySampleSql: "샘플 SQL 복사",
prevStep: "이전",
startInsert: "삽입 시작",
confirm: "확인",
@@ -5286,6 +5286,16 @@ export default withEnglishFallback({
drivers_license: "운전면허증",
custom: "사용자 지정",
},
insertingTable: "{table}에 쓰는 중 (표 {index}/{count})",
elapsed: "{seconds}초 경과",
samplePreviewNotice: "앞의 {shown}행은 예시입니다. 전체 {count}행은 삽입할 때 생성됩니다",
largeRowCountHint: "행 수가 많습니다({count}행). 배치로 생성과 삽입을 진행하며 언제든 취소할 수 있습니다",
timeoutSecs: "제한 시간(초)",
timeoutHint: "0이면 제한 시간 없음입니다. 대량 데이터에서는 0을 유지하거나 더 길게 설정하세요",
batchRows: "배치당 행 수",
batchRowsHint: "한 번에 생성하고 삽입할 행 수입니다. 서버 한도를 넘으면 자동으로 분할됩니다",
cancelInsert: "삽입 취소",
cancelledLabel: "취소되었습니다. 이미 삽입된 행은 테이블에 남습니다",
},
tableToolbox: {
title: "데이터 도구",
+11 -1
View File
@@ -5363,7 +5363,7 @@ export default withEnglishFallback({
successLabel: "{count} bem-sucedidas",
failLabel: "{count} falhas",
totalLabel: "/ {count} linhas",
copyAllSql: "Copy All SQL",
copySampleSql: "Copiar SQL de exemplo",
prevStep: "Anterior",
startInsert: "Start Insert",
confirm: "Confirmar",
@@ -5589,6 +5589,16 @@ export default withEnglishFallback({
drivers_license: "Carteira de motorista",
custom: "Personalizado",
},
insertingTable: "Gravando em {table} (tabela {index}/{count})",
elapsed: "{seconds}s decorridos",
samplePreviewNotice: "Exibindo as primeiras {shown} linhas de exemplo; as {count} linhas são geradas durante a inserção",
largeRowCountHint: "Grande número de linhas ({count}); as linhas são geradas e inseridas em lotes e você pode cancelar a qualquer momento",
timeoutSecs: "Tempo limite (segundos)",
timeoutHint: "0 significa sem limite; mantenha 0 ou aumente para grandes volumes",
batchRows: "Linhas por lote",
batchRowsHint: "Linhas geradas e inseridas por envio; lotes grandes são divididos automaticamente",
cancelInsert: "Cancelar inserção",
cancelledLabel: "Cancelado; as linhas já gravadas permanecem na tabela",
},
tableToolbox: {
title: "Ferramentas de dados",
+11 -1
View File
@@ -5633,7 +5633,7 @@ export default withEnglishFallback({
successLabel: "{count} başarılı",
failLabel: "{count} başarısız",
totalLabel: "/ {count} girdi",
copyAllSql: "Tüm SQL'i Kopyala",
copySampleSql: "Örnek SQL'i kopyala",
prevStep: "Geri",
startInsert: "Eklemeyi Başlat",
confirm: "Onayla",
@@ -5859,6 +5859,16 @@ export default withEnglishFallback({
drivers_license: "Sürücü Belgesi",
custom: "Özel",
},
insertingTable: "{table} yazılıyor (tablo {index}/{count})",
elapsed: "{seconds}s geçti",
samplePreviewNotice: "İlk {shown} örnek satır gösteriliyor; {count} satır ekleme sırasında oluşturulur",
largeRowCountHint: "Satır sayısı yüksek ({count}); satırlar toplu olarak oluşturulup eklenir ve istediğiniz zaman iptal edebilirsiniz",
timeoutSecs: "Zaman aşımı (saniye)",
timeoutHint: "0 sınırsız anlamına gelir; büyük verilerde 0 olarak bırakın veya daha uzun bir süre ayarlayın",
batchRows: "Toplu iş başına satır",
batchRowsHint: "Her gönderimde oluşturulup eklenen satır sayısı; büyük toplu işler otomatik olarak bölünür",
cancelInsert: "Eklemeyi iptal et",
cancelledLabel: "İptal edildi; yazılan satırlar tabloda kalır",
},
tableToolbox: {
title: "Veri Araçları",
+11 -1
View File
@@ -5627,7 +5627,7 @@ export default withEnglishFallback({
successLabel: "{count} 成功",
failLabel: "{count} 失败",
totalLabel: "/ {count} 条",
copyAllSql: "复制全部 SQL",
copySampleSql: "复制样例 SQL",
prevStep: "上一步",
startInsert: "开始插入",
confirm: "确定",
@@ -5853,6 +5853,16 @@ export default withEnglishFallback({
drivers_license: "驾驶证号",
custom: "自定义",
},
insertingTable: "正在写入 {table}(第 {index}/{count} 张表)",
elapsed: "已用时 {seconds} 秒",
samplePreviewNotice: "以上为前 {shown} 行样例数据,共 {count} 行将在插入时流式生成",
largeRowCountHint: "行数较大({count} 行),插入时将采用边生成边写入的批量模式,可随时取消",
timeoutSecs: "超时时间(秒)",
timeoutHint: "0 表示不限制超时;数据量较大时建议保持 0 或设置更长时间",
batchRows: "每批行数",
batchRowsHint: "每次生成并写入的行数;超过服务端报文上限时会自动再拆分",
cancelInsert: "取消插入",
cancelledLabel: "已取消,已写入的行保留在表中",
},
tableToolbox: {
title: "数据工具",
+11 -1
View File
@@ -4683,7 +4683,7 @@ export default withEnglishFallback({
successLabel: "{count} 成功",
failLabel: "{count} 失敗",
totalLabel: "/ {count} 條",
copyAllSql: "複製全部 SQL",
copySampleSql: "複製範例 SQL",
prevStep: "上一步",
startInsert: "開始插入",
confirm: "確定",
@@ -4909,6 +4909,16 @@ export default withEnglishFallback({
drivers_license: "駕駛證號",
custom: "自訂",
},
insertingTable: "正在寫入 {table}(第 {index}/{count} 張表)",
elapsed: "已用時 {seconds} 秒",
samplePreviewNotice: "以上為前 {shown} 列範例資料,共 {count} 列將在插入時串流產生",
largeRowCountHint: "列數較大({count} 列),插入時將採用邊產生邊寫入的批次模式,可隨時取消",
timeoutSecs: "逾時時間(秒)",
timeoutHint: "0 表示不限制逾時;資料量較大時建議保持 0 或設定更長時間",
batchRows: "每批列數",
batchRowsHint: "每次產生並寫入的列數;超過伺服端封包上限時會自動再拆分",
cancelInsert: "取消插入",
cancelledLabel: "已取消,已寫入的列保留在表中",
},
tableToolbox: {
title: "數據工具",