Yes I did read the man page, nothing in it says that an mdb from an amd64 server which leaves the setting on it’s default shouldn’t work on an arm64 server with the setting explicitly set false, I’d hoped that it would but it certainly doesn’t.
You seem to be all but saying that for some reason I can’t run 32 bit indexes on my arm64 server with the mdb from the amd64 server, It’d have been easier if you’d just said that if that is indeed the case.
It would be significantly desirable for us to port to arm64 first, with a quick rollback position should the arm64 hosted server have performance issues in prod, which it may, then optimise indexes later which is unlikely to have any potential downsides. If that’s not possible I accept that. I’d just like to understand the options, or lack of options.
From: Quanah Gibson-Mount quanah@fast-mail.org Date: Sunday, 23 July 2023 at 20:43 To: Maud Parratt Maud.Parratt@bjss.com, openldap-technical@openldap.org openldap-technical@openldap.org Subject: Re: slapindex a 60GB mdb in reasonable time
--On Sunday, July 23, 2023 8:38 PM +0000 Maud Parratt Maud.Parratt@bjss.com wrote:
which configuration were you referring to exactly?
Did you read the man page on the setting?
'Indices generated with 32 bit hashes are incompatible with the 64 bit version, and vice versa. Any existing databases must be fully reloaded when changing this setting. This directive is only supported on 64 bit CPUs.'
You need to change it to 64-bit on the AMD64 box, regenerate the indices there, and then use the database on the ARM64 system. Simply changing the setting solves nothing and you want 64-bit anyhow.
--Quanah
The information included in this email and any files transmitted with it may contain information that is confidential and it must not be used by, or its contents or attachments copied or disclosed to, persons other than the intended addressee. If you have received this email in error, please notify BJSS. In the absence of written agreement to the contrary BJSS' relevant standard terms of contract for any work to be undertaken will apply. Please carry out virus or such other checks as you consider appropriate in respect of this email. BJSS does not accept responsibility for any adverse effect upon your system or data in relation to this email or any files transmitted with it. BJSS Limited, a company registered in England and Wales (Company Number 2777575), VAT Registration Number 613295452, Registered Office Address, 1 Whitehall Quay, Leeds, LS1 4HR