• <bdo id='7RMSK'></bdo><ul id='7RMSK'></ul>

  • <small id='7RMSK'></small><noframes id='7RMSK'>

    <i id='7RMSK'><tr id='7RMSK'><dt id='7RMSK'><q id='7RMSK'><span id='7RMSK'><b id='7RMSK'><form id='7RMSK'><ins id='7RMSK'></ins><ul id='7RMSK'></ul><sub id='7RMSK'></sub></form><legend id='7RMSK'></legend><bdo id='7RMSK'><pre id='7RMSK'><center id='7RMSK'></center></pre></bdo></b><th id='7RMSK'></th></span></q></dt></tr></i><div id='7RMSK'><tfoot id='7RMSK'></tfoot><dl id='7RMSK'><fieldset id='7RMSK'></fieldset></dl></div>

  • <legend id='7RMSK'><style id='7RMSK'><dir id='7RMSK'><q id='7RMSK'></q></dir></style></legend>
    1. <tfoot id='7RMSK'></tfoot>

        在 Heroku Cedar 堆栈上使用 Sqlite3

        Using Sqlite3 on Heroku Cedar stack(在 Heroku Cedar 堆栈上使用 Sqlite3)
          <tbody id='OSt9z'></tbody>

        • <small id='OSt9z'></small><noframes id='OSt9z'>

                <bdo id='OSt9z'></bdo><ul id='OSt9z'></ul>

                  <tfoot id='OSt9z'></tfoot>

                  <i id='OSt9z'><tr id='OSt9z'><dt id='OSt9z'><q id='OSt9z'><span id='OSt9z'><b id='OSt9z'><form id='OSt9z'><ins id='OSt9z'></ins><ul id='OSt9z'></ul><sub id='OSt9z'></sub></form><legend id='OSt9z'></legend><bdo id='OSt9z'><pre id='OSt9z'><center id='OSt9z'></center></pre></bdo></b><th id='OSt9z'></th></span></q></dt></tr></i><div id='OSt9z'><tfoot id='OSt9z'></tfoot><dl id='OSt9z'><fieldset id='OSt9z'></fieldset></dl></div>
                  <legend id='OSt9z'><style id='OSt9z'><dir id='OSt9z'><q id='OSt9z'></q></dir></style></legend>
                • 本文介绍了在 Heroku Cedar 堆栈上使用 Sqlite3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  有没有办法在 Heroku 上使用 Sqlite3 和 Django?

                  Is there a way to use Sqlite3 with Django on Heroku?

                  推荐答案

                  雪松栈的文件系统不是只读的.

                  The cedar stack's filesystem is not readonly.

                  但是,您仍然不能在其上存储任何数据,因为文件系统是短暂的.

                  However, you still mustn't store any data on it because the filesystem is ephemeral.

                  每当您的应用程序重新启动时,您写入应用程序文件系统的任何内容都会永远消失.

                  Any time your application restarts, whatever you had written to your application's filesystem disappears forever.

                  任何时候添加一个测功机,这两个测功机都有自己的临时系统;一个测功机存储到其临时文件系统的任何数据都不能用于另一个测功机或您以后可能添加的任何其他测功机.

                  Any time you add a dyno, the two dynos each have their own ephemeral system; any data stored by one dyno to its ephemeral filesystem is not available to the other dyno or to any additional dynos you may add later.

                  Sqlite3 将数据写入本地文件系统.你不能在 Heroku 中使用 Sqlite3.

                  Sqlite3 writes data to the local filesystem. You cannot use Sqlite3 with Heroku.

                  Heroku 提供了一个默认的 PostgreSQL 安装,由 Heroku 管理.你可以使用它.

                  Heroku provides a default PostgreSQL installation, which Heroku manages. You can use that.

                  您还可以使用任何第三方管理的云数据库系统,例如 Amazon RDS 或 Xeround 的 MySQL、MongoHQ 或 MongoLab 的 MongoDB,或者 Cloudant 的 CouchDB - 所有这些都可以作为 Heroku 插件使用.

                  You can also use any third-party-managed cloud database system, such as Amazon RDS' or Xeround's MySQL, MongoHQ's or MongoLab's MongoDB, or Cloudant's CouchDB - all of which are available as Heroku addons.

                  这篇关于在 Heroku Cedar 堆栈上使用 Sqlite3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  SQLite loop statements?(SQLite 循环语句?)
                  Can I use parameters for the table name in sqlite3?(我可以在 sqlite3 中使用表名的参数吗?)
                  SQL - Inserting a row and returning primary key(SQL - 插入一行并返回主键)
                  How to get the number of rows of the selected result from sqlite3?(如何从sqlite3中获取所选结果的行数?)
                  Python : How to insert a dictionary to a sqlite database?(Python:如何将字典插入到 sqlite 数据库中?)
                  What are the advantages of VistaDB(VistaDB有什么优势)
                  <i id='GeHq9'><tr id='GeHq9'><dt id='GeHq9'><q id='GeHq9'><span id='GeHq9'><b id='GeHq9'><form id='GeHq9'><ins id='GeHq9'></ins><ul id='GeHq9'></ul><sub id='GeHq9'></sub></form><legend id='GeHq9'></legend><bdo id='GeHq9'><pre id='GeHq9'><center id='GeHq9'></center></pre></bdo></b><th id='GeHq9'></th></span></q></dt></tr></i><div id='GeHq9'><tfoot id='GeHq9'></tfoot><dl id='GeHq9'><fieldset id='GeHq9'></fieldset></dl></div>

                    • <tfoot id='GeHq9'></tfoot>

                        <small id='GeHq9'></small><noframes id='GeHq9'>

                            <bdo id='GeHq9'></bdo><ul id='GeHq9'></ul>
                          • <legend id='GeHq9'><style id='GeHq9'><dir id='GeHq9'><q id='GeHq9'></q></dir></style></legend>
                              <tbody id='GeHq9'></tbody>