Modelling Time Slots in a Database

I need to create a database that has the following requirements:
1. Locations need to have customizable timeslots, to which actions can be assigned.
2. Timeslots are 30 minute intervals
3. Multiple actions can be assigned to single timeslots
I have thought of the following design, but I am unsure if this is the best way to do this. It seems this method would give a lot of redundancy.
In this scheme, everything in caps is a table, * means many, 1 means 1, --- stands for a relationship.
"ACTION" \*---* "TIME_SLOT" ---1 "DAY" ---1 "LOCATION"
Example: A location may have the following timeslots: 25-08-12 8:00-20:00, 26-08-12 10:00-20:00, 28-08-2012 10:00-12:00, 28-08-2012 12:30-20:00
Using my design, this example would:
- give 3 records in DAY for this location.
- give 24 records in TIME_SLOT for the first day
- give 20 records in TIME_SLOT for the second day
- give 19 records in TIME_SLOT for the third day

>
Paulie wrote
>
See my post - one of the ideas I proposed - as it happens our posts overlapped.
>
Not sure what post you are referring to. I don't see ANY post that mentions 48 'columns' in
a table. And the only posts of yours that mention '48' come after mineWe appear to be in different time zones - I meant that our posts overlapped temporally (and conceptually)
After my first post on the 12th, I then went on to propose a Slot table (with the possibility of putting all the slots
for a 24 hour period in the table) - when I posted and refreshed the thread, your post was there - we seemed
to have the same idea at the same time - great minds &c. ;)
1. May 10, 2012 5:44 pm - If timeslots are 30 minutes long then there should be 48 per day.I missed that - or maybe thought that it was just a logical statement, rather than a suggestion of
what should/could be done - there probably should be 48 unless the OP can absolutely
guarantee that there will never be any slots outside the 08:00 - 20:00 window.
In response to my '2. Use Y/N to indicate if the slot is being used.' you ask
>
What is/are the advantage(s)/disadvantage(s) over using a CHECK constraint as I said?
>
A CHECK constraint is a good suggestion. It is easily implemented and understand and self-checking; an exception will be raised if it is violated.All part of the service...
My comments are trying to suggest alternative funtionality: 1) 48 different columns in one row
with a flag to indicate if the column is being used,Do you mean something like ?
CREATE TABLE Slot
  Slot1  Number(2, 1)
  Slot1_Desc  VARCHAR2(50)
  Slot1_Used Boolean
  Slot2
  Slot2_Desc
  Slot48
  Slot48_Desc
);A simplistic interpretation of Normalisation is that tables should
be tall and skinny (a bit like women ;) ) and not short and fat.
I would be very reticent to go down this road - if I've understood you correctly.
2) one varchar2(48) column that is just all 48 flags concatenated
together and 3) a separate 48 record lookup table for the timeslots.Could you provide CREATE TABLE defintions? I'm not sure that I'm grasping what you're getting at.
For #3 you would use a foreign key constraint but for the other two whether you need a
constraint or not depends on the business rule you want to implement.Definitions please - it's easier to visualise the solution with those.
A boolean flag can be implemented in a variety of ways. One way is to assign one value for TRUE
and allow anything else to be considered FALSE (or vice versa). That implements the needed flag
without a constraint and without needing to handle an exception.Yep - got that bit.
In many cases it is a decision about where the organization wants to implement the business rules: in
the database (constraint or trigger) or somewhere in the application code.The longer I'm in this game, the closer I think that any and all logic should be to the database.
Check out Billy's contribution here: Re: Install Questions
and anything by Toons Kopellar.
You said
>
Here I disagree - I think that the timeslot concept is central - as indeed are all of the tables I suggested. The whole
I think that the timeslot concept is central - as indeed are all of the tables I suggested. The whole
point about prototyping is that IMHO every table is important because initially every table has a large effect on
every other table and also, in the event of an upgrade/redesign, the already existing tables are critical - unless
one decides to completely bin the old design - not often an option in the real world unfortunately.
>
Well that is what design discussions are all about - presenting alternative ways of looking at things.Yep - again.
My point is that, as can be seen clearly by the actual table examples you have provided (thank you
for that), is that it is really fairly straightforward to create sample tables and prototypes to experiment
with and see how well they seem to match the requirements. In my experience far too many projects
don't do enough of this.Amen to that.
Considerations for upgrades and redesigns should primarily be considered when the development
team is selecting the final architecture after considering ALL of the viable alternatives.Again, agreed, but post your table definitons. There are some solutions which can be eliminated staight away.
The stage for the current thread is architecture and design. So IMHO it is appropriate to consider
several alternative implementations and create a prototype for each.Agreed yet again.
It is rather trivial to create some INSERT scripts to insert data into the tables you suggested and to
perform some simple update queries and select queries to mimic actual use.That would be the idea - as I think I mentioned in one of my posts to this thread, the OP should be prepared
for plenty of "Doh" moments.
As you indicate the final selection of architecture and implementation will constrain the ability to maintain
the application and add enhancements. That makes it even more important not to cut short the prototype
and analysis phase where alternative designs are considered.Boss: "You start coding, I'll give you the requirements later". I've come pretty close (real life) Boss: "We need a
flight pay system", me: "Ah..." - very much a requirements evolving as coding did - an extreme example of
the iterative model in action.
<balancing TOP-DOWN/BOTTOM-UP approaches snipped - agreed>
Those projects used an iterative process that would result in the least restrictive model that met the requirements.
So I think we are in basic agreement.Indeed, as to the general thrust as to how, ideally, one should design an app, yes.
As OP stated
>
3. Multiple actions can be assigned to single timeslots
>
keeing multiple timeslot indicators in a single record is not applicable for that use case. I was just
trying to illustrate, as you were also, that you need to jot down potential solutions when you think
of them and even do prototype implementations to see how they work.See my "Ooops" post - put multiple Actions into a Project and assign that "Project" a timeslot.
Paul...

