# US 2015/0149479 A1 · Lidar Model With Hybrid-Columnar Format and No Indexes for Spatial Searches

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0149479 A1
- Document ID: US20150149479A1
- Status: Published application
- Kind: A1
- Application number: 14/092,503
- Filed: 2013-11-27
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Daniel Geringer; Siva Ravada; Richard J. Anderson; Ying Hu
- Web page: https://patentgrep.com/patent/US20150149479A1

## CPC

- G06F 16/9537: Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
- G06F 16/9027: {Trees}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and apparatus for querying a database table containing point spatial data and without indexes is provided. A request for point spatial data in the table includes a query window provided by the user and describing an area of interest in which the user desires the point spatial data contained therein. The query window is tiled to create interior tiles and boundary tiles. A first query is formed to determine the point spatial data contained in the interior tiles. A second query is formed to determine the point spatial data contained within the boundary tiles and also within the query window. The second query includes a function that tests to determine whether the point spatial data within a boundary tile also lies within the query window. The first and second queries are executed in part on an enhanced data storage device and the results joined and returned to the user in answer to the request.

## Claims

### Claim 1

A method for querying a database having a table containing point spatial data, the method comprising:
receiving a user request specifying a query window for point spatial data contained within the query window;
generating one or more tiles that cover the query window;
computing extents of the one or more tiles;
generating a query for determining point spatial data in the table contained within the one or more tiles using the extents of the one or more tiles, said query comprising predicate clauses, said predicate clauses comprising, for each extent of said extents, a respective predicate clause specifying one or more conditions based on said each extent; and
computing the query, wherein computing the query includes, for each predicate clause of said predicate clauses:
sending a respective set of smart scan requests to an enhanced storage device for execution to cause said enhanced storage device to scan for rows that satisfy the one or more conditions of said each predicate clause, and
from the enhanced storage device, receiving resultant rows returned for the set of smart scans.

### Claim 2 (depends on 1)

The method of claim 1, wherein the table is stored in hybrid-columnar format;

### Claim 3 (depends on 2)

The method of claim 2, wherein said table is not indexed by a DBMS.

### Claim 4 (depends on 2)

The method of claim 2, wherein said one or more conditions of each predicate clause of said predicate clauses are based on columns of said table, wherein said columns of said table are not indexed by a DBMS.

### Claim 5 (depends on 1)

The method of claim 1, wherein generating the one or more tiles includes tiling the query window.

### Claim 6 (depends on 1)

The method of claim 1, wherein generating the query includes using the extents of the one or more tiles to generate SQL “BETWEEN” clauses for the query.

### Claim 7 (depends on 1)

The method of claim 1, after computing the query, loading point spatial data into said table without updating an index on said table.

### Claim 8 (depends on 1)

The method of claim 1, wherein in response to said sending a respective set of smart scan requests to an enhanced storage device, said enhanced storage device performs columnar scanning on columns stored in column-major format to find rows that satisfy said one or more conditions of said each predicate clause.

### Claim 9 (depends on 8)

The method of claim 8, wherein at least one column of said columns is compressed.

### Claim 10 (depends on 9)

The method of claim 9, wherein for a given set of rows of said table, said columnar scanning includes evaluating whether compressed column values in said at least one column value satisfy a predicate condition without decompressing said column values.

### Claim 11

One or more non-transitory storage media storing instructions for querying a database having a table containing point spatial data, said instructions, which, when executed by one or more computing devices, cause performance of a method comprising the steps of:
receiving a user request specifying a query window for point spatial data contained within the query window;
generating one or more tiles that cover the query window;
computing extents of the one or more tiles;
generating a query for determining point spatial data in the table contained within the one or more tiles using the extents of the one or more tiles, said query comprising predicate clauses, said predicate clauses comprising, for each extent of said extents, a respective predicate clause specifying one or more conditions based on said each extent; and
computing the query, wherein computing the query includes, for each predicate clause of said predicate clauses:
sending a respective set of smart scan requests to an enhanced storage device for execution to cause said enhanced storage device to scan for rows that satisfy the one or more conditions of said each predicate clause, and
from the enhanced storage device, receiving resultant rows returned for the set of smart scans.

### Claim 12 (depends on 11)

The one or more non-transitory storage media of claim 11, wherein the table is stored in hybrid-columnar format.

### Claim 13 (depends on 12)

The one or more non-transitory storage media of claim 12, wherein said table is not indexed by a DBMS.

### Claim 14 (depends on 12)

The one or more non-transitory storage media of claim 12, wherein said one or more conditions of each predicate clause of said predicate clauses are based on columns of said table, wherein said columns of said table are not indexed by a DBMS.

### Claim 15 (depends on 11)

The one or more non-transitory storage media of claim 11, wherein generating the one or more tiles includes tiling the query window.

### Claim 16 (depends on 11)

The one or more non-transitory storage media of claim 11, wherein generating the query includes using the extents of the one or more tiles to generate SQL “BETWEEN” clauses for the query.

### Claim 17 (depends on 11)

The one or more non-transitory storage media of claim 11, after computing the query, loading point spatial data into said table without updating an index on said table.

### Claim 18 (depends on 11)

The one or more non-transitory storage media of claim 11, wherein in response to said sending a respective set of smart scan requests to an enhanced storage device, said enhanced storage device performs columnar scanning on columns stored in column-major format to find rows that satisfy said one or more conditions of said each predicate clause.

### Claim 19 (depends on 18)

The one or more non-transitory storage media of claim 18, wherein at least one column of said columns is compressed.

### Claim 20 (depends on 19)

The one or more non-transitory storage media of claim 19, wherein for a given set of rows of said table, said columnar scanning includes evaluating whether compressed column values in said at least one column value satisfy a predicate condition without decompressing said column values.
