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

Add index on chanid in iptv_channel and channelgroup #991

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

kmdewaal
Copy link
Contributor

@kmdewaal kmdewaal commented Dec 7, 2024

The tables iptv_channel and channelgroup are accessed via the chanid but there was no index on chanid in both tables. Having these indices greatly speeds up the start of playback, both for recordings and for live TV, when there is a large number of channels available in various video sources. This is influenced by the automatic creation of
channelgroups per video source when there is more than one video source present in the system.

The tables iptv_channel and channelgroup are accessed via
the chanid but there was no index on chanid in both tables.
Having these indices greatly speeds up the start of playback,
both for recordings and for live TV, when there is a large
number of channels available in various video sources.
This is influenced by the automatic creation of
channelgroups per video source when there is more than
one video source present in the system.
@kmdewaal kmdewaal merged commit 00b5817 into MythTV:master Dec 7, 2024
8 of 10 checks passed
@kmdewaal kmdewaal deleted the chanid_index branch December 7, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant