mirror of
https://github.com/Qortal/qortal.git
synced 2025-04-14 23:35:54 +00:00
Add primary key index to latest AT state cache for extra speed!
This commit is contained in:
parent
2a789a9a9b
commit
41453f5bd1
@ -776,8 +776,7 @@ public class HSQLDBDatabaseUpdates {
|
||||
stmt.execute("DROP TABLE IF EXISTS LatestATStates");
|
||||
stmt.execute("CREATE TABLE IF NOT EXISTS LatestATStates ("
|
||||
+ "AT_address QortalAddress NOT NULL, "
|
||||
+ "height INT NOT NULL"
|
||||
+ ")");
|
||||
+ "height INT NOT NULL, PRIMARY KEY (height, AT_address))");
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user