|
1 | | -django-pg-timepart |
2 | | -================== |
| 1 | +django-pg-partitioning |
| 2 | +====================== |
3 | 3 | .. image:: https://img.shields.io/badge/License-MIT-orange.svg?style=flat-square |
4 | | - :target: https://raw.githubusercontent.com/chaitin/django-pg-timepart/master/LICENSE |
| 4 | + :target: https://raw.githubusercontent.com/chaitin/django-pg-partitioning/master/LICENSE |
5 | 5 | .. image:: https://img.shields.io/badge/Django-2.0_2.1-green.svg?style=flat-square&logo=django |
6 | 6 | :target: https://www.djangoproject.com/ |
7 | 7 | .. image:: https://img.shields.io/badge/PostgreSQL-11-lightgrey.svg?style=flat-square&logo=postgresql |
8 | 8 | :target: https://www.postgresql.org/ |
9 | | -.. image:: https://readthedocs.org/projects/django-pg-timepart/badge/?version=latest&style=flat-square |
10 | | - :target: https://django-pg-timepart.readthedocs.io/en/latest/ |
11 | | -.. image:: https://img.shields.io/pypi/v/django-pg-timepart.svg?style=flat-square |
12 | | - :target: https://pypi.org/project/django-pg-timepart/ |
13 | | -.. image:: https://api.travis-ci.org/chaitin/django-pg-timepart.svg?branch=master |
14 | | - :target: https://travis-ci.org/chaitin/django-pg-timepart |
| 9 | +.. image:: https://readthedocs.org/projects/django-pg-partitioning/badge/?version=latest&style=flat-square |
| 10 | + :target: https://django-pg-partitioning.readthedocs.io/en/latest/ |
| 11 | +.. image:: https://img.shields.io/pypi/v/django-pg-partitioning.svg?style=flat-square |
| 12 | + :target: https://pypi.org/project/django-pg-partitioning/ |
| 13 | +.. image:: https://api.travis-ci.org/chaitin/django-pg-partitioning.svg?branch=master |
| 14 | + :target: https://travis-ci.org/chaitin/django-pg-partitioning |
15 | 15 | .. image:: https://api.codacy.com/project/badge/Grade/c872699c1b254e90b540b053343d1e81 |
16 | | - :target: https://www.codacy.com/app/xingji2163/django-pg-timepart?utm_source=github.com&utm_medium=referral&utm_content=chaitin/django-pg-timepart&utm_campaign=Badge_Grade |
17 | | -.. image:: https://codecov.io/gh/chaitin/django-pg-timepart/branch/master/graph/badge.svg |
18 | | - :target: https://codecov.io/gh/chaitin/django-pg-timepart |
| 16 | + :target: https://www.codacy.com/app/xingji2163/django-pg-partitioning?utm_source=github.com&utm_medium=referral&utm_content=chaitin/django-pg-partitioning&utm_campaign=Badge_Grade |
| 17 | +.. image:: https://codecov.io/gh/chaitin/django-pg-partitioning/branch/master/graph/badge.svg |
| 18 | + :target: https://codecov.io/gh/chaitin/django-pg-partitioning |
19 | 19 |
|
20 | | -一个实现 PostgreSQL 表基于日期进行分区和管理的 Django 扩展。 |
21 | | -它适用于像记录日志、消息或文章等具有时间列的巨型表进行分区管理,定期创建新的分区并归档旧的分区。 |
| 20 | +一个支持 PostgreSQL 11 原生表分区的 Django 扩展,使您可以在 Django 中创建分区表并管理它们。目前它支持两种分区类型: |
| 21 | + |
| 22 | +- 时间范围分区(Time Range Partitioning):将时序数据分开存储到不同的时间范围分区表中,支持创建连续且不重叠的时间范围分区并进行归档管理。 |
| 23 | +- 列表分区(List Partitioning):根据分区字段的确定值将数据分开存储到不同的分区表中。 |
22 | 24 |
|
23 | 25 | ---- |
24 | 26 |
|
25 | | -A Django extension that implements PostgreSQL tables for partitioning and management based on dates. |
26 | | -It is suitable for partition management of giant tables with time columns like logging, messages or articles, |
27 | | -periodically creating new partitions and archiving old partitions. |
| 27 | +A Django extension that supports PostgreSQL 11 native table partitioning, allowing you to create partitioned tables in Django |
| 28 | +and manage them. Currently it supports the following two partition types: |
| 29 | + |
| 30 | +- Time Range Partitioning: Separate time series data into different time range partition tables, |
| 31 | + support the creation of continuous and non-overlapping time range partitions and archival management. |
| 32 | +- List Partitioning: Store data separately into different partition tables based on the determined values of the partition key. |
28 | 33 |
|
29 | 34 | Documentation |
30 | | - https://django-pg-timepart.readthedocs.io/en/latest/ |
| 35 | + https://django-pg-partitioning.readthedocs.io/en/latest/ |
31 | 36 |
|
32 | 37 | TODO |
33 | 38 | ---- |
34 | | -* Improve documentation and testing. |
| 39 | +- Improve documentation and testing. |
| 40 | +- Optimization implementation. |
35 | 41 |
|
36 | 42 | maybe more... |
37 | 43 |
|
38 | 44 | Contributing |
39 | 45 | ------------ |
40 | | - |
41 | 46 | If you want to contribute to a project and make it better, you help is very welcome! |
42 | | -Please read through `Contributing Guidelines <https://raw.githubusercontent.com/chaitin/django-pg-timepart/master/CONTRIBUTING.rst>`__. |
| 47 | +Please read through `Contributing Guidelines <https://github.com/chaitin/django-pg-partitioning/blob/master/CONTRIBUTING.rst>`__. |
43 | 48 |
|
44 | 49 | License |
45 | 50 | ------- |
| 51 | +This project is licensed under the MIT. Please see `LICENSE <https://raw.githubusercontent.com/chaitin/django-pg-partitioning/master/LICENSE>`_. |
46 | 52 |
|
47 | | -django-pg-timepart is licensed under the MIT. Please see `LICENSE <https://raw.githubusercontent.com/chaitin/django-pg-timepart/master/LICENSE>`_. |
| 53 | +Project Practice |
| 54 | +---------------- |
| 55 | +.. image:: https://raw.githubusercontent.com/chaitin/django-pg-partitioning/master/docs/source/_static/safeline.svg |
| 56 | + :target: https://www.chaitin.cn/en/safeline |
0 commit comments