typedb / typedb-studio

TypeDB Studio (IDE)
https://typedb.com
Mozilla Public License 2.0
195 stars 44 forks source link

Studio freezes when query output result count is high #820

Open shreyas1599 opened 8 months ago

shreyas1599 commented 8 months ago

Description

When I run a fetch query with a large number (eg: 10000) results, more than one time, Studio freezes and stops responding. I'm assuming because it can't handle the rendering a second time.

The query I run fetches all the attributes of an entity (each having ~10 attributes).

Environment

  1. TypeDB distribution: Core
  2. TypeDB version: 2.26.0
  3. Environment: Mac
  4. Studio version: 2.26.0

Reproducible Steps

  1. Set up Run a fetch query which fetches ~10000 results (each entity in the response with ~10 attributes)

Additional information

Relevant logs from TypeDB or Driver: No error logs in TypeDB server. Problem probably only has to do with Studio rendering it.

Possible solution to this specific case: I'm not aware of the feasibility of this, but if there could be an option for a user to manually clear the output buffer or even Studio clears the output buffer on its own?

alexjpwalker commented 5 months ago

Thanks for the report @shreyas1599 - this definitely sounds like a serious issue, marking it to be looked at in the (hopefully fairly near) future

Much of the TypeDB team's focus is currently squarely on TypeDB 3.0, after whose launch I would expect time to be spent addressing the most critical issues affecting Studio right now.