Slow Speed Over Remote X11 Session
Slow Speed Over Remote X11 Session
От:
Thangalin <thangalin@gmail.com>
Дата:
Hi,
pgAdmin3 cannot be used remotely through X11 forwarding over a relatively fast Internet connection.
- http://www.math.umn.edu/systems_guide/putty_xwin32.html and http://www.straightrunning.com/XmingNotes/
- Launch pgadmin3 from remote Linux machine (over Putty).
- Connect to the database.
- Click the SQL icon to open a new SQL window.
- Start typing.
Expected Results
The UI keeps up with my typing speed.
Actual Results
Typing in the SQL window using a remote X session (over a high-bandwidth Internet connection) is nearly impossible. The UI updates are less than 1 character per 3 seconds. (I can type a smidge over 120 wpm, so 0.3 cps is painfully slow.)
Workaround
- Open notepad (on local Windows machine).
- Type a SQL statement into notepad.
- Copy the SQL.
- Paste into remote pgadmin SQL window.
Actual Results
The UI accepts the pasted content, nearly instantly, as expected.Kind regards.
Re: Slow Speed Over Remote X11 Session
От:
Claudio Freire <klaussfreire@gmail.com>
Дата:
On Fri, Apr 6, 2012 at 5:39 PM, Thangalin wrote: > Hi, > > pgAdmin3 cannot be used remotely through X11 forwarding over a relatively > fast Internet connection. I've noticed this. It's the syntax highlighting. If you can build yourself a pgadmin without syntax highlighting, it should be a lot more usable. I meant to produce a patch with that, but forgot due to lots of RL work. This thread reminded me ;-)
Re: Slow Speed Over Remote X11 Session
От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
On Mon, 2012-04-09 at 16:13 -0300, Claudio Freire wrote: > On Fri, Apr 6, 2012 at 5:39 PM, Thangalin wrote: > > Hi, > > > > pgAdmin3 cannot be used remotely through X11 forwarding over a relatively > > fast Internet connection. > > I've noticed this. > > It's the syntax highlighting. > If you can build yourself a pgadmin without syntax highlighting, it > should be a lot more usable. > > I meant to produce a patch with that, but forgot due to lots of RL > work. This thread reminded me ;-) > I would love to see a patch coming from this, with a nice option that allows one to enable/disable syntax highlighting. -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com