hey guys, hoping someone with Aurora experience mi...
# help
j
hey guys, hoping someone with Aurora experience might know the answer here (not an SST issue/question) every once in a while I’m seeing 30s delays, I think caused by creating uuid-ossp extension
Copy code
info: ~~~creating connection ... {"timestamp":"2022-03-16 06:46:37"}
query: CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
info: connected --- {"timestamp":"2022-03-16 06:47:07"}
is uuid-ossp implicitly required because I have uuid types in my db? any alternative or way to avoid these delays?
f
Hey @Jeff Hanna r u using the standard Aurora or Aurora serverless?
j
hey Frank, thanks so much for jumping in. I’m on Aurora serverless
f
I wonder if the 30s delays happens from when the cluster is resizing or resuming from auto-paused state.
j
ya, I was wondering if this create extension message was leading me down the wrong path I assumed that’s what the delay was for, but if you think not, then it could be anything else related to the cluster like sizing or auto-pause that is causing this
thank you Frank, I’ll look into auto-pause and how to prevent I feel like I’m a bit over my head now 😥 I don’t know if I really have the fundamentals of aurora serverless down enough yet I was hoping the defaults would be closer to production ready, I’m just using CDK with: 1. data API 2. backup retention 3. deletion protection 4. scaling
@Frank do you know by chance how to modify a cluster? it seems like once it’s deployed, some changes to the config don’t take effect I’m guessing there is another construct needed to make modifications like turning auto-pause to longer timeout or changing scaling config
f
there’s a
scaling
prop in ServerlessCluster.
For prod usage, i’d turn off
autoPause
and use a relatively larger
minCapacity
so it doesn’t need to scale up as often
j
thank you! Ya that’s what I did today, but the changes weren’t being applied immediately, but then I checked after 5-10m and it looks like they are applied now so maybe just a delay on the dashboard
looks like everything working well now! Can’t thank you enough for the help 🙇
f
Oh nice! Glad to be helpful 💪