Package Structure and Usage
In Megaladata, all project work is organized within packages. A package serves as the minimum unit for deployment and acts as a container for project items like components, workflows, and connections.
Packages are saved individually in the form of files with .mgp extension. Packages include references and modules.
References link to other packages, allowing you to use their derived components and connections within your current project. These shared items are only available if they were explicitely published (marked for sharing) in the source package.
Each package contains at least one module. A module contains the following items:
- The workflow: A sequence of data processing nodes.
- Connections: Define settings for connecting to external data sources and destinations.
- Components: A list of derived components (supernodes) available in the package, including those created within this package and those connected from other packages via references.
Note:
When you open a package (
<Package_name>.mgp), a lock file named<Package_name>.mgp.lckis automatically created in the same directory. This prevents other users from editing or deleting the package while you have it open. The.mgp.lckfile is automatically deleted when you close the package.If the package autosave option is enabled (see Packages for details), an autosave file named
<Package_name>.mgp.autosaveis created next to the original.mgpfile. The package contents are automatically saved to this.mgp.autosavefile at the configured frequency. If needed, you can restore from the most recent autosave. First, ensure the original package is closed in Megaladata. Then, consider backing up the current.mgpfile. Finally, rename the<Package_name>.mgp.autosavefile to<Package_name>.mgp.
Read on: The First Workflow