Database vs Data Structure?



Hi,

I'm working on a web application where each user will be creating
several "projects" in there account, each with 1,000-50,000 objects.
Each object will consist of a unique name, an id, and some meta data.

The number of objects will grow and shrink as the user works with
their project.

I'm trying to decided whether to store the objects in the database
(each object gets it's own row) or to use some sort of data-structure
(maybe nested dictionaries or a custom class) and store the pickled
data-structure in a single row in the database (then unpickle the data
and query in memory).

A few requirements:
-Fast/scalable (web app)
-able to query objects based on name and id.
-will play nicely with versioning (undo/redo)

Any input on the best way to go?

Thanks!
Erik
.



Relevant Pages

  • Database vs Data Structure?
    ... I'm trying to decided whether to store the objects in the database ... data-structure in a single row in the database (then unpickle the data ... -able to query objects based on name and id. ...
    (comp.lang.python)
  • Re: Database vs Data Structure?
    ... I'm trying to decided whether to store the objects in the database ... data-structure in a single row in the database (then unpickle the data ... -able to query objects based on name and id. ... Changes in memory only & flush. ...
    (comp.lang.python)
  • Re: Automating repetitive tasks-creating text strings from excel into
    ... You should be able to convert the list of numbers into a single row of numbers quite easily using find/replace. ... You would need to remove the final comma at the end of the last number, or just not select it when you copy to the clipboard for pasting into the database search box. ... keystrokes, or can someone help me "loop" the keystrokes in a macro so I can ...
    (microsoft.public.word.docmanagement)
  • Re: New record on a new day (re-post)
    ... In a well-normalized relational database design, ... CommentTypeID (a foreign key, pointing back to the Primary Key in a ... a single row in a table. ... be too difficult to maintain this data in an excel spreadsheet, ...
    (microsoft.public.access.formscoding)
  • [Info-ingres] Ingres/Replicator Stress Test
    ... stress levels, they weren't high enough. ... So on my source database I have a single row table called next_id. ... deadlocking problems. ...
    (comp.databases.ingres)