Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.0] remove notification db #7442

Merged
merged 5 commits into from
Mar 8, 2024

Conversation

fstagni
Copy link
Contributor

@fstagni fstagni commented Feb 6, 2024

This has to be confirmed, but I believe this DB is by now unused.

  • update wiki

BEGINRELEASENOTES

*Framework
CHANGE: removed NotificationDN

ENDRELEASENOTES

@fstagni fstagni force-pushed the 90_remove_NotificationDB branch from 51fd709 to b81cc46 Compare February 6, 2024 14:45
@fstagni fstagni marked this pull request as ready for review February 6, 2024 15:14
@andresailer
Copy link
Contributor

SQL [NotificationDB]> show table status;
+--------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
| Name               | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time         | Update_time | Check_time | Collation         | Checksum | Create_options | Comment |
+--------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
| ntf_AlarmFollowers | InnoDB |      10 | Compact    |    0 |              0 |       16384 |               0 |        16384 |         0 |           NULL | 2023-09-13 16:11:44 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| ntf_AlarmLog       | InnoDB |      10 | Compact    |    0 |              0 |       16384 |               0 |        16384 |         0 |           NULL | 2023-09-13 16:11:44 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| ntf_Alarms         | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |        32768 |         0 |              1 | 2023-09-13 16:11:44 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| ntf_AssigneeGroups | InnoDB |      10 | Compact    |    0 |              0 |       16384 |               0 |        16384 |         0 |           NULL | 2023-09-13 16:11:44 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| ntf_Notifications  | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |            0 |         0 |              1 | 2023-09-13 16:11:44 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |

@fstagni
Copy link
Contributor Author

fstagni commented Mar 5, 2024

@marianne013 @zhangxiaomei @arrabito @hmiyake Would you make the same check that @andresailer did above? Thanks.

@arrabito
Copy link
Contributor

arrabito commented Mar 5, 2024

I have similar outputs as @andresailer

mysql> show table status;
+--------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+------------------+-----------+
| Name               | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time         | Update_time | Check_time | Collation         | Checksum | Create_options | Comment | Max_index_length | Temporary |
+--------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+------------------+-----------+
| ntf_AlarmFollowers | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |        16384 |         0 |           NULL | 2022-07-12 17:30:40 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |                0 | N         |
| ntf_AlarmLog       | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |        16384 |         0 |           NULL | 2022-07-12 17:30:41 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |                0 | N         |
| ntf_Alarms         | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |        32768 |         0 |              1 | 2022-07-12 17:30:41 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |                0 | N         |
| ntf_AssigneeGroups | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |        16384 |         0 |           NULL | 2022-07-12 17:30:41 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |                0 | N         |
| ntf_Notifications  | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |            0 |         0 |              1 | 2022-07-12 17:30:41 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |                0 | N         |
+--------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+---

so it doesn't seem to be used for us too.

@hmiyake
Copy link
Contributor

hmiyake commented Mar 5, 2024

Belle2 also has nothing.

mysql> show table status;
+--------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
| Name               | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time         | Update_time | Check_time | Collation         | Checksum | Create_options | Comment |
+--------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
| ntf_AlarmFollowers | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |        16384 |         0 |           NULL | 2020-09-08 04:40:29 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| ntf_AlarmLog       | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |        16384 |         0 |           NULL | 2020-09-08 04:40:29 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| ntf_Alarms         | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |        32768 |         0 |              1 | 2020-09-08 04:40:29 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| ntf_AssigneeGroups | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |        16384 |         0 |           NULL | 2020-09-08 04:40:29 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| ntf_Notifications  | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |            0 |         0 |              1 | 2020-09-08 04:40:29 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
+--------------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
5 rows in set (0.00 sec)

@sfayer
Copy link
Member

sfayer commented Mar 5, 2024

GridPP's notification tables are also all empty.

Regards,
Simon

@zhangxiaomei
Copy link
Contributor

IHEP's notification tables are also all empty.

Regards,
Xiaomei

@fstagni fstagni merged commit e8e2383 into DIRACGrid:integration Mar 8, 2024
24 checks passed
@DIRACGridBot DIRACGridBot added the sweep:ignore Prevent sweeping from being ran for this PR label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sweep:ignore Prevent sweeping from being ran for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants