Perform CRUD TO WHAT?

|
Dhruva 2020-06-05 11:55:10
Hii I m newbie I want to use MySql with Node Js I shall use community server or workbench
Dhruva 2020-06-05 11:55:37
Like what’s the difference
Dhruva 2020-06-05 11:55:46
And which will be better
Master Yoda 2020-06-05 12:19:00
Dhruva 2020-06-05 11:55:10
Hii I m newbie I want to use MySql with Node Js I shall use community server or workbench

Workbench is the gui for managing MySQL databases

Dhruva 2020-06-05 12:19:29
So will I be able to perform CRUD to it
Master Yoda 2020-06-05 12:21:06
Dhruva 2020-06-05 12:19:29
So will I be able to perform CRUD to it

Yes

Dhruva 2020-06-05 12:21:32
A great help to learn
MasterZiv 2020-06-05 13:32:12
Dhruva 2020-06-05 12:19:29
So will I be able to perform CRUD to it

Can you explain your question?

MasterZiv 2020-06-05 13:32:45
Dhruva 2020-06-05 12:19:29
So will I be able to perform CRUD to it

Perform CRUD TO WHAT?

Dhruva 2020-06-05 13:59:29
I mean create tables edit tables delete…but I got clear now
MasterZiv 2020-06-05 21:56:49
This chat is not for job search.
piterden 2020-06-05 22:46:40
But for loose your job )))
2020-06-06 08:30:23
Pls msg as per group.
“Ads/Vacancies arenโ€™t allowed.” is mentioned in group description. Do follow that.
On should not put irrelevant posts and irritate others (.)
Madhukar Parne 2020-06-06 19:38:24
How can we find reasons for replication lag and read replica lag?
Madhukar Parne 2020-06-06 19:38:38
Your help is very much appreciated
Master Yoda 2020-06-06 20:00:03
Madhukar Parne 2020-06-06 19:38:24
How can we find reasons for replication lag and read replica lag?

https://thoughts.t37.net/fixing-a-very-lagging-mysql-replication-db6eb5a6e15d

How to Fix a Lagging MySQL ReplicationMedium
A few weeks ago, we added a new slave to a 22TB MySQL server. The time to transfer the data, play innobackupex apply_log, the slave wasโ€ฆ
2020-06-06 22:25:49
mysql_en-3675.jpg
Check out this site for news and articles about mysql and other topics. Newsfeedxtra.com has worldwide coverage with over 30 million sources
piterden 2020-06-06 22:32:03
Spammers ))
2020-06-06 22:52:17
piterden 2020-06-06 22:32:03
Spammers ))

Not spam.

2020-06-07 08:06:30
mysql transactions go through many wait_events like wait/io/table/sql/handler, wait/io/file/innodb/innodb_log_fileany many other. My question is there any link or book or any other resource where its meaning/details can be found?
I have searched the dev.mysql.com but did not found any thing relevant.
2020-06-07 08:06:30
Any help ????
Madhukar Parne 2020-06-08 08:18:01
Master Yoda 2020-06-06 20:00:03
https://thoughts.t37.net/fixing-a-very-lagging-mysql-replication-db6eb5a6e15d

This is helpful thank you so much

2020-06-08 12:02:22
wait/synch/sxlock/innodb/btr_search_latch
can anybody tell what it means?
MasterZiv 2020-06-08 12:03:30
2020-06-08 12:02:22
wait/synch/sxlock/innodb/btr_search_latch
can anybody tell what it means?

Ask full , detailed, questions, please.

2020-06-08 12:04:50
am getting wait_event “wait/synch/sxlock/innodb/btr_search_latch” in logs & query result, but don’t know what does that mean. So looking for some help.
MasterZiv 2020-06-08 12:06:57
2020-06-08 12:04:50
am getting wait_event “wait/synch/sxlock/innodb/btr_search_latch” in logs & query result, but don’t know what does that mean. So looking for some help.

You’d better solve some more practical problems, understanding this doesn’t move you very far on the way to solve the whole query performance problem

2020-06-08 12:09:37
a query completes in 2 hrs daily, but today its been 4 hrs, but nt completed yet. on looking further into the system, found it having “wait/synch/sxlock/innodb/btr_search_latch”. so trying to understand it what it means and where it could be originating.
MasterZiv 2020-06-08 12:11:22
2020-06-08 12:09:37
a query completes in 2 hrs daily, but today its been 4 hrs, but nt completed yet. on looking further into the system, found it having “wait/synch/sxlock/innodb/btr_search_latch”. so trying to understand it what it means and where it could be originating.

