0% found this document useful (0 votes)
60 views4 pages

LiveCDN Addition

The document contains SQL commands for managing a local CDN database, specifically for 'live-tv' content in the KHI region. Two new CDN entries were inserted and subsequently enabled, bringing the total number of entries for 'live-tv' to seven. The document also shows updates and queries to verify the status of these entries.

Uploaded by

Test Email82
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views4 pages

LiveCDN Addition

The document contains SQL commands for managing a local CDN database, specifically for 'live-tv' content in the KHI region. Two new CDN entries were inserted and subsequently enabled, bringing the total number of entries for 'live-tv' to seven. The document also shows updates and queries to verify the status of these entries.

Uploaded by

Test Email82
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

khi2

khi5

mysql>
mysql> insert into local_cdn values
(null,'live-tv','KHI','cdn02khi','https://cdn02khi.tamashaweb.com',now(),now(),0,0)
;
Query OK, 1 row affected (0.05 sec)

mysql> insert into local_cdn values


(null,'live-tv','KHI','cdn05khi','https://cdn05khi.tamashaweb.com',now(),now(),0,0)
;
Query OK, 1 row affected (0.00 sec)

mysql> select * from local_cdn where cdn_type='live-tv';


+----+----------+--------+----------+---------------------------------
+---------------------+---------------------+------------------------
+----------------------------------------+
| id | cdn_type | region | name | url | created_dt
| update_dt | is_enabled | disabled_due_to_bw
|
+----+----------+--------+----------+---------------------------------
+---------------------+---------------------+------------------------
+----------------------------------------+
| 1 | live-tv | LHR | cdn12isb | https://cdn12isb.tamashaweb.com | 2024-10-09
13:12:05 | 2025-04-29 18:57:49 | 0x01 | 0x00
|
| 2 | live-tv | LHR | cdn21lhr | https://cdn21lhr.tamashaweb.com | 2024-10-09
13:16:09 | 2025-04-29 18:57:49 | 0x01 | 0x00
|
| 3 | live-tv | LHR | cdn22lhr | https://cdn22lhr.tamashaweb.com | 2024-10-09
13:16:09 | 2025-04-29 18:57:49 | 0x01 | 0x00
|
| 4 | live-tv | LHR | cdn23lhr | https://cdn23lhr.tamashaweb.com | 2024-10-09
13:16:10 | 2025-04-29 18:57:49 | 0x01 | 0x00
|
| 5 | live-tv | LHR | cdn24lhr | https://cdn24lhr.tamashaweb.com | 2024-10-09
13:16:10 | 2025-04-29 18:57:49 | 0x01 | 0x00
|
| 43 | live-tv | KHI | cdn02khi | https://cdn02khi.tamashaweb.com | 2025-05-07
11:50:12 | 2025-05-07 11:50:12 | 0x00 | 0x00
|
| 44 | live-tv | KHI | cdn05khi | https://cdn05khi.tamashaweb.com | 2025-05-07
11:50:22 | 2025-05-07 11:50:22 | 0x00 | 0x00
|
+----+----------+--------+----------+---------------------------------
+---------------------+---------------------+------------------------
+----------------------------------------+
7 rows in set (0.00 sec)

mysql> update local_cdn set is_enabled=1 where id=43;


Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
mysql> update local_cdn set is_enabled=1 where id=44;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0

mysql> select * from local_cdn where cdn_type='live-tv';


+----+----------+--------+----------+---------------------------------
+---------------------+---------------------+------------------------
+----------------------------------------+
| id | cdn_type | region | name | url | created_dt
| update_dt | is_enabled | disabled_due_to_bw
|
+----+----------+--------+----------+---------------------------------
+---------------------+---------------------+------------------------
+----------------------------------------+
| 1 | live-tv | LHR | cdn12isb | https://cdn12isb.tamashaweb.com | 2024-10-09
13:12:05 | 2025-04-29 18:57:49 | 0x01 | 0x00
|
| 2 | live-tv | LHR | cdn21lhr | https://cdn21lhr.tamashaweb.com | 2024-10-09
13:16:09 | 2025-04-29 18:57:49 | 0x01 | 0x00
|
| 3 | live-tv | LHR | cdn22lhr | https://cdn22lhr.tamashaweb.com | 2024-10-09
13:16:09 | 2025-04-29 18:57:49 | 0x01 | 0x00
|
| 4 | live-tv | LHR | cdn23lhr | https://cdn23lhr.tamashaweb.com | 2024-10-09
13:16:10 | 2025-04-29 18:57:49 | 0x01 | 0x00
|
| 5 | live-tv | LHR | cdn24lhr | https://cdn24lhr.tamashaweb.com | 2024-10-09
13:16:10 | 2025-04-29 18:57:49 | 0x01 | 0x00
|
| 43 | live-tv | KHI | cdn02khi | https://cdn02khi.tamashaweb.com | 2025-05-07
11:50:12 | 2025-05-07 11:50:12 | 0x01 | 0x00
|
| 44 | live-tv | KHI | cdn05khi | https://cdn05khi.tamashaweb.com | 2025-05-07
11:50:22 | 2025-05-07 11:50:22 | 0x01 | 0x00
|
+----+----------+--------+----------+---------------------------------
+---------------------+---------------------+------------------------
+----------------------------------------+
7 rows in set (0.00 sec)

mysql> use cdn_distributor_web_v2


Database changed
mysql> select * from local_cdn where cdn_type='live-tv';
+----+----------+--------+----------+---------------------------------
+---------------------+---------------------+------------------------
+----------------------------------------+
| id | cdn_type | region | name | url | created_dt
| update_dt | is_enabled | disabled_due_to_bw
|
+----+----------+--------+----------+---------------------------------
+---------------------+---------------------+------------------------
+----------------------------------------+
| 1 | live-tv | ISB | cdn12isb | https://cdn12isb.tamashaweb.com | 2024-10-09
13:12:05 | 2025-04-29 18:58:18 | 0x01 | 0x00
|
| 2 | live-tv | LHR | cdn21lhr | https://cdn21lhr.tamashaweb.com | 2024-10-09
13:16:09 | 2025-04-29 18:58:18 | 0x01 | 0x00
|
| 3 | live-tv | LHR | cdn22lhr | https://cdn22lhr.tamashaweb.com | 2024-10-09
13:16:09 | 2025-04-29 18:58:18 | 0x01 | 0x00
|
| 4 | live-tv | LHR | cdn23lhr | https://cdn23lhr.tamashaweb.com | 2024-10-09
13:16:10 | 2025-04-29 18:58:18 | 0x01 | 0x00
|
| 5 | live-tv | LHR | cdn24lhr | https://cdn24lhr.tamashaweb.com | 2024-10-09
13:16:10 | 2025-04-29 18:58:18 | 0x01 | 0x00
|
+----+----------+--------+----------+---------------------------------
+---------------------+---------------------+------------------------
+----------------------------------------+
5 rows in set (0.02 sec)

mysql> insert into local_cdn values


(null,'live-tv','KHI','cdn02khi','https://cdn02khi.tamashaweb.com',now(),now(),1,0)
;
Query OK, 1 row affected (0.17 sec)

mysql> insert into local_cdn values


(null,'live-tv','KHI','cdn05khi','https://cdn05khi.tamashaweb.com',now(),now(),1,0)
;
Query OK, 1 row affected (0.00 sec)

mysql> select * from local_cdn where cdn_type='live-tv';


+----+----------+--------+----------+---------------------------------
+---------------------+---------------------+------------------------
+----------------------------------------+
| id | cdn_type | region | name | url | created_dt
| update_dt | is_enabled | disabled_due_to_bw
|
+----+----------+--------+----------+---------------------------------
+---------------------+---------------------+------------------------
+----------------------------------------+
| 1 | live-tv | ISB | cdn12isb | https://cdn12isb.tamashaweb.com | 2024-10-09
13:12:05 | 2025-04-29 18:58:18 | 0x01 | 0x00
|
| 2 | live-tv | LHR | cdn21lhr | https://cdn21lhr.tamashaweb.com | 2024-10-09
13:16:09 | 2025-04-29 18:58:18 | 0x01 | 0x00
|
| 3 | live-tv | LHR | cdn22lhr | https://cdn22lhr.tamashaweb.com | 2024-10-09
13:16:09 | 2025-04-29 18:58:18 | 0x01 | 0x00
|
| 4 | live-tv | LHR | cdn23lhr | https://cdn23lhr.tamashaweb.com | 2024-10-09
13:16:10 | 2025-04-29 18:58:18 | 0x01 | 0x00
|
| 5 | live-tv | LHR | cdn24lhr | https://cdn24lhr.tamashaweb.com | 2024-10-09
13:16:10 | 2025-04-29 18:58:18 | 0x01 | 0x00
|
| 43 | live-tv | KHI | cdn02khi | https://cdn02khi.tamashaweb.com | 2025-05-07
11:52:28 | 2025-05-07 11:52:28 | 0x01 | 0x00
|
| 44 | live-tv | KHI | cdn05khi | https://cdn05khi.tamashaweb.com | 2025-05-07
11:52:36 | 2025-05-07 11:52:36 | 0x01 | 0x00
|
+----+----------+--------+----------+---------------------------------
+---------------------+---------------------+------------------------
+----------------------------------------+
7 rows in set (0.00 sec)

You might also like