You Are Here:

Community: Developer Discussion Boards

#1 Old Number of RecordStores - 2006-10-20, 12:28

Join Date: Sep 2003
Posts: 98
Location: Finland
Send a message via ICQ to rooster13
rooster13
Offline
Regular Contributor
Hi,
I've been wondering are there any performance related issues with having a lot of different RecordStores? For example, which is more efficient, have one store with indexing in predefined id or have a separate store for indexing? By indexing I'm meaning a map of RecordStore ids for ordering the records. Is there any limit on number of RecordStores?
Reply With Quote

#2 Old Re: Number of RecordStores - 2006-10-20, 14:12

Join Date: Dec 2005
Posts: 1,886
Location: Brazil
Send a message via MSN to juarezjunior Send a message via Skype™ to juarezjunior
juarezjunior's Avatar
juarezjunior
Offline
Forum Nokia Champion
Hi rooster13,

I think it can depend on a lot of factors, implementation (device), your code, memory available, strategy for managing RSs, etc.

"Is there any limit on number of RecordStores?"
If device is JTWI (JSR-185) compliant as far as I remeber there's a limit regarding the minimum, 5 at least, but not the maximum number. Note this is for a single MIDlet suite, see below:

"A compliant implementation must permit a MIDlet suite to create at least 5
independent RecordStores."

Considering Nokia devices, take a look at the thread below, but it discusses size, not quantity...
http://discussion.forum.nokia.com/fo...ad.php?t=86358

Hope this helps.

Juarez Jr


Juarez Alvares Barbosa Junior - Brazil
Last edited by juarezjunior : 2006-10-20 at 15:26.
Reply With Quote

#3 Old Re: Number of RecordStores - 2006-10-20, 14:37

Join Date: Sep 2003
Posts: 98
Location: Finland
Send a message via ICQ to rooster13
rooster13
Offline
Regular Contributor
Thanks, that kind of clears things up a bit... Of course since it's device dependant, trial and error would be the way to go :D
Reply With Quote

#4 Old Smile Re: Number of RecordStores - 2006-10-21, 02:54

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
hi,

as part of jsr-248 every device labelled jsr-248 compliant will must to allow 10 RMS per suite (with at least 64kb of data per suite),
huh, that's future though,
regards,
Peter
Reply With Quote

#5 Old Re: Number of RecordStores - 2006-10-22, 12:47

Join Date: Dec 2005
Posts: 1,886
Location: Brazil
Send a message via MSN to juarezjunior Send a message via Skype™ to juarezjunior
juarezjunior's Avatar
juarezjunior
Offline
Forum Nokia Champion
Hi,

In addition to what Peter informed, just as a clarification, it must support at least 10 RecordStores.

"A compliant implementation MUST permit a MIDlet suite to create at least 10 independent RecordStores."

This is from msa-0_95-pfd-spec - Proposed Final Draft Version 0.95 – 28-April-2006.

BR,

Juarez Junior


Juarez Alvares Barbosa Junior - Brazil
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
WML & WMLSCript problem ???? gemini_shooter Browsing and Mark-ups 0 2006-01-14 07:02
WML & WMLSCript problem ???? gemini_shooter Browsing and Mark-ups 0 2006-01-14 07:01
Personal JSmith77 PersonalJava 4 2003-07-30 13:52
Unicode Song Title In NSM Ringtone mcai7db3 Smart Messaging 3 2002-08-28 07:58
number of RecordStores hpreets Mobile Java General 1 1970-01-01 02:00

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia