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

Understanding MySQL indexes (no replies)

Is it correct that when we create an index in InnoDB, it indexes every value in the column being indexed? Suppose we have a table with 2 billion rows in it. Then the index will have approx. 2 billion...

View Article


Convert int primarykey to Bigint (no replies)

I am using mysql5.7. We have a table which uses int field as primary key. We hit a max limit of int and not able to store new entries. What is the fastest and safe way to resolve this problem? TIA.

View Article


How to reject query if it does not contain partition clause? (no replies)

Hello, is it possible to configure MySQL 8.0 so that it automatically rejects queries that do not contain a partition filter? How? Thanks.

View Article

How can I associate specific records to a page from INNODB_BUFFER_PAGE? (no...

I ran into a deadlock issue with MySQL 5.7 and it gave me a page number for the deadlock. I want to see things through and find out which other records could have been accessed at the same time to...

View Article

How to restore free space shown in INFORMATION_SCHEMA.TABLES.DATA_FREE? (no...

We have a version 5.7.38 MySQL database running on AWS for a long time and the free storage space has been quite constant until recently - the free storage space has suddenly dropped 30%....

View Article


MySQL & UUIDs (no replies)

https://blogs.oracle.com/mysql/post/mysql-uuids

View Article

MySQL8 write performance degrades (no replies)

Hi, We are running performance test between MySQL 5.7 and MySQL 8. The topology is one master and 2 slaves. We setup the environment on AWS, so we can make sure all MySQL use the same OS,...

View Article

MYSQL JSON fragmentation (no replies)

We are seeing a lot of storage fragmentation when appending to the same JSON column multiple times. From the documentation it's not clear this was the expected behavior so would like to understand...

View Article


create new resource group and bind specific backgroup thread to it (no replies)

Hi, I'd like to try something on resource group. 1. Create new resource group, type system, priority -20 2. bind log_flusher_thread and log_writer_thread to this new resource group It fails because of...

View Article


MySQL8 Upgrade - Change Table Row Formats (no replies)

I am currently prepping to upgrade from MySQL 5.7 to MySQL 8. I am using RDS on AWS with a master server and read replicas. The read replicas use MySQL replication but read-only copies. One of the...

View Article

Curious size variations (no replies)

Hi, I am facing curious storage differences in size for 2 similar tables: CREATE TABLE TSENSOR ( DateTime DATETIME NOT NULL, SensorID TINYINT UNSIGNED, Value FLOAT, PRIMARY KEY(DateTime,SensorID));...

View Article

Does InnoDB have anything equivalent to the BRIN index in Postgres? (no replies)

Hello, Does InnoDB have anything equivalent to the BRIN index in Postgres? M.

View Article

MySQL 8.0 - Recover data from .IBD files after server failure (with files...

Greetings, Recently the MySQL server I was using crashed (8.0), motherboard failure and NTFS corruption on the drive (Windows Server). I had all the files backed up fortunately, so I thought I would...

View Article


Steps to restore a database (no replies)

Hello, I am currently backing up a MYSQL database and using a cloud provider to do this. I can restore the database from the cloud provider backup but it is in a .bak format. Are there steps to...

View Article

Can't run Mysql with a native NETWORK SERVICE account (2 replies)

Hello folks! I really need your help. Recently I've been working with disk folders/permission for web sites, I can't remember exactly what I've done wrong but my 5.7 Mysql server can't be run with...

View Article


[ERROR] InnoDB: Failed to find tablespace for table... (no replies)

hi, We have a bacula server that uses mysql as its database. Today we found that mysql was not starting. I tried a few fixes, but to no success. [ERROR] InnoDB: Failed to find tablespace for table...

View Article

Innodb 5.7 include and failover to new member (no replies)

Hello Guys, I am fresh in Mysql innodb and I am in charge to include a new member on the Innodb Cluster and after that promote it to master ( R\W ). However, It is a production Environment and I...

View Article


MySQL 8.0 INSTANT ADD and DROP Column(s) (no replies)

MySQL 8.0 INSTANT ADD and DROP Column(s) - https://blogs.oracle.com/mysql/post/mysql-80-instant-add-drop-columns - https://blogs.oracle.com/mysql/post/mysql-80-instant-add-and-drop-columns-2 MySQL...

View Article

MySQL8.0 source code about Parallel_reader::available_threads (no replies)

Here are the source codes of Parallel_reader::available_threads in storage\innobase\row\row0pread.cc. I have some question about it. size_t Parallel_reader::available_threads(size_t n_required, bool...

View Article

Why does MySQL 5.7 inside a docker container always crash? (1 reply)

I have a MySQL 5.7 docker container that was provisioned via a docker-compose file, the file looks like this: ```yml version: '3' # Run command: docker compose --env-file .env.local up services: #...

View Article
Browsing all 1954 articles
Browse latest View live


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