Re: [rt-users] Is SQLite no longer supported?

2009-11-25 Thread Ivan Voras
2009/11/25 Tom Lahti t...@bitstatement.net:
 SQLite's complete lack of threading model means responding to a single
 request at a time.

 Simply put, if you have enough users that the possibility of multiple
 people requesting information at the same time, or a user request happening
 when an external ticket comes in (email via rt-mailgate etc.), then you're
 going to be causing users to stall, waiting.

 You may be able to get away with it for a small number of concurrent users
 (1-5 maybe) in a low volume environment, but if you're wanting to do
 anything serious with email coming in at any moment, then you'd be better
 off setting up a MySQL/PgSQL DB.  The effort isn't much different.

 Stuart

 I was thinking more in terms of reporting reliability.

 In short, SQLite is not ACID compliant.  If underneath you are not ACID
 compliant, then there is no assurance that what's in a ticket's history
 necessarily reflects reality.  History items may have been lost due to power
 outages, locking issues, buggy web server software, etc etc etc.

 Without ACID compliance, you really don't have an audit trail.  You can
 pretend you do, but you really don't :)

In defence of SQLite (not that I'm especially cheering for it), it
actually is ACID compliant (http://www.sqlite.org/transactional.html,
http://www.sqlite.org/atomiccommit.html) and concurreny issues only
affect writers (readers are fully concurrent;
http://www.sqlite.org/lockingv3.html,
http://www.sqlite.org/faq.html#q6), so my question really was more
directed to real-world experiences with rt3 and SQLite rather than
rumours :)
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Is SQLite no longer supported?

2009-11-25 Thread Tom Lahti
 In defence of SQLite (not that I'm especially cheering for it), it
 actually is ACID compliant (http://www.sqlite.org/transactional.html,
 http://www.sqlite.org/atomiccommit.html) and concurreny issues only
 affect writers (readers are fully concurrent;
 http://www.sqlite.org/lockingv3.html,
 http://www.sqlite.org/faq.html#q6), so my question really was more
 directed to real-world experiences with rt3 and SQLite rather than
 rumours :)

It wasn't the last time I looked at it.  I still wonder about 
transaction isolation levels, but as long as RT doesn't use BEGIN, 
COMMIT or ROLLBACK, I guess that doesn't matter much.

-- 
--
   Tom Lahti, SCMDBA, LPIC-1
   BIT LLC
   (425)251-0833 x 117
   http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Is SQLite no longer supported?

2009-11-24 Thread Ivan Voras
2009/11/24 Todd Chapman t...@chaka.net:
 On Mon, Nov 23, 2009 at 10:35 PM, Jesse Vincent je...@bestpractical.com 
 wrote:

 On Mon, Nov 23, 2009 at 10:33:16PM -0500, Todd Chapman wrote:
 I just checked RT out of git and ran:

 ./configure --enable-layout=inplace --with-my-user-group 
 --with-db-typ=SQLite

 It helps if you don't misspell '--with-db-type'


 Crap. Thanks Jesse!

Slightly offtopic - is there some best practice limit saying when
SQLite stops being efficient and it's time to use something bigger? Or
in other words, how large are average SQLite installations in terms of
users, tickets, etc.?
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Is SQLite no longer supported?

2009-11-24 Thread Tom Lahti
 Slightly offtopic - is there some best practice limit saying when
 SQLite stops being efficient and it's time to use something bigger? Or
 in other words, how large are average SQLite installations in terms of
 users, tickets, etc.?

In my opinion, I would say that SQLite is appropriate for testing and 
development work, where you have developers working on customizations of 
RT.  I don't think SQLite is appropriate for production environments of 
any size.  But that's just me.

-- 
--
   Tom Lahti, SCMDBA, LPIC-1
   BIT LLC
   (425)251-0833 x 117
   http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Is SQLite no longer supported?

2009-11-24 Thread Stuart Browne


 -Original Message-
 From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-
 boun...@lists.bestpractical.com] On Behalf Of Tom Lahti
 Sent: Wednesday, 25 November 2009 10:55
 To: Ivan Voras
 Cc: rt-users
 Subject: Re: [rt-users] Is SQLite no longer supported?
 
  Slightly offtopic - is there some best practice limit saying when
  SQLite stops being efficient and it's time to use something bigger?
 Or
  in other words, how large are average SQLite installations in terms
 of
  users, tickets, etc.?
 
 In my opinion, I would say that SQLite is appropriate for testing and
 development work, where you have developers working on customizations
 of
 RT.  I don't think SQLite is appropriate for production environments of
 any size.  But that's just me.

I'd have to completely with this.

SQLite's complete lack of threading model means responding to a single request 
at a time.

Simply put, if you have enough users that the possibility of multiple people 
requesting information at the same time, or a user request happening when an 
external ticket comes in (email via rt-mailgate etc.), then you're going to be 
causing users to stall, waiting.

You may be able to get away with it for a small number of concurrent users (1-5 
maybe) in a low volume environment, but if you're wanting to do anything 
serious with email coming in at any moment, then you'd be better off setting up 
a MySQL/PgSQL DB.  The effort isn't much different.

Stuart
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Is SQLite no longer supported?

2009-11-24 Thread Jesse Vincent



 Slightly offtopic - is there some best practice limit saying when
 SQLite stops being efficient and it's time to use something bigger? Or
 in other words, how large are average SQLite installations in terms of
 users, tickets, etc.?

We don't recommend that you use RT on SQLite in production, generally.

-- 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Is SQLite no longer supported?

2009-11-24 Thread Jerrad Pierce
 Slightly offtopic - is there some best practice limit saying when
 SQLite stops being efficient and it's time to use something bigger? Or
 in other words, how large are average SQLite installations in terms of
 users, tickets, etc.?

 In my opinion, I would say that SQLite is appropriate for testing and
 development work, where you have developers working on customizations of
 RT.  I don't think SQLite is appropriate for production environments of
 any size.  But that's just me.

SQLite could be okay for very small/low-concurrency production systems.
Compare Firefox's use of SQLite for its data stores. Of course, as you
may have experienced, the system starts to falter with several
thousand
entries in Places.sqlite (bookmarks + history).
-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Is SQLite no longer supported?

2009-11-24 Thread Tom Lahti
 SQLite's complete lack of threading model means responding to a single 
 request at a time.
 
 Simply put, if you have enough users that the possibility of multiple people 
 requesting information at the same time, or a user request happening when an 
 external ticket comes in (email via rt-mailgate etc.), then you're going to 
 be causing users to stall, waiting.
 
 You may be able to get away with it for a small number of concurrent users 
 (1-5 maybe) in a low volume environment, but if you're wanting to do anything 
 serious with email coming in at any moment, then you'd be better off setting 
 up a MySQL/PgSQL DB.  The effort isn't much different.
 
 Stuart

I was thinking more in terms of reporting reliability.

In short, SQLite is not ACID compliant.  If underneath you are not ACID 
compliant, then there is no assurance that what's in a ticket's history 
necessarily reflects reality.  History items may have been lost due to 
power outages, locking issues, buggy web server software, etc etc etc.

Without ACID compliance, you really don't have an audit trail.  You can 
pretend you do, but you really don't :)

-- 
--
   Tom Lahti, SCMDBA, LPIC-1
   BIT LLC
   (425)251-0833 x 117
   http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Is SQLite no longer supported?

2009-11-23 Thread Todd Chapman
I just checked RT out of git and ran:

./configure --enable-layout=inplace --with-my-user-group --with-db-typ=SQLite

But the database type is set to 'mysql' in RT_Config.pm.

What gives? The schema.SQLite file still exists.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Is SQLite no longer supported?

2009-11-23 Thread Jesse Vincent



On Mon, Nov 23, 2009 at 10:33:16PM -0500, Todd Chapman wrote:
 I just checked RT out of git and ran:
 
 ./configure --enable-layout=inplace --with-my-user-group --with-db-typ=SQLite

It helps if you don't misspell '--with-db-type'


 
 But the database type is set to 'mysql' in RT_Config.pm.
 
 What gives? The schema.SQLite file still exists.
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
 

-- 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Is SQLite no longer supported?

2009-11-23 Thread Todd Chapman
On Mon, Nov 23, 2009 at 10:35 PM, Jesse Vincent je...@bestpractical.com wrote:



 On Mon, Nov 23, 2009 at 10:33:16PM -0500, Todd Chapman wrote:
 I just checked RT out of git and ran:

 ./configure --enable-layout=inplace --with-my-user-group --with-db-typ=SQLite

 It helps if you don't misspell '--with-db-type'


Crap. Thanks Jesse!



 But the database type is set to 'mysql' in RT_Config.pm.

 What gives? The schema.SQLite file still exists.
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com


 --

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com