Can you give me some kind of guide for import old version mysql db to the latest instance?

|
ganeshrshinde 2021-01-22 15:26:10
mysql_en-7659.jpg

ganeshrshinde 2021-01-22 15:27:00
Memory per connection & 5k user how connection works?
MasterZiv 2021-01-22 15:34:28
ganeshrshinde 2021-01-22 15:27:00
Memory per connection & 5k user how connection works?

You have only 150 connections at maximum now configured.

ganeshrshinde 2021-01-22 15:36:04
Yes but how innodb buffer pool size distributed for connections/users?
MasterZiv 2021-01-22 15:36:27
ganeshrshinde 2021-01-22 15:36:04
Yes but how innodb buffer pool size distributed for connections/users?

no it is common for allusers

ganeshrshinde 2021-01-22 15:38:14
if i increase innodb buffer 14GB will it helpful ??
MasterZiv 2021-01-22 15:38:29
ganeshrshinde 2021-01-22 15:38:14
if i increase innodb buffer 14GB will it helpful ??

no

ganeshrshinde 2021-01-22 15:39:47
ganeshrshinde 2021-01-22 15:26:10

In this scenario query take long time to load report? Which parameter i have to check??

MasterZiv 2021-01-22 15:41:51
ganeshrshinde 2021-01-22 15:39:47
In this scenario query take long time to load report? Which parameter i have to check??

you should check query plan first of all

ganeshrshinde 2021-01-22 15:48:23
MasterZiv 2021-01-22 15:41:51
you should check query plan first of all

Ok

ganeshrshinde 2021-01-22 15:49:19
I have multiple database in mysql with 8GB + 8GB both are running then innodb buffer used for both database??
MasterZiv 2021-01-22 15:52:49
ganeshrshinde 2021-01-22 15:49:19
I have multiple database in mysql with 8GB + 8GB both are running then innodb buffer used for both database??

MySQL can only run ONE database.

MasterZiv 2021-01-22 15:53:39
ganeshrshinde 2021-01-22 15:49:19
I have multiple database in mysql with 8GB + 8GB both are running then innodb buffer used for both database??

Two and more databases are not possible

piterden 2021-01-22 15:55:31
MasterZiv 2021-01-22 15:52:49
MySQL can only run ONE database.

Excuse me, what do you call “database” there?

ganeshrshinde 2021-01-22 16:01:35
mysql_en-7673.jpg

MasterZiv 2021-01-22 16:03:18
ganeshrshinde 2021-01-22 16:01:35

these are schemes, all they use one same database, one same buffer pool

piterden 2021-01-22 16:04:23
PG supports multi ))
piterden 2021-01-22 16:05:27
But doesn’t support 4-byte charset encoding inside varchars )))
ganeshrshinde 2021-01-22 16:06:00
MasterZiv 2021-01-22 16:03:18
these are schemes, all they use one same database, one same buffer pool

Ok then i have to calculate size of all schema & increase buffer pool size?

jpadron1986 2021-01-23 07:20:01
Hello I need help, with this error, I am trying to implement a module in a call server: this query: CREATE TRIGGER add_sip_routing AFTER INSERT ON sip_devices FOR EACH ROW BEGIN INSERT INTO sip_device_routing (sip_device_id) VALUES (NEW.id); END; D;
piterden 2021-01-23 09:48:47
jpadron1986 2021-01-23 07:20:01
Hello I need help, with this error, I am trying to implement a module in a call server: this query: CREATE TRIGGER add_sip_routing AFTER INSERT ON sip_devices FOR EACH ROW BEGIN INSERT INTO sip_device_routing (sip_device_id) VALUES (NEW.id); END; D;

Don’t you need to redefine delimiter

jpadron1986 2021-01-23 09:50:51
Here I show you the complete error that the platform gives me when I try to install that module specifically:
Copying file to web directories …
Copy process completed for web directories !!

Copying file for freeswitch CDR …
Copy process completed for freeswitch CDR directories !!

Copying file for freeswitch call scripts …
Copy process completed for freeswitch directories !!

Importing database queries …
Error Code: 1359
Error Message: Trigger already exists
Error in this query: CREATE TRIGGER add_sip_routing AFTER INSERT ON` sip_devices` FOR EACH ROW BEGIN INSERT INTO sip_device_routing (sip_device_id) VALUES (NEW.id); END
Back

piterden 2021-01-23 09:51:51
Trigger already exists
piterden 2021-01-23 09:52:40
Have you tried to change name?
jpadron1986 2021-01-23 09:52:53
exact, but I already connect in bd delete the tregger and follow the same problem.
piterden 2021-01-23 09:53:14
Have you commited?
jpadron1986 2021-01-23 09:54:08
yes
piterden 2021-01-23 09:57:01
How did you delete trigger?
piterden 2021-01-23 10:06:47
https://dev.mysql.com/doc/refman/8.0/en/faqs-triggers.html
piterden 2021-01-23 10:14:41
jpadron1986 2021-01-23 09:54:08
yes

What do you see here INFORMATION_SCHEMA.TRIGGERS ???

MasterZiv 2021-01-23 10:18:44
jpadron1986 2021-01-23 09:50:51
Here I show you the complete error that the platform gives me when I try to install that module specifically:
Copying file to web directories …
Copy process completed for web directories !!

Copying file for freeswitch CDR …
Copy process completed for freeswitch CDR directories !!

Copying file for freeswitch call scripts …
Copy process completed for freeswitch directories !!

Importing database queries …
Error Code: 1359
Error Message: Trigger already exists
Error in this query: CREATE TRIGGER add_sip_routing AFTER INSERT ON` sip_devices` FOR EACH ROW BEGIN INSERT INTO sip_device_routing (sip_device_id) VALUES (NEW.id); END
Back

Drop your trigger before creation

smlkw 2021-01-23 15:51:36
mysql -Nse ‘show tables’ DATABASE_NAME | while read table; do mysql -e “truncate table $table” DATABASE_NAME; done
MasterZiv 2021-01-23 20:17:08
Only one by one
2021-01-24 10:44:02
https://www.youtube.com/watch?v=efi7ZVy2fXs&ab_channel=MugheesAhmed

Key Features in MySQL 8.0.23 | What’s New in MySQL 8.0.23 | MySQL 8 | invisible columnsYouTube
Invisible Columns
InnoDB: Encrypt DBLWR files (security improvement)
Connection Management:
Account Management:
Deprecation and Removal Notes
Replication
InnoDB: Faster truncate/drop table space
InnoDB: Faster truncate/drop table space

Please Follow me on Social Media
Linkedin: https://www.linkedin.com/in/mughees-ahmed-oracle-mysql-dba-287214122/
Twitter: https://twitter.com/Mughees52
Facebook: https://www.facebook.com/Mughees52/

EXdroomer 2021-01-26 08:35:09
Hello. Can you give me some kind of guide for import old version mysql db to the latest instance?
|