Database design standards
Hi all,
What is the impact of FIELD NAME LENGTH in the database design according to database design standards?
(It should be minimum or of any length)
Thnx in advance
Are you going to support databases from different vendors as back end for your application?
If yes, then you need to know the limitations of all databases that you plan to support (in advance) and design the field names accordingly.
If not, then you should really use the full length of field names permitted for the backend of your choice.
Similar Messages
-
Problems with installing CS 5 Design Standard
Hi,
I bought CS5 Design Standard Student Version the other day and started installing InDesign, Photoshop and Illustrator. After the installation progress had finished, InDesign worked well (but I had an test version installed here before). I'm just having problems with Photoshop and Illustrator: The installation program told me that it installed all the programs successfully, but when I closed it and searched for both, I couldn't find them anywhere. I searched through the whole database, but: they're nowhere to be found. Up to now I've tried the installation 6 times (I left InDesign out, since it is already installed) and only tried PS and IL.
Can anyone help me?? I don't think it's a problem of Adobe's requirements for this product. My serial number and everything else is correct either.
Thanks lots!Two copies of the same version products can't exist on the same machine. You had some test version and then installed CS5, there should have been some conflicting errors on the Thank You screen or products should have been disabled in the Options dialog.
Try uninstalling everything first of CS5 Suite and then install again, those three apps should work just fine.
thanks,
tahseen -
Database design to support parameterised interface with MS Excel
Hi, I am a novice user of SQL Server and would like some advice on how to solve a problem I have. (I hope I have chosen the correct forum to post this question)
I have created a SQL Server 2012 database that comprises approx 10 base tables, with a further 40+ views that either summarise the base table data in various ways, or build upon other views to create more complex data sets (upto 4 levels of view).
I then use EXCEL to create a dashboard that has multiple pivot table data connections to the various views.
The users can then use standard excel features - slicers etc to interrogate the various metrics.
The underlying database holds a single days worth of information, but I would like to extend this to cover multiple days worth of data, with the excel spreadsheet having a cell that defines the date for which information is to
be retrieved.(The underlying data tables would need to be extended to have a date field)
I can see how the excel connection string can be modified to filter the results such that a column value matches the date field,
but how can this date value be passed down through all the views to ensure that information from base tables is restricted for the specied date, rather than the final results set being passed back to excel - I would rather not have the server resolve the views
for the complete data set.
I considered parameterisation of views, but I dont believe views support parameters, I also considered stored procedures, but I dont believe that stored procedures allow result sets to be used as pseudo tables.
What other options do I have, or have I failed to grasp the way SQL server creates its execution plans and simply having the filter at the top level will ensure the result set is minimised at the lower level? (I dont really want the time taken for the dashboard
refresh to increase - it currently takes approx 45 seconds following SQL Server Engine Tuning Advisor recommendations)
As an example of 3 of the views,
Table A has a row per system event (30,000+ per day), each event having an identity, a TYPE eg Arrival or Departure, with a time of event, and a planned time for the event (a specified identity will have a sequence of Arrival and Departure events)
View A compares seperate rows to determine how long between the Arrival and Departure events for an identity
View B compares seperate rows to determine how long between planned Arrival and Departure events for an identity
View C uses View A and view B to provide the variance between actual and planned
Excel dashboard has graphs showing information retrieved from Views A, B and C. The dashboard is only likely to need to query a single days worth of information.
Thanks for your time.You are posting in the database design forum but it seems to me that you have 2 separate but highly dependent issues - neither of which is really database design related at this point. Rather you have an user interface issue and an database programmability
issue. Those I cannot really address since much of that discussion requires knowledge of your users, how they interface with the database, what they use the data for, etc. In addition, it seems that Excel is the primary interface for your users
- so it may be that you should post your question to an excel forum.
However, I do have some comments. First, views based on views is generally a bad approach. Absent the intention of indexing (i.e., materializing) the views, the db engine does nothing different for a view than it does for any ad-hoc query.
Unfortunately, the additional layering of logic can impede the effectiveness of the optimizer. The more complex your views become and the deeper the layering, the greater the chance that you befuddle the optimizer.
I would rather not have the server resolve the views for the complete data set
I don't understand the above statement but it scares me. IMO, you DO want the server to do as much work as possible since it is closest to the data and has (or should have) the resources to access and manipulate the data and generate the desired
results. You DON'T want to move all the raw data involved in a query over the network and into the client machine's storage (memory or disk) and then attempt to compute the desired values.
I considered parameterisation of views, but I dont believe views support parameters, I also considered stored procedures, but I dont believe that stored procedures allow result sets to be used as pseudo tables.
Correct on the first point, though there is such a thing as a TVF which is similar in effect. Before you go down that path, let's address the second statement. I don't understand that last bit about "used as pseudo tables" but that sounds more
like an Excel issue (or maybe an assumption). You can execute a stored procedure and use/access the resultset of this procedure in Excel, so I'm not certain what your concern is. User simplicity perhaps? Maybe just a terminology issue? Stored
procedures are something I would highly encourage for a number of reasons. Since you refer to pivoting specifically, I'll point out that sql server natively supports that function (though perhaps not in the same way/degree Excel does). It
is rather complex tsql - and this is one reason to advocate for stored procedures. Separate the structure of the raw data from the user.
(I dont really want the time taken for the dashboard refresh to increase - it currently takes approx 45 seconds following SQL Server Engine Tuning Advisor recommendations)
DTA has its limitations. What it doesn't do is evaluate the "model" - which is where you might have more significant issues. Tuning your queries and indexing your tables will only go so far to compensate for a poorly designed schema (not that
yours is - just a generalization). I did want to point out that your refresh process involves many factors - the time to generate a resultset in the server (including plan compilation, loading the data from disk, etc.), transmitting that data over the
network, receiving and storing the resultset in the client application, manipulating the resultset into the desired form/format), and then updating the display. Given that, you need to know how much time is spent in each part of that process - no sense
wasting time optimizing the smallest time consumer.
So now to your sample table - Table A. First, I'll give you my opinion of a flawed approach. Your table records separate facts about an entity as multiple rows. Such an approach is generally a schema issue for a number of reasons.
It requires that you outer join in some fashion to get all the information about one thing into a single row - that is why you have a view to compare rows and generate a time interval between arrival and departure. I'll take this a step further and assume
that your schema/code likely has an assumption built into it - specifically that a "thing" will have no more than 2 rows and that there will only be one row with type "arrival" and one row with type "departure". Violate that assumption and things begin to
fall apart. If you have control over this schema, then I suggest you consider changing it. Store all the facts about a single entity in a single row. Given the frequency that I see this pattern, I'll guess that you
cannot. So let's move on.
30 thousand rows is tiny, so your current volume is negligible. You still need to optimize your tables based on usage, so you need to address that first. How is the data populated currently? Is it done once as a batch? Is it
done throughout the day - and in what fashion (inserts vs updates vs deletes)? You only store one day of data - so how do you accomplish that specifically? Do you purge all data overnight and re-populate? What indexes
have you defined? Do all tables have a clustered index or are some (most?) of them heaps? OTOH, I'm going to guess that the database is at most a minimal issue now and that most of your concerns are better addressed at the user interface
and how it accesses your database. Perhaps now is a good time to step back and reconsider your approach to providing information to the users. Perhaps there is a better solution - but that requires an understanding of your users, the skillset of
everyone involved, what you have to work with, etc. Maybe just some advanced excel training? I can't really say and it might be a better question for a different forum.
One last comment - "identity" has a special meaning in sql server (and most database engines I'm guessing). So when you refer to identity, do you refer to an identity column or the logical identity (i.e., natural key) for the "thing" that Table A is
attempting to model? -
Install CS4 Design Standard to Windows 8.1 (64)
I am trying to install CS4 Design Standard to Windows 8.1 (64) with my original discs (also tried from Adobe download of trial software) and receive the message: "The Installer Database is corrupt. Please contact Adobe Customer Service." Any ideas on how to proceed?
Have you tried installing using compatibility mode?
-
Error 16 creative suite 6 design standard
Error 16 (configuration error) after installation of creative suite design standard, re-installation does not solve the problem
Creative Cloud Error Codes (WIP) | Mylenium's Error Code Database
Mylenium -
Error message with a Serial Number after purchasing CS6 Design Standard
Hello everyone,
I have an error message "we are unable to validate this serial number for CS6 Design Standard" when using my official serial number.
I got the Serial Number from my Adobe ID account and e-mail purchase validation.
And no phone number to contact. Someone knows what I could do ?You should Contact Customer Care via chat; phone support is only available Mon-Fri during US daytime.
-
I can't get my registered versions of CS6 Photoshop and Illustrator to run in full mode. I installed CS6 Design Standard online end of June (an upgrade from CS5.5), on my old MacBook Pro. I didn't run the programs then as I was waiting on arrival of new MacBook Pro. I migrated the programs from my old MacBook to the new, and today tried to run those programs for the first time. InDesign work OK (after an initial hiccup) but Illustrator and Photoshop will only run in trial mode, and won't let me save files. My CS6 Design Standard shows with it's registration in my Adobe Account. All seems in order, but Illustrator and Photoshop won't run in registered mode. Can you please help?
Demons1 in the future please only migrate your documents and settings.
Please use the uninstallers to remove your current installation. They are located in the Applications/Utilities/Adobe Installers folder. Once the uninstall is complete you will also want to run the CC Cleaner Tool. You can find more details at Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html.
If you need to download a fresh copy of the installation files for Creative Suite 6 you can do so at Download CS6 products. -
Can AAMEE 3.1 create pkg for CS6 Design Standard? or just CS6 Mast Collection?
can AAMEE 3.1 create pkg for CS6 Design Standard? or just CS6 Mast Collection?
ok, thanks, just wanted to make sure. I have a volume serial no. for CS6 Dest Stan.
AAMEE 3.1 is for CS6 Suite, so should be good for all CS6
I created a pkg for CS6 Mast Coll using AAMEE 3.1 a few months ago and works fine (.msi) -
I have had adobe creative suit 6 design standard for 2 years and all of the sudden it would not open. I do not have the windows disc anymore however i still have the product code, number and serial number. is there anyway to get my photoshop back?
uninstall, clean and reinstall per Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
for the installation file(s):
Downloads available:
Suites and Programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
Acrobat: XI, X | 9,8 | 9 standard
Premiere Elements: 12 | 11, 10 | 9, 8, 7
Photoshop Elements: 12 | 11, 10 | 9,8,7
Lightroom: 5.5 (win), 5.5 (mac) | 5 | 4 | 3
Captivate: 8 | 7 | 6 | 5
Contribute: CS5 | CS4, CS3
Download and installation help for Adobe links
Download and installation help for Prodesigntools links are listed on most linked pages. They are critical; especially steps 1, 2 and 3. If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'. -
Database design and pl/sql vs external procedures
hi,
My project involves predicting arrival time of a bus at a bus-stop, given statistical data of traffic patterns on the previous n(say 3) days, as well as the current location of the bus(latitude-longitude).
Given current bus location, I derive my distance-until-destination bus-stop, which must be translated into time until arrival.
Ive enlisted the triggers and procedures involved in making the prediction. Thse procedures especially the determination of perpendicular distances involve some complex trigonometric operations. I would like to know if my approach is correct and my database design is suited for the operations to b performed.
Will it be more efficient to implement the procedures as external procedures or as pl/sql blocks
This is my database design:
LINKS ( a link is the road segment between adjacent bus-stops)
LINK_ID NUMBER [PRIMARY-KEY]
START_LATITUDE NUMBER
START_LONGITUDE NUMBER
START_STOP_ID NUMBER
END_LATITUDE NUMBER
END_LONGITUDE NUMBER
END_STOP_ID NUMBER
LINK_LENGTH NUMBER
BUS_ROUTE
ROUTE_ID NUMBER
LINKS_ENROUTE VARRAY(30) OF NUMBER
STOPS_ENROOUTE VARRAY(30) OF NUMBER
TRACK(keeps track of current location of bus)
BUS_ID NUMBER [PRIMARY-KEY]
ROUTE VARCHAR2(20)
LATITUDE NUMBER
LONGITUDE NUMBER
TS TIMESTAMP
LINK_ID NUMBER
START_STOP NUMBER
END_STOP NUMBER
ARRIVAL_TIMES(actual arrival times of the bus, updated by track)
BUS_ID NUMBER [PRIMARY-KEY]
BUS_ROUTE VARCHAR2(20)
ARRIVAL TIMESTAMP
STOP_ID NUMBER
ETA (expected time of arrival)
BUS_ID NUMBER
BUS_ROUTE VARCHAR2(20)
BUS_STOP_ID NUMBER
ARR_TIME VARRAY(5) OF TIMESTAMP
Triggers and procedures
1)TRACK_TRIGGER
On insert/update of track determine which link the us is currently on.
Invoke a procedure that calculates perpendicular distance from current location to all links en-route (cursor on LINKS).
Results are stored in a temporary table. Select the link-id of the tuple whose perpendicular distance is MINIMUM. This is the link the bus is currently on. Place link-id, start_stop_id and end_stop_id in corresponding row of TRACK.
2)ARRIVAL_TRIGGER
update ARRIVAL_TIMES.and store in ARRIVAL_TIMES that start-stop id with the time-stamp of the current track record.
b)update ETA: Find the BUS-STOPS that come before the START_STOP of current track record. All these rows are deleted from the ETA tables, as the bus has already crossed these stops.
3)Prediction Algorithm Procedure.
Determine distance until destination for each STOP, 20 stops down from stop current location.
Determine current avg. speed of the bus over a 2 hour window, by dividing total distance traveled by time taken.
Calculate time-until arrival T1=current avg. speed * distance until destination
From the records of previous n days (say n=3) find those buses on the same route that were near the link the bus is currently on. Again determine avg speed over 2 hour window and calculate avg. speed.
Calculate travel time T(i) = speed*distance until destination. i.=2,3, 4
The final predicted arrival time is a weighted sum of all T(i).
I hope Im not asking for too much, but the help would be greatly appreciated.
Thankyou,
Aminahello,
actually i can manage ETA without a varray, since there will b a maxximum of 3 -4 values of expected arrival times at each stop. this can b done with separate columns.
though i dont quite understand how lag() will help me...from what i understand lag() is to access values of previous rows. but in ETA table each element in the varray(if there is one) is going to be the expected arrival time of buses on a particular route at that particular stop, and is different from the arrival time at a previous stop(i.e.row).
but for my other table BUS_ROUTE i have 2 varrays describing the links and stops enroute. in quite a few procedures i have to loop through these arrays and perform some calculations in every iteration is varray the best way 2 go, or nested tables?
Thank you
Amina
As an aside, external procedures tend by their very
nature to be slow - there's an overhead incurred
each time we step outside the database. Therefore
you really ought to avoid using a C extproc unless
your calculations really cannot be done in PL/SQL or
a Java Stored Procedure.
Also, before you go down the VARRAY route you should
consider the virues of analytic functions, notably
[url=http://download-west.oracle.com/docs/cd/B1050
1_01/server.920/a96540/functions56a.htm#83619]LAG()[/u
rl]. I think you really ought to do some
benchmarking of parformance before you start afdding
denormalised columns like ETA. You may find the
overhead in maintaining those columns exceeds their
perceived benefits.
Cheers, APC -
I have purchased and used Adobe Products for 25+ years and I own CS6 Design Standard outright.
I had previously subscribed to Adobe Creative Cloud but did not renew the annual subscription.
The CS6 Design Standard serial number is listed in my Adobe user account. I have run the the Adobe Creative Cloud Cleaning tool, uninstalled the Adobe Creative Cloud App and all other CC apps from my iMac. I reinstalled fresh copies of the CS6 software two different times, first from my CS6 DVD disk and then from the Adobe Download page. During each installation of CS6, all seemed to run normally and I was prompted to enter the license number and it was accepted. However, when trying to open the software after completing the installation, I am being prevented from doing so without renewing the Creative Cloud subscription.
Who knows of a solution to this problem?
Contacting Adobe’s Chat support and Customer Support portal has not resulted in a solution, even though they have confirmed the license number as being accurate and linked to my account. After weeks of waiting on their responses, yesterday I was told to go to the Forums to find a solution….Please Help Me….ThanksI am not familiar with the process involved with the link I am providing so please accept my apology if it is a repeat of something you have already tried...
How do I prevent Creative Cloud from taking over my CS6 perpetual license?
https://forums.adobe.com/thread/1584746 -
I purchased CS5 Design Standard about 5 years ago. Now I am trying to install second PC, but I got a message like " This serial number is not correct." I want to know the correct serial number, but I missed my ex adobe ID because I've changed my E-mail address.
It is not clear to me what your issue is with not being able to sign in to your Adobe account to find the serial number. You should still be able to sign in and find your serial number if you registered the software.
If your first PC is a Windows machine you might be able to extract the serial number from it using the Belarc Advisor
http://www.belarc.com/free_download.html -
Can I install Design Standard on more than one computer?
Can I install Design Standard on more than one computer?
Yes, your license provides for installing and activating the software on two machines. Any application within the suite can only be in use on one of the machines at any given time.
-
About a year ago I purchased the student addition of the Adobe Creative suite 6 Design Standard and just recently purchased an additional computer for my home. Can I use the same disc that I previously purchased to download the program?
Yes, as long as the machine meets the system requirements for the software you can install and activate it. Your license allows you to have the software installed and activated on two machines.
-
I have a windows vision for Adobe Creative Suite 4 Design Standard, Can I use same serial number with Mac?
Unfortunately, no. Creative Suite serial numbers are platform specific: Windows only or Mac only.
Maybe you are looking for
-
I just got my new i phone 5 s and did all the syncing and backing up for my old iphone 4s and set my 5 up and synced it on itunes. It synced evrything but the contacts and other minor things. those were the only things that really transfered. My ap
-
Word 2011 in Lion, cannot insert multiple images, crashes...
Greetings all, Having made the great switch to Lion last week, I have difficulty with Word '11. When trying to create a document with more than one picture, the program allows the first insertion, but thereafter it is not possible to add another. I h
-
Error in CHECK_REQUIREMENTS phase (Open ABAP Dictionary Conversions)
Hi Gurus, When were are trying to update SPAM/SAINT to version 7.00/0033 from 7.00/0029 we're encountering 'Open Conversions in the ABAP Dictionary' in CHECK_REQUIREMENTS phase, refraining to proceed further. It was due to 2 indexes in a table. Whe
-
CUA can be used between 2 clients which are in the central system
Hi Question 1: In case of CUA, we have the conecept of central system and child systems. From Central system we will be able to administer child system. Buy my question is can we implement CUA with the clients which are also on the central syst
-
Lost photoshop CC software to electrical storm. How do I download another copy?
Over Christmas we had an electrical storm that wiped out quite a few of my programs. Have been able to restore everything on Mac Yosemite but not Photoshop CC or Lightroom. Where do I find download of these software programs?