0

I am currently making an app where I will need to store large amounts of data, between 4000 and 7000 user names and an equal amount of register dates.

How do you recommend me doing it?

Community
  • 1
  • 1
Whatever
  • 1
  • 1
  • 3
    That's nowhere near "large" amounts of data, so do it anyway you want and know how. – Kayaman Dec 19 '15 at 22:30
  • 4k to 7k records is not a large amount of data. Just go for a NoSQL or SQL databases. – jso Dec 19 '15 at 22:30
  • Just use a simple database table and get use to doing it that way for when you actually get into dealing with real amounts of data. – DevilsHnd Dec 19 '15 at 22:45

2 Answers2

0

You want a database of some sort. The DB can be either embedded (runs inside your Java process) or stand-alone (runs as a separate daemon process, either on the same machine or on a different one). With an embedded DB, your app will be much simpler to configure; you'll lose a lot of features, but your use case sounds pretty simple, so I wouldn't worry about that right now.

Also, the DB can be table-oriented (SQL) or not (what's known as NoSQL; I don't like that term, because it's not very descriptive, but I don't have anything better). Any of those would work in your case, but I would recommend an SQL-based DB just because SQL is a skill that every programmer needs.

Based on personal experience, I would tell you to use HSQLDB. Also see: Java Embedded Databases Comparison

Community
  • 1
  • 1
Mike Baranczak
  • 8,053
  • 6
  • 40
  • 69
0

You should use a DBMS of course.

Here is a good tutorial for building up an application with a database: http://www.androidhive.info/2011/11/android-sqlite-database-tutorial/

Ferit
  • 6,966
  • 7
  • 32
  • 54