I have a content site where everything is currently in one SQL ServerDB. As I add features to the site, for example message boards andblogging, does it make sense to put those features in a separatedatabase? What would I lose and gain in doing so? Thanks so much.Erik
Are they're any real disadvantages or advantages in having 1 massive disk partioned to create 2 logical drives (not including the C drive) and separating the SQL Database File & Transaction Log so that it doesnt reside on the same logical drive?
I have a Small company in Delafield WI. And am moving to MS SQL. I know just enough to get me in trouble (I`m a VB guy) but can`t afford the self inflicted pain. Willing to work over the net, phone and/or let you RAS in. Or if you are in the area `Come on down`
Don't mean to intrude the forum, but i'm despereate...
I have a client in New York City who is looking for a MS Analysis Services Consultant. Please review the spec below and contact me if you are interested in discussing any further. Thanks, Michael
MS Analysis Services Consultant Minimum of 5-7 years of overall IT experience Hands-on, enterprise-wide, data warehouse experience. Strong background in multi-dimensional databases Must have a minimum of 2 years of experience creating applications and reports using MS Analysis Services, as well as cube creation, optimization and trouble shooting. Prior experience with MS Analysis Services administration and managing cubes is also a plus. Responsible for designing OLAP applications with MS Analysis Service (OLAP Server) and creating Cubes, Dimensions, Calculated measures with MDX, designing ETL custom scripts Must have very good communication skills
Don't know if this is the appropriate forum. I am looking for an experienced SS consultant to review our setup, hardware architecture, recovery plan, and to provide high-level advice moving forward. My company is a CRM hosted software provider with a dynamic, metadata-based product built in Visual Studio 2005. Currently we run on SS 2000, but plan to migrate to SS 2005 or 2008. We anticipate quite a bit of growth and want to make sure that we are on the right path. Let me know if you are interested or know someone who is.
Looking for a consultant with solid experience in application anddatabase security for a project in the GTA.CONTACT---------------------------------------------------Please send your resume to:Join Bytes!
Hi,I wonder if anyone can help with the following on a fee paying basisfor the the design or development of some type of script or utility orpiece of code to do the following work.I wish to retrieve some data from an online database that is in thepublic domain. The online database has a search facility that matchesthe entry (name) in a search box then returns a screen stating that amatch has been found or not found.If a match is found there is a button to click that proceeds to thescreen containing the data which is simply two names. It is these twonames that I wish to retrieve and store them in something like a textfile where they are associated with the original entry (name) used inthe search box.I have a list of the entries for the search box that can be suppliedin sample format for testing as a columnar text file or commadelimited file or a spreadsheet.. I would need the procedure toprocess the list of search entries, retrieve the data then move on tothe next one in the list. Obviously, if a match was not found then theprocess would need to move on the the next entry in the list withperhaps a message saying "No Match" until the entire list wasprocessed.The PC I hope to run the process on is a Windows XP machine and if Ineed to purchase any particular software that is necessary for the jobthen I am quite willing to do so. Also, as I pointed out above I wouldpay for the work to be done.I hope that I have explained the above OK and that I have posted it tothe correct newsgroup(s). If it is not in the correct newsgroup Iwould be grateful if anyone could point me in the right direction.RegardsDave Gibson
hi, i am thinking of using autonumber in my table which is more likely to grow over time. but i am also concerned that what if the records get too much? is there is any other fields to use instead of autonumber? is uniqueidentifier a better option? i have a bit of discussion with my colleague about this matter.
I'm about to use uniqueidentifier and NEWID() for my new DB,
The DB may grow wild and I want to super safely create connections between tables, so it would not just rely on numbers (that can B changed) as used with IDENTITY...
If U had some BAD experience with this or if U have any tips I can use please let me know
+
Should I take any special steps when using index on it ?
I have a hosted solution where the web host provider tells me I'm running on a 2005 platform, but when I check the DB options, it shows compatibility level 80. The provider tells me I'm not losing any performance by running in the lower compatibility mode. Is this truly the case? What else am I losing out on in terms of features or capabilities?
hi ! my boss is thinking of redoing our accounting system which is currently running on FOXPRO - we are planning on a VB/SQL SERVER platform.but he isn't convinced that the benefits of SQL server outweigh those offered by FOXPRO especially since everyone in the office is very comfortable with Foxpro.Can anyone give me some solid advantages of SQL SErver or any other RDBMS over Foxpro ?
If I have an application that has at most 20 users with an average of 3-4 concurrent requests to the server and the databases size is 1 gig probably to grow to at most 1.5 gigs in the next 5 years why would I choose Express over MSDE?
MSDE can take advantage of more than 1 gig of memory and can use 2 CPUs. I really don't see any benefit whatsoever in my case to go to SQL Express, in fact all I see is drawbacks.
I hear about upgrading all over the place but I just don't see any good reason in my situation. Am I missing something here?
This may be too general a question but I'm going to ask it anyway.
I'm moving data from a source DB (say A) to a target DB (say B). On A I need to join 3 tables and, after some lookups etc., I need to populate several tables in B. Inserting into B's tables involves sequential operations because in many cases I have to get back the value of an Identity column to use as in input value in a another table 'downstream'. Additionally, the tables in B are populated as a group i.e. if the insert on any one fails the entire group's insertion needs to be rolled back.
I set up a set of stored procedures to do this. The master Stored Proc opens a read-only cursor and for each row of the cursor executes the other SPs in proper sequence. Some of the SPs are 'enclosed' within a transaction to enable a Rollback on the group.
My major concern with this approach was the 'known' inefficiency of the cursor and the huge memory requirement it's use would entail (the cursor would pull about 15 million rows).
So I began looking into SSIS thinking it would be able manage the system resources aspect effectively and offer better performance overall. I've realized, however, that even in SSIS I would essentially need to first pull the 14 mil rows into a memory-resident object (or a temp table - whose benefit I'm not convinced of or haven't fully understood) before looping through each row to perform the data inserts into B.
So, is there any real advantage to this over the first approach ? Perhaps I haven't looked deep enough or wide enough. Any constructive suggestions / feedback would be highly appreciated.
What is the advantages/disadvantages of using Database Diagram and link all the tables in MS SQL Server Management Studio versus letting the application check and link the different tables at run time? Currently, I do not have all my tables linked in a Database Diagram. I do everything at run time in my application code behind. What are the best practices? Which is easier or perhaps more secure?
Hi, Generally I write all my SQL in Stored Procedures instead of using adhoc queries. But I dont feel good about stored procedures when I come across situations like this.
Lets say that I have a stored procedure something like this
CREATE PROCEDURE dbo.proc_MYSP @CaseID char(10) AS SELECT * FROM TABLE1WHERE CASEID = @CASEID
Suppose in future if the field CASEID is changed to char(20) then I need to change the declaration of CaseID in all my stored procedures that take CaseID as input parameter. If I write adhoc queries then I need not worry about this. Is there any effective solution for a situation like this.
Just wondering - on a straight RAID 5 system is there any advantage, performance or otherwise, to splitting a SQL 6.5 database over multiple database devices? Or for simplicity's sake am I just further off creating a single device and manually extending it as the database grows?
Dear All, what are the advantages of changing compatibility level from 80 to 90? are there any disadvantages doing this on production machine? will it take any downtime? i've searched the google but i didnt get the correct info.
Arnav Even you learn 1%, Learn it with 100% confidence.
I am trying to evaluate the pros and cons of using SQL Server over oledb connection to an access database.
So far
Pros Cons Access: Doesnt need to be installed by user. 2GB Data limit
SQLExpress: Not sure yet - more than 2gb data User has to install SQL Server compact.
Is there anything iv missed?
Iv run a quick test to decide on speed my results seem to suggest that oledb is faster at writing data, and SQL Server is faster at reading.
The test program clears the database:
and times how long it takes to insert 10000 records, the read the 10000 records back for OLEDB, then SQL Express.
Code Snippet using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.OleDb; using System.Data.SqlClient; using System.Timers; namespace ConsoleApplication1 { class Program { static int a = 0; static int b = 0; static void Main(string[] args) {
Timer tmr0 = new Timer(1); Timer tmr1 = new Timer(1); tmr1.Elapsed += new ElapsedEventHandler(tmr1_Elapsed); OleDbConnection oledbcon = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\database1.mdb"); oledbcon.Open(); OleDbCommand oledbcmd = new OleDbCommand("INSERT INTO Table1 (Can) VALUES ('1')",oledbcon); oledbcmd.CommandText = "DELETE * FROM Table1"; oledbcmd.ExecuteNonQuery(); tmr0.Elapsed += new ElapsedEventHandler(tmr0_Elapsed); tmr0.Enabled = true; for (int i = 0; i < 10000; i++) { oledbcmd.CommandText = "INSERT INTO Table1 (Can) VALUES ('" + i.ToString() + "')"; oledbcmd.ExecuteNonQuery(); } int aa = a; a = 0;
oledbcmd.CommandText = "SELECT * FROM Table1"; OleDbDataReader oledbreader; oledbreader = oledbcmd.ExecuteReader(); while (oledbreader.Read()) { oledbreader.GetInt32(0); } tmr0.Enabled = false; SqlConnection sqlcon = new SqlConnection("Data Source=localhost\SQLEXPRESS;Initial Catalog=;Integrated Security = SSPI"); sqlcon.Open(); SqlCommand sqlcmd = new SqlCommand("CREATE DATABASE Test",sqlcon); try { sqlcmd.ExecuteNonQuery(); } catch { } sqlcmd.CommandText = "CREATE TABLE Table1 (num INT)"; try { sqlcmd.ExecuteNonQuery(); } catch { } sqlcmd.CommandText = "DELETE FROM Table1"; sqlcmd.ExecuteNonQuery(); tmr1.Enabled = true; for (int i = 0; i < 10000; i++) { sqlcmd.CommandText = "INSERT INTO Table1 (num) VALUES ('" + i.ToString() + "')"; sqlcmd.ExecuteNonQuery(); } int bb = b; b = 0; sqlcmd.CommandText = "SELECT * FROM Table1"; SqlDataReader sqlreader = sqlcmd.ExecuteReader();
while (sqlreader.Read()) { sqlreader.GetInt32(0); } tmr1.Enabled = false; Console.WriteLine("OLEDB"); Console.WriteLine("Inserted 10000 records in "+aa.ToString()+"ms"); Console.WriteLine("Read 10000 records in " + a.ToString() + "ms"); Console.WriteLine("TOTAL: " + ((a + aa).ToString()) + "ms"); Console.WriteLine("SQL SERVER"); Console.WriteLine("Inserted 10000 records in " + bb.ToString() + "ms"); Console.WriteLine("Read 10000 records in " + b.ToString() + "ms"); Console.WriteLine("TOTAL: " + ((b + bb).ToString()) + "ms"); Console.ReadKey();
For the access database create a access2003 mdb file with a table "Table1" and a colomn of type integer called "Can";
save it as C:database1.mdb
Then compile and run above.
My results wereslow machine)
OLEDB Inserted 10000 records in 1512ms Read 10000 records in 6ms TOTAL: 1518ms SQL SERVER Inserted 10000 records in 1853ms Read 10000 records in 1ms TOTAL: 1854ms