-
Notifications
You must be signed in to change notification settings - Fork 219
Open
Labels
bugSomething isn't workingSomething isn't workingdatastoreIssues related to the DataStore categoryIssues related to the DataStore category
Description
Describe the bug
Queries/mutate calls against specific models (or join tables) are taking excessive amounts of time. A single mutate is averaging 5.4 seconds and a simple query for all ~200 items will take ~1 minute. The schema consists of heavily inter connected models. This is from a Flutter app that does not experience the issue on Android.
Steps To Reproduce
Steps to reproduce the behavior:
1. Create a schema with several interconnected models (hasMany, hasOne, belongsTo)
2. Populate each model with 200 entries
3. Query each model for all entries
Expected behavior
All models are created in ~1.5 minutes (Amplify Android timings)
Each query executes in < .1 seconds
Amplify Framework Version
2.48.2
Amplify Categories
DataStore
Dependency manager
Swift PM
Swift version
6.1
CLI version
13.0.0
Xcode version
Xcode 16.3 (16E140)
Relevant log output
No Logs
Is this a regression?
No
Regression additional context
No response
Platforms
iOS
OS Version
OS 17.5
Device
iPhone 15 Pro MAxi
Specific to simulators
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdatastoreIssues related to the DataStore categoryIssues related to the DataStore category