imperosol 3b56d2c22b add index on Selling.date
L'index prend ~20% de la taille de la table (la table fait un peu plus de 100%Mo, et l'index un peu plus de 20Mo), mais permet de diviser par 10 les requêtes qui filtrent sur la date des ventes.

Ca concerne notamment les requêtes db faites sur les pages suivantes :

- les appels à facture (~75ms → ~3ms)
- les ventes d'un club (entre 300ms et 450ms → entre 10ms et 15ms)
- le top conso des comptoirs (sur le Foyer, ~90ms → ~9ms)
- les dernières opérations d'un comptoir (sur le Foyer, ~130ms → ~1.5ms

J'aurais bien aimé mettre également un index sur la troncature au mois de la date, mais c'est compliqué à mettre en place étant donné que postgres ne prend des index que sur des expressions immuables et que, comme elle dépend de la timezone (qui peut changer), la fonction date_trunc n'est pas immuable.
2025-11-07 13:08:01 +01:00
2025-09-15 12:04:18 +02:00
2025-06-17 21:01:51 +02:00
2025-11-07 13:08:01 +01:00
2025-09-25 16:02:56 +02:00
2025-09-01 18:20:27 +02:00
2025-08-30 19:05:41 +02:00
2025-09-25 16:02:56 +02:00
2025-09-26 22:44:26 +02:00
2025-09-26 22:32:35 +02:00
2025-06-16 15:00:30 +02:00
2025-09-26 22:32:51 +02:00
2025-09-26 14:33:17 +02:00
2017-09-07 11:50:05 +02:00
2025-05-07 11:49:38 +02:00
2025-01-06 20:13:41 +01:00
2025-03-04 11:59:35 +01:00
2022-10-30 12:33:21 +01:00
2025-06-16 15:51:04 +02:00
2025-06-03 10:37:04 +02:00
2024-10-14 00:55:48 +02:00
2024-07-04 14:03:19 +02:00
2025-05-07 11:49:38 +02:00
2025-06-16 14:54:42 +02:00
2025-09-26 22:32:35 +02:00
2025-09-26 22:32:35 +02:00
2025-05-07 11:49:38 +02:00
2025-08-28 23:42:06 +02:00
2024-10-08 01:49:29 +02:00
2025-09-25 16:02:56 +02:00
2025-08-28 23:42:06 +02:00
2025-09-25 16:02:56 +02:00

Sith

Ruff License: GPL v3 CI status Docs status Built with Material for MkDocs Checked with Biome discord

This is the source code of the UTBM's student association available at https://ae.utbm.fr/.

All documentation is in the docs directory and online at https://ae-utbm.github.io/sith. This documentation is written in French because it targets a French audience and it's too much work to maintain two versions. The code and code comments are strictly written in English.

If you want to contribute, here's how we recommend to read the docs:

  • First, it's advised to read the about part of the project to understand the goals and the mindset of the current and previous maintainers and know what to expect to learn.
  • If in the first part you realize that you need more background about what we use, we provide some links to tutorials and documentation at the end of our documentation. Feel free to use it and complete it with what you found helpful.
  • Keep in mind that this documentation is thought to be read in order.

This project is licensed under GNU GPL, see the LICENSE file at the top of the repository for more details.

Description
Languages
Python 73.5%
jinja 14.5%
TypeScript 5.5%
SCSS 5.4%
JavaScript 0.5%
Other 0.5%