Caveat - calibre reads the database into memory when a library is opened, so relocating it won't make much, if any, difference.
Are you sure the symlinks are correct, should look like this
if you only have one library, move the metadata.db to the SSD and use the Environment variable
Some people say it makes a difference if you put the database on a RAM drive - but I've not tried it, nor am I convinced it would be that much faster.
BR