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.

inside custom component

Java Development

Reply
Developer
smiley
Posts: 1,497
Registered: ‎07-14-2008
My Device: Z10

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?

 

Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

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

Where have you seen this recommendation?

 

What is eMMC?

Developer
DAquilina
Posts: 587
Registered: ‎01-19-2010
My Device: BOLD 9700 OS5.0.0.x on Rogers Canada
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
Developer
smiley
Posts: 1,497
Registered: ‎07-14-2008
My Device: Z10

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.

 

 

Developer
Ted_Hopp
Posts: 1,305
Registered: ‎01-21-2009
My Device: Not Specified

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.
Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

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.

Developer
Developer
CMY
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook

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.

BlackBerry Development Advisor
MSohm
Posts: 14,753
Registered: ‎07-09-2008
My Device: BlackBerry Passport

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.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker