Which Oracle SQL query optimization tool to use? [closed] - sql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Yesterday I read an article in PowerTimes ( dec. 2002 :) ) about a great SQL Optimization tool called SQL Expert created by Leccotech. This company is probably taken over by Quest Software and I faced a lot of bugs in the trial version of Quest SQL Optimizer 8.0.0.
Which software do you prefer to optimize your Oracle ( 10 or 11 ) SQL queries?
Regards,
Marinus

I too use explain plan (and a decent grasp on Oracle Concepts and the optimizer), but I'll also mention that Oracle develops a SQL Developer IDE that is getting more advanced than when I first used it.
SQL Developer now has a SQL tuning advisor that is worth checking out. I have not yet used the latest version, but will be doing so soon.
Hope it helps.

I use EXPLAIN PLAN with the SQL client of my choice

I also use the explain plan.
The best method to tune a query is to know as much about what it's purpose is and what it is doing.
Learn about the tables, indexes, constraints, data most importantly, and how the CBO (or RBO) is going to retrieve the data.
You can use software to point and click your way through, but if you don't know yourself what the query and oracle is doing, you won't get very far.

Related

Need to understand everything in pl/sql [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
My company uses Oracle 11g. I am new to Pl/sql and I know only basic SQL. I am not aware of the below things in Oracle pl/sql:
1.creating procedures
2.creating jobs
3.api calling
4.batch running
5.metalized view
6.DB links
7.configuring mail alerts from Database.
8.all pl/sql concepts
Where can I learn all this simple and easily?
Kindly suggest some best YouTube channels, websites, best courses, eBooks or any platforms.
This is Oracle 10g documentation homepage. Yes, I know, you said you're on 11g, but never mind that. Page I suggested is nicely divided into several sections - have a look at Most Popular.
as you're new to Oracle, read Concepts first
as you know a little bit of SQL, read SQL Reference next; you must know SQL before you move on to
PL/SQL User's Guide and Reference book, which will teach you what you asked for
don't miss Application Developer's Guide - Fundamentals as the last book I'm going to suggest in this answer
Feel free to find similar books related to your Oracle database version; there will be some differences, but - as fundamentals - previously mentioned literature will be just fine.
I guess you can start from this one
https://www.amazon.com/Oracle-PL-SQL-Programming-Versions/dp/1449324452/ref=sr_1_1?crid=3OTIP644USUIY&keywords=oracle+pl%2Fsql&qid=1636468646&qsid=136-1702536-3186447&sprefix=oracle+pl%2Caps%2C373&sr=8-1&sres=1449324452%2CB00TFOGOSE%2C097615739X%2C1890774804%2C0071812431%2C1491920009%2C1946383112%2C0596514107%2C0071835148%2C1133947360%2CB004PYDRMK%2C0596514468%2CB014V7G3UI%2C1785284800%2C0072261943%2CB08YQCNT4C&srpt=ABIS_BOOK
if link does not work then
Oracle PL/SQL Programming: Covers Versions Through Oracle Database 12c Sixth Edition
by Steven Feuerstein (Author), Bill Pribyl (Author)

What are some SQL clients with a graphical query designer..? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Another user asked the similar question, What are the query browsers for DB2?.
But I would like to ask: what are some SQL browsers with a graphical query designer? Like the other user, I'm also using DB2, but most generic or open-source clients can connect to any SQL server, so I'll assume if there are any with a GQD, I'll be able to use it with DB2.
The vintage of our DB2 server and AS400 is v5/v6 and unlikely to be upgraded any time soon, and I find the included IBM SQL client to be primitive to the point of useless. The other clients I've tried are DBeaver, Toad, and Squirrel. I got DBeaver to work with our server, but other two I could not (yet). It's very nice and I'm happy to stick with it, but alas it does not have a GQD.
I understand many DBAs feel a GQD is an impediment to advanced query design, and I agree. However, it can be a useful tool for visualizing and building sub-sections of large queries, especially joins and weird logic. I find the most useful method is to design some or all of a query graphically, and then switch to pure SQL and clean it up.
Check out AQT Advanced Query Tool
It has a graphical query builder and can be recommended - it supports Db2 for iSeries

Freeware Query Builder [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for some freeware Query Builder.
Query Builder in Aqua Data Studio allows you to visually build queries:
select the column you want returned
generates joins for you(you just select by which columns you want to join it)
Good question! I thought there were many DB tools that fit your description, but when I checked a commonly-sourced Wikipedia article (see comment below), I found that most free/open source DB management software does not have a visual query builder feature! (I build my queries from scratch, so this is not a feature I particularly need.)
The freeware version of Toad for Data Analysts is a good bet. You can download and use it for 120 days. After that time, you need to reinstall on your PC. You might need to check to see if you will get write-access to non-Oracle databases, but I do know you can at least get read access to most non-Oracle DBs.
You might also like SQL Developer, which has a more robust community of users than that of the Freeware Toad for Data Analysts. That will only give you read-only access to certain non-Oracle databases.

Decent Visual SQL query Builder [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am a code developer, not a DBA, and I tend to get lost with loooong SQL queries, when I use many joins (10 joins is pretty common for me).
I would like to find a Visual SQL Query Builder (free if possible) that could connect to Oracle and see all the tables there, so I would only select visually my keys that link the Joins, and select the fields I want to be shown.
Oracle's own SQL Developer (free to download Java app) has a visual query builder (I haven't used it though, so this is not a recommendation, merely an FYI).
More about Oracle SQL Developer (and download link) here.
It is not free, but I use pl sql developer
http://www.allroundautomations.com/plsqldev.html
use Visual Studio Server Explorer to connect to oracle and then build queries using query builder.
Try Insight Developer for Oracle, but note that it is not free. I use it on both Mac and Linux.
Try SQLeo Visual Query Builder
http://sourceforge.net/projects/sqleo/
It permits to join tables visually

Additional SQL Server sample databases to practice with [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm helping a friend learn SQL, and need more databases to help him get more practice.
We have of course AdventureWorks, Northwind, and Pubs.
Does anybody know of any other SQL databases samples that might be available to download?
I know some sites have some databases where you can practice queries on the site, but I was looking for something he can run locally.
Try downloading and importing some of the free data sets the Census bureau, US Geological Survey, National Oceanic and Atmospheric Administration, or other large data gathering agencies provide for free on the web.
Why not work with a billion record table of all the elevation points in the US? Not only do you get the practice your DB skills, you can get real world types of indexing and performance issues.
Here's one called the Chinook Database. It has scripts for SQLServer, Oracle, MySQL, SQLServer Compact.
http://chinookdatabase.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=21111
As I find more, I'll post here.
I think it is much better Idea to create a database from scratch ,Taking sample project say a simple inventory management system and then building tables finally creating then in db ,It would be much practical way to learn then to directly play with a ready made database.