~ubuntu-branches/debian/sid/sqlalchemy/sid

« back to all changes in this revision

Viewing changes to doc/core/pooling.html

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ożarowski
  • Date: 2011-06-06 23:56:35 UTC
  • mfrom: (1.4.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20110606235635-8z4a1dq2ep7289b7
Tags: 0.6.8-1
* New upstream release
* Standards-Version bumped to 3.9.2 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
7
        
8
8
        <title>
9
 
    Connection Pooling
10
 
 &mdash; SQLAlchemy 0.6.7 Documentation</title>
 
9
                Connection Pooling
 
10
             &mdash; SQLAlchemy 0.6.8 Documentation</title>
11
11
        
12
12
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
13
13
    <link rel="stylesheet" href="../_static/docs.css" type="text/css" />
15
15
    <script type="text/javascript">
16
16
      var DOCUMENTATION_OPTIONS = {
17
17
          URL_ROOT:    '../',
18
 
          VERSION:     '0.6.7',
 
18
          VERSION:     '0.6.8',
19
19
          COLLAPSE_MODINDEX: false,
20
20
          FILE_SUFFIX: '.html'
21
21
      };
27
27
    <link rel="index" title="Index" href="../genindex.html" />
28
28
    <link rel="search" title="Search" href="../search.html" />
29
29
        <link rel="copyright" title="Copyright" href="../copyright.html" />
30
 
    <link rel="top" title="SQLAlchemy 0.6.7 Documentation" href="../index.html" />
 
30
    <link rel="top" title="SQLAlchemy 0.6.8 Documentation" href="../index.html" />
31
31
        <link rel="up" title="SQLAlchemy Core" href="index.html" />
32
32
        <link rel="next" title="Schema Definition Language" href="schema.html" />
33
33
        <link rel="prev" title="Working with Engines and Connections" href="connections.html" />
34
 
    
35
34
 
36
35
    </head>
37
36
    <body>
39
38
 
40
39
 
41
40
 
42
 
 
43
 
        <h1>SQLAlchemy 0.6.7 Documentation</h1>
44
 
 
45
 
        <div id="search">
46
 
        Search:
47
 
        <form class="search" action="../search.html" method="get">
48
 
          <input type="text" name="q" size="18" /> <input type="submit" value="Search" />
49
 
          <input type="hidden" name="check_keywords" value="yes" />
50
 
          <input type="hidden" name="area" value="default" />
51
 
        </form>
52
 
        </div>
53
 
 
54
 
        <div class="versionheader">
55
 
            Version: <span class="versionnum">0.6.7</span> Last Updated: 04/13/2011 20:06:58
56
 
        </div>
57
 
        <div class="clearboth"></div>
58
 
 
59
 
        <div class="topnav">
60
 
            <div id="pagecontrol">
61
 
                <a href="../genindex.html">Index</a>
62
 
 
63
 
                <div class="sourcelink">(<a href="../_sources/core/pooling.txt">view source)</div>
64
 
            </div>
65
 
 
66
 
            <div class="navbanner">
67
 
                <a class="totoc" href="../index.html">Table of Contents</a>
68
 
                        » <a href="index.html" title="SQLAlchemy Core">SQLAlchemy Core</a>
69
 
                » 
70
 
    Connection Pooling
71
 
 
72
 
 
73
 
                
74
 
<div class="prevnext">
75
 
        Previous:
76
 
        <a href="connections.html" title="previous chapter">Working with Engines and Connections</a>
77
 
        Next:
78
 
        <a href="schema.html" title="next chapter">Schema Definition Language</a>
79
 
</div>
80
 
 
81
 
                <h2>
82
 
                    
83
 
    Connection Pooling
84
 
 
85
 
                </h2>
86
 
            </div>
87
 
                <ul>
 
41
<h1>SQLAlchemy 0.6.8 Documentation</h1>
 
42
 
 
43
<div id="search">
 
44
Search:
 
45
<form class="search" action="../search.html" method="get">
 
46
  <input type="text" name="q" size="18" /> <input type="submit" value="Search" />
 
47
  <input type="hidden" name="check_keywords" value="yes" />
 
48
  <input type="hidden" name="area" value="default" />
 
49
</form>
 
50
</div>
 
51
 
 
52
<div class="versionheader">
 
53
    Version: <span class="versionnum">0.6.8</span> Last Updated: 06/05/2011 13:10:26
 
54
</div>
 
55
<div class="clearboth"></div>
 
56
 
 
57
<div id="topnav">
 
58
    <div id="pagecontrol">
 
59
        <ul>
 
60
            <li>Prev:
 
61
            <a href="connections.html" title="previous chapter">Working with Engines and Connections</a>
 
62
            </li>
 
63
            <li>Next:
 
64
            <a href="schema.html" title="next chapter">Schema Definition Language</a>
 
65
            </li>
 
66
 
 
67
        <li>
 
68
            <a href="../contents.html">Table of Contents</a> |
 
69
            <a href="../genindex.html">Index</a>
 
70
            | <a href="../_sources/core/pooling.txt">view source
 
71
        </li>
 
72
        </ul>
 
73
    </div>
 
74
    <div id="navbanner">
 
75
        <a class="totoc" href="../index.html">SQLAlchemy 0.6.8 Documentation</a>
 
76
                » <a href="index.html" title="SQLAlchemy Core">SQLAlchemy Core</a>
 
77
        » 
 
78
                Connection Pooling
 
79
             
 
80
 
 
81
        <h2>
 
82
            
 
83
                Connection Pooling
 
84
            
 
85
        </h2>
 
86
        <ul>
88
87
<li><a class="reference internal" href="#">Connection Pooling</a><ul>
89
88
<li><a class="reference internal" href="#connection-pool-configuration">Connection Pool Configuration</a></li>
90
89
<li><a class="reference internal" href="#switching-pool-implementations">Switching Pool Implementations</a></li>
97
96
</li>
98
97
</ul>
99
98
 
100
 
            <div class="clearboth"></div>
101
 
        </div>
 
99
    </div>
 
100
    <div class="clearboth"></div>
 
101
</div>
102
102
 
103
 
        <div class="document">
104
 
            <div class="body">
105
 
                
 
103
<div class="document">
 
104
    <div class="body">
 
105
        
106
106
<div class="section" id="module-sqlalchemy.pool">
107
107
<span id="connection-pooling"></span><span id="pooling-toplevel"></span><h1>Connection Pooling<a class="headerlink" href="#module-sqlalchemy.pool" title="Permalink to this headline">¶</a></h1>
108
108
<p>The establishment of a
405
405
<col class="field-name" />
406
406
<col class="field-body" />
407
407
<tbody valign="top">
408
 
<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
409
 
<li><strong>pool_size</strong> &#8211; The number of threads in which to maintain connections 
410
 
at once.  Defaults to five.</li>
411
 
</ul>
412
 
</td>
 
408
<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>pool_size</strong> &#8211; The number of threads in which to maintain connections 
 
409
at once.  Defaults to five.</td>
413
410
</tr>
414
411
</tbody>
415
412
</table>
528
525
</div>
529
526
</div>
530
527
 
531
 
            </div>
 
528
    </div>
 
529
</div>
 
530
 
 
531
 
 
532
    <div class="bottomnav">
 
533
            Previous:
 
534
            <a href="connections.html" title="previous chapter">Working with Engines and Connections</a>
 
535
            Next:
 
536
            <a href="schema.html" title="next chapter">Schema Definition Language</a>
 
537
        <div class="doc_copyright">
 
538
            &copy; <a href="../copyright.html">Copyright</a> 2007-2011, the SQLAlchemy authors and contributors.
 
539
            Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
532
540
        </div>
533
 
 
534
 
        
535
 
        
536
 
            <div class="bottomnav">
537
 
                
538
 
<div class="prevnext">
539
 
        Previous:
540
 
        <a href="connections.html" title="previous chapter">Working with Engines and Connections</a>
541
 
        Next:
542
 
        <a href="schema.html" title="next chapter">Schema Definition Language</a>
543
 
</div>
544
 
 
545
 
                <div class="doc_copyright">
546
 
                    &copy; <a href="../copyright.html">Copyright</a> 2007-2011, the SQLAlchemy authors and contributors.
547
 
                    Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.1.
548
 
                </div>
549
 
            </div>
550
 
        
551
 
 
552
 
 
 
541
    </div>
553
542
 
554
543
 
555
544