Database processing method, apparatus for implementing same, and medium containing processing program therefor
First Claim
1. A computer-implemented database processing method for performing definition and operation of external file reference type data which references data stored on an outside of a database, comprising the steps of:
- at a time of inserting external file reference type data, receiving position information indicative of a storage location of an external file and watch information for watching the external file, and storing both said position and watch information in said database; and
requesting a watch of the external file indicated by said position information according to said watch information.
0 Assignments
0 Petitions
Accused Products
Abstract
A database processing method for defining and operating data of file reference type which references a file. A column data insert request for specifying position information indicative of a storage location of a file and watch information for watching the file is received from a database client. A request for watching a file indicated by the position information is issued in accordance with the watch information. The position information and the watch information are stored in a database. The foregoing operations permit data in an external file placed outside a database to be treated as data equivalent to ordinary column data stored in the database to improve the integrity of the database.
8 Citations
12 Claims
-
1. A computer-implemented database processing method for performing definition and operation of external file reference type data which references data stored on an outside of a database, comprising the steps of:
-
at a time of inserting external file reference type data, receiving position information indicative of a storage location of an external file and watch information for watching the external file, and storing both said position and watch information in said database; and
requesting a watch of the external file indicated by said position information according to said watch information.
-
-
2. A computer-implemented database processing method for performing definition and operation of external file reference type data which references data stored on an outside of a database, comprising the steps of:
-
at a time of searching external file reference type data, receiving a specification as to which one of column data and a content of an external file is to be fetched;
if the column data is specified, receiving position information indicative of a storage location of the external file and watch information for watching the external file as a search result; and
if the content of the external file is specified, obtaining data stored in the location indicated by the position information, and receiving the data thus obtained as a search result.
-
-
3. A computer-implemented database processing method for performing definition and operation of external file reference type data which is references data stored on an outside of a database, comprising the steps of:
-
at a time of updating external file reference type data, receiving update data and a specification as to which one of column data and a content of an external file is to be updated;
if the column data is specified, sending a termination notice of terminating a watch of the external file according to watch information for watching data to be updated;
re-writing position information indicative of a storage location of the external file and watch information for watching the external file, both the information having been received regarding the data to be updated as update data; and
requesting a watch of the external file according to the watch information thus re-written; and
if the content of the external file is specified, rewriting data stored in a location indicated by the position information with the update data thus received.
-
-
4. A computer-implemented database processing method for performing definition and operation of external file reference type date which references data stored on an outside of a database, comprising the steps of:
-
at a time of deleting external file reference type data, receiving a specification as to whether a content of an external file is to be deleted;
sending a termination notice of terminating a watch of the external file according to watch information of data to be deleted;
deleting the data to be deleted; and
if the content of the external file is specified, deleting data stored in a location indicated by position information.
-
-
5. A computer-implemented database processing method for performing definition and operation of external file reference type data which references data stored on an outside of a database, comprising the steps of:
-
receiving a watch request for a watch of an external file, watching the external file thus requested, and, if the external file has been updated or deleted, sending an update note indicating update or deletion of the external file to a watch requester, and if a termination notice of terminating a watch of the external file is received, terminating the watch of the external file indicated by the termination notice. - View Dependent Claims (6)
-
-
7. A computer-implemented database processing method for performing definition and operation of external file reference type data stored on a second file server which references data stored on an outside of a database stored on a first file server coupled to said second file server via a network, said method comprising the steps of:
-
if the external file reference type data is inserted, receiving by said first file server a position information indicative of a storage location of an external file and watch information for watching said external file on said second file server, and storing both said position and watch information in said database on said first file server; and
requesting a watch of said external file indicated by said position information according to said watch information from said first file server to said second file server.
-
-
8. A computer-implemented database processing method for performing definition and operation of external file reference type data stored on a second file server which references data stored on an outside of a database stored on a first file server coupled to said second file server via a network, said method comprising the steps of:
-
if external file reference type data is searched, receiving by said first file server a specification as to which one of column data and a content of an external file is to be fetched;
if said column data is specified, receiving by said first file server a position information indicative of a storage location of said external file and watch information for watching said external file as a search result; and
if said content of the external file is specified, obtaining by said second file server data stored on said location indicated by said position information, and receiving by said first file server said data thus obtained as a search result.
-
-
9. A computer-implemented database processing method for performing definition and operation of external file reference type data stored on a second file server which references data stored on an outside of a database stored on a first file server coupled to said second file server via a network, said method comprising the steps of:
-
at a time of updating external file type data, receiving by said first file server update data and a specification as to which one of column data and a content of an external file is to be updated;
if said column data is specified, sending from said first file server to said second file server a termination notice of terminating a watch of said external file according to watch information for watching data to be updated;
rewriting by said first file server a position information indicative of a storage location of said external file and watch information for watching said external file, both said information having been received regarding said data to be updated as update data; and
requesting a watch of said external file according to said watch information thus re-written from said first file server to said second file server; and
if said content of said external file is specified, rewriting by said second file server data stored in a location indicated by said position information with said update data thus received.
-
-
10. A computer-implemented database processing method for performing definition and operation of external file reference type data stored on a second file server which references data stored on an outside of a database stored on a first file server coupled to said second file server via a network, said method comprising the steps of:
-
if external file reference type data is deleted, receiving by said first file server a specification as to whether a content of an external file is to be deleted;
sending from said first file server to said second file server a termination notice of terminating a watch of the external file according to watch information of data to be deleted;
if the content of said external file is not specified, deleting by said first file server said data to be deleted from said database of said first file server;
if said content of the external file is specified, deleting by said second file server data stored in a location of said external file indicated by position information.
-
-
11. A computer-implemented data base processing method for performing definition and operation of external file reference type data stored on a second file server which references data stored on an outside of a database stored on a first file server coupled to said second file server via a network, said method comprising the steps of:
-
receiving by said second file server a watch request for a watch of an external file from said first file server, watching by said second file server said external file thus requested, and, if said external file has been updated or deleted on said second file server, sending from said second file server an update notice indicating update or deletion of said external file to said first file server; and
if a termination notice of terminating a watch of said external file is received from said first file server, terminating said watch of said external file indicated by said termination notice. - View Dependent Claims (12)
-
Specification