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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.