database 蟾蜍的替代品

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/214930/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 07:01:48  来源:igfitidea点击:

Alternatives to Toad

databaseoracle

提问by Gabriele D'Antona

I'm currently using Toadfor my day-to-day work on our databases (queries, updates, small scripts, browsing of db objects, etc.).

我目前正在使用Toad来处理我们数据库的日常工作(查询、更新、小脚本、浏览 db 对象等)。

My question is: since my version of Toad is old and buggy, which are the (possibly free, but not necessarily) alternatives to Toad?

我的问题是:由于我的 Toad 版本陈旧且有问题,哪些是(可能免费,但不一定)Toad 的替代品?

The database versions we are using are 10g and 9i.

我们使用的数据库版本是 10g 和 9i。

Thanks a lot.

非常感谢。

采纳答案by Gabriele D'Antona

After trying other products for some months, I'm back to Toad.
And I have to admit that (IMHO, and for the type of use that I'm doing of it): I've found no alternative to Toad.

在尝试了几个月的其他产品后,我又回到了 Toad。
我不得不承认(恕我直言,以及我正在做的使用类型):我发现除了Toad 之外别无选择

The indispensable features that are missing in other products are:

其他产品所缺少的不可或缺的功能有:

  1. Speed. Toad is blazingly fast; SQL Developer starts to crawl if you open more than 2 or 3 connections. When you have to operate with time constraints, you really can't wait SQL Developer to open.

  2. The "open a new window until commit" functionality (a new window is opened after an insert or update statement, and you are forced to commit or rollback). Really handy to avoid pending commits.

  3. The "execute current statement" functionality (shift-F9). SQL Developer doesn't have it, or you are forced to select the query you want to execute.

  1. 速度。蟾蜍速度极快;如果您打开 2 或 3 个以上的连接,SQL Developer 就会开始爬网。当你不得不在时间限制的情况下进行操作时,你真的等不及SQL Developer打开了。

  2. “在提交之前打开一个新窗口”功能(在插入或更新语句之后打开一个新窗口,并且您被迫提交或回滚)。避免挂起提交真的很方便。

  3. “执行当前语句”功能(shift-F9)。SQL Developer 没有它,或者您被迫选择要执行的查询。

回答by johnstok

Oracle's SQL Developer.

Oracle 的SQL 开发人员

回答by Tony BenBrahim

PL/SQL Developer from http://www.allroundautomations.nl/. Presented between a choice between Toad and PL/SQL developer, about half the developers prefer PL/SQL developer. I have to admit the code completion in PL/SQL developer is much better, but I still prefer Toad for the DBMS management functionality.

来自http://www.allroundautomations.nl/ 的PL/SQL 开发人员。在 Toad 和 PL/SQL 开发人员之间进行选择时,大约一半的开发人员更喜欢 PL/SQL 开发人员。我不得不承认 PL/SQL developer 中的代码完成要好得多,但我仍然更喜欢 Toad 的 DBMS 管理功能。

回答by Mark Nold

TOrais an another good option. I used the pre GPL version for years. It's a good simple SQL tool for Oracle.

TOra是另一个不错的选择。我多年来一直使用 GPL 之前的版本。对于 Oracle 来说,这是一个很好的简单 SQL 工具。

It supports schema browsing, analyse plan, limited debugging plus all the stuff you'd expect.

它支持模式浏览、分析计划、有限的调试以及您期望的所有内容。

回答by Steve Moyer

I've used Squirrel-SQL(which is a Java/JDBC based program and will work with any OS or database that provides a driver) and the database development tools for Eclipse (Eclipse-DTP). Both are certainly sufficient for light database work. Both are free and open-source.

我使用过Squirrel-SQL(这是一个基于 Java/JDBC 的程序,可以与任何提供驱动程序的操作系统或数据库一起使用)和Eclipse (Eclipse-DTP)数据库开发工具。两者对于轻量级数据库工作来说肯定是足够的。两者都是免费和开源的。

回答by SamS

I'm surprised that nobody has mentioned DbVisualizeryet. Our company has been using it for a few years and everybody seems happy with it. It's powerful, runs on multiple platforms (Java-based) and supports different database systems (Oracle, DB2, MS Access etc). It has a free version; a commercial version is available if you need more features.

我很惊讶还没有人提到DbVisualizer。我们公司已经使用它几年了,每个人似乎都对它很满意。它功能强大,可在多个平台上运行(基于 Java)并支持不同的数据库系统(Oracle、DB2、MS Access 等)。它有一个免费版本;如果您需要更多功能,可以使用商业版本。

回答by SamS

Simple answer:
Use Textpad or another text editor.

Explanation:

For me PL/SQL development is a process that has evolved over time. I've tried to apply continuous improvement to SQL development and it has worked out wonderfully for me. (for more on continuous improvement/Kaizen see link text)

I found PL/SQL IDE tools to be unstable.

I've had several crashes of Quest Software's TOAD as well as Quest Software's SQL Navigator (I've been using it since Version 3).
I lost work.
I tried other IDE PL/SQL tools.
These tools also crashed.
I lost work again.
I got frustrated.

I do not trust PL/SQL software development to any of the PL/SQL IDE tools out there.

Here are my PL/SQL coding core practices:
1. Export code using Quest Software TOAD
2. Use a Cygwin bash script to move files into the appropriate directories
3. Compare versions via BeyondCompare (if needed)
4. Check code out of WinCVS / CVSNT (if needed)
5. Edit using TextPad
6. Compare versions via BeyondCompare (if needed)
7. Check code in to WinCVS / CVSNT (if needed)
8. Use a Cygwin bash script to create a master changes file.
9. Import code back using Quest Software TOAD

An even more lengthy explanation:

I use Quest Software TOAD to export all PL/SQL and table DDL code to the filesystem.

In the Database menu -> Export -> Source Code
In the Database menu -> Export -> Table Scripts

This gets me individual files for each database object.

I move these files (Cygwin bash script) in directories
based on the file extensions.
*.prc files in /procedures
*.fnc files in /functions
*.pks and *.pkb files in /proceudres
*.trg files in /triggers
*.vw files in /views
*.sql files in /table_scripts

These files are initially checked into CVS.
(I use WinCVS/CVSNT server side)

I Beyond Compare each file version exported by TOAD
with the version already in CVS.
I ensure that the CVS sql repository is up to date.
In other words I need to have a good starting baseline.

I then use TextPad to edit the PL/SQL code.
link text

I pre-configure my Textpad with SQL syntax files
to make it easier on the eyes
link text

After editing, I Beyond Compare each edited
file version exported with the version
in WinCVS.

Luckily, WinCVS allows you to use an external
diff (Beyond Compare) which comes in very handy.

I load the new/changed code via TOAD to a test schema.
In the SQL Editor menu -> Load and Execute a Script File

I test the code out. (do some debug runs)

If the code tests out, I check the code into CVS.

At the end, I use Cygwin bash (and a bash script I've written) to create a master changes file. This master changes file contains all of the changes that need to be applied to bring the live schema up to date. This saves me a lot of time.

I then load the new/changed code via TOAD to a live schema. In the SQL Editor menu -> Load and Execute a Script File. That's about it. Software engineering is about process, versioning (CVS) and automating builds (bash script).

The biggest lesson out of all this (that have made me 10 times more productive) was switching from DB-based PL/SQL IDEs to simple ASCII text files. KIS in action.

If a copy your code resides in an ASCII file you avoid:
- mucking up the DB
- locking up DB objects
- iffy DB based revision control tools (if any)
- iffy DB diff tools (if any)
- losing code due to IDE crashes
- losing code due to DB crashes / shutdowns
- losing code due to concurrent editing (this can happen if two or more PL/SQL developers edit the same procedure)

Instead if you handle all PL/SQL code in filesystem ASCII files you have
- your choice of text editors (TextPad,notepad++,vi,etc)
- your choice of revision control systems (CVS,svn)
- your choice of text filtering/handling/scripting systems (I like Cygwin bash)
- your choice of diff tools (Beyond Compare,WinDiff,diff)
- your choice of DB tools (I can use TOAD, SQL Navigator) for importing and exporting the PL/SQL code to files.

I wanted a version history of all code changes.
I wanted to get everyone working together and prevent developers from stepping on each other's toes.
I wanted the freedom to choose my tools.
The side effect of this is that I handle all of the DB code in the filesystem during rapid development.

Just my 2 cents.

简单回答:
使用 Textpad 或其他文本编辑器。

说明:

对我来说,PL/SQL 开发是一个随着时间的推移而演变的过程。我尝试将持续改进应用于 SQL 开发,并且对我来说效果非常好。(有关持续改进/改善的更多信息,请参阅链接文本

我发现 PL/SQL IDE 工具不稳定。

我遇到过几次 Quest Software 的 TOAD 和 Quest Software 的 SQL Navigator 崩溃(我从第 3 版开始就一直在使用它)。
我丢了工作。
我尝试了其他 IDE PL/SQL 工具。
这些工具也崩溃了。
我又丢了工作。
我很沮丧。

我不相信任何 PL/SQL IDE 工具的 PL/SQL 软件开发。

以下是我的 PL/SQL 编码核心实践:
1. 使用 Quest Software TOAD 导出代码
2. 使用 Cygwin bash 脚本将文件移动到适当的目录
3. 通过 BeyondCompare 比较版本(如果需要)
4. 从 WinCVS 中检查代码 / CVSNT(如果需要)
5. 使用 TextPad
进行编辑6. 通过 BeyondCompare 比较版本(如果需要)
7. 将代码签入 WinCVS / CVSNT(如果需要)
8. 使用 Cygwin bash 脚本创建主更改文件。
9. 使用 Quest Software TOAD 导入代码

一个更冗长的解释:

我使用 Quest Software TOAD 将所有 PL/SQL 和表 DDL 代码导出到文件系统。

在数据库菜单 -> 导出 -> 源代码
在数据库菜单 -> 导出 -> 表脚本

这为每个数据库对象获取单独的文件。


根据文件扩展名在目录中移动这些文件(Cygwin bash 脚本)。
*.prc 文件在 /procedures
*.fnc 文件在 /functions
*.pks 和 *.pkb 文件在 /proceudres
*.trg 文件在 /triggers
*.vw 文件在 /views
*.sql 文件在 /table_scripts

这些文件最初是签入 CVS。
(我使用 WinCVS/CVSNT 服务器端)

我超越将 TOAD 导出的每个文件版本
与 CVS 中已有的版本进行比较。
我确保 CVS sql 存储库是最新的。
换句话说,我需要有一个良好的起始基线。

然后我使用 TextPad 来编辑 PL/SQL 代码。
链接文本

我用 SQL 语法文件预先配置了我的 Textpad
以使其更容易查看
链接文本

编辑后,我超越比较

WinCVS 中的版本一起导出的每个编辑过的文件版本。

幸运的是,WinCVS 允许您使用
非常方便的外部差异(Beyond Compare)。

我通过 TOAD 将新的/更改的代码加载到测试模式。
在 SQL Editor 菜单 -> Load and Execute a Script File

我测试代码。(进行一些调试运行)

如果代码测试通过,我将代码检入 CVS。

最后,我使用 Cygwin bash(以及我编写的 bash 脚本)来创建主更改文件。此主更改文件包含需要应用以使实时架构保持最新的所有更改。这为我节省了很多时间。

然后我通过 TOAD 将新的/更改的代码加载到实时模式。在 SQL 编辑器菜单 -> 加载并执行脚本文件。就是这样。软件工程是关于过程、版本控制 (CVS) 和自动化构建(bash 脚本)。

最大的教训(使我的工作效率提高了 10 倍)是从基于 DB 的 PL/SQL IDE 切换到简单的 ASCII 文本文件。KIS在行动。

如果您的代码副本位于 ASCII 文件中
,则应避免:- 破坏数据库
- 锁定 DB 对象
- 基于 iffy DB 的版本控制工具(如果有)
- iffy DB diff 工具(如果有)
- 由于 IDE 崩溃而
丢失代码 - 由于 DB 崩溃/关闭而
丢失代码 - 由于并发编辑而丢失代码(这可能发生在两个或更多的 PL/SQL 开发人员编辑相同的过程)

相反,如果您处理文件系统 ASCII 文件中的所有 PL/SQL 代码,您拥有
- 您选择的文本编辑器(TextPad、notepad++、vi 等)
- 您选择的版本控制系统(CVS、 svn)
- 您选择的文本过滤/处理/脚本系统(我喜欢 Cygwin bash)
- 您选择的差异工具(Beyond Compare、WinDiff、diff)
- 您选择的数据库工具(我可以使用 TOAD、SQL Navigator)进行导入并将 PL/SQL 代码导出到文件。

我想要所有代码更改的版本历史记录。
我想让每个人都一起工作,并防止开发人员互相踩踏。
我想要自由选择我的工具。
这样做的副作用是我在快速开发过程中处理了文件系统中的所有 DB 代码。

只有我的 2 美分。

回答by mwilliams

I'll toss in my vote for SQLPal. It's free. Most of the features it has works really well (auto-competition has never seemed to work). I'm using it against a 10g database daily and it works great.

我将为SQLPal投上一。免费。它拥有的大多数功能都非常有效(自动竞争似乎从未奏效)。我每天都在 10g 的数据库上使用它,而且效果很好。

alt text

alt text

回答by mwilliams

I've been using Golden from Benthic Software as a SQL*Plus replacement for a long time and love it.

很长一段时间以来,我一直使用 Benthic Software 的 Golden 作为 SQL*Plus 的替代品,并且很喜欢它。

http://www.benthicsoftware.com/products.htm

http://www.benthicsoftware.com/products.htm

回答by coba

If we had to pay then I would strongly recommend PL/SQL Developer for database code writting and TOAD for administration tasks.

如果我们必须付费,那么我强烈推荐 PL/SQL Developer 用于数据库代码编写和 TOAD 用于管理任务。

From the free solutions I've been using so far especially four of them: (Oracle) SQL Developer, SQL Tools, SQLPal and TORA.

到目前为止,我一直在使用的免费解决方案中,特别是其中四个:(Oracle) SQL Developer、SQL 工具、SQLPal 和 TORA。

  • I've found SQL Developer as the one with the most utilities. Unfortunately its java GUI makes it prone to hanging too much often.
  • SQL Tools is a very nice instrument except one thing: it has not an auto-fill functionality / code-completion (e.g. table names and columns). If you could pass this issue then ... go for it.
  • SQLPal it's good as long as you have to look at only one database
    object at time. I just don't understand why displaying a simply
    new window is, in fapt, meaning to open a completely new instance
    of the application. It has its auto-fill functionality but that makes it very laggy. I would place a minus for its JDBC only available connection option. Such limitation makes it sometimes to hang while waiting to retrieve database metadictionay information.
  • TORA - it's a nice tool except the code completion ... I just couldn't make it working. And from the forums I could get that this is a pretty common problem. Otherwise its GUI is almost flawless.
  • 我发现 SQL Developer 是实用程序最多的一个。不幸的是,它的 Java GUI 使它容易挂太多。
  • SQL 工具是一个非常好的工具,除了一件事:它没有自动填充功能/代码完成(例如表名和列)。如果你能通过这个问题,那么......去吧。
  • 只要您一次只需要查看一个数据库
    对象,SQLPal 就很好。我只是不明白为什么显示一个简单的
    新窗口实际上意味着打开一个全新
    的应用程序实例。它具有自动填充功能,但这使得它非常滞后。我会为它的 JDBC only available connection 选项加一个减号。这种限制使得在等待检索数据库元词典信息时有时会挂起。
  • TORA - 除了代码完成之外,它是一个不错的工具......我无法让它工作。从论坛上我可以了解到这是一个非常普遍的问题。否则它的 GUI 几乎是完美的。

My conclusion: I hate to say it, I am an open-source fan but ... simply buy PL/SQL Developer / TOAD if you have to work intensively with such tools .

我的结论:我不想这么说,我是一个开源爱好者,但是......如果你必须大量使用这些工具,只需购买 PL/SQL Developer / TOAD。