Extensivity versus holography in anti-de Sitter spaces