Comments (5)
@SanderVerkuil #44 is fixed on master
branch.
May you retry to set a composite unique index on id
and object_id
columns?
Nevertheless, it's quite hard to give hints on how to increase performance regarding queries without a better understanding of what queries you'd like to run and more precisely what where
clauses you'd like to use. You can get very good results by using composite indices spanning on columns used in your where
clauses.
from auditor.
Ah allright, prior to that I might have to either truncate all the current tables that exist, or at the very least remove all the duplicated ID's, which might take a while.
But it might very well be the case that MySQL didn't like the fact that there were quite some duplicate ID's present, and that it would just perform a full table scan then.
And indeed, when I'm running the query as called in the bundle itself:
SELECT *
FROM audit_Entity
WHERE object_id = 865581
ORDER BY created_at DESC, id DESC
LIMIT 50
It isn't really fast, but it isn't slow either (not waiting 5 minutes for the results, but rather 45 seconds to fetch 8 results). I'll get back to you at a later time.
from auditor.
@SanderVerkuil Ok, keep me updated of your findings once the tables are cleaned or truncated.
from auditor.
@SanderVerkuil Any news on this?
from auditor.
@SanderVerkuil I close this issue for now, feel free to reopen if needed.
from auditor.
Related Issues (20)
- Attempted to call an undefined method named "introspectSchema" of class "Doctrine\DBAL\Schema\PostgreSQLSchemaManager" HOT 1
- How to define a storage mapper? HOT 4
- Deprecation spam HOT 11
- UTF-8 Character Encoding fails in TransactionProcessor HOT 1
- 2.4.4 broke enum compatibility HOT 2
- Laminas Framework HOT 1
- Warning: mb_convert_encoding(): Object is not supported HOT 2
- Make DoctrineODM / MongoDB compatible?
- Custom columns and custom data in the audit tables
- Example use statement shown for Auditing Configuration in Docs Undefined HOT 1
- Correct timezone on Created_At field HOT 1
- You have requested a non-existent parameter "dh_auditor.provider.doctrine.configuration". HOT 4
- Invalid audit table name with schema
- Inject the entity in the UserProvider HOT 1
- `ignored_columns` as a callback or as a service
- Route name on transaction
- Wrong migration when using Postgres HOT 4
- DoctrineSubscriber throw deprecation when Driver is wrapped with another class HOT 11
- Nested LoggerChain DoctrineSubscriber HOT 3
- Multiple Logs Updates with Decimal values HOT 1
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 auditor.