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

How to disable column-statistics ? on shared server ? #108

Closed
iamsagarmaheta opened this issue Aug 7, 2023 · 2 comments
Closed

How to disable column-statistics ? on shared server ? #108

iamsagarmaheta opened this issue Aug 7, 2023 · 2 comments

Comments

@iamsagarmaheta
Copy link

i've been using shared hostinger servers which provides mysql database
since it is not VPN i can not disable column-statistic
and when i try to take backup i am getting error cause server does not support column-statistics
so is there any way to disable it ?
i am unable to take backup

@adriancs2
Copy link
Member

You can use this:

// this might take some/lots of time
mb.ExportInfo.GetTotalRowsMode = GetTotalRowsMethod.SelectCount;
or
// this might save some/lots of time
mb.ExportInfo.GetTotalRowsMode = Skip;

// depands on how many rows do you have in your database

@iamsagarmaheta
Copy link
Author

iamsagarmaheta commented Aug 17, 2023

thanks for help
i tried this
although i am getting different error now so i think this is working
so closing the issue for now

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

No branches or pull requests

2 participants