Indexes are THE BOMB
Options
Erin Wagner
Member ✭
in ? Showcase
I had two back-to-back queries which, together, were taking almost two minutes to run:
114.11 seconds
112.65 seconds
112.15 seconds
113.99 seconds
113.15 seconds
And that's with like 3 test users' worth of data!
I identified 9 potential indexes to apply and decided to measure speed with each one so I could understand what kind of impact they were having.
Applied the first index. Query took 1.33 seconds.
💥💣💥💣💥💣💥
114.11 seconds
112.65 seconds
112.15 seconds
113.99 seconds
113.15 seconds
And that's with like 3 test users' worth of data!
I identified 9 potential indexes to apply and decided to measure speed with each one so I could understand what kind of impact they were having.
Applied the first index. Query took 1.33 seconds.
💥💣💥💣💥💣💥
Comments
-
For the record, applying the additional 8 indexes had no measurable impact on speed. Either I happened to hit on the critical index first, or the query just needed that little bit of help (to hit warp speed).
-
Awesome. Indexes are great
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback