v4.0.2
Release Notes for New Version of LDB (Version 4.0.2)
We are thrilled to introduce a new version of LDB that brings significant enhancements, bug fixes, and new features. The primary focus of this release is the introduction of the "bulk insert" command, also known as "ldb -u".
Major Changes:
- Bulk Insert Command: LDB now boasts a powerful "bulk insert" command ("ldb -u"), enabling seamless importing of CSV files into a table. Notably, this functionality has been migrated from minr, eliminating dependencies and streamlining the importation process. Please be aware that the importation functionality will be deprecated in minr shortly.
Key Features and Enhancements:
- Improved Lock Files: Enhancements have been made to optimize lock files, ensuring more robust file handling.
- Multi-threading Support: LDB now supports multi-threading, allowing simultaneous importation of data into multiple sectors for improved efficiency.
- KBs Definition Files: The addition of KBs definition files in the path "/usr/local/scanoss/ldb" provides default table configurations used during the importation process.
- Enhanced LDB ".cfg": Improvements have been made to the LDB ".cfg" file, including additional information and key count for a more comprehensive configuration.
- Record Removal Feature: A new feature has been introduced to remove specific records from a table. This includes support for removing multiple records by processing a CSV file.
- LDB Logger: A dedicated LDB logger has been added, recording the process over a specified table in "/var/log/scanoss/ldb/kb_name.log."
- MZ Tables Configuration: Configuration files (.cfg) for MZ tables have been added, enhancing compatibility and functionality.
- Generalized Select and Collate Commands: The select and collate commands have been generalized for MZ files, expanding their functionality.
- Extended Key Removal Functionality: The capability to remove keys has been extended to include MZ files.
- Long Names for Commands (Longopt): Long names for commands (longopt) have been introduced for a more user-friendly experience.
- Project Restructuring: The project has been restructured to ensure backward compatibility with the existing core software, maintaining a seamless transition to the new version.