Indexing

View: New views
10 Messages — Rating Filter:   Alert me  

Indexing

by Khayundi, Peter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi there

 

I would like to create indexes in Prevayler. Is there any mechanism that I can implement to do this? Any assistance will be highly appreciated.

 

Peter

The University of Fort Hare subscribes to an e-mail disclaimer. Please click on the following URL to read further: http://www.ufh.ac.za/disclaimer/
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  
http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org

Re: Indexing

by Klaus Wuestefeld :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please elaborate.


On Thu, Aug 6, 2009 at 5:35 AM, Khayundi, Peter<PKhayundi@...> wrote:

> Hi there
>
>
>
> I would like to create indexes in Prevayler. Is there any mechanism that I
> can implement to do this? Any assistance will be highly appreciated.
>
>
>
> Peter
>
> The University of Fort Hare subscribes to an e-mail disclaimer. Please click
> on the following URL to read further: http://www.ufh.ac.za/disclaimer/
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> To unsubscribe go to the end of this page:
> http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org

Re: Indexing

by Khayundi, Peter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Klaus

Thank you for replying my mail. I have been using Prevayler to conduct some comparison tests with other databases. My comparisons involve the ability of different databases to perform standard operations such as adding objects, querying, updating and deleting. I would now like to compare the performance of these databases when indexing is introduced. Please provide me with any information on how Prevayler handles indexing.

Peter  

-----Original Message-----
From: Klaus Wuestefeld [mailto:klauswuestefeld@...]
Sent: 06 August 2009 11:36
To: Open discussion about the Prevayler project.
Subject: Re: [Prevayler-discussion] Indexing

Please elaborate.


On Thu, Aug 6, 2009 at 5:35 AM, Khayundi, Peter<PKhayundi@...> wrote:

> Hi there
>
>
>
> I would like to create indexes in Prevayler. Is there any mechanism that I
> can implement to do this? Any assistance will be highly appreciated.
>
>
>
> Peter
>
> The University of Fort Hare subscribes to an e-mail disclaimer. Please click
> on the following URL to read further: http://www.ufh.ac.za/disclaimer/
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> To unsubscribe go to the end of this page:
> http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org



The University of Fort Hare subscribes to an e-mail disclaimer. Please click on the following URL to read further:
http://www.ufh.ac.za/disclaimer/



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org

Re: Indexing

by Sergey Didenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Peter,

just declare dedicated members in your RootObject ( or in other data object ). 

If you make your reads through the Queries, HashMaps are ok. If you read RootObject directly, use ConcurrentHashMap ( and remember to synchronize in your reads and writes ).


simplified example:

class RootObject {
...
   private Map<Long, Book> bookIndex = new HashMap<Long, Book>();
...
   Long addBook( Book book ) {
       Long newId = generateNextBookId();
       book.setId( newId );
       bookIndex.put( newId, book);
   }
...
}

P.S. And please send/ publish you results when you have them.

On Thu, Aug 6, 2009 at 1:35 PM, Khayundi, Peter <PKhayundi@...> wrote:
Hi Klaus

Thank you for replying my mail. I have been using Prevayler to conduct some comparison tests with other databases. My comparisons involve the ability of different databases to perform standard operations such as adding objects, querying, updating and deleting. I would now like to compare the performance of these databases when indexing is introduced. Please provide me with any information on how Prevayler handles indexing.

Peter


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org

Indexing

by Khayundi, Peter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there

I have been using Prevayler to conduct some comparison tests with other databases. My comparisons involve the ability of different databases to perform standard operations such as adding objects, querying, updating and deleting. I would now like to compare the performance of these databases when indexing is introduced. Please provide me with any information on how Prevayler handles indexing.

Peter



The University of Fort Hare subscribes to an e-mail disclaimer. Please click on the following URL to read further:
http://www.ufh.ac.za/disclaimer/



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org

Re: Indexing

by William Pietri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, Peter. You asked the same question in February. Could you tell us
how the answers we gave then weren't sufficient? That would make it
easier for us to give you an answer you found more useful.

Thanks,

William

Khayundi, Peter wrote:

