Skip to content
Discussion options

You must be logged in to vote

Thanks for closing the loop — and no worries about the row count. Your numbers actually identify the table conclusively: 13,908 rows with keys ≤78 bytes and 8-byte values is one row per entry — that's dn2id (key = normalized DN, value = entry ID). So the scan concentration was exactly the #860 re-fetch pattern after all, and my sharded-counter/bloat guess was wrong: n_dead_tup = 0 rules out bloat.

The hash recipe not matching was my mistake: the normalized form reverses the RDN order (suffix first). For dc=example,dc=com the tree name is /dc=com,dc=example/dn2id:

printf '%s' '/dc=com,dc=example/dn2id' | openssl dgst -sha224 -r

(lowercased attribute names, equality-normalized values, RDNs …

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ldap4life
Comment options

@vharseko
Comment options

Answer selected by ldap4life
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants