Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Limite de armazenamento do SQLite

Boa resposta Jonas! +1

Também acho que hoje em dia, essa seria a pergunta certa a se fazer.


Em 24 de fevereiro de 2013 20:42, Jonas Alves <jonasfa@gmail.com> escreveu:
Em primeiro lugar, sugiro que aprenda a pesquisar no Google:

O primeiro resultado, do site oficial do SQLite, responde sua dúvida:

13. 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.

Minha conclusão:
O limite é tão grande que, para dispositivos móveis, só depende dos recursos do próprio aparelho: memória e armazenamento. Você deve buscar a resposta para outra pergunta:
"Os aparelhos em que meu aplicativo vai rodar têm recursos suficientes para guardar estes dados?"



2013/2/24 Lucas Mezêncio <lucas.mezencio@gmail.com>

De qualquer forma, respondendo sua pergunta, são 2gb se não me engano .

On 24 Feb 2013 19:30, "Erick Couto" <erickcouto79@gmail.com> wrote:

Não é melhor manter um numero suficiente de informações no BD e  rodar uma rotina de limpeza, jogando os dados mais antigos em um txt no SD ?

Em 24/02/2013 19:08, "Gink Labrev" <gink.labrev@gmail.com> escreveu:
Pessoal,

Qual o limite para o tamanho do banco SQLite do Android ?

Tenho uma tabela formada por duas (2) colunas do tipo long,3 do tipo float e 2 do tipo string.
É para armazenar dados de sensores, então é muita informação por segundo.

Alguém sabe o limite de registros ? Chegam a milhões ? Bilhões ?

Abs,

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Analista-Programador

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário