What are the least SQL intensive Index Page Blocks? What are the least SQL intensive Index Page Blocks?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

What are the least SQL intensive Index Page Blocks?

Started by idosha, January 26, 2019, 05:57:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

idosha

I run many large photo galleries that have many visitors. I am trying to improve the performance by following the documentation: http://documentation.coppermine-gallery.net/en/performance.htm

Can anyone provide any insight on what "index blocks" cause the least amount of SQL lookups and is more efficient to use?

The performance page specifically lists "last uploaded", "last updated album" and "random" as intensive on large galleries. I would assume "last viewed" is just as intensive.

A cache plugin to avoid these SQL queries would be nice.

ΑndrĂ©

Quote from: idosha on January 26, 2019, 05:57:45 PM
A cache plugin to avoid these SQL queries would be nice.

There will be a cache plugin for cpg1.6.x:
Quote from: ron4mac on January 27, 2019, 02:25:01 PM
Some form of caching, however, is a very good idea and will be considered for a future release of CPG.