Quantcast
Channel: MySQL Forums - InnoDB
Browsing all 1954 articles
Browse latest View live

InnoDB field type size vs file size descrepency? (1 reply)

I created these tables: create table aca (money TINYINT); create table acb (money SMALLINT); create table acc (money INT); create table acd (money BIGINT); I ran the following inserts over and over to...

View Article


How to show hideen column values about MVCC? (no replies)

Hello, After I build mysql with debug, I can query them by modifying the hidden columns of DB_TRX_ID and DB_ROLL_PTR in mysql.columns, but the value of these columns is always 0, may I ask how I can...

View Article


Insert to InnoDB table stops after about 40,000 rows (2 replies)

Hi, I have MySQL Enterprise version 8.11. I tried many times to insert data to a table but each time it stops inserting any rows after about 40,000 rows have been inserted. There are about 15,872,844...

View Article

MySQL 8.0: A Breakthrough in Usability – Automatic Node Provisioning (no...

slides: - https://www.slideshare.net/GeorgiKodinov/2019-bgoug-autumn-mysql-clone https://mysqlserverteam.com/clone-create-mysql-instance-replica/...

View Article

Table Data gets Deleted automatically Urgent (1 reply)

Hello. I have a database storing students data. It seems the data in the tables is automatically deleted after 2 or 3 days. NB: The tables remain with data from a specific data after the newly...

View Article


On the auto-extending innodb_system data file (7 replies)

I had the following in my my.cnf, which I inherited innodb_data_file_path = ibdata1:10M:autoextend I took it out, and mysql freaked out with: The Auto-extending innodb_system data file './ibdata1' is...

View Article

Free up space after dropping indexes (no replies)

Hi, I am using 5.7.21-20-57-log (it's actually Percona XtraDB Cluster (GPL), Release rel20, Revision 1702aea, WSREP version 29.26, wsrep_29.26, but it's not configured as a cluster). We have some...

View Article

unable to shrink IBDATA1 file (4 replies)

hello team , currently we are on 5.7 version and we have observed that IBDATA1 file is increasing. Total Size of DB is 21G but under the var/lib/MySQL we have around 55GB in which only IBDATA1 is...

View Article


create_time value is incorrect from information_schema.tables (2 replies)

Hello, We have a 5 MySQL databases (5.7.26-0ubuntu0.18.04.1-log) on Production for our Drupal websites. We have 1 MySQL Master and 4 MySQL Slaves. When I check the table creation time from...

View Article


Exact table count for all tables in a schema. (13 replies)

Hi all, I am using Innodb storage engine for all the databases.Information_schema.tables gives only the approximate count of an table, as I am not able to get the exact row count for the all tables in...

View Article

[mysql] Error: MySQL shutdown unexpectedly. (1 reply)

Hello, firstly i use xampp phpmyadmin this morning i start the server but i got a this error. 13:06:03 [mysql] Error: MySQL shutdown unexpectedly. 13:06:03 [mysql] This may be due to a blocked port,...

View Article

show engine innodb status not showing most recent deadlock (no replies)

I'm seeing deadlocks from time to time in my application logs and I'd like to track them down. Most posts on the internet say to run: show engine innodb status; This shows the "LASTEST DETECTED...

View Article

How to recover a table with a corrupted partition? (4 replies)

Environment: Redhat Linux 2.6.32-754.12.1.el6.x86_64 Server version: 5.7.20-log MySQL Community Server (GPL) I have the following error in mysql-error.log: 2020-01-07T17:38:34.065042Z 0 [Note] InnoDB:...

View Article


When was table or DB statistics gathered (no replies)

I'm using using MySQL5.7 version, I'm unable to identify the when was last statistics gather on the database or table. Is there is any view were this information is stored? Thanks in advance.

View Article

Help on Query with DATE BETWEEN not performant (11 replies)

Hi guys, I thought I had a simple query, but it looks like I can't make it run faster. My Scenario: 1)I need to find all the 'contracts' for a customer 2)then get all the 'articles' for all...

View Article


Redundant InnoDB lock (no replies)

I'm using InnoDB tables and trying to understand the reasons for some row-level locking in the case of an index range scan. I found that an extra index record (out of range) may be locked depending on...

View Article

MySQL 8.0: InnoDB -- New Redo Log (no replies)

https://www.slideshare.net/PaweOlchawa1/redo-log

View Article


Problems joining big tables (1 reply)

Hi, we have in production this MySql database: innodb_version 5.7.29 protocol_version 10 slave_type_conversions tls_version TLSv1,TLSv1.1,TLSv1.2 version 5.7.29-0ubuntu0.18.04.1 version_comment...

View Article

mysql 5.7 crashes on corrupt ibdata1 file (1 reply)

Hi, We have a corrupt database server and sketchy backups at best (sigh) the only way I can start mysql at the moment is with --innodb_force_recovery=6 the db starts but has tons of errors and i am...

View Article

Early row lookup (no replies)

Hi everyone here. I have recently learned about the "late row lookup" optimization from the following posts: https://explainextended.com/2009/10/23/mysql-order-by-limit-performance-late-row-lookups/...

View Article
Browsing all 1954 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>