Patent US5717918A successfully refreshed from Google Patents.
← Back to Patent Explorer
US5717918A Expired / Lapsed US ⏱️ 0.0 years remaining

Method for concurrently performing a physical sequential scan of a database into a database buffer which is queued until a preceding scan is completed

Assignee: Hitachi Ltd
•
Filing: 1995-06-06
•
Granted: 1998-02-10
•
Expires: 2015-06-06
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A database system is provided for reading data from a database to a database buffer and performing a physical sequential scan for the data on the buffer. If the preceding request for physical sequential scan is under execution, the database system operates to keep the succeeding request for scan in a waiting state until the preceding requested scan is completed and then execute the succeeding request for scan after the preceding requested scan is completed. If there are more than one succeeding requests for physical sequential scan, they are executed at the same time. Another scanning method is also provided. If the preceding request for scan is under execution, the succeeding requested scan is executed for the data existing after the halfway location at which the preceding scan process now reads the data. The short data is read from its head for completing the subsequent scan.

Inventors

  • 👤 Hiroshi Takayama
  • 👤 Mitsuo Miyazaki
  • 👤 Kazuo Masai
  • 👤 Kuniaki Yamashita

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-08 19:13
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/20; G06F16/24; G06F16/245; G06F16/2455; G06F16/24553; G06F16/24554; G06F16/24557; Y; Y10; Y10S; Y10S707/00; Y10S707/99931; Y10S707/99938; Y10S707/99951; Y10S707/99952; Y10S707/99953

Claims Analysis

Total Claims: 20
Claim 1
Independent Claim 89 words
A scanning method executed in a database processing device for concurrently executing plural scan processes for one database, comprising the steps of: determining whether or not a preceding physical sequential scan is being executed for said database if a request for physical sequential scan is issued to said database; if said preceding scan is being executed, keeping the succeeding request for physical sequential scan in a waiting state until said preceding scan is completed; and executing the succeeding request for physical sequential scan after said preceding scan is completed.
Claim 2
Dependent Claim 89 words
A scanning method executed in a database processing device for concurrently executing plural scan processes for one database, comprising the steps of: determining whether or not a preceding physical sequential scan is being executed for said database if a request for physical sequential scan is issued to said database; if said preceding scan is being executed, keeping the succeeding request for physical sequential scan in a waiting state until said preceding scan is completed; and executing the succeeding request for physical sequential scan after said preceding scan is completed.
Claim 3
Dependent Claim 35 words
A scanning method as claimed in claim 1, wherein if the succeeding plural requests for physical sequential scan are awaited, those requested scans are started at a time after said preceding requested scan is completed.
Claim 4
Dependent Claim 53 words
A scanning method as claimed in claim 2, wherein said database processing device provides buffer memories for temporarily storing data read out of said database, sand data is used for said scan, and said plural physical sequential scans are executed by using said buffer memories for storing corresponding data units in said database.
Claim 5
Dependent Claim 23 words
A scanning method as claimed in claim 3, wherein said scan process is a collating process without changing the change of said database.
Claim 6
Dependent Claim 90 words
A scanning method as claimed in claim 3, executed in plural database processing devices connected through a communication line, comprising the steps of: checking for an empty area in a buffer memory of another database processing device if stored data is discarded from said buffer memory; transferring said data to be discarded to said empty area if any; and giving a request for scan to one of said database processing device for holding said data if said data discarded from the original database processing device is requested to be re-scanned.
Claim 7
Dependent Claim 126 words
A scanning method for executing plural scans for one database in a database processing device arranged to temporarily store each predetermined data unit from said database to a buffer memory and execute said scan by using said stored data, comprising the steps of: determining whether or not a preceding physical sequential scan is now being executed for said database if a physical sequential scan for said database takes place; storing a location of said database being processed in said scan process under execution if any; starting the succeeding scan process from said stored location in parallel to said preceding physical sequential scan; and executing said succeeding scan process for said database from its head to said stored location after said preceding physical sequential scan is completed.
Claim 8
Dependent Claim 126 words
A scanning method for executing plural scans for one database in a database processing device arranged to temporarily store each predetermined data unit from said database to a buffer memory and execute said scan by using said stored data, comprising the steps of: determining whether or not a preceding physical sequential scan is now being executed for said database if a physical sequential scan for said database takes place; storing a location of said database being processed in said scan process under execution if any; starting the succeeding scan process from said stored location in parallel to said preceding physical sequential scan; and executing said succeeding scan process for said database from its head to said stored location after said preceding physical sequential scan is completed.
Claim 9
Dependent Claim 22 words
A scanning method as claimed in claim 6, wherein said scan process is a retrieving process with no change of said database.
Claim 10
Dependent Claim 68 words
A scanning method as claimed in claim 6, executed in plural database processing devices connected with one another through a communication line, further comprising the steps of: checking for an empty area of said buffer memory of another database processing device if said stored data is discarded from said buffer memory; and if said empty area is found, transferring said data to be discarded to said empty area.
Claim 11
Dependent Claim 39 words
A scanning method as claimed in claim 8, wherein if said data discarded from the original database processing device is requested to be rescanned, a request for scan is issued to a database processing device for holding said data.
Claim 12
Dependent Claim 47 words
A scanning method as claimed in claim 8, wherein if said data discarded from the original database processing device is requested to be rescanned, said data is transferred from a database processing device for holding said data to said buffer memory of the original database processing device.
Claim 13
Dependent Claim 137 words
A scanning method executed in a database system having database processing devices arranged to store each predetermined unit data from a database to the corresponding buffer memories and perform the scan for said stored data and a communication line for connecting said database processing devices, comprising the steps of: in any one of said database processing devices, if a request for scanning said database is issued, checking whether or not the target data stays in the buffer memory of another database processing device; if the target data stays in said buffer memory, issuing an execution instruction for scanning said database to another database processing device; and if no target data stays in said buffer memory, reading each predetermined data unit from said database to said buffer memory of another database processing device and executing said scan process.
Claim 14
Dependent Claim 137 words
A scanning method executed in a database system having database processing devices arranged to store each predetermined unit data from a database to the corresponding buffer memories and perform the scan for said stored data and a communication line for connecting said database processing devices, comprising the steps of: in any one of said database processing devices, if a request for scanning said database is issued, checking whether or not the target data stays in the buffer memory of another database processing device; if the target data stays in said buffer memory, issuing an execution instruction for scanning said database to another database processing device; and if no target data stays in said buffer memory, reading each predetermined data unit from said database to said buffer memory of another database processing device and executing said scan process.
Claim 15
Dependent Claim 142 words
A scanning method executed in a database system having database processing devices arranged to read each predetermined data unit from a database to the corresponding buffer memories and perform a scan process for said read data and a communication line for connecting said database processing devices, comprising the steps of: in any one of said database processing devices, if a request for scanning said database takes place, checking whether or not target data stays in the buffer memory of another database processing device; if said target data stays in said buffer memory, transferring said data to said buffer memory of another database processing device and executing a scan process for said data; and if no target data stays in said buffer memory, reading each predetermined data unit from said database to said buffer memory and executing a scan process for said data.
Claim 16
Dependent Claim 142 words
A scanning method executed in a database system having database processing devices arranged to read each predetermined data unit from a database to the corresponding buffer memories and perform a scan process for said read data and a communication line for connecting said database processing devices, comprising the steps of: in any one of said database processing devices, if a request for scanning said database takes place, checking whether or not target data stays in the buffer memory of another database processing device; if said target data stays in said buffer memory, transferring said data to said buffer memory of another database processing device and executing a scan process for said data; and if no target data stays in said buffer memory, reading each predetermined data unit from said database to said buffer memory and executing a scan process for said data.
Claim 17
Dependent Claim 259 words
A scanning method executed in a database system having a plurality of database processing devices and a communication line for connecting the database processing devices, a database being stored in an external storage, the external storage being connected with one of the database processing devices and each of the database processing devices having a buffer memory, a scan processing being performed on the buffer memory to which a predetermined unit of data is read from the database, comprising the steps of: in the one database processing device, (a) if a scan request for the database is issued, checking whether or not the target data is in the buffer memories of all database processing devices; (b) if the target data is in the buffer memory of another database processing device, issuing a scan instruction to the another database processing device; (c) if no target data is in any of the buffer memories of all of the database processing devices; (c1) checking whether or not any free area having the predetermined unit size is in the buffer memory of the one database processing device; (c2) if no free area is in the buffer memory of the one database processing device, moving the content of area of its buffer memory to the buffer memory of one of the other database processing devices to make free area; and (c3) reading the data from the database to the free area in the buffer memory of the one database processing device; and (d) executing a scan process on the buffer memory storing the target data.
Claim 18
Dependent Claim 259 words
A scanning method executed in a database system having a plurality of database processing devices and a communication line for connecting the database processing devices, a database being stored in an external storage, the external storage being connected with one of the database processing devices and each of the database processing devices having a buffer memory, a scan processing being performed on the buffer memory to which a predetermined unit of data is read from the database, comprising the steps of: in the one database processing device, (a) if a scan request for the database is issued, checking whether or not the target data is in the buffer memories of all database processing devices; (b) if the target data is in the buffer memory of another database processing device, issuing a scan instruction to the another database processing device; (c) if no target data is in any of the buffer memories of all of the database processing devices; (c1) checking whether or not any free area having the predetermined unit size is in the buffer memory of the one database processing device; (c2) if no free area is in the buffer memory of the one database processing device, moving the content of area of its buffer memory to the buffer memory of one of the other database processing devices to make free area; and (c3) reading the data from the database to the free area in the buffer memory of the one database processing device; and (d) executing a scan process on the buffer memory storing the target data.
Claim 19
Dependent Claim 277 words
A scanning method executed in a database system having a plurality of database processing devices and a communication line for connecting the database processing devices, a database being stored in an external storage, the external storage being connected with one of the database processing devices and each of the database processing device having a buffer memory, a scan processing being performed on the buffer memory to which a predetermined unit data is read from the database, comprising the steps of: in the one database processing device, (a) if a scan request for the database is issued, checking whether or not the target data is in the buffer memories of all of the database processing devices; (b) if the target data is in the buffer memory of another database processing device, transferring the target data from the another database processing device to the buffer memory of the one database processing device; (c) if no target data is in the buffer memories of all of the database processing devices; (c1) checking whether or not any free area having the predetermined unit size is in the buffer memory of the one database processing device; (c2) if no free area is in the buffer memory of the one database processing device, moving the content of area of the buffer memory of the one database processing device to the buffer memory of one of the other of the database processing devices to make a free area; and (c3) reading the data from the database to the free area in the buffer memory of the one database processing device; and (d) executing a scan process on the buffer memory storing the target data.
Claim 20
Dependent Claim 277 words
A scanning method executed in a database system having a plurality of database processing devices and a communication line for connecting the database processing devices, a database being stored in an external storage, the external storage being connected with one of the database processing devices and each of the database processing device having a buffer memory, a scan processing being performed on the buffer memory to which a predetermined unit data is read from the database, comprising the steps of: in the one database processing device, (a) if a scan request for the database is issued, checking whether or not the target data is in the buffer memories of all of the database processing devices; (b) if the target data is in the buffer memory of another database processing device, transferring the target data from the another database processing device to the buffer memory of the one database processing device; (c) if no target data is in the buffer memories of all of the database processing devices; (c1) checking whether or not any free area having the predetermined unit size is in the buffer memory of the one database processing device; (c2) if no free area is in the buffer memory of the one database processing device, moving the content of area of the buffer memory of the one database processing device to the buffer memory of one of the other of the database processing devices to make a free area; and (c3) reading the data from the database to the free area in the buffer memory of the one database processing device; and (d) executing a scan process on the buffer memory storing the target data.

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2001-02-09 2001-08-11 2002-02-10 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2005-02-09 2005-08-11 2006-02-10 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2009-02-09 2009-08-11 2010-02-10 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag