Slashdot Mirror


Oracle SQL Development Environment in Linux?

Jón Ragnarsson asks: "I develop Oracle applicatons for a living. And they are usually internet-related. Right now I'm developing on a Oracle 8i / Windows NT4 machine. But I have more and more become aware that NT is very limiting compared to un*x when it comes to selection of tools and servers for Internet development. I have installed Apache, perl, php and other stuff on the NT, but with much difficulty. So now I'm planning to switch my development environment to Linux (RedHat, Debian or SuSE). The thing I would miss most is the SQL Navigator, a tool I don't know how I could live without it before I started to use it. :) I know there are some utilities available for postgres and mysql in KDE, but AFAIK, they don't work on Oracle databases. Any ideas what I could replace SQL Navigator with? Or should I start writing my own database front end?" Hey! I develop Oracle apps on Solaris and could use something like this myself!

118 comments

  1. Re:dbVisualizer? by Anonymous Coward · · Score: 0

    I actually use this on occasion. I like the fact that by using this, and some type 4 drivers, I can access an Oracle, SQLServer, etc. database, get table and relationship info, etc. all with the same interface. No more switching back to NT just to run a query in ISQL.

  2. Re:sqlplus by Anonymous Coward · · Score: 0

    It shouldn't be too difficult. I work in an Oracle shop, and all the coders use Linux workstations. One of the guys here whipped up a command line interface to Oracle that works a lot like MySQL (our previous RDBMS).

  3. yatta yatta by Anonymous Coward · · Score: 0

    Maybe you missed his remarks that there are several tools (PHP, Perl, Apache) that he likes but is having difficulty running because of NT

    The problem is of course NOT NT, because these applications were written with, by, under, over, back and for *nix(-people). That they have a problem getting their code running on NT isn't actually the biggest news around. But blaming NT is far-fetched.

  4. On the money. by Anonymous Coward · · Score: 0

    I agree. It's sad that we get postings like those.

  5. Code Generation was Re:sqlplus is a steaming pile by Anonymous Coward · · Score: 0

    Sqlplus can be used for code generation. It's kludgy as all hell, but I've grown dependent on it for any nontrivial task. set feedback on set heading off spool slave2.sql select 'select COUNT(*) from '||Table_Name||';' from User_tables; spool off start slave2 There's three parts to the trick. 1) use those annoying literals in the middle of a select to produce output concatenated with the literals. 2) use spooling to produce a slave file which contains the concatenated output 3) run the slave file at the end of the process It's a kludge. It's crufty. But our shop is pretty heavily reliant on it.

  6. Re:Code Generation was Re:sqlplus is a steaming pi by Anonymous Coward · · Score: 0
    Sorry that code turned out so unreadable --

    set feedback on

    set heading off

    spool slave2.sql

    select 'select COUNT(*) from '||Table_Name||';' from User_tables;

    spool off

    start slave2

  7. VMWare for Parallel Tools by Anonymous Coward · · Score: 0

    I use VMware to host an NT system on my SuSE 6.2 host. Then I can run those tools from NT that I can't live without, while using Linux for everything else. This works great and with SAMBA local shares between the systems, it is seamless. /fn

  8. Oracle tools for Linux by Anonymous Coward · · Score: 0

    I have been in a mixed environment (including even some MacIntosh clients). Years ago I started using a little RAD package called Omnis (www.omnis-software.com). They now have a Linux port which seems to work ok. I have just written any tools that I have needed in a few minutes and then use with no rewrites across all platforms. They seem enthused in supporting the Linux community

    1. Re:Oracle tools for Linux by Anonymous Coward · · Score: 0

      Advantages of Omnis: powerful and its inherent cross-platform nature (Win32/MacOS/Linux) can't be beat. Disadvantage: Not as many people using it as other tools.

  9. Re:Just apply a crack! by Anonymous Coward · · Score: 0

    You say:
    "... some people are going to scream (because it's not free), but check out www.vmware.com"

    Just apply a crack to vmware. Now, it's totally free. As commercial software becomes more and more abundant, I predict that the Linux cracking community will grow by leaps and bounds.

  10. Re:SQL Dev't Environments by Anonymous Coward · · Score: 0

    Don't try TOAD in VMWARE. It is very very very slow.

  11. Re:One Word by Anonymous Coward · · Score: 0

    For Matts Oracle stuff, go to http://www.mattshouse.com/oracle

  12. Re:Just apply a crack! by Anonymous Coward · · Score: 0

    sorry kid, stealing is illegal. cracks don't particularly agree with commercial entities. Just wait until the day when a disgruntled or fired employee reports such "free" software to the authorities. Not a very good idea.

  13. Agree by Anonymous Coward · · Score: 0

    But, sadily, AC's are almost NEVER moderated up. Perhaps the mod's read with a threshold of 1.

  14. Actually we use Oracle 8, PHP and Apache on ours.. by Anonymous Coward · · Score: 0

    I'm currently using PHP with Oriacle 8,
    some of the first few to be doing that
    on the first SGI 1400L's among other things..
    But it works quite nicely, you only have to
    run several lines like found on the 'OCI'
    set of commands at www.php.net, and
    send a query, do a OCIFetch, and you
    get your tables as PHP arrays.. I've
    written a search engine based on Oracle
    and am now learning to use nested tables..
    Its not as well integrated as Mysql with PHP
    but it works.. (you can tell I'm enthusiastic,
    I'm still not sure why we paid so much for a
    oracle license).. All for the assumed or
    perceived advantage (personally I think we
    are paying for the name.. Mysql is bound to
    be just as fast)..

  15. Re:Just apply a crack! by Anonymous Coward · · Score: 0

    Cracks are for amateurs. Professionals pay for software. They know that programmers sometimes have kids to feed too!

  16. Dual Environment by Anonymous Coward · · Score: 0

    If you have the hardware for it, I recommend running a dual development environment. Get something like Reflection X (http://www.wrq.com) for Windows NT, and run all of our linux apps
    -and- your NT apps on the same desktop. Makes life fairly nice if you have two machines.

    (Reflection X Rocks. Best X server out there for NT, IMO)

    1. Re:Dual Environment by jmalicki · · Score: 1

      Hmm. except it is slow as hell and you can't use most of your hardware.

    2. Re:Dual Environment by Cato · · Score: 1

      VMware is certainly not slow for me - if it's slow for you, you most probably have too little memory. It's not too good for running games, but for running office type apps, it's excellent. I run it on a K6/2-350 and in practical terms it's as fast as running natively.

      If you have performance problems, post them to the vmware.* newsgroups, and if they don't help, submit an incident report.

    3. Re:Dual Environment by cullman · · Score: 1

      Or try VNC, free way to remotely use windows from unix, or vice versa. http://www.uk.research.att.com/vnc/

    4. Re:Dual Environment by slieberg · · Score: 1

      How about Vmware instead? Just my 2 cents.

    5. Re:Dual Environment by fwr · · Score: 1

      Or just get a dual CPU box and run VMWare so that you can run your Windows tools...

    6. Re:Dual Environment by Suydam · · Score: 2

      Hip Hip Hooray!
      VMWare is REALLY cool. I'd suggest it to anyone who was even thinking of running an X Server on a windows box (like I used to).

      --


      Werd.
  17. What happens? by Anonymous Coward · · Score: 0

    when you rub them together though? As far as I can tell is that all you need to do is change your config syntax, then restart each computer on the network? If it doesn't work, then reinstall it.

  18. Re:Could GNU/NT be done? (slightly off-topic) by Anonymous Coward · · Score: 0

    Go to:

    http://sourceware.cygnus.com/cygwin/

    Here they have GCC compiled and packaged for Win32, along with a lot of GNU utilities, including bash, less, diff, grep, etc. You can download the full suite, compilers + utilities, or only the utilities.

    HTH

  19. Re:sqlplus by Anonymous Coward · · Score: 0

    Correct me if I'm wrong, but isn't the MySQL *client* GPL'ed?

    I bet an clone of it for oracle would not be a huge undertaking.

    just a thought

  20. Re:Not Again by Anonymous Coward · · Score: 0

    It has nothing to do with Linux or NT. The fact is many people set out to use one or the other and will find any means to do so. They don't even bother looking at the facts. They know right off the bat they want to use one or the other. It's stupid and counter productive.

  21. sqlplus is a steaming pile by Anonymous Coward · · Score: 0

    For an enterprise-level database that can run you into the millions of dollars for a serious installation, sqlplus is definitely a slap in the face. And its down syndrome cousin, sqlldr, is even worse.

    Oracle's tools suck hard. Sure, you can run them from a teletype over a 300 baud modem, but who gives a crap? There's certain niceties that even shell programs are afforded these days, like command history, which are notoriously absent.

    1. Re:sqlplus is a steaming pile by mu · · Score: 1

      A big AMEN! bro. IMHO the evil empire has got Oracle beat here, although I'm really looking forward to checking out KMYSQL, http://www.xnot.com/kmysql/

      --
      -Tat tvam asi.
    2. Re:sqlplus is a steaming pile by AHands · · Score: 1

      The ONLY decent way to run sql*plus is through emacs.
      If you use emacs "shell-mode" to run sql*plus, it makes up for the sql*plus' short-commings you mention.
      Actually makes it kinda nice...
      Now if somebody would write an emacs mode to interface to the oracle data dictionary so we'd have tab completion of table and column names...that'd be REAL sweet!!!

  22. Re:Linux and ODBC? ADO != || > ODBC by Anonymous Coward · · Score: 0

    ADO is not a standard to talk to different databases.

    You have a number of levels above the database. eg it looks something like this.
    Level 1 OS
    Level 2 Database (File or whatever)
    Level 3 ODBC, Jet, ...... (System to talk to the database)
    Level 4 ADO, DBO, RDO ..... (Way to access/retrive data)
    Level 5 Your application.

    ADO ... provides an easy (subjective) way to manipulate and access the data from the database without worrying about the type of database or anything like that.

    Naturally I probably missed out on some levels.

    NOTE: ADO can in some instances do without the Level 3. But then you have to do all the file manipulation yourself (For example your database could be a flat file.)

    Or at least this is the way that I understand it.

  23. Re:Running Oracle applicatons under Linux by Anonymous Coward · · Score: 0

    My vote too. Vmware has been a godsend for me while developing cross platform Informix applications, so I don't see why not with Oracle as well. Note: it's not open source, but it's stable & it works for those of us who are quasi-agnostic while trying to get work done quickly.

  24. Install Oracle by Anonymous Coward · · Score: 0

    I'm trying to install oracle on my linux machine and I'm having problem with the build during the installation. I've set up the environment variables accordingly and ran the orainst as a dba user. The error I'm getting in the make.log when it tried to relink the inst_xx is "memory exhausted." any help would be appreciated. thanks

  25. Oracle Enterprise Manager by Anonymous Coward · · Score: 0
    I wrote this before but I don't think anybody picked it up. Oracle Enterprise Manager does most of things TOAD or SQLNavigator does and it's written in java!

    You can use the schema navigator to browse to schema objects,
    the security manager to browse through roles, users and privileges
    And there's a whole bunch of other tools for editing tablespaces, instance parameters etc.
    All this is written in java and it will work with the blackdown jvm version 1.1.7. Take the NT version install it under NT and then copy anything you need to your linux machine.

    Andrej

  26. Re:Linux and ODBC? by Anonymous Coward · · Score: 0

    Your idea about ADO... OLE-DB ... ODBC is partly true.
    Two way to use ADO and OLE-DB:
    1. ADO...OLE-DB via native provider
    2. ADO...OLE-DB via ODBC provider

    Alesh

  27. Re:Linux and ODBC? ADO != || > ODBC by Anonymous Coward · · Score: 0

    ADO does not only provide an easy but also a sophisticated way to manipulate and access data/databases.

    ADO can in all instances work WITHOUT Level 3. It is based on DAO (Jet engine) only taken to "higher levels"

  28. Re:KMySql by Anonymous Coward · · Score: 0

    nice sig! :-)

  29. Re:sqlplus by Anonymous Coward · · Score: 0
    So then, the arguments for learning the command line in Oracle seem to mirror the arguments for learning the Linux/MS-DOS/UNIX/etc-ix command line. Cool!

    This is offtopic.

  30. Re:Linux and ODBC? by Anonymous Coward · · Score: 0

    There are many odbc-driver for windows and
    non-windows (postgres) db's available.
    I have done a access-based db with automatic data-export to a postgres-based web-application.
    It worked flawless.
    There seems to be some odbc-stuff on cpan.
    But my ms-using friends are always talking about how obsolete odbc is with the arrival of ado.
    Well...

  31. Moderators, pleeassee by Anonymous Coward · · Score: 0

    This isn't offtopic.

  32. Skip the Dual-Boot by Anonymous Coward · · Score: 0

    I know some people are going to scream (because it's not free), but check out www.vmware.com. You can run their product either on an NT4 host machine or on a Linux host machine and boot the other OS. Assuming you have enough memory in your box (128MB is probably a good minimum) you can have it both ways. I run NT4 on top of Linux at work when necessary. Just a satisfied customer and I have no financial or emotional interest in the company.

  33. Re:A couple of tips by EnsignEnchilada · · Score: 0

    This is the dumbest response I've ever seen. The guy wants answers, not more steps. He's already posted his question to this FORUM. How would you like it, if you needed an answer to a question, and you posted the question to you mailing list, and THEN the folks at the mailing list said *go ask slashdot.org*

    Why not try to help...instead of being taking the standard inpersonal unixsnob aproach of saying "go check the newsgroups"

    -EE

  34. Re:oracletool.pl by Anonymous Coward · · Score: 1

    That's ridiculous. I am the author of Oracletool, and I can assure you that it does not do full table scans on ANY user based tables (Which are the ones with millions of rows). Oracletool selects from the Oracle data dictionary, and ONLY from the Oracle data dictionary, _except_ in the case that you ask to see the first 25 rows of a table (which is an option, not a forced query). I develop Oracletool on a 12 node Oracle Parallel Server environment which is more that one Terabyte in size, and use Oracletool constantly. I think you have my tool mixed up with someone elses. Regards, Adam vonNieda http://www.oracletool.com mailto:adam@oracletool.com

  35. emacs ? by Anonymous Coward · · Score: 1
    For interactive querying i routinely use one of sql-modes for emacs ( xemacs in my case :) - it's just a wrapper around sqlplus with all the bells and whistles of emacs editing - completions, searches and so on. I hacked it a little to enable "explain plan" capability which i really missed, and now i'm nearly satisfied. Data dictionary lookups may add some convinience to it, but you may use excellent oracletool.pl by Adam vonNieda for almost everything - unfortunately, it has a bug in "show view source" code, and i'm too lazy to fill a bug report :)

    Also there is some emacs mode for pl/sql editing - with identation, syntax colors and so on - on oracle site (technet.oracle.com)

    Alexey Vekshin,

    vekshin@usa.net

  36. Re:One Word by Anonymous Coward · · Score: 1

    There is a mirror of the Orac web site at: http://www.tux.org/orac-dba/ Orac is a perl/Tk tool for Oracle DBAs/Developers. There is a short article about this tool in the November issue of "Linux Journal"

  37. Re:oracletool.pl by Anonymous Coward · · Score: 1

    I'm an Oracle DBA for a major manufacturing company. We downloaded Oracletool and really enjoyed it. After a few days we noticed that quite a few of the scripts are NOT designed to be used in a large enviroment. Large, as in, 60+ gigs, with 1,000 users, and Oracle Inventory, WIP, BOM, and various other packages. We would see Oracletool queries not using established indexes (doing FULL table scans on hundreds of million of rows is not a good idea)

    So. As a review: Use Oracletool ONLY if you are in a small enviroment, or you watch it like a hawk to make sure that you are not locking/running away.

  38. You can use Oracle's enterprise manager by Anonymous Coward · · Score: 1

    Before I switched to linux I used toad, but mainly to browse database object. I always used vi/rcs/sqlplus for development. On linux development is still done with vi/rcs/sqlplus, for browsing the database I now use oracle enterprise manager. You can install the NT version on a dual boot machine, then boot linux and copy all the oracle enterprise manager java jars to your 8.1.5 installation on unix (actually I have two oracle home's, one for 8.1.5 and one for oem2.0.4). Now you can run oem with the blackdown jvm version 1.1.7. Sadly ibm's jit does not work. Andrej

  39. Running Oracle applicatons under Linux by Anonymous Coward · · Score: 1

    Use VMWARE and run an NT window on your Linux system. You get the best of both worlds Linux and the pretty NT app. Very cool. I watched an NT window blue screen and not bother the underlying Linux one bit. www.vmware.com and no I don't work for them.

  40. This is what SQL*NET (NET8) is for.. by Anonymous Coward · · Score: 1

    Why abandon what already works for you?

    Basically anything you can do on the machine hosting the database can be accomplished via SQL*NET/NET8 (the Oracle RDBMS's communication protocol) which runs just fine over any TCP/IP (or other protocol) network. To my knowledge basically all tools designed to work with Oracle support the use of SQL*NET.

    Continue to use your NT-based tools and connect via SQL*NET to the server. This is probably a good idea anyway. Why bog down your database server running a bunch of client tools? Using SQL*NET you only create a database server process of a meg. or so in size (assuming dedicated connections) which you would have anyway even if you run everything "locally".

    This is not to say you shouldn't use good Linux-based tools available to you but there is no requirement to run them on the server itself.

  41. TOAD for Linux? by DrSpoo · · Score: 1

    Hey, I suggest everyone put in a request for the author of TOAD to port his app to Linux. I spoke on the phone with one of their sales reps, and when she asked what they could do to make a better product, I said "ya, port it to Linux!"

    She actually said that there were quite a few requests for Linux, and the author was seriously considering it. Hell, I would buy it if they did! No, its not open source. But it has been free for as long as anyone remembers (until they were bought out by Quest software that is...)

    --
    Sig (appended to the end of comments you post, 120 chars)
  42. Re:Grunt, grunt, grunt ... by cwinters · · Score: 1

    > I do Sybase & Perl development all day.
    > I'd scream if they took away my isql.

    You should really see sqsh:

    http://www.voicenet.com/~gray/sqsh.html

    This is what all CLI database tools should do. And it's open source.

    --

    Chris
    M-x auto-bs-mode

  43. Re:Java? by Suydam · · Score: 1

    Hey!
    Once you're done with this project would you let me know?
    Thanks.
    ;)

    --


    Werd.
  44. Re:A couple of tips by Danse · · Score: 1

    Well, in all fairness, he DID give the guy a link to some Oracle tools for Linux. I don't see how pointing him to a mailing list where there are many people doing what he is trying to do could hurt either. There are plenty of responses and everyone contributes what they can. Relax a bit.

    --
    It's not enough to bash in heads, you've got to bash in minds. - Captain Hammer
  45. KMySql by Wiggins · · Score: 1

    I run Kmysql to connect to Mysql, but I believe it supports plugins to connect to oracle among other database engines. It is still early in development but seemed to be pretty clean when I ran it.

    --
    Funny and I thought Perl == Paid employment recently located ....hmmph.....
  46. Linux DB administration tools for Linux by bjohnson · · Score: 1

    You also might want to check out Oracle's WebDB product (which is available for Linux) which allows you to do a lot of DBA and development stuff (particularly simple web-based apps) via a web client from anywhere. It's all .html on the client side.

    What puzzles me is that Oracle's DBA tools (like Oracle Enterprise Manager, which is pretty damn slick) and some of their development tools are _written in Java_ ...yet they're available for NT only...stupid

  47. Re:sqlplus by toni · · Score: 1

    I've had wet dreams of getting a replacement for SQL*Plus that worked just like the MySQL command line client. You know, *PROPER* ReadLine command history, tablename completion and all that.

  48. Re:Could GNU/NT be done? (slightly off-topic) by Malor · · Score: 1

    I know that there is a project afoot to rewrite most of the basic utilities in perl. This would, in effect, allow an instant port to NT. Unfortunately, I don't remember the name of the project. Perhaps some kind soul out there could enlighten us?

  49. SqlNavigator by Savafan1 · · Score: 1

    SqlNavigator is a great tool for doing work with Oracle Applications, since most of the tables are too large to be viewed through sqlplus. It's also a very good tool for picking up a database that you don't have a good relation diagram for...

  50. Re:Could GNU/NT be done? (slightly off-topic) by clawson · · Score: 1

    Probably a better system than CygWin is U/Win, available from AT&T: http://www.research.att.com/sw/tools/uwin/


  51. vmware by spacewalker · · Score: 1

    i know developers who run sql navigator or TOAD
    inside VMWare emulations. This works quite good!

  52. Write a Oracle plugin for KMySQL by Avus · · Score: 1

    Not listed on Mattshouse, but nearly what the guy is looking for is KMySQL.
    Despite its name, the recent versions of KMySQL have a plugin architecture with support for PostgreSQL and mysql.
    It would be worthwhile to add ORACLE support by writing a plugin

  53. Re:Moderators, pleeassee it's on tpic babe. by mu · · Score: 1

    I agree. This one's dead on topic. I mentioned KMySQL in anther thread myself.

    --
    -Tat tvam asi.
  54. Re:One Word by jetlag · · Score: 1

    Actually, if you want the links to work, go to http://oracle.mattshouse.com

  55. Re:Not Again by ralphclark · · Score: 1

    It takes more than coders to see an operating system past version 1.0; you have to have users too. If there were no Linux advocates then there would be no Linux, at least not as we know it today. I for one am grateful that there are people willing to stick their neck out and try to make solutions work for the first time on Linux.

    Because of their pioneering work, the rest of us have the option to deploy on a cheap, fast, flexible and reliable platform. If you'd rather deploy on NT with all it's poor design features and buggy implementation, fine, but don't come crying to us.

    Consciousness is not what it thinks it is
    Thought exists only as an abstraction

  56. Re:Not Again by ralphclark · · Score: 1

    This is arrant nonsense. Because:

    1) They certainly do look at the facts as it's the only effective way to proceed with such experiments.

    2) If the experiment succeeds and publishes a howto, it makes it possible for others to do the same in future. How is that counterproductive? It's just the opposite, contributing to the common good.

    What you have failed to recognise is that sometimes the aim isn't just to find the easiest solution. Sometimes the desired aim is to find the best one, or even just to push out in a strategic direction that will take you closer to where you want to be in the future.

    You seem not to realise that it's more or less axiomatically a good thing to have alternatives available. My guess is you've been using Microsoft platforms so long that alternatives seem inferior to you, a priori.

    Which of us has adopted the closed minded attitude here? The revolutionary experimenter...or the conservative reactionary?

    Consciousness is not what it thinks it is
    Thought exists only as an abstraction

  57. Re:Could GNU/NT be done? (slightly off-topic) by leandrod · · Score: 1

    Check http://sourceware.cygnus.com./cygwin/ and
    http://commit.winehq.com/~lynch/DebianGNU-win 32.html,
    as well as the win32 mailing list at
    http://debian.org/MailingLists/subscribe.

    --
    Leandro Guimarães Faria Corcete DUTRA
    DA, DBA, SysAdmin, Data Modeller
    GNU Project, Debian GNU/Lin
  58. What's wrong with SQL*Plus? by ebradway · · Score: 1

    Just kidding. I've been doing the Oracle thing for almost a year and am still astounded at just how bad SQL*Plus is. Unfortunately I use it everday. Most of my development is in C using Pro*C, so GUI tools aren't much help.

    I am about to setup my own web server with an Oracle backend. I want to play around with WebDB and PHP3. I also need to play around with Developer because Oracle doesn't offer a certification program for 3GL programmers and I'm not ready to get into Oracle's Java mess.

    BTW, PL/SQL, the Oracle procedural language, actually beat out Perl in my book as the most obscure language. The syntax is really funky and the use of semicolons is inconsistent with every language I've ever used.

    But enough griping. If Oracle didn't make such screwy interfaces, people like me wouldn't make as much money making them work...

  59. Could GNU/NT be done? (slightly off-topic) by for(;;); · · Score: 1
    This is a little off-topic, but since he was talking about the difficulty of installing things like apache and php under NT, I feel justified.

    To what extent can the GNU tools be wrapped around NT? If the POSIX.1 layer of NT is still intact (maybe), then couldn't the other layers of POSIX be built on top of that? I know that a version of Bash has been ported to NT (but then it's been ported to DOS as well, and since I doubt that DOS could support things like coprocesses, I'm guessing the ported version isn't identical to the UNIX version.)

    (I suppose I should finally learn the specifications for the Debian standard base. Could the NT files be moved around to make space for, say, /usr/local and still work? Hmmm...to get devices to show up as files, you'd probably need kernel support... I'm showing my ignorace of kernel internals here...HURD moves device stuff out of kernel space into daemon space...)


    But in any event, a (perhaps limited) collection of the GNU tools for NT could make many a windows-imprisoned administrator's life easier. Does such a thing exist?

    "So, what do you want to hack for, Bickle?"
    "I can't sleep nights."
    "They got porno theaters for that."

    --

    "Whatever happened to fair use?"
    -- Duff-Man
    1. Re:Could GNU/NT be done? (slightly off-topic) by Zurk · · Score: 1

      no. the problem is that the NT model is significantly different from the UNIX model. ACLs and no standard permissions mean that NT is responsible for NT only.

  60. Cool!! This should be moderated up by Dacta · · Score: 1

    I never knew that.

    Once I find my Linux Oracle CD I'm going to try one. I'd hate to think how much RAM it needs, though.

  61. Re:SQL Navigator by lal · · Score: 1

    SQL Navigator and TOAD (which is similar and was recently purchased by Quest, the company that makes SQL Navigator) are essentially IDEs for Oracle. Using SQL Navigator or TOAD, you can browse tables in an Oracle database, edit table data, edit and compile stored procedures using a syntax-highlighting editor, and run ad-hoc sql queries.

    I recently evaluated all of the Linux tools mentioned here (Kora, Matt's suite of tools, Orac) and none of them has all of the features of SQL Navigator or TOAD. Kora comes closest, but it does not have a table data editor, and the stored procedure editor is not as nice as TOAD or SQL Navigator. Also, Kora uses its own proprietary client/server protocol which requires a server running on the Oracle database. SQL*Net does this already.

    That being said, I do most of my Oracle work in emacs with a combination of sql mode and sqlplus. Some people I work with have become quite reliant on SQL Navigator, and the downside is that they are in trouble when they are outside of that environment. It's the same issue as the GUI/command-line debate -- the SQL Navigator GUI insulates you from the command line (in this case, SQL*Plus).

  62. SQL Navigator by wdr1 · · Score: 1

    An explanation of SQL Navigator would be useful...

    -Bill

    --
    SlashSig Karma: Excellent (mostly affected by moderatio
  63. Re:Not Again by Rommel · · Score: 1

    Maybe you missed his remarks that there are several tools (PHP, Perl, Apache) that he likes but is having difficulty running because of NT. It just so happens that those tools run very well under Linux.

    Could it be that he is trying to adapt to his situation! Mercy, no!

  64. Java? by CDanek · · Score: 1

    I'm surprised no one has mentioned java & swing as a viable alternative. Yeah, you'd have to write your own, but with the java.sql.* classes, it should be hard at all, maybe a day project for a qualified coder. Maybe I'll write one! Anyway, point being, java is the perfect language for something like this because just about all the tools you could ever want are there for you immediately to use, and it's cross platform. You'll have the exact same interface regardless of the OS you are in, and if you want improvements, you can make em yourself: eg, SQL Navigator's F9 to execute a query? What the heck! I want alt-x or shift-enter do execute it, like any other normal program. :) Whip open your key handler event map, change the key and boom, shift enter. Goooo java!

  65. Re:why not try ... by AHands · · Score: 1

    Yes! Yes! Now if some emacs-guru would write us an oracle-mode for emacs that will access ora's data dictionary to do tab-completion of schema, table and column names...that'd be TOO COOL!

    If Oracle Inc's got any sense, they'd kick in some $$$ to fund it too!

  66. DB_Browser and others by Silas · · Score: 1
    Check out DB_Browser, a powerful web-based interface for browsing/searching/editing/adding the data in an Oracle/Postgres/MySQL database.

    Your question might be better answered on a site more oriented towards software, e.g. Freshmeat.

  67. Working With Sybase by JABoyce · · Score: 1

    I design for Sybase. Sybase has utilities / tools for linux number literally in the hundreds. I find it amazing that Oracle, which has the definate market hold over sybase, has not spawned the same kind of imaginative open source tools. I could be misinformed, but I just got 8i for my redhat 6.1 box here at home, and tools have been hard to come by.

    I will keep looking, and keep using sybase...

    --
    JBoyce
  68. Grunt, grunt, grunt ... by davidsheckler · · Score: 1

    Me man, me programmer, don't use no stinking GUI tool. Good geek use VT100 terminal.

    shell>mysql -u geek -p geekpower
    mysql>use database;
    mysql>show tables;
    mysql>show columns from geek_table;
    mysql>select * from geek_table where desc = "Ode to my greatness";
    mysql>exit;
    shell>

    The other postings have given good suggestions, I'd keep looking at freshmeat.net, everynow and then something really good appears.

    As you can tell I prefer MySql. Unless you need stored proceedures or commit/rollback, I'd go with it. It's very robust and much faster than oracle.

    I've never found GUI tools to make me more productive, but if it works for you...

    1. Re:Grunt, grunt, grunt ... by starlingX · · Score: 1

      Amen, bother!

      I do Sybase & Perl development all day. I'd scream if they took away my isql. I have yet to see a GUI tool that really would help me program better. There are some nice GUI admin tools, and I'm working on writing one msyelf, but for development, all I want is a command line I can barf SQL onto.

  69. There's a great alternative by bbeaton · · Score: 1

    We're already working with the configuration of Intel Red Hat 6.0 on Intel, KDE, Oracle 8.1.5ee as the primary platform, then installed VMWare, and configured W98 and NT4sp4 server, in which we've installed SQL*Nav Dev2K, Des2K, SQLServer 7, etc. Only awkwardness is the triple key-press to get back into the Linux desktop. Everything on the one desktop, all of the tools, and the ability to have an entire network of servers and clients on the one keyboard.

    I would recommend although I haven't tried it here, 1 monitor per virtual desktop (think you'd need Metro-X to do that).

    Bill

  70. Linux and ODBC? by ucblockhead · · Score: 1

    This is kinda off the subject, but I've been wondering for a while how well ODBC is received in non-Microsoft arenas. I'm currently primarily a Windows developer (hopefully not forever!) and, of course, all the Microsoft propaganda claims ODBC is a well-supported industry standard. Is it? Do people who don't give a squat about Microsoft databases use it?

    --
    The cake is a pie
    1. Re:Linux and ODBC? by ucblockhead · · Score: 1

      Uhhh... Isn't that like saying that wheels are obsolete because we have cars now?

      As far as I understand it, ADO calls OLE-DB which calls ODBC. (Or can, at least.)

      --
      The cake is a pie
  71. Oracle+Linux+odbc by captredballs · · Score: 1

    I'm in the same boat. Haven't had time to explore it, but odbc access might be your best bet. If oracle has odbc clients for linux, I have vague memories of a couple up and coming odbc systems for linux. If you could get that working, I think its possible hook up star office to the driver and use their spreadsheet stuff.

    Sorry I don't know more. Someday I'll have time to play with linux for fun again, dammit!!

    --

    I suppose I'm not too threatening, presently, but wait till I start Nautilus
    1. Re:Oracle+Linux+odbc by lurcher · · Score: 1

      We are doing our best to get ODBC available for Linux http://www.unixodbc.org, If Larry would just let us have the source for the his windows ODBC driver, we could get it going. (might even inprove it, it's not the best ODBC driver in the world :-)

  72. Re:Java is not a codeless framework; try DIA by Plyschmannen · · Score: 1

    This sounds like something Visio can do allready (altho just into MSAccess tables). It can allso reverse-engineer any ODBC-compliant database into an entity relationship diagram. Its at http://www.visio.com

  73. What kind of development ? by pvente · · Score: 1

    You didn't mention specifically what type of Oracle development you do. Is it mainly on the server (i.e. writing stored procedures or other ddl stuff) or do you do client-side development(Developer2000, ODBC stuff)? Are you using java on the server ? Knowing what you're developing with now would make it much easier to answer your question.

    On the other hand, if ALL you need is a replacement for SQL*navigator, there are many utilities available, as mentioned in several of these posts.

  74. TOAD may be available within a year by tom-s · · Score: 1

    I know this won't help immediately, but there may be some relief in sight. Since TOAD is written in Delphi, and Borland, according to most rumors, is working on a Delphi port to Linux, you may be in luck within a year. The backend compiler for Delphi and C++ is already identical.

    1. Re:TOAD may be available within a year by DragonHawk · · Score: 2

      Since TOAD is written in Delphi, and Borland, according to most rumors, is working on a Delphi port to Linux,

      Borland has since said that their Linux RAD tool is not Delphi, not C++Builder, but a new product, with a new class library. Thus, it will not be source compatible with Delphi or C++Builder. Or so Borland says.

      --

      dragonhawk@iname.microsoft.com
      I do not like Microsoft. Remove them from my email address.
  75. Re:sqlplus--how to get good cmd history, etc. by qohen · · Score: 1

    If you want to have an improved SQL*PLUS command-line capability, with command history, file-completion, etc. try running SQL*PLUS from a shell within emacs.

    No, really--it's quite simple, actually. You start up emacs, start a unix shell (by typing: M-x shell ) and from that shell run SQL*PLUS as you normally do.

    [N.B. For emacs newbies: the "M" stands for "Meta" and usually maps to the ALT key, the "C" stands for the CTRL key--each of these is pressed together with a second key to do a command. So "M-x" means press the ALT and x keys together. Oh, and RET is the RETurn key]

    Emacs has a bunch of commands that let will let you cycle backwards through previous commands (M-p), search backwards for a command with a given string in it(the usual backwards search, C-r and you can do regular expression searches the normal way too), edit the command, copy a command to the prompt without sending it, so you can edit it (C-c RET), etc. And you can get filename completion with the TAB key.

    Read all about it here on this very helpful page put together by Bob Rogers to help people who used emacs for just about everything during the August '99 bootcamp that Ars Digita (i.e. Philip Greenspun and co.) ran:

    http://bmerc-www.bu.edu/needle-doc/emacs/ .

    If you know already know emacs, just click on the "running a shell mode in emacs" link in the table of contents (or click here). If you don't know emacs well, just start reading from the top of the page and then go down to the shell mode stuff. Either way, you might find his emacs cheat sheet useful too and some of the other links that he has.

    ___
    DC

    P.S. For the complete text (and photos) of Philip Greenspun's database-backed web-site book, which describes the philosophy and workings of the Ars Digita ACS toolkit (open-source), among other things, click here For info on the Ars Digita bootcamps, based on this book and the ACS toolkit it describes, click here.

  76. No Java Console? by HeadHead · · Score: 1

    I use Sybase db's and I guess I've been spoiled with the Java edition of Sybase's SQL Central for over a year now. I suppose you could use it to admin Oracle dbs as well, given the appropriate JDBC drivers. I'm shocked to find out that Oracle hasn't provided the same for its developers yet. Sybase's EAStudio will be out for Linux shortly, and it's chock full of db tools (including Java and pure HTML Datawindow builders) you can use with any db.

  77. why not try ... by slatif · · Score: 1

    I guess that this might not be exactly to your taste if you want a GUI tool:
    I do a lot of oracle stuff on Linux and I run sqlplus in an emacs shell session.
    This allows me to use emacs command history and editing, making sqlplus a truly interactive tool.

    Yes I still have to remember all the sql commands.
    But that can be a good thing, and if you have Oracle, you also will have SQL*PLUS, and emacs is more likely available than some GUI tool.

  78. DBInspector by Ambrosia · · Score: 1
    Check out DBInspector.

    It is a Java app that uses JDBC to connect to the db.

    Caveats:

    • It's not open source (hint, hint)
    • It's still somewhat rough.

    It's not great, but it's a million times easier to use than sqlplus!

  79. Dream linux/oracle app by chud_monkey · · Score: 1

    As a relative novice to the world of Oracle DBAdom SQL Navigator has been my #1 tool for administration. I have tried some of the linux apps (including the ones mentioned so far) and I havent found any remotely close to the functionality of sql nav. The perfect tool in my eyes would combine all of the most used functions of sql nav with some of the handy linux apps I've found (eg. sessionmon) all under one roof. I admittadley dont have the remotest idea of how to build one myself, but damn it would be handy.

  80. Re:A couple of tips by acor87 · · Score: 1

    Yeah, what a cretin. He only gave a link to a bunch of tools for the guy to check out along with a ton of other information. How stupid, how cruel.

  81. Perl+CGI+DBI+modperl+Apache or VMWare by biostatman · · Score: 1

    One free alternative would be to write some custom scripts in Perl using the excellent CGI and DBI modules along with modperl for apache. I just cobbled together something for my site in ~2 nights that allows me to display contents of tables, delete entries and edit and update entries. Not too much work and kinda fun. Another alternative would be to buy vmware and run NT on top of Linux so that you could use NT Oracle tools. I have been using VMWare for a few months now, and if your computer is hefty enough (>=P2 233, >=96MB RAM) it runs NT (and all Win32 apps) quite well.

    --
    For the love of $DEITY, loose != not win!!!!!
  82. Oracle clients by memoores · · Score: 1

    I have been using Oracle for years. I won't run Oracle on NT becuase NT is not reliable enough. NT services; screw that man. But I use NT for a workstation because that works fine and there are dozens of applications I can't have if I don't use Win32. Oracle releases their clients on Win32: Desinger-- I use it every day Enterprise Manager -- I use it every day (that includes about a dozen tools) TOAD -- That is my coding environment. (toadsoft.com) The solution is to pony up spare change and use 2 machines if you are a serious oracle developer. Use one (linux) with a few cheap IDE drives for Oracle and use the other for your dev work. That way you have the best of both fuding sides. The Oracle client is a web server or a Win32 box-- for today anyhow.

  83. Oracle SQL Development Environment in Linux? by PaulSwany · · Score: 1

    Check out http://www.quest.com for a product called TOAD... Tool for Oracle Developers... I've found it to be invaluable....

  84. Re:sqlplus by tympanic · · Score: 1

    I personally prefer SQL Worksheet. It comes with Enterprise Manager, and allows you to do *almost* everything you can do in SQL*Plus. Some of the SQL*Plus commands (i.e. Set) aren't supported for some strange reason, but you get a command history and point-and-click editing of your SQL. I use it every day, and have given up on SQL*Plus.

    --
    "Memo to myself, do the dumb things I gotta do. Touch the puppet head." -TMBG
  85. One Word by Anonymous Coward · · Score: 2

    Orac http://www.kkitts.com/ Also check out Matt's House http://www.mattshouse.com

  86. sqlplus by Anonymous Coward · · Score: 2

    The beauty of Oracle is that a GUI is not required. I don't understand where they would even be useful unless you were new to Oracle.

    Given, sqlplus is not nearly as friendly to use as MySQL's command line client, but it gets the job done.

    If you are an Oracle developer by trade, you should really learn to use the command line interface effectively. GUI's have a short life-cyle. This means that you will have to re-learn how to interface with them over and over agian as time goes on. The command line interface is much more static. It may take longer to learn, but it will pay off in the end.

  87. Trying To Make Linux Fit... by Christopher+B.+Brown · · Score: 2
    The gentle reader should head back five years.

    Back then, Microsoft had decided that they were going to force the solution to all problems to be Windows NT.

    They had to create tools to try to make NT fit the problems people try to solve using computers.

    If they had looked at things the way you are, they should have concluded:

    "Oh, NT isn't really the right solution. No point to even bothering to try to "make it fit."

    That's obviously not what has happened. Instead, NT is being billed as the ideal solution to all sorts of problems, with attempts made to make problems fit NT.

    If that isn't sad, then, by he very same argument, it is silly to regard attempts to make Linux useful as "sad."

    If it is sad to try to make Linux and/or problems fit one another, then it is vastly more sad that Microsoft has wasted billions of dollars doing precisely the same thing.

    --
    If you're not part of the solution, you're part of the precipitate.
  88. Perl Power Tools by Zico · · Score: 2

    You're referring to Perl Power Tools: The Unix Reconstruction Project.

    On related note, ActivePerl (Perl for Win32) 5.6, which is due out next month will have support for fork(), so one of the biggest portability hurdles in moving your scripts from Unix to Win32 should disappear.

    Cheers,
    ZicoKnows@hotmail.com

  89. Re:SQL Dev't Environments by SoftwareJanitor · · Score: 2

    If he doesn't want to keep a Windows box (like he is short of desk space) I wonder what the likelyhood that any of these Windows-only tools will run under Wine?

    Otherwise another option might be Bochs or VMware (which a number of other people have suggested).

  90. Oracle Tools for Linux (Let's Get It On) by mchappee · · Score: 2

    Hello,

    My name is Matthew Chappee, and I'm the author of the Oracle Application Suite for Linux. It has been referenced in this discussion several times (usually just by address' oracle.mattshouse.com or www.mattshouse.com). There have been a lot of good ideas thrown around in this forum. I propose that we organize these nuggets so that we can address them in an organized manner. I'm actively developing my suite of applications, and am always looking for cool ideas. So, please CC me at matthew@mattshouse.com with your ideas, and we can start discussing the options on my mailing list.

    Thanks,

    --
    /. finds me to be 20% Troll, 80% Funny
  91. Kora by thuss · · Score: 2

    I use Kora and it's not bad...

    http://members.xoom.com/uwagner/kora/

    --

  92. Build your own? by dlc · · Score: 2

    Although it make take a little work, and might be considered by your co-workers as overkill, perhaps you should consider building your own management/SQL-builder/whatever tool. If you know some Perl, you can use DBI and the Oracle DBD, possibly along with Tk, to build a pretty slick interface that will perform well and do almost everything you should need it to do. Throw in GD, ImageMagick, or GIFgraph to generate some on-the-fly images to impress your boss and co-workers (they're very fast once you load them into memory), and you have the beginnings of a wonderful tool.

    I'm operating on the assumption that you know exactly what you need the tool to do, since that's what it sounds like. This should be a pretty simple task (although possibly time-consuming) for someone who knows SQL and Perl.

    Just a thought.

    darren

    --
    (darren)
  93. Some nice tools by MortenJ · · Score: 2

    Found these on freshmeat.. They look pretty neat..

    http://oracle.mattshouse.com
    http://www.oracletool.com

    --
    -- Morten Jensen
  94. Embarcadero by rpandya · · Score: 2

    There are a few development tools that I really couldn't do without, and I have to say that Embarcadero DBArtisan & Schema Manager for Oracle (or MSSQL, etc.) are among them. They're expensive (over $1000 for the set) but I've found them invaluable. Here are the two most valuable features I would have to see before I'd switch:

    1) You can make a series of interactive changes to a table schema and then have it figure out the minimal SQL to do it. If it can't be done with an Oracle primitive (e.g. renaming a column, reordering columns, changing column type) it generates all the SQL to drop/disable all dependent objects, constraints, rename the old table, create a new table, transfer the data, recreate all the dependent objects, etc.

    2) It can do a diff of two database schemas, or of a database schema against a historical archive and generate SQL you can use to perform the delta. This is incredibly useful.

    And there are a number of other features that make managing a monster like Oracle a lot easier. Perhaps it will eventually run adequately under WINE. I'm not saying this to promote the product, but to point out some useful features that go beyond just executing a query and seeing the results, and to get people thinking about what it is you actually do when managing a complex database. And maybe there is a more open/portable too out there to do this. (Though it's saved me enough time that I don't begrudge them their dollars - they're smart programmers, and they've done a good job.)

  95. GUI for database servers by abram_fettig · · Score: 2

    I use MySql, and for a while now I've been using a very nice database utility called phpMyAdmin. It runs on PHP. It was created by someone in Italy, I think, and is available from www.phpwizard.net. It has worked great for my needs, providing a convenient web-based interface for creating, modifying, and dropping tables, inserting records, and running SQL queries.


    At the moment, though, it is only available for MySql and PostgreSQL as far as I know. But since you it comes as PHP source code, and PHP supports Oracle, you should be able to get it to work without too much difficulty. Of course, you would need to write your own code to support the more advanced Oracle features (like foreign keys) that MySQL doesn't have. But if you do decide to build your own interface, I would recommend this as a good place to start.

  96. dbVisualizer? by Gourry · · Score: 2

    This is a java tool I came across while
    looking for something else. I bookmarked it,
    but I've never tried it:

    http://www.pureit.se/products/dbvis/index.html

  97. Linux/Oracle Tools by hypno66 · · Score: 2

    Alan Burlison wrote a tool called explain. It's written in perl, and uses DBI, DBD::Oracle, and Tcl. It comes with DBD::Oracle, so once you have that installed, do perldoc ora_explain. Check out DB_Browser (http://www.summersault.com/software/db_browser/) by Chris Hardie, dbMan (http://www.fi.muni.cz/~sorm/dbman/screenshots.htm l) by Milan Sorm, Java Database Explorer (http://www.geocities.com/RodeoDrive/1620/jexplore r.html) by Bernard Van Haecke and DBUI (http://tegan.deltanet.com/~phlip/DBUIdoc.html) as well. If you're looking for other tools that work on Linux to manage Oracle databases, Karma (http://www.panix.com/~shull/karma) by Sean Hull, Orac (http://www.kkitts.com/orac-dba) by Andy Duncan, oracletool (http://www.vonnieda.com/oracletool) Adam vonNieda, AlertView (http://www.zephrus.com/html/products.html) by Zephrus Software, as well as the other various tools mentioned on this ask slashdot forum.

  98. oracletool.pl by jabbo · · Score: 3
    This thing is a tool of the gods. You need to be reasonably comfortable with Oracle and (somewhat) with Perl, but DAMN is it fly. About the only thing it won't let you do really easily is get the query planner to barf up its plan, but that could probably be hacked in easily.

    http://www.oracletool.com/

    Yeah, it's free as in speech and beer, too.

    There's something called "Orac" as well, but it's in Perl/Tk rather than with a web interface, so I prefer the oracletool, myself. Simple to use, even NT people grasp it immediately.

    Good stuff!

    --
    Remember that what's inside of you doesn't matter because nobody can see it.
  99. Java is not a codeless framework; try DIA by Christopher+B.+Brown · · Score: 3
    The thing about the "pretty tools" (moving on up to things as sophisticated as ERWIN) is that they permit you to do the data modelling without writing any code. No Java needed. No Perl needed. Nothing needed.

    I have no problem agreeing that there will be a point in time at which it will prove necessary to start coding; the point is that there are portions of the system where it is downright invaluable to have purely declarative definitions, which means that you've got a set of code on which you can unleash analysis tools that don't need to worry about the Turing-completeness of a full-scale language like Perl, PL/SQL, or Java.

    It would be, for instance, a very interesting idea to compose ER diagrams using a diagramming tool like Dia. Dia generates output in the form of XML.

    The really cool next step would be to take that XML and use it to generate the DDL code to generate the relevant tables, so that the diagrams represent not only instructive diagrams for communicating information about the design, but actually the code to define the declarative parts of the system.

    (Note: ERWIN has the ability to do this sort of thing, permitting one to both generate table definition code from the diagram as well as to generate a diagram based on SQL DDL code...)

    --
    If you're not part of the solution, you're part of the precipitate.
  100. SQL Dev't Environments by MattyG · · Score: 3
    Sadly, it seems like most of the strong Oracle development tools are Windows only - cases in point:

    Golden, PL/Edit, http://www.benthicsoftware.com/

    and

    TOAD, the Tool for Oracle Application Developers, http://www.toadsoft.com/ .

    If you can, keep a windows box to run these and your applications and just hit the server running on Linux, over SQL*Net.

    -matt
    ---
    Wha? TV & Movie Theme Songs? Oh yeah....

  101. Check on Freshmeat.net by SoftwareJanitor · · Score: 3

    I punched 'oracle' into the search box on freshmeat.net and got back a whole slew of hits, several of which sound like possibilities for what this guy is asking for, and probably a few others that might be other interesting tools for him to look at.

  102. Maybe a dumb question. by hey! · · Score: 3

    Can't you use most management tools to manage a database over the network? Why not keep an NT workstation around to run the admin tools you can't get, while your database sits on Linux?

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  103. A couple of tips by tweek · · Score: 4

    First of join the Oracle-LINUX mailing list.

    Send email to ListGuru@fatcity.com
    In the body put SUBSCRIBE ORACLE-LINUX-L

    Many a great discussion happens on this list. It does generate a TON of traffic though.

    A good repository of tools is available at
    here


    "We hope you find fun and laughter in the new millenium" - Top half of fastfood gamepiece

    --
    "Fighting the underpants gnomes since 1998!" "Bruce Schneier knows the state of schroedinger's cat"
  104. Great question... by nlh · · Score: 4

    I've been waiting for a discussion about this topic to pop up, so I'm happy to add my few cents.

    I'm currently working on a web development project (using Oracle 8.0.5) with some folks and we're using Linux as the development enviornment. I've not actually ever used NT for this sort of thing, so I'm not familiar with the joys of SQL Navigator (for better or for worse).

    In scouring the pages of freshmeat and other sources, the best tool I've found is called dbMan. It's based on Perl, Tk, and DBI interfaces and works quite well for some purposes.

    Currently, the version I have (0.0.9pre1) lets you browse and modify tables and table data in a spreadsheet-like interface (adding new rows doesn't seem to work perfectly), run command line SQL queries with command history, and do some basic import-export functions. (check the website for more details.)

    I am very interested, however, as to what other people use and if there's anything a bit more hard core than dbMan.