per page, with , order by , clip by
Results of 1 - 10 of about 12 for pool (0.006 sec.)
データベース — Django 6.1 ドキュメント 12735
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベース ¶ Django は次のデータベースを公式にサポートしています。 PostgreSQL MariaDB MySQL Oracle SQLite サードパーティから提供されているデータベ ... ango.db.backends.postgresql" , # ... "OPTIONS" : { "assume_role" : "my_application_role" , }, }, } 接続プール ¶ Connection pooling allows connections to be reused across threads, reducing connection setup overhead. When enabled, Django maintains a se ... parate pool for each database alias in each process. Closing a Django database connection returns it to the pool for reuse. Connection ... pooling is supported only with psycopg and requires psycopg[pool] (which installs psycopg-pool ). To enable connection pooling, ...
https://man.mtool.work/django/6.1/ref/databases.html
データベース — Django 6.1 ドキュメント 12735
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベース ¶ Django は次のデータベースを公式にサポートしています。 PostgreSQL MariaDB MySQL Oracle SQLite サードパーティから提供されているデータベ ... ango.db.backends.postgresql" , # ... "OPTIONS" : { "assume_role" : "my_application_role" , }, }, } 接続プール ¶ Connection pooling allows connections to be reused across threads, reducing connection setup overhead. When enabled, Django maintains a se ... parate pool for each database alias in each process. Closing a Django database connection returns it to the pool for reuse. Connection ... pooling is supported only with psycopg and requires psycopg[pool] (which installs psycopg-pool ). To enable connection pooling, ...
https://man.mtool.work/django/6.1/ref/databases.html
Django 5.1 リリースノート — Django 6.1 ドキュメント 8649
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 5.1 リリースノート ¶ 2024年8月7日 Django 5.1 へようこそ! このリリースノートでは、 バージョン 5.1 の新機能 と、Django 5.0 以前からアップグレー ... オープンにしたままにしておくことで、レイテンシを削減できます。 psycopg で接続プールを使用するには、次のように OPTIONS 内の "pool" オプションに、 ConnectionPool に渡されるディクショナリを設定するか、 True にすることで ConnectionPool のデフォルトを使用し ... ます。 DATABASES = { "default" : { "ENGINE" : "django.db.backends.postgresql" , # ... "OPTIONS" : { "pool" : { "min_size" : 2 , "max_size" : 4 , "timeout" : 10 , } }, }, } デフォルトで認証を要求するミドルウェア ¶ 新しい LoginReq ... n_mode" オプションが SQLite の OPTIONS でサポートされるようになり、 トランザクションの動作 を指定できるようになりました。 "pool" オプションが PostgreSQL の OPTIONS でサポートされるようになり、 接続プール を利用できるようになりました。 エラー報告 ¶ ア ...
https://man.mtool.work/django/6.1/releases/5.1.html
Django 5.1 リリースノート — Django 6.1 ドキュメント 8649
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 5.1 リリースノート ¶ 2024年8月7日 Django 5.1 へようこそ! このリリースノートでは、 バージョン 5.1 の新機能 と、Django 5.0 以前からアップグレー ... オープンにしたままにしておくことで、レイテンシを削減できます。 psycopg で接続プールを使用するには、次のように OPTIONS 内の "pool" オプションに、 ConnectionPool に渡されるディクショナリを設定するか、 True にすることで ConnectionPool のデフォルトを使用し ... ます。 DATABASES = { "default" : { "ENGINE" : "django.db.backends.postgresql" , # ... "OPTIONS" : { "pool" : { "min_size" : 2 , "max_size" : 4 , "timeout" : 10 , } }, }, } デフォルトで認証を要求するミドルウェア ¶ 新しい LoginReq ... n_mode" オプションが SQLite の OPTIONS でサポートされるようになり、 トランザクションの動作 を指定できるようになりました。 "pool" オプションが PostgreSQL の OPTIONS でサポートされるようになり、 接続プール を利用できるようになりました。 エラー報告 ¶ ア ...
https://man.mtool.work/django/6.1/releases/5.1.html
非同期サポート — Django 6.1 ドキュメント 8154
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 非同期サポート ¶ Django has support for writing asynchronous ("async") views, along with an entirely async-enabled request stack if you are running ... the CONN_MAX_AGE setting, should also be disabled in async mode. Instead, use your database backend's built-in connection pooling if available, or investigate a third-party connection pooling option if required. As in synchronous Django, concurrent ... requests in a single process share that pool, so size it to the target in-flight query concurrency. パフォーマンス ¶ When running in a mode that does not match the vie ... oncurrent queries on a single connection serialize on a lock. To support more concurrent requests, increase the connection pool size accordingly rather than disabling thread_sensitive . 実用的には、この制限は、 sync_to_async() を呼び出すときにデータベ ...
https://man.mtool.work/django/6.1/topics/async.html
非同期サポート — Django 6.1 ドキュメント 8154
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 非同期サポート ¶ Django has support for writing asynchronous ("async") views, along with an entirely async-enabled request stack if you are running ... the CONN_MAX_AGE setting, should also be disabled in async mode. Instead, use your database backend's built-in connection pooling if available, or investigate a third-party connection pooling option if required. As in synchronous Django, concurrent ... requests in a single process share that pool, so size it to the target in-flight query concurrency. パフォーマンス ¶ When running in a mode that does not match the vie ... oncurrent queries on a single connection serialize on a lock. To support more concurrent requests, increase the connection pool size accordingly rather than disabling thread_sensitive . 実用的には、この制限は、 sync_to_async() を呼び出すときにデータベ ...
https://man.mtool.work/django/6.1/topics/async.html
Django のキャッシュフレームワーク — Django 6.1 ドキュメント 7994
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django のキャッシュフレームワーク ¶ 動的なウェブサイトの基本的なトレードオフは、ええと、それが動的であるということです。ユーザーがページをリクエスト ... memcached.PyMemcacheCache" , "LOCATION" : "127.0.0.1:11211" , "OPTIONS" : { "no_delay" : True , "ignore_exc" : True , "max_pool_size" : 4 , "use_pooling" : True , }, } } 以下は、 redis を使用したバックエンドの設定例です。この設定では、データベース 10 ... を選択し(デフォルトでは Redis は16個の論理データベースを提供しています)、カスタムの connection pool class を設定します(デフォルトでは redis.ConnectionPool が使用されます)。 CACHES = { "default" : { "BACKEND" : "django.co ... re.cache.backends.redis.RedisCache" , "LOCATION" : "redis://127.0.0.1:6379" , "OPTIONS" : { "db" : "10" , "pool_class" : "redis.BlockingConnectionPool" , }, } } サイトごとのキャッシュ ¶ キャッシュを設定したら、キャッシュを使う最も簡単 ...
https://man.mtool.work/django/6.1/topics/cache.html
Django のキャッシュフレームワーク — Django 6.1 ドキュメント 7994
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django のキャッシュフレームワーク ¶ 動的なウェブサイトの基本的なトレードオフは、ええと、それが動的であるということです。ユーザーがページをリクエスト ... memcached.PyMemcacheCache" , "LOCATION" : "127.0.0.1:11211" , "OPTIONS" : { "no_delay" : True , "ignore_exc" : True , "max_pool_size" : 4 , "use_pooling" : True , }, } } 以下は、 redis を使用したバックエンドの設定例です。この設定では、データベース 10 ... を選択し(デフォルトでは Redis は16個の論理データベースを提供しています)、カスタムの connection pool class を設定します(デフォルトでは redis.ConnectionPool が使用されます)。 CACHES = { "default" : { "BACKEND" : "django.co ... re.cache.backends.redis.RedisCache" , "LOCATION" : "redis://127.0.0.1:6379" , "OPTIONS" : { "db" : "10" , "pool_class" : "redis.BlockingConnectionPool" , }, } } サイトごとのキャッシュ ¶ キャッシュを設定したら、キャッシュを使う最も簡単 ...
https://man.mtool.work/django/6.1/topics/cache.html
複数のデータベース — Django 6.1 ドキュメント 7835
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 複数のデータベース ¶ ここでは、Djangoがサポートする複数データベースの扱いについて説明します。残りのDjangoのドキュメントの大部分は、あなたが一つのデー ... on ( self , obj1 , obj2 , ** hints ): """ Relations between objects are allowed if both objects are in the primary/replica pool. """ db_set = { "primary" , "replica1" , "replica2" } if obj1 . _state . db in db_set and obj2 . _state . db in db_set : r ... rn None def allow_migrate ( self , db , app_label , model_name = None , ** hints ): """ All non-auth models end up in this pool. """ return True 最後に、設定ファイルに以下を追加します ( path.to. はルーターが定義されているモジュールの実際のPythonパスで ...
https://man.mtool.work/django/6.1/topics/db/multi-db.html
複数のデータベース — Django 6.1 ドキュメント 7835
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 複数のデータベース ¶ ここでは、Djangoがサポートする複数データベースの扱いについて説明します。残りのDjangoのドキュメントの大部分は、あなたが一つのデー ... on ( self , obj1 , obj2 , ** hints ): """ Relations between objects are allowed if both objects are in the primary/replica pool. """ db_set = { "primary" , "replica1" , "replica2" } if obj1 . _state . db in db_set and obj2 . _state . db in db_set : r ... rn None def allow_migrate ( self , db , app_label , model_name = None , ** hints ): """ All non-auth models end up in this pool. """ return True 最後に、設定ファイルに以下を追加します ( path.to. はルーターが定義されているモジュールの実際のPythonパスで ...
https://man.mtool.work/django/6.1/topics/db/multi-db.html
PREV 1 2 NEXT