The MySQL Record Manager node is used to keep track of document writes into vector databases. It utilizes MySQL to store and manage records of document insertions, updates, and deletions. This node is particularly useful for maintaining the state of documents across different runs or sessions, enabling incremental updates and efficient management of large document collections.
Name: MySQLRecordManager
Type: MySQL RecordManager
Version: 1.0
Category: Record Manager
Host (string, required)
Database (string, required)
Port (number, optional)
Additional Connection Configuration (JSON, optional)
Table Name (string, optional)
Namespace (string, optional)
Cleanup (options, optional)
Specifies the cleanup method for old content:
None: No cleanup of old content.
Incremental: Delete previous versions if content has changed.
Full: Same as incremental, but also deletes records if source documents are removed.
SourceId Key (string, optional)
Connect Credential (credential)
Record Management: Tracks document insertions, updates, and deletions in vector databases.
Incremental Updates: Supports efficient updating of changed documents.
Namespace Support: Allows organization of records into namespaces.
Cleanup Options: Provides different modes for managing old or deleted content.
Time Tracking: Uses server time for accurate record timestamps.
Key Existence Checking: Efficiently checks for the existence of multiple keys.
Key Listing: Retrieves keys based on various criteria like time range and group IDs.
Batch Operations: Supports batch inserts, updates, and deletions for improved performance.
This node is typically used in workflows where documents are being inserted or updated in vector databases. It helps in:
Tracking which documents have been processed.
Managing incremental updates to avoid reprocessing unchanged documents.
Maintaining consistency between source documents and their representations in vector databases.
Efficiently managing large document collections by supporting batch operations and cleanup strategies.
Uses TypeORM for database operations.
Implements the RecordManagerInterface for standardized record management operations.
Creates and manages a MySQL table for storing record information.
Provides methods for CRUD operations on records, including batch operations.
Supports indexing for improved query performance.
Proper MySQL credentials and database access are required for this node to function correctly. Ensure that the MySQL server is accessible and that the specified database and table can be created and modified by the provided user credentials.