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

reduce chunk size for countries table #1279

Merged
merged 1 commit into from
Oct 7, 2016

Conversation

vivo75
Copy link
Contributor

@vivo75 vivo75 commented Oct 6, 2016

FROM https://trello.com/c/3JWvIC8T/8-aggiungere-una-faq-per-grandezza-pacchetti-mysql

May I suggest to change the chunk size of the countries query?
While this slow the initial load from 17 to 18 seconds on this machine (for the sqlite db) it should be a non issue.

With a chunk size of 50 instead of 500 the packet size should be less than 500KB instead than the actual more than 4MB

The committer has not checked other tables

One user reported the load of the "countries" table exceed
max_allowed_packet which in some configurations can be as low as 1MB.

Changing the chunk size from 500 to 50 has a small cost on the initial
load of the data (one additional second to the 17 taken previously)
while being more universally usable without changing the configuration
of the mysql server.
The new packet size is estimated to be about 500KB.

The committer has not checked other tables
@xrmx
Copy link
Contributor

xrmx commented Oct 7, 2016

Thanks! This would fix #457

@bkyryliuk
Copy link
Member

caravel load_examples
SQLlite - 50: 31.669s
SQLlite - 500: 30.263s

-- pretty insignificant, merging

@bkyryliuk bkyryliuk merged commit 94578cb into apache:master Oct 7, 2016
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 17, 2021
…timeseries charts (apache#1279)

* feat(plugin-chart-echarts): add support for series values

* feat(plugin-chart-echarts): name

* fix: lint

* fix: extract control

* fix: extract control
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 24, 2021
…timeseries charts (apache#1279)

* feat(plugin-chart-echarts): add support for series values

* feat(plugin-chart-echarts): name

* fix: lint

* fix: extract control

* fix: extract control
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 25, 2021
…timeseries charts (apache#1279)

* feat(plugin-chart-echarts): add support for series values

* feat(plugin-chart-echarts): name

* fix: lint

* fix: extract control

* fix: extract control
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 26, 2021
…timeseries charts (apache#1279)

* feat(plugin-chart-echarts): add support for series values

* feat(plugin-chart-echarts): name

* fix: lint

* fix: extract control

* fix: extract control
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.12.0 labels Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants