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

myisam to innodb (1 reply)

Hello, We have a db, which has many tables. db size is bigger than 100G, and some tables are myisam, some tables are innodb. The server is a virtual server, and many time we have read-only file system...

View Article


InnoDB engine doesn't honor unique key constraints, under a heavy load (6...

I have the following table in my database. CREATE TABLE `IDN_OAUTH2_ACCESS_TOKEN` ( `ACCESS_TOKEN` varchar(255) NOT NULL DEFAULT '', `REFRESH_TOKEN` varchar(255) DEFAULT NULL, `CONSUMER_KEY`...

View Article


which value is good for Innodb_flush_log_at_trx_commit (1 reply)

Hi, Which value is good for Innodb_flush_log_at_trx_commit There are three values for it. (0, 1, 2) Think of Disk I/O Performance, 2 > 0 > 1 Or 0 > 2 > 1 Which value is beffer for Disk I/O...

View Article

MySQL 5.7: Effective Functional Indexes in InnoDB (no replies)

MySQL 5.7: Effective Functional Indexes in InnoDB http://mysqlserverteam.com/json-labs-release-effective-functional-indexes-in-innodb/

View Article

Mysql DB Optimization (1 reply)

Hi, After running the "Alter Table TableName Engine = InnoDb" there is no change in the reduction of size in Table_length and Index_length. Also, my Innodb_file per table is enabled. For some tables,...

View Article


Writing new entries to database stops, unexpectedly (1 reply)

I'm using MySQL with Entity Framework, my database contains 4 tables. At the beginning everything works good, but after a month or so, when db size exceeds 40 MB (approximately 180000 rows), writing...

View Article

how do I get consistent benchmark times with innodb buffer pool? (1 reply)

The environment I work in is extremely frustrating in that I have little to no control over my testing and production environments, and they are not identical!! I have at least one query that runs...

View Article

Restore to a test InnoDB database (1 reply)

Hi, Andrew was nice enough to push me into using an InnoDB database rather than MyIsam and it has worked flawlessly ever since. He also showed me the commands below on how to backup and restore. I...

View Article


Does SET autocommit=0 perform table locks? (3 replies)

Hello, As in the title. Does SET autocommit=0; perform table locks for other threads? I've read that START TRANSACTION; does table locks and it's very similar to autocommit=0. But I haven't found any...

View Article


Error 1067 Invalid default value (1 reply)

I just installed MySQL 5.7 on Win7 and tried to run a script (in Python) to create tables that runs fine on MySQL 5.6 on several other computers. I get a Error 1067 Invalid default value for "..." for...

View Article

Recovering ibdata1 without a partition table (no replies)

I recently lost the partition table of a thumbdrive which was holding a virtual machine with a MySQL database running on it. Using PhotoRec, Foremost and Scalpel, I realized that these tools could...

View Article

Triggers - History table (2 replies)

Hi all, I would like to create a single table which will be used as a history table for any inserts, updates, deletes to all other tables in the DB, without using PHP. For example. id, table, old,...

View Article

Need Help Restructuring Tables for Fast Data Retrieval (2 replies)

I have below DB structure in MSSQL for a small application which follow relational approach. Data retrieval (for Hostels) will need several Join so looking for suggestions, may be Key-Value approach...

View Article


Power off: The log sequence numbers in ibdata files do not match the log...

Dear friends, I'm writing here again because I get some more troubles with something like "silent data lost" in case of unproper mysql server shutdown. I'm speaking of some installation (default...

View Article

Innodb: support for wide tables coming? (1 reply)

I notice that MYISAM supports tables with wider/larger records than innodb does. Are there plans to revise innodb so it supports records with as much data in them as MYISAM does? Those with wide...

View Article


Begin End error 1064 (3 replies)

BEGIN DECLARE @data_ini Datetime; DECLARE @data_fim Datetime; Set @data_ini = '2015-06-18 15:00:00'; Set @data_fim = '2015-06-18 16:00:00'; select * from wifiscan_km77 where (TimeStamp between...

View Article

What are the risks to disabling strict mode? (1 reply)

We're thinking about disabling strict mode but not sure if there are any risks. Would allowing junk data to be inserted possibly cause a crash of MySQL? Or something else?

View Article


why must i specify an index in query? (9 replies)

SELECT * FROM users LEFT JOIN (SELECT * FROM userHits) tx1 ON tx1.id=(SELECT id FROM userHits USE INDEX(userId) WHERE userId=users.id ORDER BY id DESC LIMIT 1); 0.91 seconds SELECT * FROM users LEFT...

View Article

InnoDB table gets corrupt suddenly (5 replies)

I have one database where one of its tables gets corrupt after some days. Once it gets corrupt it doesn't appear in table list and if I try to create it again I get Table 'svb.rate_list' doesn't exist...

View Article

mysql: unknown variable 'innodb_buffer_pool_size=4G' (3 replies)

Hello. in my /etc/mysql/my.cnf i add: innodb_buffer_pool_size = 4G when I run the CLI client, I get: mysql: unknown variable 'innodb_buffer_pool_size=4G' what gives?? TIA

View Article
Browsing all 1954 articles
Browse latest View live


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