Comments (6)
@hmaskat17 Would you be able to share a postgres sql dump of a setup where this is easily reproducible? I haven't seen other reports yet on the same issue, but it could be that you're hitting a specific bottleneck somewhere in this specific schema 🙂
from directus.
Could there be network issues between the directus instance and the database? or perhaps not enough resources available to the directus instance?
from directus.
Could there be network issues between the directus instance and the database? or perhaps not enough resources available to the directus instance?
Cannot be certain but i don't think it is a network issue since other requests and Directus app work normally. We tested scaling our resources up without any changes. I believe we tested using resources above the recommendation and when monitoring the usage of CPU and memory everything looked fine (not hitting any usage limits).
from directus.
@rijkvanzanten I'm trying to test the dump file in a Directus instance but I'm not too sure how to create a minimal and viable working dump file that i can share here (that have relational data included). Are there any directus specific database entities needed for the database dump?
from directus.
@hmaskat17 If at all possible, the easiest way for me to be able to reproduce the exact issue is by having a pg_dump
that I can just important and have everything 1-1. This is the type of issue that's hard to reproduce without the exact hardware and config, so the closer I can get to your exact setup the better 👍🏻
from directus.
@rijkvanzanten Understandable but unfortunately we cannot share the whole database here as it is an application in production and contains sensitive data. Will need to debug this issue another way. Do you have any tips on how and where to investigate further?
Since we are almost purely using Directus backend as-is without any hooks etc, I think we can rule out any issues in the code if there are no other reports here either. The only reasoning would be a database schema and configuration problem? So we should probably try testing schema changes and debugging database?
We are temporarily setting up a custom endpoint extension in Directus to retrieve the same relational data and it is currently returning data in ~500 ms.
from directus.
Related Issues (20)
- App translations break in related values display HOT 1
- Navigation guards for refresh HOT 2
- Notification "archive all" button not applied to all notifications HOT 6
- Logout activity HOT 1
- Export functionality in role management HOT 1
- Support singleton type for graphql api response
- Kanban and Calendar layouts don't (auto) refresh
- Kanban layout "Download Page as CSV" not working / supported
- Auto refresh Kanban layout not working HOT 1
- `_empty` and `_nempty` filter in Joi Schema don't align with filters used for database querying
- Allow `_submitted` filter in access control field validation
- SSO: Keycloak refresh token not working HOT 2
- OpenApi Specification - ReadItemsParams missing 'page' parameter
- Insights Time Series Graph should drop to 0 instead of keeping last value for empty groups HOT 2
- Need a feature to download details of a particular role HOT 1
- Condition of dropdown field Data model isn't working HOT 1
- Colors with `color-mix(...)` break color selection interface HOT 1
- Split directus in two image : Front-end & Back-end HOT 1
- API: Columns shift when EXPORT_BATCH_SIZE is surpassed on exporting CSV HOT 3
- Only allow manual flows being executed by logged in app users HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from directus.