Date between sysdate-50 and sysdate  problem

hi,
i have a big big problem and i need some help
I have oracle 8i and 10g databases installed at work. i have a problem with an select statement that brings data from 3 tables.
The select looks like this:
select mms_id, img_id, mms_usr_id as usr_id, mms_pvd_id, mms_data as data
from vsc_mms vm, vsc_image vi, vsc_user vu
     where img_mms_id = mms_id
     and mms_usr_id = usr_id and usr_client_id = cli
     and img_mms_id <> 0
          and mms_status =0
          and mms_data between data_ini and data_end .......is not very important; the joins are made all right. What is important is that:
vsc_mms has aprox. 3.000.000 recordings
vsc_image has, also, aprox. 3.000.000 recordings.
select count(distinct img_date) from vsc_image =657.021
select count(distinct mms_data) from vsc_mms >=600.000
On both tables there are, among other, index on mms_data, img_date.
Now, my data_ini and data_end come from java (user send data_ini and data_end through http:// ) OR i can put this select in a procedure like:
declare
datai date:=to_date('20.01.2006','dd.mm.yyyy');
datae date:=to_date('30.01.2006','dd.mm.yyyy');
......my select ..... and mms_data between data_ini and data_end
the select takes on 8i more than 30 seconds. the same select takes on 10G quite same long time. i also run the select using
and mms_data between sysdate-50 and sysdate and i got the same long time.
Also important: this select brings almost 30 recordings; when the restrictions are too severe and the count(*) =0 the result is brought in 0.01 seconds; outherwise, when count(*) >1, is ruinous.
But, if i put and mms_data between to_date('20.01.2006','dd.mm.yyyy') and to_date('30.01.2006','dd.mm.yyyy'), the response come in 1 seconds or less.
1. Can someone help me and tell me why i got this long time for response when i use sysdate or when receiving data_ini, data_end like parameters from java
2. is it true that for a better usage of a index, the procent of repeatedly recordings has to be small? I mean when i have 600.000 distinct recordings from 3.000.000 is it good or not to use index on that column?
thanks in advance

There can be some difference in how Oracle builds execution plan when
you are using binding variables and explicit values:
SQL> create index idxtbl1 on tbl1(date#);
Index created.
SQL> insert into tbl1 select sysdate-rownum from (select 1 from dual connect by lev
200000 rows created.
SQL> create index idxtbl1 on tbl1(date#);
Index created.
SQL> analyze table tbl1 compute statistics for all indexes;
Table analyzed.
SQL>set autotrace traceonly
SQL> var a1 varchar2(20)
SQL> var a2 varchar2(20)
SQL> select * from tbl1 where date# between to_date('01/01/1900','dd/mm/yyyy')
  2  and to_date('01/01/1901','dd/mm/yyyy');
365 rows selected.
Execution Plan
   0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=3 Card=365 Bytes=3
          285)
   1    0   INDEX (RANGE SCAN) OF 'IDXTBL1' (INDEX) (Cost=3 Card=365 B
          ytes=3285)
Statistics
          0  recursive calls
          0  db block gets
         28  consistent gets
          0  physical reads
          0  redo size
       6809  bytes sent via SQL*Net to client
        772  bytes received via SQL*Net from client
         26  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
        365  rows processed
SQL> exec :a1 := '01/01/1900'
PL/SQL procedure successfully completed.
SQL> exec :a2 := '01/01/1901'
PL/SQL procedure successfully completed.
SQL> select * from tbl1 where date# between to_date(:a1,'dd/mm/yyyy')
  2  and to_date(:a2,'dd/mm/yyyy');
365 rows selected.
Execution Plan
   0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=4 Card=495 Bytes=4
          455)
   1    0   FILTER
   2    1     INDEX (RANGE SCAN) OF 'IDXTBL1' (INDEX) (Cost=4 Card=495
           Bytes=4455)
Statistics
          0  recursive calls
          0  db block gets
         28  consistent gets
          0  physical reads
          0  redo size
       6809  bytes sent via SQL*Net to client
        772  bytes received via SQL*Net from client
         26  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
        365  rows processedRgds.

Similar Messages

  • How can I share data between WinXP Pro and Mac OS 10.8.3 via wifi

    How can I share data between WinXP Pro and Mac OS 10.8.3 via home wifi. 

    MartyP wrote:
    Or is there a problem with both OS's writing stuff to the
    ~/Home/Library folder that may be incompatible?
    Yes, big time.  Mail, for sure, has a different file/folder structure, and would not be happy.
    Plus, a number of apps (Apple and 3rd-party) are "Sandboxed."  That's a security feature, to prevent malware or bad coding from affecting things it shouldn't.  Some of their files, including the preferences files, aren't even stored in the same places!
    Or to other places I'm not aware of?
    Probably.  If you have two versions of the same app, they may or may not expect the same data setup.
    To have one User folder for both OS's would save a lot of drive space
    Not if you use some or all of woodmeister50's suggestions. 
    But I'm also not sure how I'd use Time machine with such a set up.
    Just as you do now.  By default, Time Machine backs-up everything (except things like system work files, most caches and logs, trash) for all users and all internal drives & partitions.  By default, it excludes external drives.
    You can change those defaults, of course, via TM Preferences > Options.
    See Time Machine - Frequently Asked Question #32 for details and considerations of multiple drives.
    Presently I backup with . . . clones to other HD's
    Good.   Yes, clones are different.  You need multiple "tasks" to back up multiple drives/partitions.  But once set up, that shouldn't be a big deal.

  • Trying to get sysdate- 2yrs and sysdate+2yrs value into variable

    Hi,
    iam Trying to get sysdate- 2yrs and sysdate+2yrs value into variable.But facing the following issue. Please help me out .
    Error :
    p_start_date := select add_months(max(sysdate), -24) from dual;
    ERROR at line 6:
    ORA-06550: line 6, column 25:
    PLS-00103: Encountered the symbol "SELECT" when expecting one of the following:
    ( - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    continue avg count current exists max min prior sql stddev
    sum variance execute forall merge time timestamp interval
    date <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe
    <an alternatively-quoted string literal with character set specification>
    <an alternat
    ORA-06550: line 7, column 3:
    PLS-00103: Encountered the symbol "P_END_DATE"
    Code
    declare
    p_start_date date;
    p_end_date date;
    begin
    select add_months(max(sysdate),-24) into p_start_date from dual;
    dbms_output.put_line('p_start_date' |p_start_date);
    dbms_output.put_line('p_end_date' | p_end_date);
    end;

    Hi, try:
    SQL> declare
      2 
      3  p_start_date date;
      4  p_end_date date;
      5 
      6  begin
      7 
      8  select add_months(sysdate,-24) into p_start_date from dual;
      9  select add_months(sysdate, 24) into p_end_date from dual;
    10 
    11  dbms_output.put_line('p_start_date: ' ||to_char(p_start_date, 'dd-mm-yyyy hh24:mi:ss'));
    12  dbms_output.put_line('p_end_date: '   ||to_char(p_end_date, 'dd-mm-yyyy hh24:mi:ss'));
    13  end;
    14  /
    p_start_date: 14-04-2007 17:41:34
    p_end_date: 14-04-2011 17:41:34
    PL/SQL procedure successfully completed.

  • Kernel Panic while transfering data between MAC HD and network drives

     Kernel Panic while transfering data between MAC HD and network drives. it's an iMAC 24" 2011. Snow Leopard 10.6.8. I can't seem to find the cause to this.Thank you guys !
    Here is the log fine  with error code:
    Error code: 0x0000000000000000
    Interval Since Last Panic Report:  5 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    3C5AA43F-D876-4F9D-A831-D8043218C6E0
    Tue Aug 16 14:54:46 2011
    panic(cpu 0 caller 0xffffff80002d1208): Kernel trap at 0xffffff7f815c6b54, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x0000000000000005, CR3: 0x0000000000100000, CR4: 0x0000000000040660
    RAX: 0x0000000000000000, RBX: 0xffffff8000000000, RCX: 0x0000000001000000, RDX: 0xffffff8013ae9200
    RSP: 0xffffff80de173ea0, RBP: 0xffffff80de173ed0, RSI: 0x0000000000000000, RDI: 0xffffff8013ae9200
    R8:  0x0000000000000001, R9:  0x0000000000000000, R10: 0x0000000000000000, R11: 0x0000000000000000
    R12: 0x0000000000000000, R13: 0xffffff8016207008, R14: 0xffffff8015a228f8, R15: 0x0000000000000000
    RFL: 0x0000000000010246, RIP: 0xffffff7f815c6b54, CS:  0x0000000000000008, SS:  0x0000000000000010
    Error code: 0x0000000000000000
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80de173b40 : 0xffffff8000204d15
    0xffffff80de173c40 : 0xffffff80002d1208
    0xffffff80de173d90 : 0xffffff80002e3f4a
    0xffffff80de173da0 : 0xffffff7f815c6b54
    0xffffff80de173ed0 : 0xffffff80002524fe
    0xffffff80de173f00 : 0xffffff8000478c7f
    0xffffff80de173f40 : 0xffffff7f8159b158
    0xffffff80de173fa0 : 0xffffff80002c8527
          Kernel Extensions in backtrace (with dependencies):
             com.thursby.kext.cifs(5.1)@0xffffff7f815ae000->0xffffff7f815cffff
                dependency: com.thursby.kext.NetBIOS(5.1)@0xffffff7f8158b000
             com.thursby.kext.NetBIOS(5.1)@0xffffff7f8158b000->0xffffff7f815adfff
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    10K549
    Kernel version:
    Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64
    System model name: iMac12,1 (Mac-942B5BF58194151B)
    System uptime in nanoseconds: 105374280984
    unloaded kexts:
    (none)
    loaded kexts:
    com.vmware.kext.vmnet            3.1.3
    com.vmware.kext.vmioplug       3.1.3
    com.vmware.kext.vmci                3.1.3
    com.trendmicro.kext.KERedirect              1.0.0
    com.trendmicro.kext.filehook   1.5.0
    com.vmware.kext.vmx86            3.1.3
    com.thursby.kext.cifs    5.1
    com.thursby.kext.NetBIOS         5.1
    com.apple.filesystems.smbfs     1.6.7 - last loaded 60402747883
    com.apple.filesystems.autofs    2.1.0
    com.apple.driver.AppleTyMCEDriver      1.0.2d2
    com.apple.driver.AppleHWSensor           1.9.3d0
    com.apple.driver.AudioAUUC    1.57
    com.apple.driver.AppleUpstreamUserClient      3.5.7
    com.apple.driver.AppleMikeyHIDDriver                1.2.0
    com.apple.driver.AppleMCCSControl     1.0.20
    com.apple.driver.AppleIntelPenrynProfile           17
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleMikeyDriver       2.0.5f14
    com.apple.kext.ATIFramebuffer              6.3.6
    com.apple.driver.AppleBluetoothMultitouch     54.3
    com.apple.driver.AppleIntelHDGraphics               6.3.6
    com.apple.driver.AppleIntelNehalemProfile       11
    com.apple.driver.AudioIPCDriver             1.1.6
    com.apple.driver.AppleHDA       2.0.5f14
    com.apple.driver.AppleGraphicsControl               2.10.6
    com.apple.ATIRadeonX3000       6.3.6
    com.apple.iokit.AppleBCM5701Ethernet              3.0.5b8
    com.apple.driver.AppleIntelMeromProfile          19
    com.apple.driver.AirPort.Atheros9388   426.35.3
    com.apple.driver.ACPI_SMC_PlatformPlugin      4.7.0a1
    com.apple.driver.AppleLPC         1.5.1
    com.apple.driver.AppleBacklight              170.0.46
    com.apple.kext.AppleSMCLMU                1.5.2d10
    com.apple.driver.AppleIntelSNBGraphicsFB        6.3.6
    com.apple.driver.AppleUSBCardReader                2.6.1
    com.apple.driver.AppleIRController        303.8
    com.apple.iokit.SCSITaskUserClient        2.6.8
    com.apple.iokit.IOAHCIBlockStorage      1.6.4
    com.apple.driver.AppleUSBHub               4.2.4
    com.apple.driver.AppleFWOHCI               4.7.3
    com.apple.BootCache   31.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib                1.0.0d1
    com.apple.driver.AppleEFINVRAM          1.4.0
    com.apple.driver.AppleAHCIPort             2.1.7
    com.apple.driver.AppleUSBEHCI              4.2.4
    com.apple.driver.AppleUSBUHCI             4.2.0
    com.apple.driver.AppleACPIButtons      1.3.6
    com.apple.driver.AppleRTC        1.3.1
    com.apple.driver.AppleHPET      1.5
    com.apple.driver.AppleSMBIOS                1.7
    com.apple.driver.AppleACPIEC 1.3.6
    com.apple.driver.AppleAPIC      1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient         142.6.0
    com.apple.security.sandbox       1
    com.apple.security.quarantine  0
    com.apple.nke.applicationfirewall           2.1.12
    com.apple.driver.AppleIntelCPUPowerManagement     142.6.0
    com.apple.driver.AppleProfileReadCounterAction           17
    com.apple.driver.AppleProfileTimestampAction               10
    com.apple.driver.AppleProfileThreadInfoAction               14
    com.apple.driver.AppleProfileRegisterStateAction          10
    com.apple.driver.AppleProfileKEventAction       10
    com.apple.driver.AppleProfileCallstackAction    20
    com.apple.iokit.IOSurface           74.2
    com.apple.iokit.IOBluetoothSerialManager         2.4.5f3
    com.apple.iokit.IOSerialFamily   10.0.3
    com.apple.driver.AppleHDAHardwareConfigDriver          2.0.5f14
    com.apple.driver.IOBluetoothHIDDriver               2.4.5f3
    com.apple.driver.AppleMultitouchDriver             207.11
    com.apple.driver.DspFuncLib     2.0.5f14
    com.apple.iokit.IOAudioFamily  1.8.3fc2
    com.apple.kext.OSvKernDSPLib                1.3
    com.apple.driver.AppleSMBusController              1.0.10d0
    com.apple.iokit.IOFireWireIP     2.0.3
    com.apple.iokit.AppleProfileFamily         41
    com.apple.driver.AppleHDAController   2.0.5f14
    com.apple.iokit.IOHDAFamily     2.0.5f14
    com.apple.iokit.IO80211Family  320.1
    com.apple.iokit.IONetworkingFamily      1.10
    com.apple.driver.IOPlatformPluginFamily            4.7.0a1
    com.apple.driver.AppleSMBusPCI           1.0.10d0
    com.apple.driver.AppleBacklightExpert 1.0.1
    com.apple.iokit.IONDRVSupport              2.2
    com.apple.driver.AppleSMC       3.1.0d5
    com.apple.driver.AppleThunderboltEDMSink     1.1.1
    com.apple.driver.AppleThunderboltEDMSource               1.1.1
    com.apple.kext.ATI6000Controller           6.3.6
    com.apple.kext.ATISupport        6.3.6
    com.apple.iokit.IOGraphicsFamily            2.2
    com.apple.driver.AppleThunderboltDPOutAdapter         1.3.2
    com.apple.driver.AppleThunderboltDPInAdapter            1.3.2
    com.apple.driver.AppleThunderboltDPAdapterFamily   1.3.2
    com.apple.driver.AppleThunderboltPCIDownAdapter   1.1.6
    com.apple.driver.AppleUSBHIDKeyboard             141.5
    com.apple.driver.AppleHIDKeyboard     141.5
    com.apple.driver.BroadcomUSBBluetoothHCIController               2.4.5f3
    com.apple.driver.AppleUSBBluetoothHCIController        2.4.5f3
    com.apple.iokit.IOBluetoothFamily         2.4.5f3
    com.apple.iokit.IOUSBMassStorageClass              2.6.7
    com.apple.iokit.IOSCSIBlockCommandsDevice   2.6.8
    com.apple.iokit.IOUSBHIDDriver               4.2.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice      2.6.8
    com.apple.iokit.IOBDStorageFamily        1.6
    com.apple.iokit.IODVDStorageFamily     1.6
    com.apple.iokit.IOCDStorageFamily        1.6.1
    com.apple.driver.AppleUSBMergeNub 4.2.4
    com.apple.driver.AppleUSBComposite  3.9.0
    com.apple.driver.XsanFilter        402.1
    com.apple.iokit.IOAHCISerialATAPI         1.2.6
    com.apple.iokit.IOSCSIArchitectureModelFamily              2.6.8
    com.apple.driver.AppleThunderboltNHI               1.2.6
    com.apple.iokit.IOThunderboltFamily    1.4.9
    com.apple.iokit.IOFireWireFamily            4.2.6
    com.apple.iokit.IOUSBUserClient             4.2.4
    com.apple.driver.AppleFileSystemDriver              2.0
    com.apple.iokit.IOAHCIFamily    2.0.6
    com.apple.iokit.IOUSBFamily     4.2.4
    com.apple.driver.AppleEFIRuntime         1.4.0
    com.apple.iokit.IOHIDFamily      1.6.6
    com.apple.iokit.IOSMBusFamily                1.1
    com.apple.security.TMSafetyNet             6
    com.apple.kext.AppleMatch      1.0.0d1
    com.apple.driver.DiskImages     289
    com.apple.iokit.IOStorageFamily              1.6.3
    com.apple.driver.AppleACPIPlatform     1.3.6
    com.apple.iokit.IOPCIFamily       2.6.5
    com.apple.iokit.IOACPIFamily    1.3.0
    System Profile:
    Model: iMac12,1, BootROM IM121.0047.B0A, 4 processors, Intel Core i5, 2.7 GHz, 8 GB, SMC 1.71f22
    Graphics: AMD Radeon HD 6770M, AMD Radeon HD 6770M, PCIe, 512 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.35.3
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: Hitachi HDS722020ALA330, 1.82 TB
    Serial ATA Device: OPTIARC DVD RW AD-5690H
    USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: Officejet Pro 8000 A809, 0x03f0  (Hewlett Packard), 0x3612, 0xfd140000 / 5
    USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0xfd110000 / 4
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd120000 / 3
    USB Device: FaceTime HD Camera (Built-in), 0x05ac  (Apple Inc.), 0x850b, 0xfa200000 / 3
    USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: Keyboard Hub, 0x05ac  (Apple Inc.), 0x1006, 0xfa130000 / 5
    USB Device: Apple Keyboard, 0x05ac  (Apple Inc.), 0x0220, 0xfa132000 / 8
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8215, 0xfa111000 / 6

    There is something incompatible would be my guess. Did you disconnect all your peripherals in safe mode just to check?
    You might now create a new temporary user account. Log into the new account. Do the panics still occur?
    I would also visit The XLab FAQs and read the FAQ on diagnosing kernel panics. Sometimes they can be difficult to track down. Looking at each new panic log would help determine if it's cause is associated with the same extensions.

  • How do I share data between my MBP and iMac?

    I have two Genealogy programs on my iMac that I would like to share data between my MBP and the iMac.  I would like to gather the data on the MBP and then share new data to the iMac which is where I basically do all of the Genealogy work from, since it is much easier with the larger screen and better keyboard. 
    Can someone please explain or direct me to a tutorial or procedures if this is possible?  Thank You!

    Click Apple>System Preferences>Sharing
    Check File Sharing. In File Sharing add the folder you want to share with another computer. Then add users. Then proide access previledges such as Read & Write, Read Only, Write Only or No Access.
    Now in the System Preferences, Click iCloud, sign in to iCloud. It's free and you can access your Macs from anywhere.
    In iCloud, check Back to My Mac.
    Do the same to another computer. You're all set by now.

  • How the hell does a person share session data between JSP page and a Servle

    1. How the hell does one share session data between a servlet and a JSP page without using a bean but rather using a normal string variable.
    2. When using session scope to access a bean the application complains about not finding the bean on the specified scope, however when I use an application scope the save the same bean, the application does find it.
    Please help!!!!!!!
    SERVLET:
    HttpSession session = request.getSession(true);
    ServletContext servletContext = session.getServletContext();
    customerID = result.getString("CustomerID");
    userName = result.getString("UserName");
    session.setAttribute("UserName",userName);
    session.setAttribute("CustomerID",customerID);
    System.out.println("Customer UserName = " + session.getAttribute("UserName"));
    response.sendRedirect("/economics/subscriptions/default.jsp");
    JSP PAGE:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root xmlns:jsp=http://java.sun.com/JSP/Page mlns:c="http://java.sun.com/jsp/jstl/core" xmlns:sql="http://java.sun.com/jsp/jstl/sql" version="2.0">
    <jsp:directive.page isThreadSafe="true" session="true" contentType="text/xml"/><jsp:output omit-xml-declaration="false"/><jsp:scriptlet>response.addHeader("x-xslt-nocache", "true");</jsp:scriptlet><pml>
    <page type="web" search="y">
         <pageName>Commercial Banking</pageName>
         <jsp:directive.include file="/economics/header.inc"/>
         <jsp:directive.include file="/login.inc"/>
         <jsp:directive.include file="/economics/leftMenu.inc"/>
         <!--<jsp:useBean id="UserName" type="java.lang.String" scope="session" />-->
         <content>
         <searchSum>Commercial - Main Content</searchSum>
         Value = <c:out value="${request.session.getAttribute("UserName")}"/>
         </content>
         <jsp:directive.include file="/economics/rightNav.inc"/>
         <jsp:directive.include file="/footer.inc"/>
    </page></pml></jsp:root>

    For a start, just "session" instead of "request.session" would work better. But why did you post this here and not in the JSP forum? Doesn't seem to have anything to do with Java programming.

  • Replicating data between oracle9i(source) and 10g database

    sucessfully replicated data between source and target in 10g
    Now I have to replicate the data between oracle9i(source) and 10g database(Target) please help me to solve this issue

    sucessfully replicated data between source and target in 10g What sort of Replication you talking about ? Is it Object level , Schema level or DB Level ?
    Now I have to replicate the data between oracle9i(source) and 10g database (Target) please help me to solve this issue
    http://www.freelists.org/archives/oracle-l/08-2005/msg01260.html
    Hare Krishna
    Alok

  • Replicating data between oracle9i(source) and 10g database(Target)

    sucessfully replicated data between source and target in 10g
    Now I have to replicate the data between oracle9i(source) and 10g database(Target)
    please help me to solve this issue

    sucessfully replicated data between source and target in 10g What sort of Replication you talking about ? Is it Object level , Schema level or DB Level ?
    Now I have to replicate the data between oracle9i(source) and 10g database (Target) please help me to solve this issue
    http://www.freelists.org/archives/oracle-l/08-2005/msg01260.html
    Hare Krishna
    Alok

  • Hello, may I change data between iPad Air and other devices by cable connection (USB), (not using cloud) ?

    Hello, may I change data between iPad Air and other devices by cable connection (USB), (not using cloud) ?

    Do you mean you want to sync or transfer data using a cable? Between and iPad Air and what "other device"?

  • Synchronize Calendar Data Between MacBook Pro and MacPro WITHOUT iSync?

    I can't think of the best discussion under which to post this question.
    Sorry if it's OT.
    I want to synchronize iCal data between my MacPro and my MacBook Pro.
    I would prefer to be able to do this wirelessly [either via bluetooth or via both computers Airport Extreme cards] rather than subscribe to iSync and pay for disk space and services that I don't want.
    Is this possible?
    Is there a better forum on which to post this question?
    Thank you for your time and any advice you can give me.

    Actually, there is a better place to post it, here in the .Mac Sync forum:
    http://discussions.apple.com/forum.jspa?forumID=957
    That said, alternatives to .Mac Sync include MySync, and the yet-to-be-released SyncTogether:
    http://www.mildmanneredindustries.com/mysync
    http://www.markspace.com/synctogether.php

  • Is it possible to synchronize all my data between my macbook and my imac

    Is it possible to synchronize all my data between my macbook and my imac automatically ? By icould or any thing esle ?

    Depends what OS each has, but Migration Assistant is one way.

  • What's wrong with my code for comparing date retreived from db and sysdate?

    Hi all,
    I need to retrive date from the DB and compare it to system date.i have posted the code below.i get java.sql.SQL Exception:Io exception:Socket closed.
    What's wrong with the code?please help me.Thanks in advance.
    public boolean date() throws IOException, SQLException {
    Connection con1;
    long millis = System.currentTimeMillis();
    Timestamp timestamp = new java.sql.Timestamp(millis);
    ResultSet rs4 = null;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    con = DriverManager.getConnection(
    "jdbc:oracle:thin:@abc:1605:xyz",
    "cdf", "cdf");
    Statement stmt_exp = con.createStatement();
    rs4 = stmt_exp.executeQuery("SELECT DATE FROM TABLE_NAME")
    while (rs4.next()) {
    Timestamp timestamp2 = rs4.getTimestamp("expire_date");
    con1.close();
    catch (Exception e)
    e.printStackTrace();
    finally
    //ResultSet rs4 = null;
    //Timestamp timestamp2;
    Timestamp timestamp2 = rs4.getTimestamp("expire_date");
    if (timestamp2.compareTo(timestamp) < 0)  //sysdate < exp date
    return true;
    } else {
    return false;
    }

    Didn't you understand what BalusC said? You're closing the connection and then trying to use the ResultSet. The ResultSet will be closed when you close the connection so you can't use it anymore.
    You should close the connection last thing in your code, probably in a finally. And after you close your ResultSet and Statement.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

  • Monitor/capture tcp data between a server and client

    Hi
    I am doing a server/client TCP connection between my laptop and another computer running the server program. With my client program I am able to send commands to the server to which it reacts. However I do not know what the commands are (I just press a button in the client GUI and the command is sent), so my initial thought was that, maybe I was able to monitor/capture the strings/bytes/integers commands, which is send over the TCP/IP. There are only these two computers on the network, so no problem in other traffic there. FYI, they are connected with a wireless peer-to-peer connection.
    My problem comes from the manufature of the software making a crabby manual, so really the commands in the manual, which I was supposed to send with my own TCP vi, are just impossible to understand, and don't get me started with their support :-)
    SO, any suggestions if it is possible to capture what is sent over the TCP when I press a button in my client GUI?
    LabVIEW 8.6 / 2009 / 2010
    Vision Development Module 8.6 / 2009 / 2010
    VBAI 3.6 / 2010

    Matthew Williams wrote:
    Wireshark, http://www.wireshark.org , will capture data off the network and sort/display/categorize.
    I don't know how well it will work in a wireless environment, we usually use a wired hub (not switch).
    Matt
    Hi Matt
    I have just tried Wireshark, I get a lot of data, so I just have to use a bit of time figuring out what is what, but good program to monitor the LAN connection also wireless. I can monitor all the packages between the client and server. It looks like there is a bunch of data just from keeping the connection active, but again I have to dig a bit deeper before I can say anymore:-)
    MikeS81 wrote:
    Hi SCMAJA,
    another way is to build your own TCP/IP Server with LabView and receive with it the commands send with your client program.
    Mike
    Hi Mike
    Yeah I tried that right now using the TCP Communicator - Passive example, unfortunately the connection between the client and server is kept alive using some commands, so the only command I can get to read is the connect command, because the client then refuses the connection because there is no "right" answer/repsonse from the server :-(
    edit:
    I just got in touch with the support, and got some of the commands to work. I had to make some crazy command with a header first, then size and last my command, all converted from DEC to HEX.. Not easy to figure out :-)
    Message Edited by SCMAJA on 02-08-2008 04:29 PM
    LabVIEW 8.6 / 2009 / 2010
    Vision Development Module 8.6 / 2009 / 2010
    VBAI 3.6 / 2010

  • Diffrence in data between the datasource and planning book

    Hi All,
    I have loaded the historical data from an infocube into my planning area then i generated the forecast. In our planning book we have provided some keyfigs like market intelligence etc.,. i have written a macro to add the baseline forecast and market intelligence and saved into a seperate keyfigure, i have defined the macro as a default macro and the macro execution is at "details only". everything is working fine in my planning book.
    After extracting the data from my planning area into a datasource, the data is not matching between planning book and the datasource <b>only for the keyfigures which i have written macros.</b>
    Please let me know where i have gone wrong and what are other settings to be made to replicate the same data into my datasource.

    Hi,
    Please note that system never execute the macro while extracting data from planning area to infocube.If you want that data to be saved it is
    necessary to copy the values to a "non-calculated" liveCache keyfigure.
    Each time, you will reenter in the planning book, the new value
    calculated will be displayed, it won't be the real current value
    from the livecache, it is not inside until you saved.
    If you don't save this result, this  is only visible on the grid but not
    in the planning area and livecache.
    Everytime planning book is opened the values for keyfigures which is calculated from macro are re-calculated. If you save these values and
    immediately afterwards extract the data, those numbers will be the
    same. However, maintaining new values in the planning book without
    saving would result in "differences" ...
    A DEFAULT macro is also launched while starting the Planning book.
    Please read carefully the note #674238.
    Regards,
    Sunitha.

  • How to replicate data  between Oracle db and SQL server dbs in real time?

    Hello,
    Anyone has idea that what tool we can use to do data replication in real time between Oracle and SQL sever or Oracle and Sybase or Sql server and Sybase?
    This is topic is brought by a project manager?
    I only know Oracle to Oracle dbs by streams or GoldenGate.
    Thanks
    Jerry

    Since GoldenGate's bread and butter was (and is) replicating data between heterogeneous data sources, and since Oracle has purchased GoldenGate, that would seem like a natural place to start.
    Beyond that, it depends on the architecture you want and how you define "real time." Just about any ETL tool on the market, whether Oracle's ODI or OWB or any number of third party products (Informatica, DataStage, etc) can handle "trickle feeds" from various data sources to a database target of your choosing. Different tools will have different sorts of integration with the source database, many will require that a bunch of triggers are created to track changes on the source systems.
    If you want Oracle to control the replication process (which doesn't really make sense if we're talking about replication from a non-Oracle database to another non-Oracle database), you can use the Oracle Transparent Gateway products to create database links from Oracle to the non-Oracle databases and query data on the source database periodically.
    Justin

Maybe you are looking for

  • IPSec and split tunneling

    Hi, One of my users need to work sometimes in second (not our) office and have access to printer. The problem is that the in the remote and local office there is the same network (10.0.0.0/24). VPN's policy distinguish network 10.0.0.0/24  that shoul

  • I am trying to use apache commons fileupload and get this error

    I am using tomcat 5.5 as application server and JDK 1.6, does anybody have idea how to resolve this error ? description The server encountered an internal error () that prevented it from fulfilling this request. exception java.security.AccessControlE

  • 16:9 Exported to Quicktime Becomes 4:3

    How do you preserve 16:9 aspect ratio in exporting a FCP sequence to Quicktime? File>Export>Using Quicktime Conversion>and then I typically select Broadband-Medium or Streaming-Medium (I think that's 15fps). And eventhough I check Preserve Aspect Rat

  • Dreamweaver cs5.5 suddenly started crashing when it starts or right after it opens...

    OMG so frustrating, my dreamweaver cs5.5 has started suddenly started crashing either during the splash screen or right after I choose a web site to work on. YES I have red the forums and tried EVERYTHING, deleted my preferences, made a new account,

  • How do I restore my lost contacts using icloud?

    I tried turning off contacts but no msg pops up like I've read in other posts.