A database of that size shouldn't have lag. Please navigate to the Dialogue Editor's Database > Editor Settings > Fast Undo For Large Databases. If that doesn't fix it, please exit Unity, delete the Library folder (be careful to only delete the Library folder), and reopen Unity. This will tell Unity to rebuild the Library folder, which might have a problem that's causing editor lag.