Repository navigation
feat: 新增 MSSQL 匯出精靈、大型資料串流與 Geometry 支援 - #38
Merged
Merged
Conversation
# Conflicts: # mySQLPunk/mySQLPunk.csproj # tests/Run-SmokeTests.ps1
# Conflicts: # tests/Run-SmokeTests.ps1 # tests/SmokeTests.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
既有 MSSQL 本機 SQL 匯出介面缺少大型資料所需的進度與資源控制。這次新增四步驟精靈,讓使用者選擇資料表、是否包含支援的檢視定義,以及「結構與資料/僅結構/僅資料」,以串流方式產生本機 UTF-8
.sql。geometry透過 Serialize/Deserialize 保留序列化 bytes、NULL/empty、SRID 與 Z/M。驗證
已知限制
geography、自訂 CLR/alias 型別及 spatial indexes 仍會被預檢拒絕,含 spatial index 的表在僅資料模式也一樣。跨 SQL Server 版本、實際音效、實體 DPI、原生長時間真實 DB 工作、SSH 與 production 尚未驗收。固定大小的用戶端緩衝不代表 SQL Server 的記憶體、tempdb 或交易記錄消耗有相同上限。還原需相容目標及單一 sqlcmd session;整份檔案不具全有全無或重跑冪等保證。已測 classic sqlcmd 15 無法完成 >2 GiB 輸入,須採文件記錄的 Go client 路徑。
完整操作方式、證據與邊界見 MSSQL SQL 匯出說明 及 驗證紀錄。