I have a data type userList
which contains three fields.
My question is about the best way to set up my data structure wrt WU. I need to access these fields nearly constantly, so instead of always searching for the data, I made it a related field on my current user.
current user [data type]
userLists [field] [a list of userLists]
current user's related userList's field1 [how I currently access the data]
I was working under the assumption that by accessing the userList data in this way, the data was already in memory since page load (or logging in?) and would not trigger searches. But while examining my Logs, I can see that there are a lot of searches and WU’s resulting from accessing my current user's related userList's ...
Am I wrong about the data already being in memory? Would I instead make the fields directly in the current user? (It does not give me quite as much flexibility to group sub fields this way though…)
What is suggested? The app is like a task manager, so sometime these data lists could grow in size, but let’s say it might max out at around 200 records/list typically. There will be many lists, 20 or more.
I’m happy to hear all suggestions. My #1 question is about whether my data is already in memory because I think I may have misunderstood something. But I’d also like suggestions on how to best set this up to minimize WU because the app will become impractical very quickly it that is not kept as low as possible.
Thank you!