Why do certain notes not play using my laptop keyboard?
In Logic 9, I have notes that have quit working using my Akai LPK 25 laptop keyboard. I think one quit when I was in clicks and ports trying to figure this out. This keyboard is plugged in directly via USB port. I have a Casio keyboard that I use using a Lambda interface that works fine; only in that case I hear them through the interface. The Logic Caps keyboard works fine. From July till now, it all worked great. I think the first note may have quit playing when I was exploring the Logic arpeggiator. I can see that the signal for the note is being received, but the indicator shows the note with a line through it, as it does with other notes after the key is released.
Eriksimon told you a fact that is little known and often causes confusion. Here is a diagram that demonstrates the concept with the MIDI signal flow.
The Controller Assignment ➊ is placed right there at the Physical Input (if you are familiar with the Environment). Any MIDI Event that you assign in the Controller Assignment window will be intercepted and "eliminated" from further traveling to your MIDI devices, objects or the Tracks.
Hope that helps
Edgar Rothermich
http://DingDingMusic.com/Manuals/
'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'
Similar Messages
-
When using ipad4, why do videos not play on Google? Audio works fine
WWhen using ipad,why do videos not play on Google? Audio still plays. I have reset the Google app and it will be ok for short time but then reverts back to not playing videos.
Hi Vernon70,
Welcome to the Apple Support Communities!
I understand that an application you downloaded from the App Store, Google, is not functioning as you would expect. In this situation, I would recommend following the troubleshooting steps outlined in the attached article.
If an app you installed unexpectedly quits, stops responding, or won’t open - Apple Support
Best regards,
Joe -
Video not played using JMF while tramitting stream over RTP
video not played using JMF while tramitting stream over RTP
I am using code to tranmit video using RTP using JMF and i am able to successfully get the video on client side
Code to send the video over rtp
http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVTransmit2.java
code to recieve video over rtp
http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVReceive.html#source
My problem is i am not able to play video in AVTransmit2.java.
If i create a player using datasouce, eigther i get player already occupied or a black screen.
please help me running the video on Transmit side as well.
NOTE: i am using web cam for video source
Edited by: qasitouch on Dec 23, 2009 5:55 AMI am not getting any error on consol, rather video is not displayed on media screen but black rectangle.
On Transmitter
// Try to create a processor to handle the input media locator
processor = Manager.createProcessor(ds);
createPlayer(Manager.createCloneableDataSource(ds)); // here i am craeting a player to show the video on transmitter end aswell.
Player code:
private void createPlayer(DataSource ds) {
try {
Player player;
if(processor!=null)
System.out.println("processor: " + processor);
player = processor;
}else{
System.out.println("null is processor");
player = Manager.createRealizedPlayer(ds);
Component video = player.getVisualComponent();
JFrame mediaFrame = new JFrame("Camera Screen");
mediaFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
mediaFrame.add(video);
mediaFrame.setSize(300, 300);
mediaFrame.setVisible(true);
player.realize();
player.start();
player.prefetch();
} catch (NoPlayerException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (CannotRealizeException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (NotRealizedError e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
I am not getting any error and not running on the same side. My problem is showing video on Tranmitter end.
Using above code i can create player and a black screen is showing, i am ubable to find, why video is not played in screen. -
Why can I not play the rented movie...???
Why can I not play the rented movie...???
Welcome to the wonderful world of copy protection.
iPads have a form of digital copy protection that will prevent protected media, such as DRM-infused iTunes movies, from playing back on devices that aren't compliant with the new priority protection measures.
The Intel-developed technology is called High-bandwidth Digital Content Protection (HDCP) and aims to prevent copying of digital audio and video content as it travels across a variety of display connectors, even if not in violation of fair use laws.
The advantage of purchasing your movie as a DVD is that you can watch it on ANY device.
For a better picture, and fewer hassles convert to analog. There are HDMI to Component video adapters available that will solve your problem. -
Why AppleTV is not playing 1280x720 at 30fps?
Why AppleTV is not playing 1280x720 at 30fps? I tested and is playing 1280x720 at 25 fps, therefore I think is just a software restriction not a hardware capability. Converting from 1080i to 960x540 I'm loosing quality, and if I convert from 29.97 to 24 fps, the transitions are not smooth.
It's outside AppleTV playback specs which is officially a maximum of 720p 24fps, though many have observed that 25fps works.
AppleTV does not have very high performance components so it may well be hardware limitation.
It's a shame it flatly refuses to play - but I guess it's Apple's way pf preventing complaints that 720p video is very stuttery or drops frames.
Good for us in UK/PAL land where our camcorders will default to 25fps as we can usually get downconverted 25fps 720p to play, but seems odd given Apple is a US company that they did not ensure 720p would play at least at NTSC frame rates.
Trouble is the device's video is clearly aimed at iTunes Store video playback, and commercial movies are usually 24fps so 720p 24fps is fine for that purpose.
See specs here:
http://www.apple.com/appletv/specs.html -
Specific Music Files Not Playing Using Shared Playlists
I have over 3600 music files in my collection, and of those, about 44 will not play using the shared playlist on other machines. There is nothing between the files that is common that I can decipher. Some are *.m4a files, some are *.mp3 files. However, all will play in iTunes on the host machine and will play fine on the myriad of iPods that I have. If an attempt to play is made, the song information comes up in the heading on iTunes (song name, duration, album, etc...), but the song never starts playing. Any help or insight would be most appreciated.
Hi
What happens when an agent puts a caller on hold is nothing to do with the UCCX server, prompts on the UCCX server, etc...
What is played is controlled by the 'User Hold Network Source' configured on the agent's line, handset, device pool etc; and which MoH server it is played from is determined by the MRGL assigned to the 'listening' device (e.g. gateway typically).
Regards
Aaron
Please rate helpful posts.. -
Why can i not play blu rays on my iMac?
Why can i not play my blu rays on my imac?
If you want to download VLC, try this direct site:
http://www.videolan.org/vlc/download-macosx.html
The other site throws up a caution and I do trust WOT to keep my Mac safe (here is a screenshot of the warning I got):
Here is an interesting article:
http://www.macworld.com/article/2042431/watch-and-rip-blu-ray-movies-on-your-mac .html
It does mention VLC, but only if you copy it first which, according to the ToU of these forums, we are not allowed to discuss here as it circumvents copyright protection. In any case, you'd still need a BR player. -
i purchased LR and PS - I have it on one laptop - why will it not install on 2nd laptop? Do I have to purchase it again?
Your license allows for enabled installations on two machines. If you are unable to install on a second machine you will need to provide more information if you want help resolving the problem. At what stage does the failure to install occur? What messages do you encounter when it fails? What are your system specifications? How do your system specs compare to the Software system requirements?
-
Why can I not play certain songs which I have just downloaded?
I recently download 10 new songs and only 3 of them work and play out load whereas the other 7 do not .If you tap them they only skip to the ones working.my new songs also do not appear on my laptop (not an apple product). Some of the non working songs have faded out the song title and artist.
Hi, drhalm.
Thank you for visiting Apple Support Communities.
This sounds like your music is not stored locally on the device and accessing your purchases in the cloud. There is a new feature in iOS 7 that shows all purchased music and requires and Internet connect to play this content. You can download any missing media via the steps in the first article below. If the media is located in your iTunes music library, you can sync the media from your Mac to your iPhone. If unfamiliar with the process, I have included the steps in the second article below.
Downloading past purchases from the iTunes Store, App Store, and iBooks Store
http://support.apple.com/kb/ht2519
iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
http://support.apple.com/kb/ph12113
Cheers,
Jason H. -
Why is QT not playing my movies which have been exported from FCPX?
Nov 11, 2012 1:07 AM Hello there. I have posted this post in Mac intel forums but have been redirected to post this post in FCPX forums and hence I am posting this thread here. Hope I will be given the proper answer to my problem/s which seem to be growing day after day.
I hope this is the right forum to place this post.
I have been facing this problem for the past 2 days only and I remember it all started after I had exported my latest project in FCPX. The exported file would not open up in quicktime player, and I started getting this notice even with other movies which were exported earlier and were being played by QT with no problem.
The screenshot given above came with with a movie I had exported about 2 months ago. At that time QT had no problem in playing it. But now, Why is it not able to play the same?
FYI, the latest project I had exported was started in fcpx 10-0-5 version and I had upgraded to the latest 10-0-6 version while the project was yet unfinished.
Apart from this problem, a number of other problems also have simulataneously raised their heads: FCPX is not opening up: stating that there is a corrupt data base which has to either restored or moved. And, when I try to move or delete the corrupt files via finder, I am not being allowed to delete them...error code -50 being the 'culprit'.
I am growing faint with all these malfunctioning and am in a perplexity of what to do next!
Any helps or guidance will be deeply appreciated.
Thanks. Take care.
iMac, Mac OS X (10.7.5), garage band, FCPX:10.0.6 versionHello, hello, hello to one and all! Both the goose and Karsten's horse have been resurrected. HO HO HO am I on the top of the world. I feel that in asingle moment I have been transferred from the depths of the Dead sea to the top of Mount Everest!
What seemed to have worked is this:
I selected one QT movie which was not being opened and subjected it to PMan which did a rebuild and created an new repaired movie. I played it on QT and to my pleasant surprise it opened and I could watch the movie. There was one movie which was not being played in QT. I attempted to repair the same with Pman, but received a notice that it could'nt. It was not an important one and so I deleted the same. I tried playing other movies and found out that QT was playing the other exported movies which it was not opening earlier. Next, before opening FCPX I first opened the final cut events and deleted, or rather, was able to delete one particular event which I had been suspecting to be the cause of all these malfunctions: it was a still image captured on my daughter's Galaxy and she had sent the same to me via email a few days ago. I had imported the pic. into an event. When FCPX began its refusal to start misbehavior, it blamed this pic as one of the corrupt files which had to be restored or moved. Deleting this pic resulted in the resurrection of my works and I am taking no more chances in this matter. Right now I am in the process of duplicating completed projects on my scratch drive and archiving them in a different drive. I am duplicating them only with the used clips. Guess if any further clips are needed while rediting the work later, I could always import fresh clips into the event.
Thanks to all of you who have been helping me out in this thread. Any guidance as to how to avoit getting into this unpleasant situation will be received with attentive ears. -
Videos and Music will not play using Safari or Chrome
I have tried every trouble shooting option I can find on the internet. Nothing is working. Adobe is fully updated. Safari is fully updated. Chrome is fully updated. Videos will not play on websties such as CNN, CBC. Music will not play on websites such as Sound Cloud.
YouTube and Netflix work fine.MacAFP wrote:
Mac OS X / Chrome and Safari
You're dealing with two different plug-ins.
Flash Player (Mac HD/Library/Internet Plug-ins/Flash Player.plugin)
and "PepperFlash" (Applications/Google Chrome.app/Contents/Versions/34.0.1847.116/Google Chrome Framework.framework/Internet Plug-Ins/PepperFlash/PepperFlashPlayer.plugin)
And NetFlix uses the Microsoft SilverLight plug-in.
From SoundCloud support:
Why can't I hear tracks using Safari?
If you can't hear tracks on SoundCloud using Safari, please go to Safari ---> Preferences ---> Advanced ---> and un-check "Stop plugins to save power." Like this:
If YouTube works, it may be doing so in HTML5 mode which requires no plug-in. Do you use Apple's Firewall or (please say you don't) anti-virus? -
Why video does not play when embedded in a PDF when viewed in Windows 8?
I have a situation where video must be embedded within the PDF document and it was working for us using older versions of IE and on 32 bit machines and using acrobat X. When the same file was tested on Windows 8 it looks good and behaves well except the embedded video does not play. The same video (.mp4) will play on the new OS if it is not embedded in the PDF.
Is this because the PDF is looking for a 32 bit flash player? Am I doing something wrong and/or is there a fix for this situation?Are you watching the pdf file from Adobe Reader?
Windows 8 by default has a diferent reader for pdf files that does not support rich media elements. -
Why does Quicktime not play this mp4 correctly
I can create an mp4 file (recording) from Belkin's @TV app but that file will not play correctly in Quicktime (or RealPlayer or iMovie, etc.). While the video playback seems fine, the audio plays a couple of seconds, at "chipmonk" speed, and then there is no sound out. However, if I move the playhead to any random place in the recording I can then hear another couple of seconds of audio, as before ("chipmonk" speed), and then silence. The VLC player will, however, play the file correctly.
So, seeing that the file itself was not bad, I decided to try Handbrake to re-encode the recording. And, to my surprise, Handbrake was able to handle the file correctly and produce an mp4 file that Quicktime (and the others) can play.
I don't know enough about these mp4 files to grasp what is wrong with the original Belkin output. The Quicktime inspector reports that the Format is
H.264, 352 x 240
AAC, 32000 Hz, Stereo (L R)
FPS: 25.37
Any ideas? (Is there additional data I can look at about this file?)
I'm running the current version of Mavericks and Quicktime 10.3.Jon Walker wrote:
Use a dedicated utility like MediaInfo to screen more information about the file and how each track is encoded.
Another user in the Belkin forum suggested that I look at the recording's header info, and pointed me to AtomicParsley, which I have now run (using some basic terminal commands).
This is what it reports for the initial, Belkin-app produced file:
Atom ftyp @ 0 of size: 24, ends @ 24
Atom mdat @ 24 of size: 195643428, ends @ 195643452
Atom moov @ 195643452 of size: 772515, ends @ 196415967
Atom mvhd @ 195643460 of size: 108, ends @ 195643568
Atom iods @ 195643568 of size: 33, ends @ 195643601
Atom trak @ 195643601 of size: 674653, ends @ 196318254
Atom tkhd @ 195643609 of size: 92, ends @ 195643701
Atom mdia @ 195643701 of size: 674553, ends @ 196318254
Atom mdhd @ 195643709 of size: 32, ends @ 195643741
Atom hdlr @ 195643741 of size: 33, ends @ 195643774
Atom minf @ 195643774 of size: 674480, ends @ 196318254
Atom vmhd @ 195643782 of size: 20, ends @ 195643802
Atom dinf @ 195643802 of size: 36, ends @ 195643838
Atom dref @ 195643810 of size: 28, ends @ 195643838
Atom stbl @ 195643838 of size: 674416, ends @ 196318254
Atom stsd @ 195643846 of size: 140, ends @ 195643986
Atom avc1 @ 195643862 of size: 124, ends @ 195643986
Atom avcC @ 195643948 of size: 38, ends @ 195643986
Atom stts @ 195643986 of size: 403840, ends @ 196047826
Atom stss @ 196047826 of size: 8476, ends @ 196056302
Atom stsc @ 196056302 of size: 28, ends @ 196056330
Atom stsz @ 196056330 of size: 253724, ends @ 196310054
Atom stco @ 196310054 of size: 8200, ends @ 196318254
Atom trak @ 196318254 of size: 97713, ends @ 196415967
Atom tkhd @ 196318262 of size: 92, ends @ 196318354
Atom edts @ 196318354 of size: 48, ends @ 196318402
Atom elst @ 196318362 of size: 40, ends @ 196318402
Atom mdia @ 196318402 of size: 97565, ends @ 196415967
Atom mdhd @ 196318410 of size: 32, ends @ 196318442
Atom hdlr @ 196318442 of size: 33, ends @ 196318475
Atom minf @ 196318475 of size: 97492, ends @ 196415967
Atom smhd @ 196318483 of size: 16, ends @ 196318499
Atom dinf @ 196318499 of size: 36, ends @ 196318535
Atom dref @ 196318507 of size: 28, ends @ 196318535
Atom stbl @ 196318535 of size: 97432, ends @ 196415967
Atom stsd @ 196318543 of size: 92, ends @ 196318635
Atom mp4a @ 196318559 of size: 76, ends @ 196318635
Atom esds @ 196318595 of size: 40, ends @ 196318635
Atom stts @ 196318635 of size: 1088, ends @ 196319723
Atom stss @ 196319723 of size: 16, ends @ 196319739
Atom stsc @ 196319739 of size: 532, ends @ 196320271
Atom stsz @ 196320271 of size: 88328, ends @ 196408599
Atom stco @ 196408599 of size: 7368, ends @ 196415967
Total size: 196415967 bytes; 42 atoms total. AtomicParsley version: 0.9.0 (utf8)
Media data: 195643428 bytes; 772539 bytes all other atoms (0.393% atom overhead).
Total free atom space: 0 bytes; 0.000% waste.
Movie duration: 2116.513 seconds (35:16.51) - 739.49* kbp/sec bitrate (*=approximate)
Low-level details. Total tracks: 2
Trk Type Handler Kind Lang Bytes
1 vide [none listed] avc1 eng 178711864
675.58* kbp/s 2116.243 sec AVC Main Profile, Level 3.1 352x240 (330 macroblocks)
2 soun [none listed] mp4a eng 16931556
64.00* kbp/s 2116.513 sec MPEG-4 AAC Low Complexity Profile channels: [2]
Jon Walker wrote:
In most cases, users want answers but are unable or unwilling to provide the encoding information to explain most problems, it is usually simpler to ask users to post a sample file for examination on my own computer.
I have the equivalent for the recording's Handbrake output. I did a file compare but there were enough differences (and I'm not a technical person) so I could not spot which of the differences mattered. For example, I thought that the fact that there is "none listed" for the sound handler looked like an obvious clue until I saw that same thing in the Handbrake output.
Here is the Handbrake data:
Atom ftyp @ 0 of size: 28, ends @ 28
Atom free @ 28 of size: 132, ends @ 160
Atom mdat @ 160 of size: 100944363, ends @ 100944523
Atom moov @ 100944523 of size: 1606698, ends @ 102551221
Atom mvhd @ 100944531 of size: 108, ends @ 100944639
Atom iods @ 100944639 of size: 24, ends @ 100944663
Atom trak @ 100944663 of size: 1288497, ends @ 102233160
Atom tkhd @ 100944671 of size: 92, ends @ 100944763
Atom mdia @ 100944763 of size: 1288361, ends @ 102233124
Atom mdhd @ 100944771 of size: 32, ends @ 100944803
Atom hdlr @ 100944803 of size: 33, ends @ 100944836
Atom minf @ 100944836 of size: 1288288, ends @ 102233124
Atom vmhd @ 100944844 of size: 20, ends @ 100944864
Atom dinf @ 100944864 of size: 36, ends @ 100944900
Atom dref @ 100944872 of size: 28, ends @ 100944900
Atom stbl @ 100944900 of size: 1288224, ends @ 102233124
Atom stsd @ 100944908 of size: 186, ends @ 100945094
Atom avc1 @ 100944924 of size: 170, ends @ 100945094
Atom avcC @ 100945010 of size: 50, ends @ 100945060
Atom colr @ 100945060 of size: 18, ends @ 10094507 ~
Atom stts @ 100945094 of size: 403832, ends @ 101348926
Atom stsz @ 101348926 of size: 253724, ends @ 101602650
Atom stsc @ 101602650 of size: 24436, ends @ 101627086
Atom stco @ 101627086 of size: 56712, ends @ 101683798
Atom ctts @ 101683798 of size: 484536, ends @ 102168334
Atom stss @ 102168334 of size: 1352, ends @ 102169686
Atom sdtp @ 102169686 of size: 63438, ends @ 102233124
Atom edts @ 102233124 of size: 36, ends @ 102233160
Atom elst @ 102233132 of size: 28, ends @ 102233160
Atom trak @ 102233160 of size: 317950, ends @ 102551110
Atom tkhd @ 102233168 of size: 92, ends @ 102233260
Atom mdia @ 102233260 of size: 317828, ends @ 102551088
Atom mdhd @ 102233268 of size: 32, ends @ 102233300
Atom hdlr @ 102233300 of size: 33, ends @ 102233333
Atom minf @ 102233333 of size: 317755, ends @ 102551088
Atom smhd @ 102233341 of size: 16, ends @ 102233357
Atom dinf @ 102233357 of size: 36, ends @ 102233393
Atom dref @ 102233365 of size: 28, ends @ 102233393
Atom stbl @ 102233393 of size: 317695, ends @ 102551088
Atom stsd @ 102233401 of size: 103, ends @ 102233504
Atom mp4a @ 102233417 of size: 87, ends @ 102233504
Atom esds @ 102233453 of size: 51, ends @ 102233504
Atom stts @ 102233504 of size: 24, ends @ 102233528
Atom stsz @ 102233528 of size: 264600, ends @ 102498128
Atom stsc @ 102498128 of size: 28, ends @ 102498156
Atom stco @ 102498156 of size: 52932, ends @ 102551088
Atom udta @ 102551088 of size: 22, ends @ 102551110
Atom name @ 102551096 of size: 14, ends @ 102551110
Atom udta @ 102551110 of size: 111, ends @ 102551221
Atom meta @ 102551118 of size: 103, ends @ 102551221
Atom hdlr @ 102551130 of size: 33, ends @ 102551163
Atom ilst @ 102551163 of size: 58, ends @ 102551221
Atom ©too @ 102551171 of size: 50, ends @ 102551221
Atom data @ 102551179 of size: 42, ends @ 102551221
Atom free @ 102551221 of size: 132, ends @ 102551353
~ denotes an unknown atom
Total size: 102551353 bytes; 54 atoms total. AtomicParsley version: 0.9.0 (utf8)
Media data: 100944363 bytes; 1606990 bytes all other atoms (1.567% atom overhead).
Total free atom space: 264 bytes; 0.000% waste.
Movie duration: 2116.640 seconds (35:16.64) - 381.53* kbp/sec bitrate (*=approximate)
Low-level details. Total tracks: 2
Trk Type Handler Kind Lang Bytes
1 vide [none listed] avc1 und 65533744
247.74* kbp/s 2116.243 sec AVC Main Profile, Level 4 352x240 (330 macroblocks)
2 soun [none listed] mp4a eng 35410611
133.84 kbp/s 2116.640 sec MPEG-4 AAC Low Complexity Profile channels: [2] -
My flash template will not play using flash player 7 onwards only 6???
I have a flash template which plays fine when run using flash
player 6.
However when i select flash player 7 or 8 and then run the
template, none
of the menu links on the flash template work???
When i revert back to flash player 6 the menu links work
fine!!!
How do i get the flash template to play using flash player 7
or 8???
Do i have to convert the template to flash player 7 or 8?? If
so, how is this done please?
Can someone help please?
Thank you.tmontana wrote:
> I have a flash template which plays fine when run using
flash player 6.
> However when i select flash player 7 or 8 and then run
the template, none
> of the menu links on the flash template work???
> When i revert back to flash player 6 the menu links work
fine!!!
>
> How do i get the flash template to play using flash
player 7 or 8???
>
> Do i have to convert the template to flash player 7 or
8?? If so, how is this
> done please?
action script in flash 7 and 8 was changes slightly and not
all things
are compatible from flash 6 files.
Go to file - publish setting and under FLASH tab select
version 6 and action script 1.0
This could help. Else you have no choice but redo the
template so it is new player
compatible.
Regards
Urami
Happy New Year guys - all the best there is in the 2006 :)
<urami>
http://www.Flashfugitive.com
</urami>
<web junk free>
http://www.firefox.com
</web junk free> -
Why is index not being used?
I need some help in trying to work out why an index isn't being used. I hope someone here can help.
Table definition for ACT_TOTALS includes
STARTTIME TIMESTAMP(6)
There is an index on to_char(starttime, 'YYYY-MM-DD HH24')
There is a vew definition ACT_TOTALS_HOURLY2 which includes
select to_char(starttime, 'YYYY-MM-DD HH24') STARTTIMSE
from ACT_TOTALS
group by to_char(starttime, 'YYYY-MM'DD HH24'), TRANSTYPE
I have run a query
select starttime from ACT_TOTALS_HOURLY2
where starttime <= to_char(sysdate, 'YYYY-MM-DD HH24');
The table access comes out as full despite there being > 2 million rows in the table.
The predicate looks like
TO_CHAR(INTERNAL_FUNCTION(''STARTTIME''), 'YYYY-MM-DD HH24')<= ..........
I thinkg the INTERNAL_FUNCTION is an implicit cast from DATE to TIMESTAMP.
Can anyone please throw any light on why the index on the table wouldn't be used in this case?
Thanks in advance for any help.Can you supply a test case for that?
This is what I have done to engeneer your case
drop table t1;
create table t1 (n1 number, d1 date, STARTTIME TIMESTAMP(6));
insert into t1(n1,d1, starttime) select rownum, trunc(sysdate) + rownum, sysdate
from dual connect by level <= 2e6;
create or replace view t1_v as select n1, d1, to_char(starttime, 'YYYY-MM-DD HH24') starttimse
from t1;
SQL> explain plan for
2 select starttimse from t1_v
3 where starttimse <= to_char(sysdate, 'YYYY-MM-DD HH24');
Explained.
SQL> select * from table(dbms_xplan.display);
Plan hash value: 838529891
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 109K| 1394K| 2004 (14)| 00:00:12 |
|* 1 | TABLE ACCESS FULL| T1 | 109K| 1394K| 2004 (14)| 00:00:12 |
Predicate Information (identified by operation id):
1 - filter(TO_CHAR(INTERNAL_FUNCTION("STARTTIME"),'YYYY-MM-DD
HH24')<=TO_CHAR(SYSDATE@!,'YYYY-MM-DD HH24'))
Note
- dynamic sampling used for this statement
SQL> create index t1_ind on t1 (to_char(starttime, 'YYYY-MM-DD HH24'));
Index created.
SQL> explain plan for
2 select starttimse from t1_v
3 where starttimse <= to_char(sysdate, 'YYYY-MM-DD HH24');
Explained.
SQL> select * from table(dbms_xplan.display);
Plan hash value: 3884685049
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 109K| 1394K| 68 (2)| 00:00:01 |
|* 1 | INDEX RANGE SCAN| T1_IND | 109K| 1394K| 68 (2)| 00:00:01 |
Predicate Information (identified by operation id):
1 - access(TO_CHAR(INTERNAL_FUNCTION("STARTTIME"),'YYYY-MM-DD
HH24')<=TO_CHAR(SYSDATE@!,'YYYY-MM-DD HH24'))
Note
- dynamic sampling used for this statement
The above selects are done against the view t1_v.
While the following one is done against the table t1
SQL> set autotrace traceonly explain
SQL> select starttime from t1
2 where starttime <= to_char(sysdate, 'YYYY-MM-DD HH24');
Execution Plan
Plan hash value: 838529891
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 29875 | 379K| 1790 (4)| 00:00:11 |
|* 1 | TABLE ACCESS FULL| T1 | 29875 | 379K| 1790 (4)| 00:00:11 |
Predicate Information (identified by operation id):
1 - filter("STARTTIME"<=TO_TIMESTAMP(TO_CHAR(SYSDATE@!,'YYYY-MM-DD
HH24')))
If you can post a clear test case of your issue may be one of us can help you
Best regards
Mohamed Houri
www.hourim.wordpress.com
Maybe you are looking for
-
The hard drive is on the promise controller and for some reason it has a large amount of space used for the MFT when even my system drive and my other storage drive, both located on the INTEL SATA ports do not have this space set aside.
-
I have a bunch of files in a directory. How to read just the filename from the directory.
-
How can I edit my EXIF Date info without changing Time info?
I recently went on a shoot with three cameras, one of which was set at the wrong date (sometime in 2012). I now want to correct all the date stamps on the photos taken by the camera with the bad date settings but am finding this next to impossible to
-
Hello Experts, Currently we are having problems with printer settings. When we are using the LOCL printer, the Ukranian characters get displayed (PDF, SMARTFORM printing and print preview - only minor overlapping of characters in PDF). However when w
-
I recently had a virus on my computer and had to reinstall the operating system. I did not have my library backed up (stupid). Is there a way to transfer my music from ipods to itunes library?