Similar Messages

  • System time is earlier than database time. (com.oracle.ovm.mgr.model.Model)

    I have recovered an OVM Manager to a different server using the "runInstaller --uuid", now I am getting the following error when I start the OVM Manager, which is version 3.0.3.
    ####<Apr 10, 2012 3:39:32 PM BST> <Info> <com.oracle.ovm.mgr.model.ModelEngine> <sbarber-vm5.uk.oracle.com> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JQSgIqh9XbFpN0g8ye1FX4N^000002> <1334068772748> <BEA-000000> <Starting Model Engine Error
    java.lang.IllegalStateException: System time is earlier than database time. Please set system time after 2013-04-08 16:49:16 +0000
    at com.oracle.ovm.mgr.model.ModelEngine.checkSystemTime(ModelEngine.java:255)
    at com.oracle.ovm.mgr.model.ModelEngine.createModel(ModelEngine.java:201)
    at com.oracle.ovm.mgr.model.ModelEngine.start(ModelEngine.java:127)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.oracle.ovm.mgr.control.api.EngineManagerImpl.invokeMethod(EngineManagerImpl.java:335)
    at com.oracle.ovm.mgr.control.api.EngineManagerImpl.invokeMethod(EngineManagerImpl.java:307)
    at com.oracle.ovm.mgr.control.api.EngineManagerImpl.startEngine(EngineManagerImpl.java:512)
    at com.oracle.ovm.mgr.control.api.EngineManagerImpl.startModelEngine(EngineManagerImpl.java:463)
    at com.oracle.ovm.mgr.control.api.EngineManagerImpl.startEngines(EngineManagerImpl.java:547)
    at com.oracle.ovm.mgr.control.api.EngineManagerImpl.start(EngineManagerImpl.java:453)
    at com.oracle.ovm.mgr.control.service.VirtualizationService.startEngines(VirtualizationService.java:426)
    at com.oracle.ovm.mgr.control.service.VirtualizationService.start(VirtualizationService.java:125)
    at oracle.ovm.web.OVMManagerCoreServlet.init(OVMManagerCoreServlet.java:209)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    OVM Manager date and time are;
    $date
    Tue Apr 10 15:53:45 BST 2012
    The database is remote and it's system date and time is;
    $ date
    Wed Apr 10 07:36:34 PDT 2013
    Verified by;
    SQL> select to_char(sysdate,'DD-MON-YYYY HH24:MI:SS') from dual;
    TO_CHAR(SYSDATE,'DD-
    10-APR-2013 07:37:58
    Any help gratefully recieved.

    I wish you luck at running a weblogic application attaching to a database that is 8 time zones away. BST is GMT +1 and PDT is GMT-7 I hope you have plenty of bandwidth. I'd say at least the latency of the connection would be an issue.
    Regardless, time zones are based on hours apart. Your time difference is off by more than just "whole hours"? Its also not 8 hours difference. Its almost 11 hours. Also, the date output of you host says 2012. Surely that is mistake?

  • How to configure the wifi access with specific time slot for kids?

    how to configure the wifi access with specific time slot for kids?

    Which model of AirPort base station do you have? Which version of OS X is your MacBook Pro running?
    Wi-Fi access can be limited using the Timed Access feature of the AirPort routers. You would do so using the AirPort Utility.

  • Feasability and approach? I want users to book "shared project calendar" open time slots with me to do a device upgrade.

    Brought in for a limited short time / term project.  I am seeking to minimize the amount of time spend making appointments with individual users who have been selected for a computer upgrade.  2 morning and two afternoon time slots are available
    each day. How can I create a public calendar that I email in a link to a groups of users to select the one on one meeting time slot most convient for them to meet with me for the upgrade?  Do I need to set myself up as a resource? Please advise or
    suggest an appraoch. Thank you.

    Hello,
    I'm afraid I'm not familiar with the specific intricacy of your situation (a hosted domain at Outlook.com), and so do not know if indeed that is causal to your issues. But perhaps a workaround will be useful? For example, if you indeed use your hosted domain for your email, but create a true Outlook.com account for the use of only Calendar and Contact synchronization, then that might work?
    You can find complete instructions here:
    http://supportforums.blackberry.com/t5/General-BlackBerry-10-Smartphone/How-To-OTA-Sync-BB10-and-non...
    For your email account, you simply use the domain they are hosting, and for Contacts/Calendar, the true Outlook.com account that you create for that purpose.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Split the  Time slot divisions

    Hi Experts,
    I am having a small problem. Time slot divisions.
    In my selection screen I have taken Date and time fields. If I entered one date (suppose 03/01/2006) and time slot as (12:04:56 to 05:08:34).
    I need the output as:
    Date:03/01/2006
    12:00:00-12:59:59
    01:00:00-01:59:59
    02:00:00-02:59:59
    03:00:00-03:59:59
    04:00:00-04:59:59
    05:00:00-05:59:59
    I need this output for every date. The date range is given at selection screen.
    Is there any function module for splitting of this. Or any other solution for this. I am waiting for your reply in earlier.
    Regards
    Prabhakararao

    Hi prabhakar,
    1. Exactly as u want !
    07.02.2006 09:00:00     
    07.02.2006 10:00:00     
    07.02.2006 11:00:00     
    07.02.2006 12:00:00     
    07.02.2006 13:00:00     
    08.02.2006 09:00:00     
    08.02.2006 10:00:00     
    08.02.2006 11:00:00     
    08.02.2006 12:00:00     
    08.02.2006 13:00:00     
    2. use this code (just copy paste in new program)
       It will give u ALL INTERVALS (as above)
    REPORT abc.
    DATA : mydt TYPE sy-datum,
           mytm TYPE sy-uzeit.
    Screen
    SELECT-OPTIONS : dt FOR sy-datum,
                     tm FOR sy-uzeit.
    Init
    dt-low = '20060207'.
    dt-high = '20060208'.
    tm-low = '090000'.
    tm-high = '130000'.
    mydt = dt-low.
    DO. "----
    Loop at Dates
      IF mydt > dt-high.
        EXIT.
      ENDIF.
      mytm = tm-low.
      DO. "----
    Loop at times
        IF mytm > tm-high.
          EXIT.
        ENDIF.
        WRITE :/ mydt , mytm.
        mytm  = mytm + 3600.
      ENDDO.
      mydt = mydt + 1.
    ENDDO. 
    regards,
    amit m.

  • Measure the average read time of a single database block for hardware.

    Hi,
    how to Measure the average read time of a single database block for hardware ?
    Many thanks.

    Hi,
    A STATSPACK report has data file level I/O tunings, but they include buffered reads, so they are biased.
    Try this in 9i:
    http://www.dba-oracle.com/oracle_tips_cost_adj.htm
    select
    a.average_wait c1,
    b.average_wait c2,
    a.total_waits /(a.total_waits + b.total_waits)*100 c3,
    b.total_waits /(a.total_waits + b.total_waits)*100 c4,
    (b.average_wait / a.average_wait)*100 c5
    from
    v$system_event a,
    v$system_event b
    where
    a.event = 'db file scattered read'
    and
    b.event = 'db file sequential read';
    Or this, in 10g:
    col c1 heading 'Average Waits for|Full Scan Read I/O' format 9999.999
    col c2 heading 'Average Waits for|Index Read I/O' format 9999.999
    col c3 heading 'Percent of| I/O Waits|for scattered|Full Scans' format 9.99
    col c4 heading 'Percent of| I/O Waits|for sequential|Index Scans' format 9.99
    col c5 heading 'Starting|Value|for|optimizer|index|cost|adj' format 999
    select
    sum(a.time_waited_micro)/sum(a.total_waits)/1000000 c1,
    sum(b.time_waited_micro)/sum(b.total_waits)/1000000 c2,
    sum(a.total_waits) /
    sum(a.total_waits + b.total_waits)
    ) * 100 c3,
    sum(b.total_waits) /
    sum(a.total_waits + b.total_waits)
    ) * 100 c4,
    sum(b.time_waited_micro) /
    sum(b.total_waits)) /
    (sum(a.time_waited_micro)/sum(a.total_waits)
    ) * 100 c5
    from
    dba_hist_system_event a,
    dba_hist_system_event b
    where
    a.snap_id = b.snap_id
    and
    a.event_name = 'db file scattered read'
    and
    b.event_name = 'db file sequential read';

  • Identifying overlapping time slots (clashes) in a oracle timetabling system

    Good Morning
    I have a timetableing table that has 3 fields, student number(number), start time(date), end time(date) where each row which represents an exam event for a student.
    I need to write a query that identifies records for students where there is a clash
    ie) two or more event are scheduled for an individual student where the subsequent events starts while the previous events are still occurring.
    Put another way I need to flag rows for individual students that have time slots that overlap.
    Is a neat way of doing this?
    Any idears
    Thanks
    David Hills

    I've added a unique identifier and a few more records
    also changed the end time of some of the records so
    they end in the middle of another records slot.
    create table timetableing
    as
    select 1 id,12333 student_number, to_date('01012007 120000','ddmmyyyy hh24miss') start_time, to_date('01012007 140000','ddmmyyyy hh24miss') end_time from dual union all
    select 2 id,12333, to_date('01012007 130000','ddmmyyyy hh24miss'), to_date('01012007 150000','ddmmyyyy hh24miss') from dual union all
    select 3 id,12333, to_date('01012007 160000','ddmmyyyy hh24miss'), to_date('01012007 170000','ddmmyyyy hh24miss') from dual union all
    select 4 id,12333, to_date('01012007 120000','ddmmyyyy hh24miss'), to_date('01012007 133000','ddmmyyyy hh24miss') from dual union all
    select 5 id,12345, to_date('01012007 140000','ddmmyyyy hh24miss'), to_date('01012007 150000','ddmmyyyy hh24miss') from dual union all
    select 6 id,12345, to_date('01012007 160000','ddmmyyyy hh24miss'), to_date('01012007 170000','ddmmyyyy hh24miss') from dual union all
    select 7 id,12345, to_date('01012007 130000','ddmmyyyy hh24miss'), to_date('01012007 142000','ddmmyyyy hh24miss') from dual union all
    select 8 id,12345, to_date('01012007 120000','ddmmyyyy hh24miss'), to_date('01012007 150000','ddmmyyyy hh24miss') from dual union all
    select 12 id,12333, to_date('01012007 130000','ddmmyyyy hh24miss'), to_date('01012007 150000','ddmmyyyy hh24miss') from dual union all
    select 13 id,12333, to_date('01012007 160000','ddmmyyyy hh24miss'), to_date('01012007 170000','ddmmyyyy hh24miss') from dual union all
    select 14 id,12333, to_date('01012007 120000','ddmmyyyy hh24miss'), to_date('01012007 133000','ddmmyyyy hh24miss') from dual union all
    select 15 id,12345, to_date('01012007 140000','ddmmyyyy hh24miss'), to_date('01012007 150000','ddmmyyyy hh24miss') from dual union all
    select 16 id,12345, to_date('01012007 160000','ddmmyyyy hh24miss'), to_date('01012007 170000','ddmmyyyy hh24miss') from dual union all
    select 17 id,12345, to_date('01012007 130000','ddmmyyyy hh24miss'), to_date('01012007 142000','ddmmyyyy hh24miss') from dual union all
    select 18 id,12345, to_date('01012007 120000','ddmmyyyy hh24miss'), to_date('01012007 150000','ddmmyyyy hh24miss') from dual
    The required output from the view would be some thing like
    student number _______________clashing records
    12333 ________________________2,4,12
    12333 ________________________3,13
    12333 _______________________4,14
    12345________________________5,7,17
    12345 ________________________8,18
    etc
    Thanks
    David

  • How to Integrate real time data between 2 database servers

    How to Integrate real time data between 2 database servers
    May 31, 2006 2:45 AM
    I have a scenario where the data base (DB2 400) is maintained by AS 400 application and my new website application based on j2ee platform access the same database also but the performance is very low. So we have thought of introducing new oracle data base which will be accessed by j2ee application and all the data from db 400 database will be replicate to oracle data base. In that scenario the only problem is of real time data exchange between 2 databases. How do we achieve that considering both the application As400 and j2ee website application are running in parallel and accessing the same information lying on DB2 400 database. We have to look at transaction management also.
    Thanks
    Panky
    DrClap
    Posts:25,835
    Registered: 4/30/99 Re: How to Integrate real time data between 2 database servers
    May 31, 2006 11:16 AM (reply 1 of 2)
    You certainly wouldn't use XML for this.
    The process you're looking for is called "replication". Ask your database experts about it.
    I predict that after you spend all the money to install Oracle and hire consultants to make it replicate the DB2/400 database, your performance problem will be worse.
    panks
    Posts:1
    Registered: 5/31/06 Re: How to Integrate real time data between 2 database servers
    May 31, 2006 11:55 PM (reply 2 of 2)
    Yeajh I now that its not a XML solution.
    Replication is one of the option but AS400 application which uses DB2/400 DB is highly loaded and proposed website also uses the same database for retrieval and updation purpose.All the inventory is maintained in the DB2/400 database so I have thought of introducing new oracle database which will be accessed by new website and it will have all the relevant tables structure along with data from DB2/400 application. Now whenever there is a order placement from new website then first it should update the oracle database and then this data shuold also migrate to db2/400 application at real time so that the main inventory which is lying on db2/400 should be updated on real time basis because order placement is aslo possible from As400 application. So the user from As400 application should not get the wrong data.
    Is it possible to use MQ products??
    -Panky

    Hi,
    the answer to your question is not easy. Synchronization or integration or replication data between 2 (or more) database servers is very complicated task, even though it doesn't look like.
    Firstly I would recommend to create good analysis regarding data flow.
    Important things are:
    1) what is primary side for data creation. In other words on which side - DB2 or Oracle - are primary data (they are created here) and on which side are secondary data (just copies)
    2) on which side are data changed - only in DB2 side or only on Oracle side or on both sides
    3) Are there data which are changed on both side concurrently? If so how should be conflicts solved?
    4) What does it mean "real time"? Is it up to 1 ms or 1s or 1 min or 1 hour?
    5) What should be done when replication will not work? I mean replication crash etc.
    BTW. The word "change" above means INSERT, UPDATE, DELETE commands.
    Analysis should be done for every column in every table. When analysis is ready you can select the best system for your solution (Oracle replication, Sybase replication server, MQ, EJB or your proprietary solution). Without analysis it will be IMHO gunshot into the dark.

  • Compare time slot in dates while making drag and drop..

    Hi,
    The drag and drop is working fine without conditions, but I have to check the time slots between two dates. If the time of both date are same it should not dropped else it can drag and drop. I use the code below, but not getting executed according to condition.. Please provide suggestion and ideas to get it executed..
    declare
    l_date_value varchar2(150) := apex_application.g_x01;
    l_primary_key_value varchar2(150) := apex_application.g_x02;
    l_full_time varchar2(150);
    l_time_a varchar2(150);
    l_time_b varchar2(150);
    begin
    select
    ltrim(replace(to_char(resv_start_date,'hhmiAM'),'00',' '),'0')||','|| ltrim(replace(to_char(l_date_value ,'hhmiAM'),'00',' '),'0')
    into l_full_time
    from reservation
    where resv_no=l_primary_key_value;
    select SUBSTR(l_full_time, 1 ,INSTR(l_full_time, ',', 1, 1)-1) into l_time_a from dual;
    select SUBSTR(l_full_time, INSTR(l_full_time,',', 1, 1)+1)into l_time_b from dual;
    begin
    if l_time_a<> l_time_b then
    update reservation set RESV_START_DATE = to_date(l_date_value,'RRRRMMDDHH24MISS') where Resv_no= l_primary_key_value;
    end if;
    exception when others then
    Raise_application_error(-20001,'Error'||SQLERRM);
    end;
    end;
    Thanks..

    First 3 .as are the component
    source. in the last test.mxml file i have written the drag and drop functionality.
    can any help me?? please

  • Google Calendar: can't edit an event 1) when double clicking an event it doesn't open to edit 2) when clicking on a time slot to edit doesn't do anything & more

    I cannot edit calendar events in google calendar. Also when clicking on a time slot to create an event the click gets stuck and it's scrolling to select time slot and the only way to get it unstuck is to reload the page. Other browsers work just fine.

    I cannot edit calendar events in google calendar. Also when clicking on a time slot to create an event the click gets stuck and it's scrolling to select time slot and the only way to get it unstuck is to reload the page. Other browsers work just fine.

  • Time slot proofs

    can anyone tell me why we using 51.2microseconds for time slots?
    or 512bit as the minimum frame size?
    i've tried to calculate that
    x=(2500*2(distance))/(2*10(8))
    it get 25micsecond

    yeah that's the minimum frame, but why .
    i made some research on that
    here's the results.
    we need to discovre the total path delay.
    25us for 2500 cable
    4 repeaters class I add 0.7us for each repeater
    DTE delay
    and safety margin
    so
    total delay=link delay+repater delay+DTE delay+saftey margin
    that should come out 51.2us :))
    still need to get the numbers thu

  • Disaggregate Periodic Data to Weekly Data (Modeling Time Dimension)

    Hi,
         We are using BPC MS Version 7.0. Our users plan at period level and I need to disaggregate periodic data to weekly data by looking up weeks from Time Dimension.
    Suppose if 2009.Jan  has 4 weeks I need the following result
    Periodic Data
    2009.Jan Acct1 1000$
    Weekly Data
    2009.Jan Wk1 Acct1 250$
    2009.Jan Wk2 Acct1 250$
    2009.Jan Wk3 Acct1 250$
    2009.Jan Wk4 Acct1 250$
    Can we model Time Dimension with two hiearchies to achieves this?
    Which is best way to dissaggrate? (Stored Proc or SSIS Pacakge or Script Logic) ?
    Thanks
    Raj

    An easy way to achieve this feature is to have the time dimension be weekly and do the spread on the input schedules before sending. 
    There would be two EVDREs (one refresh only of monthly data and the other send only of weekly data).  The data range of the monthly EVDRE would be input and where the user enters data.  The data range of the weekly EVDRE would be formulas (pointing to the monthly data and doing the correct division based on number of weeks in a month).  The user is inputting monthly data, but the schedule is sending the weekly values.
    The allocation will work as well, but I would suggest to create a weekly input node under each month to capture the monthly value and then spread to the weekly members.
    JAN
    |---WK Input
    |--- WK1
    |--- WK2
    |--- WK3
    |--- WK4

  • About changes in existing Times slots.

    I see that the standard behavior in ISH is to allow changes in time slots despite having existing appointments for care units. Is there a customizing point I am missing? Thanks.
    Daniel;

    Sorry Alberto. This is not helping. Again my problem is for exisinting planings that already have appointments. If some one access NR25 without checking the NR16 that person can modify the planing with no warning that open appointments are pending. Thank Regards Daniel.

  • Java servlet to check availability of time slots for booking meeting

    I am keeping two time stamps into a table ie start time and end date.Start date and end date should be greater than present system date.In a java servlet i am linking and comparing the time stamps that entered through availability checking form.Availability check form , a jsp ,will take the start time and end time .After pressing the search button it will yield the available slots for choosing to book.Can you please suggest me how can i implement the logic.I have tried to use vector to store the slot info but resulted in error .

    Well, at the minimum you will need a Booking object. It will at a minimum have start and end as Date variables. You probably will also want another Date called bookedOn (or something similar) or use a boolean to indicate that the slot is no longer available.
    You will have to write a SQL query that will use the start and end dates the form supplies for time slots that match these criteria (and likely bookedOn values not equal to null). Your DAO will populate a series of Booking objects based on the query results.
    When the user selects a given slot, populate the bookedOn date or the boolean flag indicating the time slot is now taken.
    Without more requirements or where you are stuck, it's hard to help beyond that.
    - Saish
    PS: Unless you need synchronization, use List/ArrayList rather than Vector

  • LDAP time limit exceeded.IMTA database will not be created

    ims5.1
    run ./imsimta dirsync -F ,get the message
    LDAP time limit exceeded.IMTA database will not be created . and i already set set timelimit to -1 ,
    set lookthroughlimit to -1
    set sizelimit to -1
    ,but why the error is continue?

    You are using Dirsync. The answer is to stop using dirsync.
    From version 6.0, dirsync is no longer part of the product.
    From version 5.2, Direct LDAP is the preferred method.
    No user that is currently using 5.2 or later should ever use dirsync. dirsync has bugs that will never be fixed.
    Direct LDAP is a much better way to go. The instructions for setting this up are in Appendix b of the Administration Guide. Please do follow those.
    If you insist on using dirsync ( a very bad idea ), you must set the timelimit to -1 (unlimited)

