Secodary database consistency question

hello!
We have got an idea - to increase performance, we want to combine our database with objects, needed to be processed, together with objects which are already processed. The processed flag is kept inside a record. What we want, is to create 2 secondary databases - with processed records and with pending records. To do this, we want to create 2 secondary key creators, which will check a flag property in record, and decide whether record needs to be included into pending records or processed records. The pending records should also be ordered (there is a property with the record's order), used as a key for secondary database
Now we would like to know - is it possible to do in this way? In javadocs for SecondaryKeyCreator there is a statement, which tells the resulting key needs to be the same for given primary key and value entries. Would we violate the constraint, in case if we have a record A with processed flag set to false (the key appears in "pending" secondary database), then we get this record, process it and place into a database with processed flag set to true - and now the record should disappear from pending secondary database but appear in processed database? In another words, first time key creator for pending database returns true for the record, and secondary key creator for processed database returns false, but when the record becomes to be processed - secondary key creator for pending database returns false, and secondary key creator for processed database returns true?

Hi Eugene,
Sure, that will work fine. To satisfy the constraint, just make sure that the pending flag is stored as a field in the primary data. The constraint is that secondary keys, returned by the secondary key creator method, must be derived from information in the primary key and/or data. Given inputs X and Y (primary key and data) it returns a result Z. JE may call this method at any time. Given the same inputs X and Y it must always return the same result Z.
An example of a secondary key creator that is wrong -- that violates the constraint by returning different results at different times -- is a creator method that uses a timestamp or another external counter to create the secondary key.
Mark

Similar Messages

  • Check Database Consistency

    Dear All,
    i m trying to run Check Database Consistency through DB13,i m getting following error.
    Unable to start execution of step 1 (reason: The
    ob step contains one or more tokens. For SQL Serv
    r 2005 Service Pack 1 or later, all job steps wit
    tokens must be updated with a macro before the j
    b can run.).  The step failed.
    i m runing SAP ecc5 On SQL 2005 SP1.
    Please advice how to resolved this error.
    Thanks & Regards,
    Hiten Modi

    Ok, I don't know much about MS SQL. Really.
    But just looking for "step contains one or more token" in the SDN search brought up this note:
    [SAP Note 947702 DB13 - DBCC Checkdb job fails in SQL 2005 SP1|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_db/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393437373032%7d]
    Why does apparently no one ever tries this before posting a question?
    cheers,
    Lars

  • What does a package database consist of?

    What does a package database consist of? can any one give me complete description.

    Hi,
    This is Prabhuram Devar,
    A package database consists of:
    /var/sadm/pkg: This is a directory containing one directory entry for every package installed on the system.
    /var/sadm/pkg/<packagename>/pkginfo
    /var/sadm/pkg/<packagename>/save/<patchid>/undo.Z for the backout packages.
    /var/sadm/pkg/<packagename>/save/pspool/<packagename>: A sparse package that is used for non-global zone install.
    /var/sadm/install/contents: This file has an entry for every file in the system that has been installed through a package. Entries are added or removed automatically using the binaries installf and removef.

  • Database consistency issue..

    Hi.
    SCCM 2012 English, RTM
    For unknown reason the DR link broke between CA and primary.
    It says Site Replication status both way Active, but data replication is mixed. Parent to child Global data - failed and child to parent site data failed. Child to parent global - Active. Replication link analyzer performs several checks and then informs
    - Database consistency issues detected for site XXX.   (parent). Skiping rule  - shows different replication groups which are failed. I tried to replicate those, but nothing changed.(according to following article last step)
    http://blogs.msdn.com/b/minfangl/archive/2012/05/16/tips-for-troubleshooting-sc-2012-configuration-manager-data-replication-service-drs.aspx
    Any more ideas?

    Now i have read more about DRS and SCCM 2012 and get in state where 2 from 3 replications are active.
    Mainly with puting  relevatnt pub  files to RCM.BOX. But global data replication from CAs to PRI is still failed. No idea ....
     More related articles:  
    http://blogs.technet.com/b/sudheesn/archive/2012/10/21/drs-initialization-in-configuration-manager-2012.aspx
    http://anoopcnair.com/2012/06/20/sccm-configmgr-2012-site-to-site-replication-sql-data-replication-service-replication-configuration-management-sql-service-broker-replication-groups-and-manual-sync/
    And one more thing - do not know it is related or not
    Severity Type Site code Date / Time System Component Message ID Description
    Error Milestone XXX 12/14/2012 10:34:29 AM server.domain.local SMS_POLICY_PROVIDER 620 Microsoft SQL Server reported SQL message 547, severity 16: [23000][547][Microsoft][SQL Server Native Client 10.0][SQL Server]The INSERT
    statement conflicted with the FOREIGN KEY constraint "ResPolicyMap_PolicyAssignment_FK". The conflict occurred in database "CM_XXX", table "dbo.PolicyAssignment", column 'PADBID    Please refer to your Configuration Manager documentation, SQL
    Server documentation, or the Microsoft Knowledge Base for further troubleshooting information.
    It is jaming replication ? and how fix DB inconsistency detected by Replication Link analyzer ?

  • Project Server (SharePoint) - Database Collation question.

    Hi,
    I have been looking at the performance of our SharePoint database server and one of its uses is Project Server.
    Our databases are set as follows
    Project Server Databases (Latin1_General_CI_AS)
    SharePoint Server Content Databases (Latin1_General_CI_AS_KS_WS)
    TempDB (Latin1_General_CI_AS)
    It seems that the Project Server databases should be (SQL_Latin1General_CP1_CI_AS):
    https://technet.microsoft.com/en-us/library/ff800813(v=office.14).aspx
    e.g.
    Database
    Collation
    Project Server Archive
    SQL_Latin1_General_CP1_CI_AS
    Project Server Draft
    SQL_Latin1_General_CP1_CI_AS
    Project Server Published
    SQL_Latin1_General_CP1_CI_AS
    Project Server Reporting
    SQL_Latin1_General_CP1_CI_AS
    SharePoint Server Content
    Latin1_General_CI_AS_KS_WS
    I may be worrying unnecessarily but my understanding was that the tempdb should be the same collation as the user databases (where possible). With the SharePoint content and the Project Server databases on the same instance this is not possible.
    Should I...
    1. Not worry about it (the performance impact is negligable).
    2. Create seperate instances so that the TempDB can match the user databases (I am worried that the overhead of an extra instance will be more than the overhead of different collations).
    3. Implement Contained/Partially contained databases (new possible option)
    4. Something else?
    Also how bad is it that the Project server databases are Latin1_General_CI_AS rather than SQL_Latin1General_CP1_CI_AS.
    Thanks in advance
    Shaun

    Hi Prasanna,
    thank you for taking the time to respond.
    From the link - I read this as Microsoft insisting that you use Latin1_General_CI_AS_KS_WS for the SharePoint content databases and recommending it for the system databases including TempDB?
    Our TempDB is not the same collation as the SharePoint content databases but the same as the Project Server databases. Which brings me back to my original questions.
    From the Technet article:
    The following TechNet Article talks about the SQL Server collation for the SharePoint databases
    http://technet.microsoft.com/en-us/library/cc288970.aspx#section1
    “The SQL Server collation must be configured for case-insensitive. The SQL Server database collation must be configured for case-insensitive, accent-sensitive, Kana-sensitive, and width-sensitive. This is to
    ensure file name uniqueness consistent with the Windows operating system.”
    However, we do not support changing the default collation (Latin1_General_CI_AS_KS_WS) for SharePoint databases to any other collations (CI, AS, KS, WS).
    We support any CI collation for the SQL instance (for master, tempdb databases). However we
    recommend using Latin1_General_CI_AS_KS_WS as the instance default collation (master, tempdb databases).

  • LMS Database consistency verification tool

    Hello all,
    I upgraded from LMS 3.1 to 3.2 yesterday. The upgrade went well, but DFM and Campus Manager didn't work afterwards.
    After a few searches on the forum, and the help of a great Cisco TAC engineer, we were able to solve the PIDM database inconsistencies that were preventing DFM links from showing up. And Campus Manager needed a kick in the butt to start again it seems.
    My PIDM table had many duplicate device ids, some registered to DFM 2.0 (on the previous server) and some registered to DFM 3.1 (current server). So it seems the previous upgrade (from 2.6 to 3.0 and then 3.1) had some bad entries.
    My question for the pros is this : is there a tool that can be run against the LMS databases to check for inconsistencies like these ? Duplicate entries, wrong server names, application version, and other nasty stuff ?
    My next chore is to move LMS from Windows 2003 to Windows 2008, but before I do that, I'd like to make sure the DB is clean
    Thanks!
    Alex.

    No, there are no tools to verify data consistency.  There is a tool to validate the file structure consistency of the database, but if the database is running, that is typically not an issue.
    The PIDM table is the source of quite a few problems, but they are generally easy to sort out.  If you have a good backup of your 2003 server data, I would say you can do the 2008 migration.

  • Database design question about historical data in a group of tables

    Hi Folks,
    I have a group of tables having relationships among them. In order to keep the change history, we can not update the data, instead, we add new data to the table(s) and mark older data as whatever non-current status. They all have timestamps in these tables.
    For example, If table Parent changes, we add new record Parent(new) and keep older record(s). But the table child has not changed, so how could we link the parent and child table(s)?
    One solution is to use a unique sequencial number to identify the snapshot of all these group of tables, so the FK contains this sequencial number to keep all tables in sync from point of time t1 to t2 and so on.
    But the problem is if only one table changes, we have to insert new records to ALL tables with the new sequencial number to indicate a new snapshot of all group of tables, this obviously has lots of redundancy when change occurs in one place only.
    However, If we only adds new records to a changed table, lets say Parent, how could we distinguish the current record in Parent table and its child tables to reflect a consistent snapshot of all tables? Because the record in parent table Parent(t2), Parent(t1) all associate to child(t1), since at time of t2, child table has not changed, only Parent table changed.
    Your opinions are appreciated!
    Thanks a lot.

    There are books on the subject of dealing with time series data. You may need to read one or two as this is a very complex topic. Though not applications of time series classification are complex it is difficult to tell based on what information can go in a post.
    What has to be reflected on the parent when a child row is changed? Do both the old child row and the new child row belong to the same parent?
    What activity at the parent level would affect the child rows? That is, is there any activty on the parent that requires new child rows to be populated?
    One way of tying the child rows to a specific set of parents would be to carry the parent key, timestamp to the child as a begin_parent_timestamp and then also potentially have a end timestamp if a change to a parent ends the relationship. If changes to the parent do not ever end the relationsip then the end_timestamp would not be necessary. In this case if you want to join a parent to only the most recent version of a child you can perform a select parent kye, child key, max(parent_timestamp) from child group by parent key, child key. One child row would match serveral parents.
    Without more specifics it is hard to make suggestions that might prove usable but your table relationships might be too complex to deal with in this kind of forum.
    There is a newsgroup on database theory that may be a good place to seek ideas on this type of problem.
    HTH -- Mark D Powell --

  • ACS 5.3 Database backup questions

                 I do an incermental backup every day at 02:00
    IncrementalBackup-Job
    Mon Sep 17 02:00:00 EST 2012
    Mon Sep 17 02:00:02 EST 2012
    Completed
    But  I get the  
    System Alarm [Database Purging]
    Mon Sep 17 04:00:00
    Incremental Backup not configured
    why?
    see contents of repository below so it is there
    CHIACS71/chacs01# sh repository DataBase
    acsviewdbfull_CHIACS71_20120912_095516.tar.gpg
    acsviewdbfull_CHIACS71_20120913_020000.tar.gpg
    acsviewdbincr_1_CHIACS71_20120914_020000.tar.gpg
    acsviewdbincr_2_CHIACS71_20120915_020000.tar.gpg
    acsviewdbincr_3_CHIACS71_20120916_020000.tar.gpg
    acsviewdbincr_4_CHIACS71_20120917_020000.tar.gpg
    catalog.xml
    repolock.cfg
    CHIACS71/chacs01#
    second question can I use my secondary ACS for the DataBase repository?

    Hi,
    You should use an nfs server, sftp or ftp repository for backups only, something that is dedicated for storage. I would not recommending using anything that is used for production which needs internal storage to take on the task of managing another applications data.
    As far as the the first question, i am not talking about the purging, i am talking about the scheduled application backups:
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.3/user/guide/admin_operations.html#wp1076238
    Tarik Admani
    *Please rate helpful posts*

  • Database connection question...

    i am using Java 1.5.0_06 and to connect to MySQL database i use Connector/J and the following code:
    try {
    Class.forName("com.mysql.jdbc.Driver");
    } catch(java.lang.ClassNotFoundException e) {
    System.err.print("Main: ClassNotFoundException: ");
    System.err.println(e.getMessage());
    return;
    try {
    con = DriverManager.getConnection(dburl);
    ps = con.prepareStatement(
    I was told i should be using a DataSource to do connection pooling and i have read over the info and downloaded jdbc2_0-stdext.jar and i am using MySQL and windows XP pro.
    the code looks like this
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("jdbc/InventoryDB");
    Connection con = ds.getConnection("myUserName", "myPassword");
    then i just use con as i have already in my code.
    Can someone please point me in the right direction to get this working.
    I read this:
    A systems administrator or someone working in that capacity deploys a DataSource object. Deployment, which involves setting the DataSource object's properties and then registering it with a JNDI naming service, is generally done with a tool. As part of the registration process, the systems administrator will associate the DataSource object with a logical name. This name can be almost anything, usually being a name that describes the data source and that is easy to remember. In the example that follows, the logical name for the data source is InventoryDB . By convention, logical names for DataSource objects are in the subcontext jdbc , so the full logical name in this example is jdbc/InventoryDB .
    i have goggled but can't seem to find out exactly what i need to do next.
    I can't find the "tool" and have to be honest i am lost lol.
    can the The JDBC 2.0 Optional Package work with Java 1.5.0_06?

    i am using Java 1.5.0_06 and to connect to MySQL database i use Connector/J and the following code: i updated it to use manual connection pooling like so:
    final String dburl = "jdbc:mysql://localhost/......";
    Connection con = null;
    try {
    Class.forName("com.mysql.jdbc.Driver");
    } catch(java.lang.ClassNotFoundException e) {
    System.err.print("Main: ClassNotFoundException: ");
    System.err.println(e.getMessage());
    return;
    try {
    DataSource dataSource = setupDataSource(dburl);
    con = dataSource.getConnection();
    con.close();
    public static DataSource setupDataSource(String connectURI) {
    ObjectPool connectionPool = new GenericObjectPool(null);
    ConnectionFactory connectionFactory = new DriverManagerConnectionFactory(connectURI,null);
    PoolableConnectionFactory poolableConnectionFactory = new PoolableConnectionFactory(connectionFactory,connectionPool,null,null,false,true);
    PoolingDataSource dataSource = new PoolingDataSource(connectionPool);
    return dataSource;
    so i compiled and ran it and it worked no problem but my question is that this is a server that does some db work upon starting and then waits for clients like so:
    while (listening)
         new PSMultiServerThread(serverSocket.accept()).start();
    so once i am in PSMultiServerThread what exactly do i need to do?
    i know i don't need to do this again:
    Class.forName("com.mysql.jdbc.Driver");
    but do i need to do this again:
    DataSource dataSource = setupDataSource(dburl);
    i geuss i have to to declare the variable lol.
    and do i include this code in the PSMultiServerThread
    public static DataSource setupDataSource(String connectURI) {
    ObjectPool connectionPool = new GenericObjectPool(null);
    ConnectionFactory connectionFactory = new DriverManagerConnectionFactory(connectURI,null);
    PoolableConnectionFactory poolableConnectionFactory = new PoolableConnectionFactory(connectionFactory,connectionPool,null,null,false,true);
    PoolingDataSource dataSource = new PoolingDataSource(connectionPool);
    return dataSource;
    --------------------------------------------------------------------------------------

  • Multiple Database Servers Question

    Hi,
    Please forgive this ignorant question, but can someone tell
    me how one would go about using multiple database servers?
    Just as there comes a time where one would need more than
    one web server and would need to use a load balancing
    solution, what happens when one would need more than one
    Database Server?
    How does one go about implementing that solution?
    Is there some way to have two database servers carrying the
    same information with some kind of load balancing solution
    in front of it(?) or does one place some tables on one
    Database
    server, and other tables on the other database server?
    (I have no clue as to how things would work.)
    Thanks in advance,
    Joe

    Microsoft SQL allows for clustering of SQL databases, so for
    instance two servers connected to a fileshare and a virtual address
    shared across the two physical boxes. Database connections are made
    to the virtual addres which will then be handled by the active
    node. Becuase a database is ultimately a file(s) on a disk it can
    only be attached to one node at a time so you end up with an
    active/inactive cluster.

  • Database array questions

    Disclaimer: I am new to DB's.
    I'm looking at creating a MySQL database to hold tests done on DUTs (each with a specific serial). In theory, each DUT undergoes 3 tests. Each test produces a 401x9 2D array of DBLs. I am not concerned with the write speed to the DB, but I do want to optimize the read of the DB (potentially may need to retrieve 1000+ of these 2D arrays as fast as possible). I have the DB Toolkit; using LV 8.5. Questions:
    1. I have seen two different ways to save a 2D array in a DB mentioned: first, writing one row at a time with the DB Insert vi, resulting in a 2D array in a table (which is slow writing) or second, changing the 2D array to a variant and using the DB Insert vi, resulting in a single cell in a table. I know I can use other methods (parameterized vi, sql commands, user defined functions on the DB server, please do comment if you have found drastic performance increase with these methods), but of the two ways of storing a 2D array, can I read a 2D array from a table faster than reading a 2D array from a single cell? Whenever I need this data, I will read it all (i.e. I will never have to search for certain data within these individual 2D arrays)
    2. I may have installed the 8.2.1 DB toolkit, because the Database Variant to Data vi/function does not drop onto the Block Diagram when I drag it from the palette, and the Help has ???. I assume this is because it just points to the normal Variant to Data, which in 8.5 is in a subpalette as compared to 8.2.1. Any quick way to fix this?
    3. Any other general suggestions for a DB newbie? I've been trying to derive best practices from KB aritcles, this forum, and the web, but there is so much information and so many varying opinions I find it hard to narrow down best practices.
    Michael

    Hi Miguel,
    It looks like you are embarking on a very interesting project. Although you probably have seen many of the following documents, I've linked a few to get you started.
    Discussion forum using LabVIEW to read from tables
    Developer Zone article about developing a test system
    Knowledgebase article about imitations of speed with database toolset
    As far as your first question, I would suggest trying out both methods with simple code and testing with a small amount of values to determine  which one will be the fastest.
    Good luck with your project!
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

  • Simple java/mysql database application question about triggers

    I am planning a new database application using java and mysql. I may want to use some triggers to automatically update the tables when a change is made. my question is this: If I write the trigger, and I use Java to modify the database, will java automatically pause and let the trigger finish doing its task before it continues? what if it writes more to the table before the trigger is finished modifying the table? how do I get java to pause and let the trigger finish?
    thanks for your response

    lduren wrote:
    I am planning a new database application using java and mysql. I may want to use some triggers to automatically update the tables when a change is made. my question is this: If I write the trigger, and I use Java to modify the database, will java automatically pause and let the trigger finish doing its task before it continues? what if it writes more to the table before the trigger is finished modifying the table? how do I get java to pause and let the trigger finish?
    It doesn't have anything to do with java at that point.
    When you execute, for example, an insert statement, then the database executes that statement. The database (not java, not the driver) decides with that statement is complete. Control returns to java when the database decides that execution is complete.
    And except for tricks that one might do (or attempt to do) via SQL or triggers then when the statement execution finishes then everthing has completed running.

  • Create View from Database Links - Question

    Question
    I'm missing something simple.
    I'm trying to create a view, from a Database Link.
    CREATE VIEW view_name
    AS SELECT a.*
    FROM schema.tablename@dblink a;
    When I run this in the SQL Commands window.
    I get this error message.
    ORA-00933: SQL command not properly ended
    What am I missing? Any help is appreciated...

    <i>CREATE VIEW vw_name
    AS SELECT a.*
    FROM [email protected] a;
    </i>
    <br>
    1) User (schema) which is creating view must have proper db_link to source database. For that try this for testing purpose:
    select 1 from [email protected]<br>
    If this fail then db_link is not ok! This step is absolute must to go any further step to!!!
    <br>
    2) when db_link is set, then your view should be named as:
    CREATE VIEW vw_name
    AS SELECT *
    FROM <b>schema_name</b>.[email protected];<br>
    please pay attention to "schema_name", because from remote side every table is in some schema so it really need declaration of owner schema.
    <br>
    Hope this helps...

  • I have some database related questions

    hey all
    i am currently designing a java GUI program for a dvd renting shop.
    this program obviously needs a databse, i was just wondering how much possibly a database on a home pc could hold data because this shop have about 15000 DVD title and about 1500 client so i was wondering how much a mySQL databse table could hold....
    i also have another question...this shop have an access database...my question is can i use the existing database and querie it from my java program??? do i need a driver ??? can i querie an acces databse just like a regular SQL databse(e.g. SELECT * FROM TABLENAME) ????

    hey all
    i am currently designing a java GUI program for a dvd
    renting shop.Why not simply download JBoss Seam's DVD store example. It's fully coded for you already!
    this program obviously needs a databse, i was just
    wondering how much possibly a database on a home pc
    could hold data because this shop have about 15000
    DVD title and about 1500 client so i was wondering
    how much a mySQL databse table could hold....
    You will not have issues even with Access with that few a number of rows. Disk is really the only limitation on the size of the database. (There can be O/S or database specific limitations, such as 2GB of total size). So, do not worry about how many records.
    When you truly get a large number of records (tens of millions plus) or you are joining two large tables, then you can have performance issues. Good use of primary keys, indexes and database design can limit this issue.
    i also have another question...this shop have an
    access database...my question is can i use the
    existing database and querie it from my java
    program??? do i need a driver ??? can i querie an
    acces databse just like a regular SQL databse(e.g.
    SELECT * FROM TABLENAME) ????You can use Access, mySQL, Postgres or any number of other databases. Each will require (and will have on their site) a JDBC driver that you need to have on your application's CLASSPATH. My recommendation would be mySQL or Postgres. Both are free and excellent quality.
    As an aside, you should rarely SELECT * from any table (other than a code or lookup table). Use a WHERE clause to limit results. What user would possibly want to scroll through ALL 15,000 records? :^)
    - Saish

  • MySQL Database Structure Question

    This is probably going to seem a little odd, but I need some outside opinions.  I'm using Dreamweaver CS5 to build a business website.  When all is said and done, it's going to have around 20,000 items (not anytime soon, but it'll get there).  I'm using a dynamic data set up to load the inventory because I'm way too lazy to build that many pages and links one at a time.
    The corporate chain has two sections, lighting, and electrical supply.  I want the database to hold the product ID(of course), name, description, image(this is part of where the question comes in), price, sale price(discounts not our cost), an enum field for whether or not the item is discontinued(for our own records), size / weight for shipping reasons, and if reality is permitting, a field for color selection of the products.
    My original idea was to have two tables, one for lighting, one for electrical.  Somebody pointed out to me that this could fail because they pointed out that some of the items might have multiple images, which is true.  Some of the items (like some of the fans we sell) have different colors but still cost the same.  They suggested I set the images up in a seperate table and use a foreign key. but that changes my entire structure.
    Does anyone mind offering ideas on how I might set that up to avoid data redundancy and other problems that might pop up due to repeat listings?  I've got the images all with unique names (in the case of the same product in different colors, I added a color code like pb for polished brass, etc.)  That person had an excellent point on multiple tables, so now I'm wondering about a better and more reliable structure.

    I'm ok with PHP, and usually pretty good with databases.  Right now I've got enough sample stuff to build a smaller scale prototype with about 200 products, from both lighting and electric.  Believe me, I haven't really done much more than start with the layout, because the many to many relationships just didn't occur to me.  Pretty much going solo on this project with occasional advice from one co-worker who's good at his job but extremely busy, so I think I just got a little to close to it and overlooked some clear and obvious problems.  As far as requirements, I'm using a 3 column div tag layout, the left column being the nav bar with the product categories.  When they click one of those, it should display that category (image, name, price) with the clickable name and thumbnail image in the middle, and from there they click the product they want to see and it'll display the full size image and full description on the right column.
    Set requirements...wish I had a clear list, but the bosses are pretty much illiterate in this area of computers, so I'm on my own with that.  That's all I'm hoping to get out of the database is that three column layout.  I figure I'll make a changeable nav bar later so customers can switch from one store to the other and the nav bar goes from there.
    We're hoping to get the database to have the fields I mentioned for now (at least for initial testing) and maybe add an inventory tracking function so we know how many we have throughout the chain.  We're not worried about that part now, just getting them up and selling cuz our current inventory system works just fine.  How would 10 or more tables be better?  Just breaking down the amount of products to be searched at a time, or is that how detailed you think it should be built?  Don't worry, I wasn't hanging everything on a two table set up, I knew there would be room for much improvement.
    Current basic layout:
    Lighting / Electric Tables          Image table:  ID (either the product ID without the color code or maybe the document path), category(lighting / electric),                                                                   subcategory (fan, lamp, etc)
    id
    class
    category
    description
    price
    sale price
    discontinued
    size
    weight
    That's what I've got so far, sorry for the weird way that list pasted....

Maybe you are looking for

  • Which apps can i download any with iOS 4.2.1/I cannot download any apps for my ipod touch 2nd gen

    please anyone help me. im trying to get apps but it says its incompatible, needs beta graphics, needs camera or needs 4.3 and later. is there any where i can get apps for my ipod touch  or some thing i need to do/ please help!!!!!!

  • Can Airport Express or Extreme power a USB powered hard drive?

    I cannot find the info in the specs. Best Buy tells me that, in principle, wireles routers with USB ports don't have the power required by USB-powered hard drives. On the other hand, I am thinking it would make sense for Airport Express to do that, s

  • How do I get back to email summary screen from a message

    I can't get out of the edit mode in my messages.  I can not get back to a message summary screen no matter what I do.  The options across the bottom of the screen are reply, trash, folder, flag and reply. Only since iOS 6 upgrade

  • Flash 6 vs Flash 8, Script not working, Fla attached

    Can some please help me and tell me why the action script which makes the pictures enlarge on mouseover works with flash 6 publish settings but not flash 8. ...nevermind, figured it out, thanks.... Thanks a million! Rich

  • SOAP time out

    Hello. I have an application that use the API of the portal. There are several activities that are performed but the time used for doing them is so much. As a consequence, a SOAP client null message appear in the application. I can't decrease the tim