Discussion:
[KPhotoAlbum] EXIF database location not in picture root, please.
Robert Krawitz
2016-11-18 13:16:15 UTC
Permalink
Where do I need to change to put the EXIF database in another
location? What't im curreltly running (some GIT snapshot from Apr 7)
completely kills network file system performance, I don't have the
time to wait > 48h for a complete EXIF db regeneration to complete.
It's not the 57k pictures that's the problem, it's the database file
accesses.
This should have been fixed in January (and my tests indicate that it
was fixed). Take a look at Exif/Database.cpp; in
Exif::Database::recreate() there should be a call to
m_db.transaction(), with m_db.commit() called near the end.

Author: Johannes Zarl-Zierl <***@zarl-zierl.at> 2016-01-21 10:03:00
Committer: Johannes Zarl-Zierl <***@zarl-zierl.at> 2016-01-21 10:03:00
Parent: 9604ba16669078f77101f0187dfccd796b89e15e (Exif::Database::insert: reuse query string.)
Child: 744cb800dd12ebb6802704931eccc826ea67459c (Code cleanup.)
Branches: kf5-port, master, remotes/origin/4.7, remotes/origin/5.x, remotes/origin/category_settings_fix, remotes/origin/kf5-port, remotes/origin/master
Follows: v4.7
Precedes: v4.7.1

Use a transaction in Exif::Database::recreate().

The main limiting factor in building the exif database until now was the
exif database file getting overwhelmed with queries.

Thanks to Robert Krawitz, who did a detailed performance analysis and
reported the potential speedup in this area.
--
Robert Krawitz <***@alum.mit.edu>

*** MIT Engineers A Proud Tradition http://mitathletics.com ***
Member of the League for Programming Freedom -- http://ProgFree.org
Project lead for Gutenprint -- http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
Tobias Leupold
2016-11-21 11:49:36 UTC
Permalink
Thanks for the hint, I just fixed it.
-> https://www.kphotoalbum.org/download/git/
-> https://cgit.kde.org/?p=kphotoalbum.git&a=summary
-> Invalid request
Harald.
_______________________________________________
KPhotoAlbum mailing list
https://mail.kdab.com/mailman/listinfo/kphotoalbum
Tobias Leupold
2016-11-21 15:57:29 UTC
Permalink
On my machine (Gentoo), the requested file belongs to the package
kde-frameworks/extra-cmake-modules-5.26.0. I have no idea what this package
is called anywhere else though ;-)

What do you mean by
# apt-cache search extra-cmake-modules
Is that extra-cmake-modules package installed?
You're welcome. And every time I want to build from source again,
there is a new dependecy....
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
-DCMAKE_INSTALL_PREFIX=/usr/local
Could not find a package configuration file provided by "ECM" with any of
ECMConfig.cmake
ecm-config.cmake
Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
to a directory containing one of the above files. If "ECM" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also
"/home/src/kphotoalbum-git/kphotoalbum/build/CMakeFiles/CMakeOutput.log".
[Exit 1 ]
# apt-cache search extra-cmake-modules
So any suggestions? This is Linux Mint 17.1 Rebecca
Harald.
Loading...