So look at the query plan, used indices, create some index if the query lacks some.

2020-06-08 12:12:59
query doesn’t lack any index, as usually it completes in 2 hrs. Its a big reporting query.
MasterZiv 2020-06-08 12:16:30
2020-06-08 12:12:59
query doesn’t lack any index, as usually it completes in 2 hrs. Its a big reporting query.

2h query can’t be optimal….
I don’t believe in it

2020-06-08 12:17:09
its a procedure, so a group of queries, not a single query.
2020-06-08 15:47:29
Check out articles and news on newsfeedxtra.com
2020-06-08 20:05:45
@Samxtu
this is knowledge sharing group, not for publicity.
thegoldmansachs 2020-06-08 20:38:51
Is there any difference between where isNull(attribute) and
Where attribute is null?
Master Yoda 2020-06-08 22:48:54
thegoldmansachs 2020-06-08 20:38:51
Is there any difference between where isNull(attribute) and
Where attribute is null?

Of course. That’s why they are two not one thing

Master Yoda 2020-06-08 22:53:18
The ISNULL will return 1 where the argument is NULL and 0 if not.
Master Yoda 2020-06-08 22:54:03
SELECT ISNULL(NULL) will return 1
Master Yoda 2020-06-08 22:55:08
SELECT ISNULL(16) will return 0
Master Yoda 2020-06-08 23:01:12
Whereas SELECT * FROM tbl WHERE phone_number IS NULL ….will return records where phone_number is NULL. Similarly ‘IS NOT NULL’ in WHERE Clause will return records that don’t have NULL values in column phone_number
Master Yoda 2020-06-08 23:01:58
Master Yoda 2020-06-08 22:54:03
SELECT ISNULL(NULL) will return 1

This is a function

MasterZiv 2020-06-08 23:06:11
Master Yoda 2020-06-08 23:01:58
This is a function

Actually there is no difference except the fact that IS NULL is a comparison operation but ISNULL() is a built in function.

MasterZiv 2020-06-08 23:07:28
I personally didn’t even know about ISNULL function, I don’t know why , for what purpose, it was created.
MasterZiv 2020-06-08 23:08:15
I suppose it is completely useless as you always have CASE expressions.
thegoldmansachs 2020-06-08 23:29:34
Ohh okay got it now thanks
Master Yoda 2020-06-09 07:13:10
MasterZiv 2020-06-08 23:07:28
I personally didn’t even know about ISNULL function, I don’t know why , for what purpose, it was created.

Even a IF function exists ๐Ÿ™‚

MasterZiv 2020-06-09 08:57:38
Master Yoda 2020-06-09 07:13:10
Even a IF function exists ๐Ÿ™‚

Yes, that is what I know well…

huiuneed 2020-06-09 14:25:02
2020-06-08 12:09:37
a query completes in 2 hrs daily, but today its been 4 hrs, but nt completed yet. on looking further into the system, found it having “wait/synch/sxlock/innodb/btr_search_latch”. so trying to understand it what it means and where it could be originating.

need to check history of monitor for IO CPU in os, thread_running ,sql running in mysql and innodb rows for read, insert, update,delete and show engine innodb status for redo log changing, latch and rw_lock, compare the different between today and before

huiuneed 2020-06-09 14:32:13
If this mysql is not a master and can be crashed, when the latch is appear, the command pstack $mysqld_pid can trace all thread stack in mysqld, which is a way to find what’s happening in mysqld and which thread are block your thread. Basing on trace log, you can read and change the mysql server source code to fix the problems
2020-06-09 21:04:56
huiuneed 2020-06-09 14:32:13
If this mysql is not a master and can be crashed, when the latch is appear, the command pstack $mysqld_pid can trace all thread stack in mysqld, which is a way to find what’s happening in mysqld and which thread are block your thread. Basing on trace log, you can read and change the mysql server source code to fix the problems

Will compare and check differences.
I didn’t got the part “”can be crashed “”

huiuneed 2020-06-09 23:19:58
pstack is a dangerous gdb command
. It will cause mysqld crash or hung. It is last way to find the problem. Pstack can be unsafe for production due missed signals & interrupts if you get unlucky.ย 
|