Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6150329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:35:58+00:00 2026-05-23T19:35:58+00:00

I am coding a psychology experiment in Python. I need to store user information

  • 0

I am coding a psychology experiment in Python. I need to store user information and scores somewhere, and I need it to work as a web application (and be secure).

Don’t know much about this – I’m considering XML databases, BerkleyDB, sqlite, an openoffice spreadsheet, or I’m very interested in the python “shelve” library.
(most of my info coming from this thread: http://developers.slashdot.org/story/08/05/20/2150246/FOSS-Flat-File-Database

DATA: I figure that I’m going to have maximally 1000 users. For each user I’ve got to store…

  • Username / Pass
  • User detail fields (for a simple profile)
  • User scores on the exercise (2 datapoints: each trial gets a score (correct/incorrect/timeout, and has an associated number from 0.1 to 1.0 that I need to record)
  • Metadata about the trials (when, who, etc.)
  • Results of data analysis for user

VERY rough estimate, each user generates 100 trials / day. So maximum of 10k datapoints / day. It needs to run that way for about 3 months, so about 1m datapoints. Safety multiplier 2x gives me a target of a database that can handle 2m datapoints.

((note: I could either store trial response data as individual data points, or group trials into Python list objects of varying length (user “sessions”). The latter would dramatically bring down the number database entries, though not the amount of data. Does it matter? How?))

I want a solution that will work (at least) until I get to this 1000 users level. If my program is popular beyond that level, I’m alright with doing some work modding in a beefier DB. Also reiterating that it must be easily deployable as a web application.

Beyond those basic requirements, I just want the easiest thing that will make this work. I’m pretty green.

Thanks for reading

Tr3y

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T19:35:59+00:00Added an answer on May 23, 2026 at 7:35 pm

    SQLite can certainly handle those amount of data, it has a very large userbase with a few very well known users on all the major platforms, it’s fast, light, and there are awesome GUI clients that allows you to browse and extract/filter data with a few clicks.

    SQLite won’t scale indefinitely, of course, but severe performance problems begins only when simultaneous inserts are needed, which I would guess is a problem appearing several orders of magnitude after your prospected load.

    I’m using it since a few years now, and I never had a problem with it (although for larger sites I use MySQL). Personally I find that “Small. Fast. Reliable. Choose any three.” (which is the tagline on SQLite’s site) is quite accurate.

    As for the ease of use… SQLite3 bindings (site temporarily down) are part of the python standard library. Here you can find a small tutorial. Interestingly enough, simplicity is a design criterion for SQLite. From here:

    Many people like SQLite because it is small and fast. But those qualities are just happy accidents. Users also find that SQLite is very reliable. Reliability is a consequence of simplicity. With less complication, there is less to go wrong. So, yes, SQLite is small, fast, and reliable, but first and foremost, SQLite strives to be simple.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When coding web services, how do you structure your return values? How do you
In coding a traditional MVC application, what is the best practice for coding server-side
When coding python, I use the logging module a lot. After some bad experiences
Iam coding a solution for web automation, I have been using the default web
Was coding something in Python. Have a piece of code, wanted to know if
For coding reasons which would horrify you (I'm too embarrassed to say), I need
When coding new javascript heavy websites, which order or web browser do you code
Iam coding a dating application for facebook. The application has to have a standalone
my coding is working well .But I want to store the edited spinner value
(Coding PHP with MySQL) Fatal error: Cannot redeclare logged_in() (previously declared in C:\xampp\htdocs\Project\Func\user.func.php:9) in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.