Maybe you are looking for

  • Apex giving installation problem on dell optiplex xe system

    Hi We have installed apex 4 on dell optiplex xe , but it display the source code when we use page forwared and backward of mozilla firefox. We also use the same versionon our laptpops and other non branded computer , it working fine. Regard Faiz

  • Same Apple Id on 2 iphones

    I have the same apple ID on 2 different iphones and It is making me face problems; I do not want to share same contacts and calendar on both iphones. How can I solve it without losing my contacts that I synced from outlook?

  • X205-s7483 Not burning

    Recently mi DVD-R unit stop recording file cd's, when i try tu burn a flie cd with alot of files the program burn it but the cd does not work, any computer can read it, but when i burn firs an image file, then i burn it in to the cd works grate. I wa

  • OBIEE Publisher 10.1.3.4.1

    Hi Experts, I have installed obiee in my laptop. Os- Windows7 64 bit OBIEE vesrion - 10.1.3.4.1 Problems is : I am not able to see the admin tab in BI publisher. I have followed below steps but still am not able to find admin tab in publisher. 1. Ope

  • FTP command in background job

    hi all, I am using a program which sends file via FTP. When I run it in foreground it works fine. But in background it gives error i.e. 'Invalid FTP Handle'. I am using the following function modules for FTP: 1. 'FTP_CONNECT' 2. 'FTP_R3_TO_SERVER' 3.