From dev-return-38081-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Tue May 17 18:28:30 2011 Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2411646F0 for ; Tue, 17 May 2011 18:28:30 +0000 (UTC) Received: (qmail 2250 invoked by uid 500); 17 May 2011 18:28:30 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 2199 invoked by uid 500); 17 May 2011 18:28:29 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 2192 invoked by uid 99); 17 May 2011 18:28:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2011 18:28:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2011 18:28:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6A794CE1F6 for ; Tue, 17 May 2011 18:27:47 +0000 (UTC) Date: Tue, 17 May 2011 18:27:47 +0000 (UTC) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Message-ID: <571970894.20017.1305656867433.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1347432193.19001.1305637367438.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DIRSERVER-1619) Rdn is not required to be stored in ServerEntrySerializer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034944#comment-13034944 ] Alex Karasulu commented on DIRSERVER-1619: ------------------------------------------ Initially I thought putting the parent ID into the entry might be problematic for move's of entire subtrees causing several master table accesses. However this is not the case. The access will occur just on the node being moved and not on it's descendants. So this is a "safe" idea but what benefits were you thinking of when deciding to include the parent ID in the Entry? > Rdn is not required to be stored in ServerEntrySerializer > --------------------------------------------------------- > > Key: DIRSERVER-1619 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1619 > Project: Directory ApacheDS > Issue Type: Improvement > Components: core > Affects Versions: 1.5.7 > Reporter: Rajesh > Assignee: Kiran Ayyagari > Priority: Minor > Fix For: 2.0-M1 > > > In ServerEntrySerializer Rdn is also being serialzied. And when we are trying to lookup Entry from the AbstractTable, we are not using the Rdn or even the Entry to construct the Dn. Dn is being constructed using Rdn Table. > So it will improve performance a bit if we don't save the Rdn at all. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira