Database advice needed
Since I have no knowledge of databases, I'm turning to my fellow Arch users for advice. I would like to have a collection of quotes. I don't believe something as simple as fortune text files would be sufficient, because I would like to have the ability to add meta information which classifies the subject or nature of a quote: tagging the moral of one of Aesop's fables as 'moral' or tagging a quote from Jefferson as 'personal liberty' to signify the subject of the quote. A database, as far as I know, will help simplify the maintenance and access to this collection. As for future plans, I may use this database to put a quote on my website. So my problem is that I don't know where to go from here. A simple interface is preferred but not necessary. As for integrating the database with my website, my hosting environment is the math department at Kansas State University. Thus my host will change when I change schools. Any suggestions or criticisms of my plans are welcome.
ok poet... here's a quick breakdown:
sqlite (mentioned twice) is rather interesting. It's self contained, meaning you don't need a seperate daemon running to retrieve the data (check out trac, it uses sqlite exclusively for all it's wiki data). There are also numerous sqlite language extensions (pysqlite is in my repo + AUR)
mysql most likely outperforms sqlite, however it requires a decent chunk of db knowledge, and runs a seperate daemon...
alot of people love mysql, but me, not being a web developer, would spring for sqlite instead.
Similar Messages
-
Reporting database advice needed
I need some advice from you folks that have been doing this a long time.
I've implemented a reporting database using materialized views. It runs on HPUX 11.23, using Oracle 10.2.0.2.Bottom line is that the performance on it is HORRIBLE. I'm talking on a scale of 1 to 10, it's a 1.
Are there any other options to doing a reporting database that updates nightly from the production database?
I'm getting hit hard to get this thing up and functional. But it's so poor, that people won't use it. I've run the sql through the tuner, and it comes back good. Is there some other way of looking into this thing to see where the brick wall is?
I had thought about using a standby database, running in read only mode. But I learned that once brought online in read only mode, it doesn't update the logs anymore. I guess I could run some nightly scripts to bring it back off line and into recovery mode to update all the logs, then return to read only?
Is there better options out there? I'm at a loss at this point.
Thanks.Being that the bad performance is coming off a different server, if I understand the environment, have your compared the hardware capability including cpu, memory, and disk?
What kind of disk do you have, is it stripped, etc ...?
Are both databases using the same version of Oracle?
Are both databases running on the same OS and version?
What do the OS level IO, memory, and cpu statistics look like?
What kind of network connection do you have between the two machines? Has anyone verified that the network card is set to full duplex? Has anyone even looked at the network for this situation?
HTH -- Mark D Powell --
PS - Is the second server physical or virtual? There are a lot of things that can impact performance. You have not provided much in the way of what the environment looks like. Reviewing the answers to the above questions may allow you to spot the problem.
Edited by: MarkDPowell on May 8, 2009 5:02 PM Add PS -
Front End to Oracle Database - Advice Needed
Hi
My company has recently purchased an Oracle Database. Are there any advantages in creating the front end in Oracle as opposed to writing the front end in Java.
I am interested to know if one method is preferred over the other. I was planning on writing it entirely in Java.
Any help or advice would be appreciated.
Thanks
Kellyhttp://www.tuxedo.org/~esr/faqs/smart-questions.html#ASKING
pls don't crosspost
http://forums.java.sun.com/thread.jsp?thread=243868&forum=31&message=892346
http://forums.java.sun.com/thread.jsp?thread=243869&forum=48&message=892352 -
I'm getting the following errors while trying to provision a PS 2010 PWA on our SharePoint 2010 farm. Our PS instance has been working for a while now, and houses two other PWAs. But today,
when trying to create this one, I get "Failed - see the Application event Log" and the following in the Event Viewer:
Log Name: Application
Source: Microsoft-SharePoint Products-Project Server
Date: 4/2/2014 2:09:08 PM
Event ID: 6980
Task Category: Provisioning
Level: Error
Keywords:
User: DOMAIN\DB_Access
Computer: server
Description:
Provisioning 'PWA/SDN': To create databases we need dbcreator and securityadmin server roles on servers 'DB1' and 'DB1'.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-SharePoint Products-Project Server" Guid="{b2178104-1b5b-4c20-8c8f-960678ced9e5}" />
<EventID>6980</EventID>
<Version>14</Version>
<Level>2</Level>
<Task>20</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2014-04-02T19:09:08.225Z" />
<EventRecordID>1676727</EventRecordID>
<Correlation ActivityID="{90131653-B0A4-4FAF-A43C-7DF07CBC3332}" />
<Execution ProcessID="11040" ThreadID="12384" />
<Channel>Application</Channel>
<Computer>sharepoint</Computer>
<Security UserID="S-1-5-21-2280669542-4145173436-3058324265-4222" />
</System>
<EventData>
<Data Name="string0">PWA/SDN</Data>
<Data Name="string1">DB1</Data>
<Data Name="string2">DB1</Data>
</EventData>
</Event>
Log Name: Application
Source: Microsoft-SharePoint Products-Project Server
Date: 4/2/2014 2:09:08 PM
Event ID: 6993
Task Category: Provisioning
Level: Error
Keywords:
User: DOMAIN\DB_Access
Computer: sharepoint
Description:
Provisioning 'PWA/SDN': Failed to provision databases. An exception occurred: To create databases we need dbcreator and securityadmin server roles on servers..
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-SharePoint Products-Project Server" Guid="{b2178104-1b5b-4c20-8c8f-960678ced9e5}" />
<EventID>6993</EventID>
<Version>14</Version>
<Level>2</Level>
<Task>20</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2014-04-02T19:09:08.225Z" />
<EventRecordID>1676728</EventRecordID>
<Correlation ActivityID="{90131653-B0A4-4FAF-A43C-7DF07CBC3332}" />
<Execution ProcessID="11040" ThreadID="12384" />
<Channel>Application</Channel>
<Computer>sharepoint</Computer>
<Security UserID="S-1-5-21-2280669542-4145173436-3058324265-4222" />
</System>
<EventData>
<Data Name="string0">PWA/SDN</Data>
<Data Name="string1">To create databases we need dbcreator and securityadmin server roles on servers.</Data>
</EventData>
</Event>
Log Name: Application
Source: Microsoft-SharePoint Products-Project Server
Date: 4/2/2014 2:09:08 PM
Event ID: 6958
Task Category: Provisioning
Level: Error
Keywords:
User: DOMAIN\DB_Access
Computer: sharepoint
Description:
Provisioning 'PWA/SDN': Database provisioning failed.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-SharePoint Products-Project Server" Guid="{b2178104-1b5b-4c20-8c8f-960678ced9e5}" />
<EventID>6958</EventID>
<Version>14</Version>
<Level>2</Level>
<Task>20</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2014-04-02T19:09:08.225Z" />
<EventRecordID>1676729</EventRecordID>
<Correlation ActivityID="{90131653-B0A4-4FAF-A43C-7DF07CBC3332}" />
<Execution ProcessID="11040" ThreadID="12384" />
<Channel>Application</Channel>
<Computer>sharepoint</Computer>
<Security UserID="S-1-5-21-2280669542-4145173436-3058324265-4222" />
</System>
<EventData>
<Data Name="string0">PWA/SDN</Data>
</EventData>
</Event>
Log Name: Application
Source: Microsoft-SharePoint Products-Project Server
Date: 4/2/2014 2:09:08 PM
Event ID: 6971
Task Category: Provisioning
Level: Error
Keywords:
User: DOMAIN\DB_Access
Computer: sharepoint
Description:
Failed to provision site PWA/SDN with error: Microsoft.Office.Project.Server.Administration.ProvisionException: Failed to provision databases. ---> Microsoft.Office.Project.Server.Administration.ProvisionException: To create databases we need dbcreator and
securityadmin server roles on servers.
at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureDatabases(ProjectProvisionSettings provset, SPSite pwaSite, String adminName, String adminEmail, ProjectDatabaseStateType& originalDatabaseState, Guid& adminGuid)
--- End of inner exception stack trace ---
at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureDatabases(ProjectProvisionSettings provset, SPSite pwaSite, String adminName, String adminEmail, ProjectDatabaseStateType& originalDatabaseState, Guid& adminGuid)
at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateSite(ProjectProvisionSettings provset)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-SharePoint Products-Project Server" Guid="{b2178104-1b5b-4c20-8c8f-960678ced9e5}" />
<EventID>6971</EventID>
<Version>14</Version>
<Level>2</Level>
<Task>20</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2014-04-02T19:09:08.226Z" />
<EventRecordID>1676730</EventRecordID>
<Correlation ActivityID="{90131653-B0A4-4FAF-A43C-7DF07CBC3332}" />
<Execution ProcessID="11040" ThreadID="12384" />
<Channel>Application</Channel>
<Computer>sharepoint</Computer>
<Security UserID="S-1-5-21-2280669542-4145173436-3058324265-4222" />
</System>
<EventData>
<Data Name="string0">PWA/SDN</Data>
<Data Name="string1">Microsoft.Office.Project.Server.Administration.ProvisionException: Failed to provision databases. ---> Microsoft.Office.Project.Server.Administration.ProvisionException: To create databases we need dbcreator and securityadmin
server roles on servers.
at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureDatabases(ProjectProvisionSettings provset, SPSite pwaSite, String adminName, String adminEmail, ProjectDatabaseStateType& originalDatabaseState, Guid& adminGuid)
--- End of inner exception stack trace ---
at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureDatabases(ProjectProvisionSettings provset, SPSite pwaSite, String adminName, String adminEmail, ProjectDatabaseStateType& originalDatabaseState, Guid& adminGuid)
at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateSite(ProjectProvisionSettings provset)</Data>
</EventData>
</Event>
Anybody ever get any events like this before? I'm not finding much or nothing on Google or on other forums, so I thought I would run it past and see if anyone has experienced anything of a similar
nature. And yes, the farm account obviously has creator/secadmin permissions, at this point of our deployment....
I look forward to any and all feedback. Thanks and good afternoon!I figured out the answer to this myself. For those few who might run into something akin to my error...
During the off-hours of where I work, I re-applied the farm account credentials to all dB server VM SQL services that had the account for a log-on (i.e., MSSQLSERVER, SQLSERVERAGENT, etc.) as well as all SharePoint services on our WFE/App Server VM (a two
server farm is what we host), in that order. Then I rebooted the dB server first, followed by the SharePoint server. Upon coming back, everything was working fine again. I was able to provision a site, no probelm, and it seemed to even be a little snappier
when doing so.
One note: doing this procedure gave me a "One or more services have started or stopped unexpectedly" error in the Health Analyzer, for the SPTimerV4 service. When you get this, simply enter into the item and click on "Reanalyze Now;" this will quickly clear
the error out of the Analyzer, and all should be right with the world! :) -
Advice needed on buying iphone as gift
I went to apple store, they do not want to sell iphone to me unless I sign AT&T 2 years plan. I thought AT&T has locked the phone and users must subscribe in order to use it. Why Apple store still not allow me to buy?
Please advice, if I want to buy online iphone for my brother, do I or my brother have obligation to sign out AT&T plan?
One more advice needed, I found the shipment takes weeks, do I have option to arrange for self-collection?
My brother birthday is coming soon, I need above advice urgently.
Thank you very muchTamara wrote:
I'm guessing English is not your first language. It's possible that you misunderstood them. Apple Store employees won't refuse to sell you an iPhone and you don't have to sign up for service in the store.
Well that's not entirely true.
Apple Stores have been instructed not to sell you an iPhone if any of the following is true:
You state that you will not be signing up with AT&T.
You do not have an ID from a US state, also indicating you will not be activating with AT&T
You do not have a credit card
For example, I've seen US Apple Store managers refuse to sell iPhones to European residents because of the AT&T lock-in. -
Wich oracle database i need to buy(license) for oracle portal
wich is better oracle database i need to buy(license) for oracle portal (10g)
Hmmm... I'm not too sure. But we use 10.1.4.
Try contacting your nearest Oracle reseller I guess! -
Video intensive work on Mac Pro? Advice Needed
Hi everyone,
I've been originally saving up for a while now for an iMac 24" as it offers the best specification price wise. But now I leaning on the Mac Pro and therefore need some advice.
I know that there are alot of posts on advice - need to buy mac etc. so therfore I would really appreciate if I am afforded some help.
I am mostly going to do ALOT of video encoding (via handbrake) and I am looking for the best configuration available to achieve lowest waiting time.I think you should go back and look at the other threads with advice, your budget. There is "ideal" and "affordable."
Will it pay for itself in 24 months so you can afford the next revision at that time?
Start with an 8-Core 3GHz.
Add a Port Multiplier controller and two drive cases, 5 drives each, nearly 400MB/sec RAID.
Throw in 8GB RAM.
Add in costs for software upgrades, two sets of backups, four internal 500GB drives.
Seagate has 750GB, as does WD. Hitachi has their $450 1000GB monster.
Give yourself time to build, test, and optimize your setup, and expect to change it over time as you learn more.
Can't afford that? then trim the 8-core. But Apple has shown how efficient next generation applications already are for video when it comes to 3GHz 8-core Mac Pro. -
Database Creation - Need suggestions
Hi All,
I have posted a thread under 'Database - General' category. Thought of sharing the same here.
Please share your inputs on this.
Database Creation - Need Help
Thanks in advanceThis has been answered under 'Database-General category' and hence I am markng it answered here. Thank you.
-
Where is the forum for TFS, I have found an issue related to its database I need help
Hello,
Where is the forum for TFS, I have found an issue related to its database I need help
One of the encrypted Stored Procedure is throwing an error and I have no
idea how to fix the problem.
EXEC dbo.InstallWorkItemWordsContains
FOR XML could not serialize the data for node 'nt_user_name' because it contains a character (0x0000) which is not allowed in XML. To retrieve this data using FOR XML, convert it to binary, varbinary or image
data type and use the BINARY BASE64 directive.
Msg 3616, Level 16, State 2, Line 1
An error was raised during trigger execution. The batch has been aborted and the user transaction, if any, has been rolled back.Hello,
Here are the
Visual Studio Team Foundation Server forums.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
Had to have a rebuild of my laptop....advice needed!
Had to have a rebuild of my laptop....have now lost all my music from my itunes, but I can't transfer back on from my ipod. Also had to register my laptop (same) as another computers, so now no music showing as purchased, though I have. Also have hours of uploaded music from my own purchased, legitimate CDs, but won't transfer from ipod...it says it will erase. So very frustrated....thanks mr technician! PLEASE ....help, advice needed!
I believe that if you do a clean reinstall from your HD's recovery sector (D) or Recovery disks, the hard drive sector C is wiped clean. Everything goes, apps, data, address books, music, pix, viruses
Is that what you did? -
I am using InDesign CS5. I have a body of text which is ranged left with tabbed indents. My client now wants the copy to be justifed, keeping the tabbed indents. Help and advice needed please!
Hi
That screen grab helps a lot. There’s a much easier way of doing what you’re doing.
Remove all your tabs and set the text in justified paragraphs.
I’ve typed in dummy text in the example I made below, but after “19.1” put in a space and put your blinking cursor after the space and before the ’N’ of ‘Notices'.
Then hold down the Command key and hit Backspace (on Mac at least - it’s the key between the Inverted commas/ apostrophe key and the return key).
The text will jump into place the way you want it to.
Hope that helps
Paul
PS You can set a tab, instead of using a space, in the description I gave above. So, after 19.1 or 19.2 or 19.185 etc etc insert a tab, then hit the Command Backspace after every paragraph number and they'll all line up exactly together. You'll find that editing text within the paragraphs
after you've set it will be LOADS easier this way.
You can put the tab anywhere you want it to be using 'Command-ShiftT' and putting a 'left align' tab just after the number. Just type the Command Backspace after the paragraph number and it'll work -
MOVED: Various advice needed to overclock cpu using my MSI k8n platinum sli
This topic has been moved to Overclockers & Modding Corner.
Various advice needed to overclock cpu using my MSI k8n platinum sliwhat HSF for cpu/ cooling for the case do you use? And also, where are the flashing lights?
-
Advice needed regarding Database design practice
OK, here is my situation. I've started working for a company about 6 months ago. I'm a .NET developer with 12+ years of experience. Most of my experience with databases is with SQL Server. Recently I've discovered an design change with our Oracle database that our DBA made that I completely disagree with.
We had a single Event table that holds records that pertain to all HTTP traffic on a network as HTTP Usage Event. There are multiple hardware units called 'Sensors' that monitor the network and report these HTTP events to the database. At some point not long ago, the table was holding just over a million records. Performance was suffering so the DBA decided to make a change to the database to accommodate. The change she made was to create a separate Event table for each sensor. Each sensor has an integer value as a unique identifier, so our database went from having a single Event table to now having Event_100, Event_101, Event_102, etc...
So, we now have over 200 Event tables in our database. Anytime a sensor is added to the system, we need to add another table (actually two as there is a 2nd table that was duplicated in this same fashion).
How do I present this to my boss and to the DBA in a way that I don't embarrass my boss (he approved the change) and without pissing off the DBA? I can't imagine that the table couldn't have been optimized as it was to take care of the issues with performance without so dramatic a change.
Any advice would be greatly appreciated.
Edited by: jreddy on Dec 15, 2010 6:51 AMThere is a job to purge old data. Events are kept for 3 months. These jobs were actually part of the problem, as well as removing sensors from the system. In either of these cases, the deletion of the data (more so with the removal of a Sensor i.e. DELETE FROM EVENT WHERE SENSORID = X, was taking too long).
I'm surprised that there have been people agreeing to this design. So, now we have 208 sensors, so 208 Event tables and another table named DATA_HASH duplicated 208 times. There may be a time when our database will be handling data from over 1,000 sensor units. Maybe even double that. Can anyone argue that having 2,000 event tables is the way to go? What if we need to add a new field to the table? Do that 2000 times?
I've been looking at bit more at the data today. I found some event tables haven't got any data (0 rows) while others range in row counts of 2 million up to as much as 30 million? I've talked to SQL DBA's and they all think that Oracle should be able to handle billions of rows in a table.
Also, just out of curiosity, I looked up the max size for a table in Oracle 10. I know the number of rows isn't the determining factor for this, but size of the data. I was astounded to find out the max size for data storage for a single table. 127 TB (yeah, tera bytes). Based on this size, it seems our data could be handled by 1 table, but then maybe I'm wrong. -
Advice Needed - Events that span multiple years?
Just wanted some advice from others if this makes sense. I was originally thinking a setting up Events for only one year but does it make more sense to say have a Event called Birtday Parties and have all my kids birthday parties pics for all the years in that one event and then have smart albumns to show current year/4-5 star rated pics and maybe one smart albumn that does the same but across all years. How do others arrange their events.
Craig7535:
Welcome to the Apple Discussions. What you might want to look into is using a Smart Album to group all the photos of a specific annual event. The criteria would be Date = xx/xx/07 AND date = xx/xx/06, etc. That would group all the photos on that month and date for each year added. Now if some of the photos have a different date you can change it within iPhoto so they would be picked up by that smart album.
You could create an Event for that but would have to manually find and drag the appropriate files into that even.
Do you Twango?
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file. -
Internal hard drive for late 2003 DP G5... advice needed!
Hello,
I need to get additional storage for a G5 DP 1.8 that I use at work. I'm thinking of getting an internal hard drive rather than an external hard drive, mainly because of pricing - is that the better option? I need a minimum of 200Gb, preferably 300GB.
If I was to buy an external storage device, compatibility isn't much of a problem... however, as an internal hard drive would be purchased through the work account of the PC-based IT department, I want to make sure that I'm getting something that is Mac-friendly.
At present, between the IT guys and myself, we've settled on the Maxtor MaxLine III 300Gb Hard drive- 3.5"/ SATA-150 7 Pin Serial ATA/ 7200 Rpm/ 16 Mb Buffer. Would this work fine in a late 2003 G5 DP 1.8?
Or is there a strong argument for following the external route and purchasing something like the Smartdisk CrossFire 250GB FireWire/USB2 hard drive?
Any advice much appreciated! Thanks!If you want performance, an interal drive ist best.
A PCI(-X) SATA controller with internal or external connectors is just as fast (and should work with any harddrive, unlike the built-in SATA controller). Firewire 400 is somewhat slower, and USB2 is far worse. Firewire 800 is pretty close to SATA.
Anyway, I believe the Maxtor you listed should work fine.
External is great for portability, too keep an out-of-house backup for example.
-- Related stuff --
List of other drives I believe to work.
Another thread about SATA drive compatibility
Please double check compatibility - if in doubt - in the
xlr8yourmac: Drive compatibility database
Quad G5 Mac OS X (10.4.7) 4 GB ECC RAM, Raptor 150 GB, Seagate 750 GB, GeForce 7800 GT
Maybe you are looking for
-
IMac won't go past apple logo screen and vertical lines on display
I have an old white iMac that won't boot. When booting up the screen has vertical purple lines and I can see the Apple logo. The little "dial" just spins and spins. Does anyone know how to fix this? thank you for any and all help.
-
All the menus are coming up as capital A in a box and so are all the icons
All the Menus and icons are coming up as capital A with a square around them.The main tool bar is also this way which includes all the drop down menus. Need to fix soon. Please help me out on fixing this annoying issue, Thanks, Eric
-
In the settings I see there is a tv out option
what does the tv out allow you to do? thanks c
-
I Don't Want TV Shows Downloaded to My Computer
I noticed that when I download TV shows from the iTunes store for my ATV that every time I get on iTunes through the computer it is synced to it automatically downloads the episodes to my computer. Is it possible to stop this from happening?
-
Applications Closing Immediately After Launching
I signed up for the yearly subscription of Adobe CC Complete and installed Adobe Premiere, Photoshop and AE. No matter which program I open, after creating a new project or opening an old one the application closes immediately. Applications that do n