Skip to content

Releases: greatfinish/dmdul

dmdul v0.1.8

29 Jun 13:52

Choose a tag to compare

Highlights
Added sequence recovery support.
Added trigger recovery support.
Improved object dictionary recovery.
Improved v0.1.8 documentation.
Validation
go test ./... passed.
Version check passed: dmdul v0.1.8 (331f623).
Binary
dmdul_windows_amd64_v0.1.8.zip
SHA256
B4CB9D0CBC9B693862B738ADB962E69406E928F73400BA5DD8926F874EED0E74

dmdul v0.1.7

29 Jun 07:06

Choose a tag to compare

dmdul v0.1.7

Highlights

  • Added view recovery support.
  • Added synonym recovery support.
  • Added table privilege recovery support.
  • Extended dictionary metadata handling for extra database objects.

Changes

  • Added dictionary_extras.go.
  • Improved DDL export for views, synonyms and table grants.
  • Updated README and docs for the new recovery scope.
  • Updated CLI and dictionary tests.

Validation

  • go test ./... passed.
  • Windows binary build passed.
  • Version check passed: dmdul v0.1.7 (e469f17).

Binary

  • dmdul_windows_amd64_v0.1.7.zip

SHA256

741ED8B873A621BDDB8F421A7EE7FE11556BBD4F97B03AA5DDCE9B765278EDE3

dmdul v0.1.6

29 Jun 01:31

Choose a tag to compare

dmdul v0.1.6

This release introduces the first complete offline database recovery workflow.

Highlights

  • Added unload database for full database export.
  • Added dictionary-driven recovery workflow.
  • Added segment discovery and segment-based data positioning.
  • Improved same-table-name recovery across different owners.
  • Added dictionary override support.
  • Added dictionary segment tests.

Changes

  • dmdul_dict now participates in DDL and data export.
  • bootstrap can enrich tables.tsv with segment information.
  • Added segment fields:
    • header_file
    • header_block
    • bytes
    • blocks
    • extents
  • Reduced false data matches from unrelated index/table pages.
  • Improved full database DDL and data export workflow.

Validation

  • Windows binary build passed.

Binary

  • dmdul_windows_amd64_v0.1.6.zip

SHA256

2523D9519EE6252C3828F3BC17389EFEEFF83119396282AD759F8DE98DFF0206

dmdul v0.1.5

28 Jun 07:47

Choose a tag to compare

dmdul v0.1.5

This release adds dictionary persistence and timestamped DUL operation logging.

Changes

  • Added persistent dictionary file support.
  • Added dul.log operation logging with timestamps.
  • Added dictionary file tests.
  • Improved interactive DUL workflow reliability.

Validation

  • go test ./... passed.
  • Windows binary build passed.

Binary

  • dmdul_windows_amd64_v0.1.5.zip

SHA256

F3C464104C3A4D0E47D86A8E0CEF0E6EBB7FEC4D5EEB191A8CB2D46B95402456

dmdul v0.1.4

27 Jun 13:05

Choose a tag to compare

dmdul v0.1.4

This release focuses on README and project presentation improvements.

Changes

  • Improved README structure and visual presentation.
  • Added badges for Go, License, Release and Stars.
  • Added project positioning and limitation description.
  • Added feature overview table.
  • Added clearer installation, build and quick-start sections.
  • Added safety notes for DBF, dm.ctl, SQL and CSV files.
  • Added version planning and contribution notes.

Notes

This is a documentation-only release. No binary changes were introduced.

dmdul v0.1.3

27 Jun 12:10

Choose a tag to compare

dmdul v0.1.3

This release improves usability and introduces a more interactive operation mode.

Changes

  • Added interactive CLI / REPL support.
  • Improved user operation flow.
  • Added DUL-style control command handling.
  • Added dictionary parsing module.
  • Updated CLI behavior and related tests.
  • Updated documentation for the new interaction model.

Validation

  • go test ./... passed.
  • Windows binary build passed.

Binary

  • dmdul_windows_amd64_v0.1.3.zip

Example

Start interactive DMDUL:

.\bin\dmdul.exe

Interactive extraction example:

DMDUL> set system D:\temp\oldpro\SYSTEM.DBF;
DMDUL> set data_dir D:\temp\oldpro;
DMDUL> bootstrap;
DMDUL> list user;
DMDUL> list table HR_TEST;
DMDUL> unload table HR_TEST.EMP_INFO;
DMDUL> set data_format csv;
DMDUL> unload user HR_TEST;
DMDUL> exit;

dm.ctl remains an optional enhancement file; if not provided, it will be automatically used if dm.ctl exists in the same directory as SYSTEM.DBF.

bootstrap scans the DBF headers under data_dir and generates control.dul, which records the tablespace number, file number, tablespace name, and data file path. unload table and unload user will generate DDL SQL respectively; the data is exported as INSERT SQL by default; it can also be exported as CSV using set data_format csv;.

dmdul v0.1.2

26 Jun 08:53

Choose a tag to compare

dmdul v0.1.2

This release improves offline Dameng datafile recognition and reduces false exports caused by ordinary index pages.

Changes
Adjusted CLI parameters and related documentation.
Improved recognition of hidden TABOBJ / INDEX internal objects.
Added support for low-bit assist id table number handling.
Added page-level sample-row validation for candidate tables.
Reduced the risk of misidentifying ordinary index pages as exportable table data.
Validation
go test ./... passed.
Windows binary build passed.
Binary
dmdul_windows_amd64_v0.1.2.zip
SHA256
0FB9922766DDD117FFB6A75D7E97C93830C663DE3378B052EB5318D73D835BB4

dmdul v0.1.1

26 Jun 07:26

Choose a tag to compare

dmdul v0.1.1

Initial public release of dmdul.

dmdul is an offline Dameng database extraction helper written in Go.

Features

  • Inspect Dameng database files
  • Inspect dm.ctl control file metadata
  • Scan SYSTEM.DBF bootstrap metadata
  • Export user table DDL from offline dictionary rows
  • Export ordinary table rows as INSERT SQL
  • Scan offline partition table metadata
  • Provide CLI commands and documentation

Validation

  • go test ./... passed
  • Windows binary build passed

Binary

  • dmdul_windows_amd64_v0.1.1.zip

Example

.\dmdul.exe --help
.\dmdul.exe inspect -file SYSTEM.DBF
.\dmdul.exe inspect-ctl -ctl dm.ctl
.\dmdul.exe export-ddl -file SYSTEM.DBF -ctl dm.ctl -out schema.sql