Comments (4)
If it's the inserts, not the reads, that are lagging, will they not also lag when inserted into the archive table? Or do you plan to not index them (meaning very high read lag)?
from logblock.
No, but using some kind of bulk insert (several thousand rows at once), that should help to create the indices faster.
from logblock.
It's true this will get the table's SELECTions alot faster with alot smaller indices and smaller table, but after all a regular SQL table is designed to contain any amount of data and still be reasonably fast, especially on MySQL. Take our Mainworld table for an example, it has over 33 million rows and SELECT was always fast on one engine and so much faster on second. I grant that a table with 33k rows is faster than 33 million, but in the end with proper conf you won't mind 2-100ms slower SELECT.
But, like I've read, moving shit from a table to archiving table is wasting of all with proper-like table and index design. LB's block change table indexing is about as perfect as it can get by my experience, so slow SELECT or INSERT comes from totally wrong conf.
from logblock.
As we have bulk inserts in the main table now, I don't think there is a reason for an additional archive table
from logblock.
Related Issues (20)
- mysql firstlogin, lastlogin, onlinetime, ip HOT 2
- MySQL support broken on paper 1.19.4 HOT 8
- Updater Error HOT 4
- MariaDB 11 Breaking Changes
- java.lang.IllegalArgumentException: Could not parse data: minecraft:cauldron[level=0] HOT 1
- Prefixes for bedrocks players removed HOT 6
- Feature request: Detailed Block Log HOT 1
- Custom Plugins startup directory
- Update HikariCP
- Don't shade, use plugin.yml libraries HOT 1
- Supported api-version
- [Refactoring] SQL HOT 1
- [Refactoring] Translations HOT 1
- Logblock not initializing - duplicate element: SKELETON_WALL_SKULL
- Suggestion: project pages
- Feature: Log player item drops/pickups.
- deleted
- deleted
- Putting items into decorated pots isn't being logged
- Trying to shift click items in or out of containers is being logged even if container or inventory was already full
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logblock.