Showing entries 421 to 430 of 22515
« 10 Newer Entries | 10 Older Entries »
Displaying posts with tag: MySQL (reset)
Newsletter Repost: Developer Interview With Ryan Szrama – OpenLampTech

Long-time Drupal developer Ryan Szrama shares a fantastic developer interview with the OpenLampTech newsletter readers

Code, content, and community for developers.

The LAMP stack and the PHP technologies and frameworks it runs.

Ryan Szrama is very active in Drupal development, developing plugins and specific commerce-first software using Drupal.

Consider subscribing to OpenLampTech to receive this content and more each week directly to your inbox.

Thank you for reading this post. Please share it with someone else who would enjoy it as well.

Disclaimer: The majority of examples in this post, are performed in a personal development/learning workstation environment and …

[Read more]
Deploying MySQL on OCI using OpenTofu

I could have set MySQL between parenthesis in the title as this article is more about how to use OpenTofu to deploy on OCI.

I will explain how to install OpenTofu and how to use it to deploy on OCI. I will also mention what are the required changes be able to use my previous Terraform deployment files.

As an example, let’s use the modules to deploy WordPress with MySQL HeatWave Database Service: oci-wordpress-mds.

Installing OpenTofu

If like me you are using a RPM based Linux distro, you can find the necessary information to create the yum repository on OpenTofu’s website:

$ sudo su -
# cat >/etc/yum.repos.d/opentofu.repo <<EOF
[opentofu]
name=opentofu …
[Read more]
Revamp MySQL Query Optimization and Overcome Slowness of ORDER BY with LIMIT Queries

The efficiency of database queries in MySQL can make all the difference in the performance and responsiveness of applications. In this blog post, I’ll dig into MySQL query optimization and show how MySQL uses indexes in cases of queries using sorting and limiting. While sorting may seem simple, it’s important to understand how to do it efficiently and effectively to ensure your queries are optimized and use better indexing.

Since sorting your rows is not free, it can take a significant amount of resources and time to sort large data sets; thus, it’s important to do it cautiously. If you don’t need your rows in a certain order, don’t order them.

However, if you need to order your rows, doing it efficiently and effectively is essential to optimize your queries. You must understand how to use indexes to make sorting cheaper. 

Looking at this, can you say which is faster: LIMIT 1 or LIMIT 10? Presumably, fetching …

[Read more]
How to Monitor Online InnoDB Buffer Pool Resizing

The InnoDB buffer pool acts as a powerhouse for MySQL, caching frequently accessed data and index pages in memory to accelerate query performance. In this blog post, we will go through the process of InnoDB buffer pool resizing online, covering why it is important to monitor its progress and how to monitor it.Importance of monitoring […]

Workaround for MySQL’s “can’t specify target table for update in FROM clause” Error

In MySQL, you cannot do this: create table t (i int primary key, j int); insert into t values (1, 1); update t set j = (select max(j) from t) + 1; The UPDATE statement will raise an error as follows: SQL Error [1093] [HY000]: You can't specify target table 't' for update in FROM … Continue reading Workaround for MySQL’s “can’t specify target table for update in FROM clause” Error →

Newsletter Repost: Developer Interview With Joni Halabi – OpenLampTech

Web developer Joni Halabi shares a fantastic developer interview with the OpenLampTech newsletter readers and community.

The Newsletter for PHP and MySQL Developers

Receive a copy of my ebook, “10 MySQL Tips For Everyone”, absolutely free when you subscribe to the OpenLampTech newsletter.

Welcome to this OpenLampTech text-based developer interview.

Web and WordPress developer Joni Halabi has been working with the web’s most used and popular CMS for several years.

Joni is also very knowledgeable about Gutenberg, focusing much of her development on writing custom blocks for the post editor.

Needless to say, I am very excited Joni participated in this …

[Read more]
Season’s Greetings from the MySQL Community Team at Oracle! 🎄🎉

Dear MySQL Community, As the year comes to a close, we wanted to take a moment to extend our warmest season’s greetings and best wishes to all of you. It has been a remarkable journey working together with such a vibrant and diverse community, and we are grateful for your continuous support and inspiration. As […]

JSON in MySQL HeatWave: why is data or my query not off-loaded to HeatWave Cluster ?

We recently saw that we can benefit from using JSON documents with MySQL HeatWave cluster in OCI (HeatWave accelerator for MySQL Database Service).

However sometimes the data can’t be loaded to HeatWave Cluster or the query cannot use it.

And this is not always easy to understand why. Let’s get familiar on how to find the info.

Data not loaded in HW Cluster

Let’s see an example with this table (collection):

SQL > show create table listingsAndReviews\G
*************************** 1. row ***************************
       Table: listingsAndReviews
Create Table: CREATE TABLE `listingsAndReviews` (
  `doc` json DEFAULT NULL,
  `_id` char(28) GENERATED ALWAYS AS
 (json_unquote(json_extract(`doc`,_utf8mb4'$._id'))) STORED NOT NULL,
  `_json_schema` json GENERATED ALWAYS AS 
  (_utf8mb4'{"type":"object"}') VIRTUAL,
  PRIMARY KEY (`_id`),
  CONSTRAINT `$val_strict_B70EB65BDDBAB20B0EE5BB7532C9060C422A06F8` …
[Read more]
Newsletter Repost – OpenLampTech issue #109

WooCommerce block product editor | Escaping output in PHP and Laravel | SQL must go | GitHub and MySQL v8. OpenLampTech is a media and content source for PHP, MySQL, and the LAMP stack.

The Newsletter for PHP and MySQL Developers

Receive a copy of my ebook, “10 MySQL Tips For Everyone”, absolutely free when you subscribe to the OpenLampTech newsletter.

Thank you for reading this post. Please share it with someone else who would enjoy it as well.

Josh Otwell has a passion to grow as a PHP Developer, SQL expert, and technical blogger/writer.

Disclaimer: The majority of examples in this post, are performed in a personal development/learning …

[Read more]
MySQL Shorts – Episode #49 Released

The latest Episode of MySQL Shorts is now available! Check out Episode 49 on the MySQL YouTube Channel to learn how to use Check Constraints in MySQL:  

Showing entries 421 to 430 of 22515
« 10 Newer Entries | 10 Older Entries »