Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
smiley
Posts: 1,101
Registered: ‎07-14-2008
My Carrier: Fido

why does RIM not recommend to use sqllite with eMMC?

why does RIM not recommend to use sqllite with eMMC with large databases?

is it because speed?

 

Please use plain text.
Developer
peter_strange
Posts: 17,655
Registered: ‎07-14-2008

Re: why does RIM not recommend to use sqllite with eMMC?

Where have you seen this recommendation?

 

What is eMMC?

Please use plain text.
Developer
DAquilina
Posts: 587
Registered: ‎01-19-2010
My Carrier: Rogers

Re: why does RIM not recommend to use sqllite with eMMC?

If I recall correctly from the Super  App webinar, Mike Kirkup specifically suggested SQL Lite as the preferred DataBase handler.

 

Also, is this what you meant?

 

http://www.micron.com/products/nand/managed-nand/index

 

The other pages that Google suggested for "eMMC" didn't seem to fit...

 

Anyway, hope that helps,

~Dom

----------------------------------------------------------------------------
chown -R us ./base
~J!NX
Please use plain text.
Developer
smiley
Posts: 1,101
Registered: ‎07-14-2008
My Carrier: Fido

Re: why does RIM not recommend to use sqllite with eMMC?

straight from the SQLLITE DEMO app with JDE 5.0

 

 * This sample application demonstrates the use of a SQLite database and the
 * 'net.rim.device.api.database package'. A pre-configured database is included
 * with the project and will be copied to the default root location (provided an
 * SDCard is available) if a database does not already exist at that location.
 * The default root for SQLite databases is 'file:///SDCard/databases/*project-name*'.
 * Certain BlackBerry Smartphone devices are capable of creating databases in eMMC
 * memory.  However, using eMMC memory to store large databases is not recommended.

 

I assumed eMMC is multimedia card.

 

 

Please use plain text.
Developer
Ted_Hopp
Posts: 1,304
Registered: ‎01-21-2009

Re: why does RIM not recommend to use sqllite with eMMC?

 


smiley wrote:

I assumed eMMC is multimedia card

 


Safe assumption, since eMMC is a joint trademark of the MultiMediaCard Association and JEDEC. :smileyhappy:

 




Solved? click "Accept as solution". Helpful? give kudos by clicking on the star.
Please use plain text.
Developer
peter_strange
Posts: 17,655
Registered: ‎07-14-2008

Re: why does RIM not recommend to use sqllite with eMMC?

I suspect that we are talking here about some devices (Bold 9000 for example) that have a system root in addition  to the SDCard - and system points at internal memory rather than the SDCard.  If so, I suspect the reason should not make these too big as it impinges on other internal uses for that space.  But that is just a theory, I think we need some input from RIM here.

Please use plain text.
Developer
Developer
CMY
Posts: 1,115
Registered: ‎02-10-2009
My Carrier: Verizon

Re: why does RIM not recommend to use sqllite with eMMC?

eMMC is referring to the extra internal memory that some of the newer devices have (Storm/Storm2,etc). I would assume that it says not to use this memory because it is the same memory used by the OS for processing, and Flash/NAND memory has a limited number of times that it can be written to before it starts to fail, which would proabaly brick the device (or at least faster). It probably has more to do with the random accessof the DB as well as read/erase/write cycle that is used to update data.

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: why does RIM not recommend to use sqllite with eMMC?

Here is the reasoning behind this recommendation:

 

  • Most BlackBerry Smartphones are able to access a micro SD card, but only a few models have an eMMC.
  • Micro SD cards have much more storage space than the eMMC (up to 16 GB now).  So if you have a database that is hundreds or thousands of MBs, a micro SD card is preferred.

I realize the requirements for an application may make these a moot point.  For example an application that is targeted for a BlackBerry Bold 9000 and will have a 2 MB database would be best supported by storing its database on the eMMC.

 

We are going to modify this comment in the sample to clarify what we mean.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.