version 1.4 works better than version 2.0
-
version 1.4 works better than version 2.0
I am getting timeouts with 2.0
why is that?
-
Can you provide more details? What are your search settings?
AWS server, Bitnami ubuntu stack w NGINX, MySQL 8
2.0 is very, very, very slow compared to 1.4. In fact its not really usable at all.
I have over 20 000 posts.
What are your search settings?
The old version will certainly cause timeouts and memory issues, and requires people to edit files. The new version is much more scaleable and will only improve over time.
just tested it again….the progress bar also giving me results of 456 % – very slowly
going back to old version
That’s fine, but for the third time, can you provide your search settings?
ok, all tests were
first time:
version 2.0
regex: yes
case insensitive: yes
search:https:\/\/jooble\.org\/desc\/(.*?)\?.*
replace:https://jooble.org/desc/\1?p=1
target: post meta valueversion 1.4
the same except search is surrounded by “@”, so
@https:\/\/jooble\.org\/desc\/(.*?)\?.*@*to note – the speed difference is MAJOR.
on version 1.4, it is lightening fast
on version 2.0.. like a snailI then tested again, the same results…then a 3rd time without regex and with on the post title – and same difference in speed
third time:
version 2.0
regex: no
case insensitive: yes
search: `& amp ;’
replace:&
target: post title(in the ‘search’ I have put a spaces just here – there is a bug in this wordpress.org comment area where the html ampersand, even if enclosed with the ‘code’ option, does not come out)
version 1.4
same as above but with search surrounded with “@”
I noticed in version 2.0 you mention PHP regex. Does this mean version 2.0 uses PHP to process and version 1.4 uses regex native to mySQL?
that could explain massive speed difference.
in all tests – I backed up database with mysqldump beforehand, and imported again before next test. using mySQL 8
I could also make a video showing the drastic difference in speed if you like, just didnt get around to it yet
No, the old version does not use MySQL regex.
The old version loads all data into memory and is a CPU hog. It is not scaleable, frequently crashes servers, and requires people to manually modify files in order to work around limitations.
The new version does not load all data into memory, is scaleable, and does not require manual file modifications.
It intentionally slows things down to take the safest route. The speed will be increased over the next few versions, as the code settles down.
You can try this beta for some speed improvements:
The topic ‘version 1.4 works better than version 2.0’ is closed to new replies.