Skip to content

Improve Fetch-From-Type Warning in Log #1940

@gramian

Description

@gramian

ArcadeDB Version 25.1.1

Currently a repeated fetch from a non-indexed type causes a log entry like:

Attempt to scan type '%s' of total size %s %d times. This operation is very expensive, consider using an index

see: https://github.com/ArcadeData/arcadedb/blob/main/engine/src/main/java/com/arcadedb/query/sql/executor/FetchFromTypeExecutionStep.java#L117 .
This is a very useful help for a database designer, but it could still be improved by adding:

  • the to-be-fetched property or bucket name. (This makes only sense if a bucket name is available and not only a number)
  • the name of the database in which the to-be-fetched type is.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions