Menu

Post image 1
Post image 2
1 / 2
0

3 General Methods to Optimize Query Performance in GBase 8a

DEV Community·Michael·about 1 month ago
#Ka54KjR6
#gbase#database#software#coding#hash#tables
Reading 0:00
15s threshold

Performance tuning for a GBase 8a MPP cluster — whether for queries, loading, or updates — falls into three categories, ranked by impact: Optimize business SQL Tune database parameters Add more hardware This article draws on real‑world experience to break down actionable optimization points in each category for the China‑domestically developed GBase 8a from GBASE. Optimize Business SQL This category includes the SQL itself, table structures, and data organization. Table Structure Tuning Hash‑Distributed Tables A well‑chosen hash distribution column avoids extra data redistribution across nodes during GROUP or JOIN operations. If the required data is already local, it can be processed in place. When the hash column is wrong, the engine performs a dynamic hash redistribution — creating temporary tables and moving data over the network — incurring additional disk I/O and network overhead.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More