Android - sqlite puede soportar la base de datos de estados,municipios y localidades de mexico

 
Vista:

sqlite puede soportar la base de datos de estados,municipios y localidades de mexico

Publicado por Ivan (1 intervención) el 22/06/2016 21:35:00
Hola buenas tardes personas del foro, tengo una duda, estoy realizando una aplicación y me gustaría implementar todos los estados, municipios y localidades de mi país (México), y al obtener la base de datos tengo 3 tablas,
1ra tabla tiene 32 registros,
2da tabla tiene 2492 registros,
3ra tabla tiene 304375 registros.
Mi duda o mas bien mi pregunta antes de implementarlo es si SQLite soportara todos estos registros, mas aparte mis otras tablas que piense implementar(no son muchas).
Espero su respuesta y muchas Gracias.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de Leonardo Daniel A.
Val: 23
Ha disminuido su posición en 2 puestos en Android (en relación al último mes)
Gráfica de Android

sqlite puede soportar la base de datos de estados,municipios y localidades de mexico

Publicado por Leonardo Daniel A. (13 intervenciones) el 22/06/2016 21:44:32
Hola, si lo soporta, el problema sera el desempeño en la tablet a la hora de leer los datos


https://www.sqlite.org/limits.html

Maximum Number Of Rows In A Table

The theoretical maximum number of rows in a table is 264 (18446744073709551616 or about 1.8e+19). This limit is unreachable since the maximum database size of 140 terabytes will be reached first. A 140 terabytes database can hold no more than approximately 1e+13 rows, and then only if there are no indices and if each row contains very little data.

Maximum Database Size

Every database consists of one or more "pages". Within a single database, every page is the same size, but different database can have page sizes that are powers of two between 512 and 65536, inclusive. The maximum size of a database file is 2147483646 pages. At the maximum page size of 65536 bytes, this translates into a maximum database size of approximately 1.4e+14 bytes (140 terabytes, or 128 tebibytes, or 140,000 gigabytes or 128,000 gibibytes).

This particular upper bound is untested since the developers do not have access to hardware capable of reaching this limit. However, tests do verify that SQLite behaves correctly and sanely when a database reaches the maximum file size of the underlying filesystem (which is usually much less than the maximum theoretical database size) and when a database is unable to grow due to disk space exhaustion.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar