mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 19:06:14 +01:00 
			
		
		
		
	 2bedc3978b
			
		
	
	
	2bedc3978b
	
	
	
		
			
			Analysis: By design InnoDB was reading first page of every .ibd file at startup to find out is tablespace encrypted or not. This is because tablespace could have been encrypted always, not encrypted newer or encrypted based on configuration and this information can be find realible only from first page of .ibd file. Fix: Do not read first page of every .ibd file at startup. Instead whenever tablespace is first time accedded we will read the first page to find necessary information about tablespace encryption status. TODO: Add support for SYS_TABLEOPTIONS where all table options encryption information included will be stored.
		
			
				
	
	
		
			4 lines
		
	
	
	
		
			127 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
	
		
			127 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| --innodb-encrypt-tables=ON
 | |
| --innodb-encryption-rotate-key-age=15
 | |
| --innodb-encryption-threads=4
 | |
| --innodb-tablespaces-encryption
 |