Hans, you should be aware, that the quoted support article (Combine libraries in Photos - Apple Support) is the only way it can be done in Photos (without having to pay for extra iCloud storage or PowerPhotos), but really is the worst way to combine libraries, because it is lossy. If you go down that route you will only move your photos between the libraries, but lose the albums and you have to choose, if you want to move the edited versions (with the metadata and adjustments) or the originals (the highest quality, but without the adjustments and metadata - even exporting with XPM sidecar files will not always save the metadata) or import both (and are seeing all photos twice, the edited version plist the high quality original).
Just to emphasise the other options mentioned by Tony and Russ:
- The only nearly lossless way to merge libraries is iCloud Photos, the best option, if you are already using iCloud Photos. It will merge the library, and not just transfer the photos. All albums and folders, even your smart albums, the named faces will be there. And it will keep the originals and edited versions paired and save you from having to clutter up the library with duplicate versions for your edited versions.
- The second best option is PowerPhotos (on macOS 10.15 Catalina). It can also keep the originals and edited versions paired and transfer albums and folders. But it can only merge items, that are stored locally at the full resolution. Trying to use it on an optimised iCloud Photos Library will give random results, depending on which photos and videos have currently been optimised. I am even getting error messages for my iCloud Photos Library that is not using "Optimise Storage", because Photos is never showing us, if it already has downloaded all originals.
If you are using the export-import method recommended by Apple, do yourself a favour and archive the original libraries on an external volume, before you start merging, so can look up the original metadata, the adjustments, the albums in the original libraries, while you are recreating the albums in your new library.
For more background information see: Notes on Merging Photos Libraries, 2019 Version