We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Newsfeed dashboard slow as hell. | Forum

Marcus
Marcus Oct 4 '19
Folks I have a hunch what could be causing slowness.

First it gets the id's of all followers. 

Now instead of doing this... 

Select....... 
FROM.... 
WHERE.... IN (ids) 

I bet it's doing this. 

Select..... 
From.... 
Where.... = id

This means that it will run a query per each follow ID.

I think it uses the same query used for fetching profile feeds where you only need to match the user ID. 

So it simply loops though the followers id's utilizing this select one ID query
The Forum post is edited by Marcus Oct 4 '19
dave Leader
dave Oct 4 '19
So you may have to make a new table and store the array/object of the followers for each user. Then it can just pull the array/object as a whole.  Of it is already in that format you can just pull that as a whole without the new table.
The Forum post is edited by dave Oct 4 '19
Paul
Paul Oct 16 '19
Any solution, any ideia?
Oxwall Germany Club
Oxwall Germany Oct 16 '19
Topic was moved from General Questions.
James Massola
“Welcome to We Buy Houses Colorado Springs, the Official Cash Home Buyer of Colorado Springs, Colorado, and surrounding areas.

We provide home sellers with a cash option to purchase their property quickly—with NO Repairs, and NO Fees or Commissions.

Simply go to our website or call us at (719) 300-6335 to get a no-obligation cash home offer sent to you. It’s free and confidential.


Avoiding foreclosure? Facing divorce? Moving? Upside down in your mortgage? Liens? It doesn’t matter whether you live in it, you’re renting it out, it’s vacant, or not even habitable. We help owners who have inherited an unwanted property, own a vacant house, are behind on payments, owe liens, downsized, and can’t sell… even if the house needs repairs that you can’t pay for… and yes, even if the house is fire damaged or has bad rental tenants.

Basically, if you have a property and need to sell it… we’d like to make you a fair cash offer and close on it when you’re ready to sell.

Just contact us today to get started!
Pages: « 1 2