Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TuningAgent interface #49

Merged
merged 19 commits into from
Dec 21, 2024
Merged

TuningAgent interface #49

merged 19 commits into from
Dec 21, 2024

Conversation

wangpatrick57
Copy link
Member

@wangpatrick57 wangpatrick57 commented Dec 21, 2024

Summary: basic TuningAgent interface. It provides a common interface between agents and the replay subsystem (which will be pushed in a later PR).

Demo:
Added test cases that pass.
Screenshot 2024-12-20 at 17 17 59

Details:

  • The core of the interface is the DBMSConfigDelta class which represents the change to the DBMS's config after a single step of tuning.
  • Subclasses only need to override the TuningAgent._step() function.
  • The main functionality of the class is in automatically saving the deltas to files.
  • CWI's JOB dataset link also stopped working so I made my own: https://drive.google.com/uc?id=19m0zDpphAw0Bu9Irr_ta9EGr5k85hiN1.

@wangpatrick57 wangpatrick57 merged commit 842227d into cmu-db:main Dec 21, 2024
1 check passed
@wangpatrick57 wangpatrick57 deleted the agent branch December 21, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant