[Catalyst-commits] r14228 - in
trunk/examples/CatalystAdvent/root/2011: . pen
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Sat Dec 17 23:36:15 GMT 2011
Author: caelum
Date: 2011-12-17 23:36:15 +0000 (Sat, 17 Dec 2011)
New Revision: 14228
Added:
trunk/examples/CatalystAdvent/root/2011/18.pod
Removed:
trunk/examples/CatalystAdvent/root/2011/pen/sqlite_wal.pod
Log:
publish pen/sqlite_wal.pod as 18.pod
Added: trunk/examples/CatalystAdvent/root/2011/18.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2011/18.pod (rev 0)
+++ trunk/examples/CatalystAdvent/root/2011/18.pod 2011-12-17 23:36:15 UTC (rev 14228)
@@ -0,0 +1,34 @@
+=pod
+
+=head1 Turbocharge your SQLite App with WAL
+
+In current SQLite versions, there is a feature called Write Ahead Logging or
+L<WAL|http://www.sqlite.org/draft/wal.html>.
+
+In a multi-process application such as a L<Catalyst> FastCGI instance, this
+feature greatly improves performance, at the cost of occasional writes taking
+slightly longer. See previously linked document for details.
+
+To turn it on, add C<on_connect_do "PRAGMA journal_mode=WAL;"> to your
+L<Catalyst::Model::DBIC::Schema> configuration, a typical configuration might
+be:
+
+ <Model::DB>
+ schema_class MyApp::Schema
+ traits Caching
+ <connect_info>
+ dsn dbi:SQLite:dbname=__path_to(db/myapp.db)__
+ quote_names 1
+ auto_savepoint 1
+ on_connect_do "PRAGMA journal_mode=WAL;"
+ </connect_info>
+ </Model::DB>
+
+Make sure that all clients that use this database are version C<3.7.0> of SQLite
+or above, and preferrably, that they execute this C<PRAGMA> when connecting.
+
+=head2 AUTHOR
+
+Caelum: Rafael Kitover <rkitover at cpan.org>
+
+=cut
Deleted: trunk/examples/CatalystAdvent/root/2011/pen/sqlite_wal.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2011/pen/sqlite_wal.pod 2011-12-17 17:06:09 UTC (rev 14227)
+++ trunk/examples/CatalystAdvent/root/2011/pen/sqlite_wal.pod 2011-12-17 23:36:15 UTC (rev 14228)
@@ -1,34 +0,0 @@
-=pod
-
-=head1 Turbocharge your SQLite App with WAL
-
-In current SQLite versions, there is a feature called Write Ahead Logging or
-L<WAL|http://www.sqlite.org/draft/wal.html>.
-
-In a multi-process application such as a L<Catalyst> FastCGI instance, this
-feature greatly improves performance, at the cost of occasional writes taking
-slightly longer. See previously linked document for details.
-
-To turn it on, add C<on_connect_do "PRAGMA journal_mode=WAL;"> to your
-L<Catalyst::Model::DBIC::Schema> configuration, a typical configuration might
-be:
-
- <Model::DB>
- schema_class MyApp::Schema
- traits Caching
- <connect_info>
- dsn dbi:SQLite:dbname=__path_to(db/myapp.db)__
- quote_names 1
- auto_savepoint 1
- on_connect_do "PRAGMA journal_mode=WAL;"
- </connect_info>
- </Model::DB>
-
-Make sure that all clients that use this database are version C<3.7.0> of SQLite
-or above, and preferrably, that they execute this C<PRAGMA> when connecting.
-
-=head2 AUTHOR
-
-Caelum: Rafael Kitover <rkitover at cpan.org>
-
-=cut
More information about the Catalyst-commits
mailing list