Edgewall Software

Changes between Version 2 and Version 3 of DatabaseBackend


Ignore:
Timestamp:
Dec 18, 2004, 3:41:21 AM (19 years ago)
Author:
ax <trac|atIkollmIdot|org>
Comment:

added Modeling, "Store Tickets and Wiki pages directly in the Subversion repository", info-links; restructured the page

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseBackend

    v2 v3  
    11= Database Backend =
    22
    3 Currently, Trac uses [http://www.sqlite.org SQLite]
    4 as its database backend.
     3Currently, Trac uses [http://www.sqlite.org SQLite] as its database backend.
    54
    6 However, there has been several requests that other
    7 databases should be supported as well (see #126).
     5However, there has been several requests that other databases should be supported as well (see #126).
    86
    9 There has been an attempt to provide support for
    10 [http://www.postgresql.org PostgreSQL]:
    11 source:/branches/rocky-dev/features/postgresql_support/
    12 though this branch is not so active this days...
     7== Existing Proposals and Implementations ==
    138
    14 === SQLObject ===
    15 I think some people have been talking about using [http://sqlobject.org SQLObject] to accomplish this goal of database independence. 
     9 * There has been an attempt to provide support for [http://www.postgresql.org PostgreSQL]: source:/branches/rocky-dev/features/postgresql_support/ though this branch is not so active this days...
    1610
    17 === Data Model Changes ===
    18 If SQLObject works well, this proposal may not be necessary, but I would like some feedback (brad at dsource dot org) on the following proposal:  [http://trac.dsource.org/projects/test/wiki/TracTicketDataModelChanges TracTicketDataModelChanges]
     11 * Data Model Change
     12  If SQLObject (see below) works well, this proposal may not be necessary, but I would like some feedback (brad at dsource dot org) on the following proposal:  [http://trac.dsource.org/projects/test/wiki/TracTicketDataModelChanges TracTicketDataModelChanges]
    1913
    20 I like its elegance in handling custom fields, allowing multiple ticket attributes per ticket (i.e. this is a problem in 0.7.1, 0.8, and 0.9, so ticket gets multiple versions marked on it), and I imagine it results in reduced code overall for the app, because of the use of metadata. 
     14  I like its elegance in handling custom fields, allowing multiple ticket attributes per ticket (i.e. this is a problem in 0.7.1, 0.8, and 0.9, so ticket gets multiple versions marked on it), and I imagine it results in reduced code overall for the app, because of the use of metadata.
    2115
     16== Object-Relational Mapper ==
     17
     18provide a unified object interface to different RDBMS
     19
     20 * SQLObject
     21  I think some people have been talking about using [http://sqlobject.org SQLObject] to accomplish this goal of database independence.
     22
     23 * [http://modeling.sourceforge.net/ Modeling]
     24  Another, more advanced (and more complex) OR-Mapper.
     25
     26Comparisions between both and more info on Python ORMs:
     27
     28 * http://toulouse.amber.org/archives/2003/04/21/evaluating_objectrelational_migration.html
     29 * http://google.com/search?q=SQLObject+modeling
     30
     31== Store Tickets and Wiki pages directly in the Subversion repository ==
     32
     33A compelling idea with many
     34
     35=== Pros ===
     36
     37(taken from [http://subissue.tigris.org/ Subissue], a project that aims to implement such a solution)
     38
     39 * "Issues are stored directly in your Subversion repository, next to your source — right where they belong!" Ie. you have access to your Issues and project documentation (Wiki) by just checking out your source.
     40 * no extra RDBMS required - Subversion already has its own database
     41 * "logging, intelligent reporting, history, and access control straight out of the box: most everything required for issue tracking is already in place — right down to email notification."
     42
     43=== Cons ===
     44
     45 * no SQL
     46 * (from [http://projects.edgewall.com/trac/ticket/411#change_3 411]) revision numbers of the repository would climb like crazy because every ticket added or edited would create a new changeset
     47 * (from [http://projects.edgewall.com/trac/ticket/411#change_3 411]) trac currently does not modify the repository at all -- changing it to do so might create other problems
     48
     49There seem to be more :( - the Subissue project [http://svn.haxx.se/tsvn/archive-2004-08/0473.shtml seems to be dead].
     50
     51== Other Alternatives ==
     52
     53http://wiki.w4py.org/databaseintegration.html