Different ways to create OpenEdge Database
We can create the Progress OpenEdge databasae in different ways, it’s
totally depend on the situation/requirement the way you follow.
There
are six ways of creating an OpenEdge Database:
- PRODB utility
- PROCOPY utility
- PROSTRCT CREATE utility
- PROREST utility
- Data Dictionary
- Data Administration
PRODB
utility:
- PRODB utility creates a database by copying the whole source database to the target database using structure of source database, and places all of the extents in the current working directory.
- Application developers usually use the PRODB utility to create test or development databases for testing their applications.
- By using PRODB utility, the newly created target database maintains the same pathname convention, relative or absolute, as the source database.
PROCOPY
utility:
- PROCOPY utility creates a database by copying the meta-schema, schema, & application data from a source database to a target database.
- Even when the source database resides in different
directories, the PROCOPY creates target database by using the structure of source
database, and places all of the extents in the same directory, unless a .st file already exists for the target
database.
- By using PROCOPY utility, the newly created target
database maintains the absolute pathnames convention.
PROSTRCT
CREATE utility:
- PROSTRCT CREATE utility creates a void database by using a structure description (.st) file. The Database Administrator creates and validates the structure description (.st) file before creating a new database.
- Newly created database doesn’t contain any meta-schema. Rather, it consists of the database control (DB) area, primary recovery (BI), after-image (AI), application data (.dn), and other areas that defined in the .st file. We must add meta-schema information after creating a void database.
- We can use the PROCOPY or PRODB utilities for adding meta-schema information to a void database. The OpenEdge RDBMS provides empty databases of each supported database block size.
PROREST
utility:
- PROREST utility creates the database by restoring the backup of source database.
- PROREST is used when we need to restore the target database from a full source database backup.
- PROREST creates one variable-length extent per area for your target database, unless you don’t have structure file at the time of restoring the target database. To have multiple extents in your target database, you must create and apply a structure definition (.st) file.
Data
Dictionary:
- Data Dictionary tool is used to create a new database in a Graphical or Character interface. Data Dictionary tool also maintains the database schema.
- Using Data Dictionary we can define and update tables, fields, indexes and sequences.
Data
Administration:
- Data Administration tool provides Graphical interface for creating and maintaining OpenEdge database.
- Using Data Administration we can dump and load data and schema, along with tasks related to reporting, security, and DataServers.
Comments
Post a Comment