![]() How to manipulate a
Database in SPRING System
This page describes the
procedures to create, activate and
delete a Database.
Once the Database is
created, it will be necessary to define a Project with its geographical or planar
coordinates and the projection system. Once these parameters are defined then
it is possible to enter or handle data in SPRING System. This SPRING system
structure guarantees an geographical Database organization allowing and
efficient data recover and data storage An
Spring Database corresponds
physically to a directory where the Data Model, with its Classes and Categories
definitions, as well as the Database projects will be stored. The projects
will be stored in sub directories together with its data files: points,
lines, orbital and aerial images, thematic images, texts. grids
and objects. First we should create
the Database and then we can activate it and enter data in it.
How to create a Database
Creating a Database means to create a
folder where data will be stored, and also to select
the Database management system that will be used to store and retrieve
tabular data. The user has the following options: DBase, Access, Oracle, MySQL,
PostgreSQL or SQLite.
The DBase or SQLite manager doesn't need to be installed in the computer,
because SPRING installation already provides the required tools to handle
DBase and SQLite tables. The Access can be used without the MS Office system,
in this case, the JET (drive for Access) has to be installed. To use MySQL,
the user must install the 5.x version (or
compatible) and, to use PostgreSQL, the 8.2 version must be installed. For
the Oracle option the Oracle manager has to be installed in a server. The SPRING System works
in its original form with a Database manager, it doesn't matter what Database
manager is selected, the user will handle all data using SPRING interface. It is required though
that the user logged in SPRING System has permission to write in the Database
directory. It is strongly suggested that the user creates the springdb directory and a sub directory and
also check that the hard drive has enough space to store the Database that
will be created. Creating a Database is not enough, in order to write or
change data in the Database it is required to activate the Database. NOTE:
The "Database" window will be displayed together with the
Main Menu in the "spring" module initialization.
NOTES:
Considerations
about some Database MANAGERS The SPRING 5.2 versions of SPRING for Windows and Linux
works with the same five Database managers (SGDB), plus the following differences: ·
The MySQL Manager: For the MySQL manager in this new version works with MySQL 5.x and compatibles. ·
The PostgreSQL Manager: For the PostgreSQL manager in this new version works with PostgreSQL 8.x and compatibles. This driver works in Windows an Linux plataform. ·
The Oracle Manager: For the Oracle manager in this new version works with Oracle 10i and compatibles. This driver works in Windows an Linux plataform. ·
The ACCESS Manager: In the 5.2 version SPRING creates a data base compatible
to the Access version installed in the computer (97, 2000, or XP). If the
computer being used has no version of the Access system the database creation
will depend on the JET drive installation (either in the versions 3.5 or
4.0). The JET installation will allow table creations in the Access 97 format
(for JET 3.5) or in the Access 2000 format (for JET 4.0). The installation files for the drives JET
3.5 and JET 4.0 are available in the download page of the SPRING software. The table bellow presents
different scenarios using SPRING 5.2 and the Access manager in a computer
that has only the Windows installed and another with Windows and the Access
manager installed.
(1) In this case we have a Database
created by the Access
Activating
a Database
Activating a Database
means that the Database will be opened to define its own structure (projects,
categories, classes), and also to add new data. The Database can only be
activated by the user who is currently “logged
in” and that has written permissions for the Database directory. Only one Database at a
time can be active in a working session.
NOTES:
To delete a Database
Deleting a Database also deletes the
directory with the Database's name, that is
everything related to the Database will be deleted. To delete a Database the
user “logged in” has to have permission to write in the
Database directory.
ATTENTION: Once the Database is deleted
there is no way to recover it, unless you have a backup copy for this Database.
![]() |