Solution to Fix DBeaver Not Loading Schemas | Generated by AI

Home PDF

If you’re able to view schemas in an IBM DB2 database using Squirrel SQL on Windows but DBeaver gets stuck at “loading item 0%,” the issue likely stems from how DBeaver retrieves metadata compared to Squirrel SQL. Below is a step-by-step guide to troubleshoot and resolve this problem:


1. Verify the DB2 Driver in DBeaver

DBeaver requires the correct driver to connect to your IBM DB2 database. Using the wrong driver (e.g., “Db2 for LUW” vs. “Db2 for z/OS”) can cause issues with schema loading.


2. Adjust the “Metadata Source” Property

DBeaver uses a property called “metadata source” to control how it retrieves schema and table information. For DB2, adjusting this setting can resolve schema loading problems.


3. Check User Permissions

Although Squirrel SQL displays the schemas, DBeaver might query the database differently, requiring specific permissions to access metadata.


4. Rule Out Network or Firewall Issues

A network restriction or firewall could prevent DBeaver from fully retrieving schema data, even if Squirrel SQL works.


5. Update DBeaver to the Latest Version

Older versions of DBeaver may have bugs affecting DB2 schema loading.


6. Enable Debug Logging for Further Troubleshooting

If the above steps don’t resolve the issue, enable debug logging to identify specific errors during schema loading.


Why This Happens


Next Steps

Start with steps 1 and 2 (driver verification and metadata source adjustment), as they are the most likely fixes. If the issue persists, proceed through the remaining steps. If none work, consider posting your debug logs to the DBeaver community for additional help.

This should resolve the “loading item 0%” issue and allow you to view schemas in DBeaver as you do in Squirrel SQL!


Back 2025.03.20 Donate