Any difference between the separate function and aggregation in sql query cost?
HelloI've run many models sql stmts - such as:
one) using a single table
(b) using the two tables, using simple joins or outer joins
but I didn't notice a difference in sql stmts in cost and implementation plan...
In any case, my colleague insists on only using the aggregate function is less expensive compared to
separate... (something I've not confirmed, that is why I believe that they are exactly the same...)
For the situation described above under 1 sql... We could for example use
select distinct deptno
from emp
select count(*), deptno
from emp
group by deptno
select distinct owner, object_type from all_objects
select count(*), owner, object_type from all_objectsHave you ever found no difference between the two...?
group by owner, object_type
Note: I use Ora DB 10g v2.
Thank you
SIM
Alexandre Gelin says:
function separate and aggregation are for different uses and can give the same result, but if you use the aggregate function to get the separate records, it will be expensive...
really? I find them almost identical to 11g. Actually GROUP BY is almost always more fast for me in the old days.
article about this askTom Re: any difference between the separate function and aggregation in sql query cost?
This applies mainly to the older oracle versions http://www.oracle.com/technology/products/rdb/pdf/distinct_derivedtables_groupby_sort_tech_article.pdf
Tags: Database
Similar Questions
-
Any difference between the PDF export and PDF presets?
Is there a difference in the final product if we export to PDF / X - 1a: 2001 or chooses has screened PDFX-1: 2001? They are the same, it seems, but I want to confirm...
Thank you
Luca
No difference.
-
What is the difference between the NEX-5 and NEX 5R
I would like to know what is the difference between 5R NEX5 and NEX to help me choose the best.
Thank you
Here are some key differences between the NEX-5 and NEX - 5R.
- Sensor CMOS APS - C with a resolution of 14.2 million pixels
- video recording Full HD 1080/60i
- the speed of 7 frames per second in burst mode
- ISO sensitivity up to 12800
- Sweep Panorama and 3D Sweep Panorama modes
- Autofocus contrast with 25 points
- Sensor CMOS APS - C with a 16.1 megapixel resolution
- video recording Full HD 1080/60 p
- the speed of 10 frames per second in burst mode
- ISO sensitivity of up to 25600
- Panoramic scan mode
- Quick autofocus hybrid with contrast of 25 points of 99 points phase detection autofocus and auto focus
In addition, the NEX5R has built-in Wi - Fi that allows you to install applications and extend the functionality of the camera. Built-in Wi - Fi will also allow you to transfer images wireless to a smartphone, Tablet, the computer and the TV.
If this post answered your question, please mark "accept as a Solution.
-
What is the difference between the "Software Version" and "Version of the platform?
I posted in this forum, because there is a maximum activity in this forum. Sorry, if this is not a good place to post this kind of question.
What is the difference between the "Software Version" and "Version of the platform" of any blackberry device?
My camera's curve 8900 and I can see in the menu About his version of software is 4.6.1.231 and the version of the platform is 4.2.0.108. What are these 2 versions for?
Probably the best posted in the software section of the device, but is not serious.
Version of the software/App - indicates the version of your applications (address book, browser, calendar, etc.).
Version of the platform - indicates your version of system software (Java based software, radio code, etc.). -
What is the difference between the time cpu and cpu in AWR db?
Hi, experts:
What is the difference between the time cpu and cpu in AWR db?
As a general rule, 'DC CPU', 'CPU Time' (and 'DB CPU of "TIME") are references to the same (i.e., a measure of the amount of time the instance of Oracle on the CPU), but to avoid any risk of misunderstanding, it is best to give us a little background labels - i.e. lines 6 or 7 containing an example of every use of one of your AWR reports
Concerning
Jonathan Lewis
-
In EPMA: What is the difference between the dimensions time and periods?
In EPMA: What is the difference between the dimensions time and periods?The time dimension, I believe only applies to the epma essbase dimensions and creates a time dimension essbase.
The period dimension can be applied to planning, essbase, consolidation.So if you create an application of epma essbase and want the functionality of a time dimension, then you create a time dimension.
See you soon
John
http://John-Goodwin.blogspot.com/ -
Difference between the implementation guide and the user guide.
Hi all
I'm a fresh graduate, I wanted to just know what is the difference between the implementation guide and the user guide.
Sorry, the question may seem simple, but I'm not aware of the merry.
Kind regardsHello
The implementation guide is the reference that you can use to make functional configuration so that the user guide covers how the module/application navigation and tells you how to use it.
Thank you
Hussein -
What is the difference between the Service Station and Tempro?
Searched for information on this, but have not been able to find:
What is the difference between the Service Station and Tempro?
I just run the wizard upgrade Toshiba and it installed the gas station but Tempro is already installed and seems to do the same.
Concerning
Bushy
Hello
These two tools are Toshiba one informs you of the new driver updates available on the Toshiba driver page.
AFAIK Tempro is slightly older than the gas station.
In addition the gas station seems to provide a bit more options and features like tool Tempro.
However, I recommend using one my favorite utility's Service Station -
What is the difference between the HX - 90v and HX - 80 coming cameras?
What is the difference between the HX - 90v and HX - 80 coming cameras?
Thank you!
I'd say it's supposed to be a fill, a little brother to the HX90v
It removes the control ring and the GPS, and I think the rest is the same.
It is for those who want the HX90v but the price is a bit steep for the compact range, and they need not necessarily GPS or the ring of command, just a camera that works.
This kind of thing, at least to my knowledge. -
What is the difference between the product key and product ID?
What is the difference between the product key and product ID?
I guess that thanks to my colleague Bruce Chambers, my question is answered. the product id is used subsequently and the key is used for installation. Thank you. See you soon.
-
What is the difference between the substituted glyphs and substituted fonts?
Hi all
Someone could tell you what is the difference between the substituted glyphs and fonts substituted in the Panel preference.
Thank you
Kasi
- In InDesign, the word police refers to typography and style: you might miss Helvetica or, for example, Helvetica Bold.
- A glyph is a particular form of a character in a font: for example, the letter H can be available as a standard H or a signature H or ornament. If the police does not have the signature or ornament glyphs, which would produce the missing message of glyph.
-
What is the difference between the element catalog and category of the item
What is the difference between the element catalog and category of the item
PL. visit the following links.
Catalogue of objects: Oracle ERP Apps Guide
What is the difference between the category of the item and itemcatalog you can plea
-
Hello
I ran the report account of Balance of accounts payable using model checking "Accounts Payables Trial Balance - account group. When I open the report, I discovered that the balance and the initial amount is not always equal. Can someone tell me what is the difference between the original amount and the remaining amount in the report? Thank you very much.
Kind regards
Juanluis
Initial amount is the amount of the actual Bill.
Amount remaining is the amount of the remaining balance invoice to pay.
-
What the difference between the $29.00 and $1 099 in terms of features?
I want to buy the software but I m so uncertain ante Adobe phones DO NOT work properly... What the difference between the $29.00 and $1 099 in terms of features?
There is no real difference at all, it is the same app, same features.
The $ 29 subscription means that you 'Rent' the application, you will have all the upgrades and patches during your free subscription. You can have two versions installed, but no more with this license. In addition, it is related to your personal Adobe ID.
The perpetual license means that you have the application, it can use 'forever', and it is NOT linked to your Adobe ID when a new version appears that you will have to pay for the upgrade (if possible). You can have as many versions on your system you want with perpetual licenses. This can be important if you need to work for clients that use older versions.
ATTENTION: I am only a user, does not not for Adobe, that's what I see as the major differences. Crossing my fingers that someone from the staff will give you more details.
-
difference between the binding context and link container
Hello experts
can you please explain to me the difference between the binding context and link container.
I searched on the net but unable to understand the concept.
Hello
the BindingContext represents the DataBindings.cpx file execution and is a record of BindingContainers and their mapping pages and views. In addition it contains information about the data used by an application controls. The link container is the representation of the execution of the file PageDef and gives you access to the collections, methods, and attributes of the data used by a page or view. Context binding is a house while the link container is a piece in.
Frank
Maybe you are looking for
-
local folders default reply address is outdated email account
I've recently set up TB (31.4.0, windows 7 pro), import a set of local folders and emails to outlook express. TB has associated the latter with an address e-mail which I use is more, although there are always and sometimes I receive mail on this subj
-
Equium M50: Problems with white screen at startup-> solved
I posted a request on this issue on 5 March 2007 that has since been locked. http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=20992 For anyone having the same problem, I discovered this is a temperature problem. I live in a plac
-
Y at - it how to work with two or three usb or 1394 camera with timing?
I would like to work with three camera with synchronism 1394b. Y at - it an example? Is this possible?
-
When printing emails, it will only print the top of page 1
I can print my emails. When you hit print only page 1 of 1 print at the top of the page. Apparently not read the emails. Everything will be printed. * original title - print my emails. When you click on print only at the top of the page. (page 1 of 1
-
Update security for windows Vista (KB2588516) & (KB2639417)
Keep do not install two updates. Since its launch of 13.01.2012 both had 85 update failure. can you please help? II have used Microsoft Fix it Center, too without success. I'm unable to install or remove it from the computer! Kind regards E-mail addr