> Hi there
>
> I have been using Prevayler to conduct some comparison tests with other databases. My comparisons involve the ability of different databases to perform standard operations such as adding objects, querying, updating and deleting. I would now like to compare the performance of these databases when indexing is introduced. Please provide me with any information on how Prevayler handles indexing.
>
> Peter
>
>
>
> The University of Fort Hare subscribes to an e-mail disclaimer. Please click on the following URL to read further:
> http://www.ufh.ac.za/disclaimer/
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
>  


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org

Re: Indexing

by Khayundi, Peter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi William

All the suggestions given were good, but at the moment, I am just looking for a quick and easy solution to my indexing issues. If there is a specific indexing mechanism that would work well with Prevayler, please tell me about it. Thanks.

Peter

-----Original Message-----
From: William Pietri [mailto:william@...]
Sent: 21 August 2009 18:04
To: Open discussion about the Prevayler project.
Subject: Re: [Prevayler-discussion] Indexing

Hi, Peter. You asked the same question in February. Could you tell us
how the answers we gave then weren't sufficient? That would make it
easier for us to give you an answer you found more useful.

Thanks,

William

Khayundi, Peter wrote:

> Hi there
>
> I have been using Prevayler to conduct some comparison tests with other databases. My comparisons involve the ability of different databases to perform standard operations such as adding objects, querying, updating and deleting. I would now like to compare the performance of these databases when indexing is introduced. Please provide me with any information on how Prevayler handles indexing.
>
> Peter
>
>
>
> The University of Fort Hare subscribes to an e-mail disclaimer. Please click on the following URL to read further:
> http://www.ufh.ac.za/disclaimer/
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
>  


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org



The University of Fort Hare subscribes to an e-mail disclaimer. Please click on the following URL to read further:
http://www.ufh.ac.za/disclaimer/



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org

Re: Indexing

by Justin T. Sampson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Peter,

This conversation is getting repetitive, and when that happens it often means that we aren't understanding each other, *and* we aren't understanding *how* we aren't understanding each other.

Peter, could you try explaining some of the suggestions we've given, and why you think they're *not* quick and easy? That way, we'll have a better idea of where our misunderstanding lies, and have a better chance of responding in a way that helps you.

Cheers,
Justin

--
Agile Focus - http://agilefocus.com/


On Wed, Aug 26, 2009 at 2:35 AM, Khayundi, Peter <PKhayundi@...> wrote:
Hi William

All the suggestions given were good, but at the moment, I am just looking for a quick and easy solution to my indexing issues. If there is a specific indexing mechanism that would work well with Prevayler, please tell me about it. Thanks.

Peter

-----Original Message-----
From: William Pietri [mailto:william@...]
Sent: 21 August 2009 18:04
To: Open discussion about the Prevayler project.
Subject: Re: [Prevayler-discussion] Indexing

Hi, Peter. You asked the same question in February. Could you tell us
how the answers we gave then weren't sufficient? That would make it
easier for us to give you an answer you found more useful.

Thanks,

William

Khayundi, Peter wrote:
> Hi there
>
> I have been using Prevayler to conduct some comparison tests with other databases. My comparisons involve the ability of different databases to perform standard operations such as adding objects, querying, updating and deleting. I would now like to compare the performance of these databases when indexing is introduced. Please provide me with any information on how Prevayler handles indexing.
>
> Peter
>
>
>
> The University of Fort Hare subscribes to an e-mail disclaimer. Please click on the following URL to read further:
> http://www.ufh.ac.za/disclaimer/
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org



The University of Fort Hare subscribes to an e-mail disclaimer. Please click on the following URL to read further:
http://www.ufh.ac.za/disclaimer/



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org

Re: Indexing

by Jelle Herold :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(maybe I'm wrong, but... )

Khayundi, Peter wrote:
> Please provide me with any information on how Prevayler handles  
> indexing.


Prevayler doesn't do indexing, it's not a database.

It is objects in memory, and if you want to find an object by name you  
look them up how you would to that in code. Ie. iterate over array,  
store them in a hashmap, tree whatever.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org

Re: Indexing

by William Pietri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Khayundi, Peter wrote:
> Hi William
>
> All the suggestions given were good, but at the moment, I am just looking for a quick and easy solution to my indexing issues. If there is a specific indexing mechanism that would work well with Prevayler, please tell me about it. Thanks.
>  

I always start out using hash maps. That's pretty quick and easy for
me.  What flaws do those have for your use case?

Thanks,

William

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org