That 30 dollar csv importer def worth it btw. I have about 80-90 prods on my live store and those added one by one horrible..
I'd like to go from regular site to newegg overnight..
https://www.lotnllc.com is your one stop shop for all your computer needs!
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
My friend made suggestion on trying to make it call like 3-5k at a time until it has the entire thing instead of yanking 50k products at once and having mysql go WTF? sitemap does about the same thing lol.Qphoria wrote:Hmm the "WHERE AND" to "WHERE" bit in the last block of vqmod doesn't seem to be matching for some reason. Let me try it again
If you are trying to load 47000 in google base that will never work unless your host timeout is set really high. RSS feeds weren't ever meant to be that large and even with this db optimization, it won't change the fact that trying to load data for 47000 products on one page will still run out of memory. Perhaps an export to googlebase xml file on the server is an option, but still loading that much data from database will cause most hosts to timeout
Btw thanks for the help you guys do some nice work.
https://www.lotnllc.com is your one stop shop for all your computer needs!
Yea.. it would need some sort of smaller batch grouping... kinda like how bigdump worksDemon5 wrote:My friend made suggestion on trying to make it call like 3-5k at a time until it has the entire thing instead of yanking 50k products at once and having mysql go WTF? sitemap does about the same thing lol.Qphoria wrote:Hmm the "WHERE AND" to "WHERE" bit in the last block of vqmod doesn't seem to be matching for some reason. Let me try it again
If you are trying to load 47000 in google base that will never work unless your host timeout is set really high. RSS feeds weren't ever meant to be that large and even with this db optimization, it won't change the fact that trying to load data for 47000 products on one page will still run out of memory. Perhaps an export to googlebase xml file on the server is an option, but still loading that much data from database will cause most hosts to timeout
Btw thanks for the help you guys do some nice work.
Code: Select all
<operation error="skip"><!-- 1 places-->
<search position="replace"><![CDATA[
WHERE AND
]]></search>
<add trim="true"><![CDATA[
WHERE
]]></add>
</operation>

https://www.lotnllc.com is your one stop shop for all your computer needs!
Oddly, that is the reverse.. you should only get the error if you DONT have this block of code... but anyway ..if it works your way ... great. That won't affect the test. It was just there to prevent the error it apparently causes for you. Weird.Demon5 wrote:on your vqmod.xml commenting out
seems to make it work. Not sure if that will cause problem or defeat purpose thoughCode: Select all
<operation error="skip"><!-- 1 places--> <search position="replace"><![CDATA[ WHERE AND ]]></search> <add trim="true"><![CDATA[ WHERE ]]></add> </operation>
Anyway, is it any faster for you using this ? Been waiting to hear more results to figure if this should go into the core or not.
I thought you couldn't do a vQmod search-and-replace without using whole lines. Wouldn't the <add> data need to be the complete database query string?Qphoria wrote:Oddly, that is the reverse.. you should only get the error if you DONT have this block of code... but anyway ..if it works your way ... great. That won't affect the test. It was just there to prevent the error it apparently causes for you. Weird.Code: Select all
<operation error="skip"><!-- 1 places--> <search position="replace"><![CDATA[ WHERE AND ]]></search> <add trim="true"><![CDATA[ WHERE ]]></add> </operation>
Anyway, is it any faster for you using this ? Been waiting to hear more results to figure if this should go into the core or not.
Johnathan wrote:I thought you couldn't do a vQmod search-and-replace without using whole lines. Wouldn't the <add> data need to be the complete database query string?Qphoria wrote:Oddly, that is the reverse.. you should only get the error if you DONT have this block of code... but anyway ..if it works your way ... great. That won't affect the test. It was just there to prevent the error it apparently causes for you. Weird.Code: Select all
<operation error="skip"><!-- 1 places--> <search position="replace"><![CDATA[ WHERE AND ]]></search> <add trim="true"><![CDATA[ WHERE ]]></add> </operation>
Anyway, is it any faster for you using this ? Been waiting to hear more results to figure if this should go into the core or not.
replace can be inline.. everything else must be whole line simply because I can use str_replace for replace but use the line number +/- 1 for the rest
Code: Select all
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (LCASE(pd.name) LIKE '%test%') AND p.status = '1' AND p.date_available <= NO' at line 1
Error No: 1064
SELECT COUNT(*) AS total FROM product p LEFT JOIN product_description pd ON (p.product_id = pd.product_id AND pd.language_id = '1') LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id AND p2s.store_id = '0') WHERE AND (LCASE(pd.name) LIKE '%test%') AND p.status = '1' AND p.date_available <= NOW()
https://www.lotnllc.com is your one stop shop for all your computer needs!
http://www.core-router.net/store/query_time2.txt is with the mod
https://www.lotnllc.com is your one stop shop for all your computer needs!
that's not really a fair comparison. Those are two completely different pages, besides neither of them shows anything like the 4 second product queries you were seeing earlier.Demon5 wrote:http://www.core-router.net/store/query_time.txt is without the mod
http://www.core-router.net/store/query_time2.txt is with the mod
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
https://www.lotnllc.com is your one stop shop for all your computer needs!
Code: Select all
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (LCASE(pd.name) LIKE '%vga%') AND p.status = '1' AND p.date_available <= NOW' at line 1
Error No: 1064
SELECT COUNT(*) AS total FROM midastore_product p LEFT JOIN midastore_product_description pd ON (p.product_id = pd.product_id AND pd.language_id = '2') LEFT JOIN midastore_product_to_store p2s ON (p.product_id = p2s.product_id AND p2s.store_id = '0') WHERE AND (LCASE(pd.name) LIKE '%vga%') AND p.status = '1' AND p.date_available <= NOW()
Code: Select all
<operation error="skip"><!-- 1 places-->
<search position="replace"><![CDATA[
WHERE AND
]]></search>
<add trim="true"><![CDATA[
WHERE
]]></add>
</operation>
Not really shure I need this thoug, I got the site down from a 29 second page load to under 5 seconds first try, and under 2 seconds try.
Cheers
Amrit
https://www.lotnllc.com is your one stop shop for all your computer needs!
Best regards,
Sebastian

----------------------20110913-011641-------------------------
SOURCEFILE: /home/ozfarmer/public_html/store/catalog/model/catalog/product.php
MODFILE: /home/ozfarmer/public_html/store/vqmod/xml/db_speed_clause_shift.xml
SEARCH: (f.product_id = pd.product_id)
OPERATION FAILED (ABORTED): NO MATCH FOR SEARCH!
--------------------------------------------------------------
But it doesnt seem to affect the site at all.
Paul
well that would make sense. you see the last part of that error ABORTED that means it didn't make any changes, so no it wouldn't affect the site at all.Ozfarmer wrote:I had a customer using a slow line and XP OPSYS complaining about load speed today, so I gave this a try he said the load is signifacantly faster.I am using 1.5.1.2 although I am getting this error in Vqmod:
----------------------20110913-011641-------------------------
SOURCEFILE: /home/ozfarmer/public_html/store/catalog/model/catalog/product.php
MODFILE: /home/ozfarmer/public_html/store/vqmod/xml/db_speed_clause_shift.xml
SEARCH: (f.product_id = pd.product_id)
OPERATION FAILED (ABORTED): NO MATCH FOR SEARCH!
--------------------------------------------------------------
But it doesnt seem to affect the site at all.
Paul
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Users browsing this forum: No registered users and 8 guests