Sql Server Express download (what version?)
I am going to download 'SQL Server 2008 Express Edition Service Pack 1' and there are three versions. Once is 64 bit, which I know I don't need because I am running XP. What is the difference between SQLEXPR_x86_ENU.exe and SQLEXPR32_x86_ENU.exe. Which one should I get?
Much thanks
I wish this was available on the download page. I may have missed it though.
Also for the lazies, quote from Mike's blog that answers my question is posted below.
It's worth writing about the naming of the files and how the file name relates to what you're installing. As in the past, there are different downloads available for Express depending on the OS architecture and language you want to install. SQL Express core has three packages available while SQL Express w/ Tools and SQL Express Advanced have two each.
SQLEXPR32_x86_ENU.exe / SQLEXPR_x86_ENU.exe
SQLEXPR identifies the core edition, the addition of the 32 means that it is a 32bit only package. (We do this in order to reduce the size for deployment.) Without the 32 means it supports installing in the WoW subsystem on an x64 platform, but it's still the 32bit version of SQL Express.
x86 is used to identify that this is the 32bit version of SQL Express.
ENU identifies the language, English here. Different languages will have different three letter suffixes.
SQLEXPR_x64_ENU.exe
x64 is used to identify that this is the 64bit version of SQL Express, so it can only be installed on x64 systems. We don't support installing SQL Express onto IA64 computers.
SQLEXPRWT_x86_ENU.exe / SQLEXPRWT_x64_ENU.exe
These are the package names for SQL Express with Tools.
There is no 32bit only package for this edition, just the 32bit WoW package.
SQLEXPRADV_x86_ENU.exe / SQLEXPRADV_x64_ENU.exe
Same as above but for SQL Express Advanced.
Similar Messages
-
How to install and use sql server express 2014 with tools
I am a student and have an assignment that requires I use either mysql or sql server, so I chose to download and install sql server express 2014 with tools, but after installation was complete all I can see is sql server 2014 import and export data (64-bit)
and I have no clue what to do wiith it...I had used sql server 2008 a couple of years ago and it was easy, but this is very complicated, I have been trying to get this done for 2 days now, so someone please help me and tell me what I am doing wrong.Hi,
It seems you did not installed complete software. Make sure you have downloaded below from
SQL Server Express Download link
Express with Advanced Services (SQLEXPRADV) when you click on Get started button on page displayed by clicking on above link. This download includes Sql Server Management Studio as well.
Before moving I would Like you to first read
Hardware and Software requirements
Please refer
how to install SQL server 2014 express
Above Link is for Enterprise edition but you can use it for express as well. When you reach page feature selection please select all features to install.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
SQL Server Express 2008 - 1617 versus 1600
Hello,
My SQL Server Express 2008 R2 version is 10.50.1617.0. Two of my instances (SQLEXPRESS and SQLEXPRESS2) are also version 10.50.1617.0.
However, when I install a new instance, the version is 10.50.1600.0 (SQLEXPRESS3).
How can I install a new instance with the same version as the othe two instances, eg 10.50.1617.0?
Thanks in advance,
S.J. WestraHi S.J,
The version 10.50.1600.0 is SQL Server 2008 R2 RTM with no Service Pack. The version 10.50.1617.0 is GDR Security Update.
You will see the size of GDR relatively small .Secondly GDRs increase the build number to a very small margin
(as you can see from 1600 its 1617).
You could use SQL Server setup file to upgrade the SQL Server to a higher version.
Hope this helps.
Maggie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread. -
I can't see sql server express 2012 from ssms 2008 R2 -- what do I need to download?
I'm running sql server 2008 R2 Developer on a win7 (pro) workstation. I would like to keep this installation because it has SSRS and Analysis Server. But I was not able to attach a sql 2012 DB so I downloaded Sql Server Express 2012 (per the
picture below - 1st option selected) and installed it. Sql Server Express 2012 appears to be running -- per my services list, but I cannot see the instance in ssms 2008 R2. Do I need to uninstall Sql Server Express 2012 and then download another
option (from the picture below)? How should I proceed so that I can have a working/workable instance of Sql Server Express 2012 that I can see in ssms (whatever required version) and also keep sql server 2008 R2? which download should I select (from
the picture below?
Rich PShould I uninstall Sql server 2012 first?
Rich P
No you do not need to uninstall any thing
>> Sql Server Express 2012 appears to be running -- per my services list, but I cannot see the instance in ssms 2008 R2.
You need to just download SQL Server 2012 express management studio and use that to connect to SQL Server 2012. And use SSMS 2008 r2 to connect to SQL Server 2008 r2.
This File :ENU\x64\SQLManagementStudio_x64_ENU.exe
Although I guess SSMS 2012 express with SP2 would work just fine and you would connect to 2008 R2 database using that.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
What MS SQL Server Express version should I install?
Hi, I'm planning to use MS SQL Express for my LabVIEW app under Windows 7.
There are 3 versions available on the MS site: 2005, 2008, 2012. My first choice is on the latest, however I wonder if there may be any reason to choose an earlier version.
Also I wonder if the installation could conflict some way with the SQL Server Express 2005 the DSC module uses.
Sorry for my rather dumb questions but I'm not very strong on the relational databases subject.
Thanks a lot for any comment.
Paolo
LV 7.0, 7.1, 8.0.1, 2011Ranjeet...
I am using SQLServer Express 2012 with TestStand 2012 and having no luck getting TestStand to log to the catalog that I have created based off of the standard NI SQL scheme.
When creating the tables using the build sql file I found that...
I ran ito issues with the 'constraint' SQL commands TestStand was using:
CONSTRAINT STEP_RESULT_FK FOREIGN KEY (UUT_RESULT) REFERENCES (ID))
this must actually be:
CONSTRAINT STEP_RESULT_FK FOREIGN KEY (UUT_RESULT) REFERENCES UUT_RESULT (ID))
Note.... the 'UUT_RESULT' infront of (ID), without this the statement fails.
I had to correct all the constraint commands in order to get the tables built.
Now when I try to use the catalog to log data using TestStand I get...
An error occurred calling 'LogResults' in 'ITSDBLog' of 'zNI TestStand Database Logging'
An error occurred executing a statement.
Schema: SQL Server Stored Proc (NI)
Statement: UUT_RESULT.
Description: Could not find stored procedure 'InsertUUTResult'.
Number: -2147217900
NativeError: 2812
SQLState: 42000
Reported by: Microsoft OLE DB Provider for SQL Server
Source: TSDBLog
The procedure is present so I am confused.
FYI... I am currently using TestStand in eval mode as I am waiting on delivery, could the eval mode be the issue???
Any help would be greatly appreciated. I have done this before with TestStand 3.5 and SQL Server 2008 with no problems so I am confused why it not working now.
Pete -
We have purchased a new computer that has Win 8.1 Pro. We are migrating an application from a Win 7 Pro machine we are currently successfully using (the vendor migrates it for us) and they have said that the application will require the installation of SQL
Server 2008 Express (which we do have on our Win 7 machine).
In looking at the requirements for SQL Server 2008 Express (on the download page for it), it does not mention it being compatible with Win 8.1
In addition, Installation Instructions says that it requires:
Microsoft .Net Framework 3.5 SP1
Windows Installer 4.5.
Windows PowerShell 1.0
I see that 3.5 is already listed as a program feature of Win8.1 and I've enabled it. Do I need to install SP1? I downloaded it, and launched it, and nothing happened.
I also looked at the Windows Installer 4.5 download page, and it's not clear if that is compatible with 8.1. Do I need to download and install it?
Power Shell 2.0 is already installed. I assume that will be backwards compatible with PowerShell 1.0; is that correct?
I saw another question about SQL Server Express Compatibility with Win 8.1 (http://social.technet.microsoft.com/Forums/windows/en-US/038ec00e-4fc1-41ba-9fdc-21c022aad67e/action?threadDisplayName=sql-server-express-compatibility-with-windows-81) and the response
said that SQL Server Express 2012 will work, but the link contained in the answer led to a page for SQL Server Express 2014.
My vendor has told me that SQL SERver Express 2012 will be backwards compatible with their product. But they said that I would first have to install 2008 first. Is that correct for Win 8.1?
So, the ultimate questions are:
1. What is the link for Sql Server 2012 Express for Win 8.1?
2. Will the SQL Server 2012 Express download require prior install of the 2008 version
3. What other component requirements are required for SQL Server 2012 Express, and how can I determine if they have already been installed. (This is a brand new computer with a clean Win8.1 Install).
4. Finally, can we use the 2014 version of SQL Server Express for Win 8.1? If so, questions 1, 2 and 3 apply, too.
Thanks for your help on this!! HIGH ANXIETY.Hello,
The following article provides which updates are required to make SQL Server versions compatible with Windows 8 or 8.1:
http://support.microsoft.com/kb/2681562/en-us
1. You can use the product updates feature on SQL Server 2012 to make it compatible with Window 8.1. Apply SP1 as described on the following
article:
http://www.sqlcoffee.com/SQLServer2012_0008.htm
2. No.
3. Download and install .NET Framework 4.0 and enable .NET Framework 3.5. For more information:
http://www.sqlcoffee.com/SQLServer2012_0017.htm
4. Yes, you can use SQL Server 2014 with Windows 8.1. Please refer to the Support article provided above.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
SQL Server Express with SS Management Studio. Which version is lightest/smallest?
I’m looking to download the smallest/lightest version of SQL Server Express with SS Management Studio.
Which option should I choose?
http://www.microsoft.com/en-us/download/details.aspx?id=29062
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.Hello,
What's the main propuse you use SQL Server Express edition? If you just use SQL Server in development. You can try to use SQL Server 2012 Express LocalDB.
LocalDB is a lightweight version of Express that has all its programmability features.SQL Server Express LocalDB runs in user mode, and you can install it more quickly with fewer prerequisites (a minimal set of files necessary to start the SQL Server Database
Engine) and no configuration.
Reference:
Introducing LocalDB, an improved SQL Express
SQL Express v LocalDB v SQL Compact Edition
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
What's SQL Server express got over Access?
I have recently found out that there is a free version of SQL
server called SQL Server Express, and I wondered if anybody here
uses the express version.
What has it got that beats Access? What benefit can I get
from using it over Access? Does it have any benefits over MySQL?
Also, does it have a user interface or is it command line
based?
Any help and advice would be greatly appreciated.
Thanks.
Matmatthew stuart wrote:
> I have recently found out that there is a free version
of SQL server called SQL
> Server Express, and I wondered if anybody here uses the
express version. What
> has it got that beats Access? What benefit can I get
from using it over Access?
> Does it have any benefits over MySQL? Also, does it have
a user interface or
> is it command line based? Any help and advice would be
greatly appreciated.
> Thanks. Mat
>
The main difference is that it's a server, unlike Access
which is file
that the webserver connects to. It comes with Management
Studio software
that allows you to connect to the sql server.
If you own your own or rent a Windows webserver then you can
happily
install SQL express, but if you don't, your host will have to
offer it
to you as an add on, just like they have to offer MySQL as
part of your
hosting package.
Access is really a desktop application that can work on a
website, but
its not a "proper" sql server like MS SQL or Oracle or any
other other
big boys out there.
You don't need to know SQL to use it, but if you opt to learn
SQL, even
just the basics, then it will all make sense and will be
beneficial to you.
Steve -
Write a connectionstring for a SQL Server Express 2014 version
How do you write a connectionstring for a SQL Server Express 2014 version?
http://msdn.microsoft.com/en-us/evalcenter/dn434042.aspxHi,
Which application you are using to connect to SQL Server ?
Below links have different examples
http://msdn.microsoft.com/en-us/library/ms228094%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/jj653752%28v=vs.110%29.aspx
https://www.connectionstrings.com/sql-server-2012/
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
What is the correct wording to connect to an SQL Server Express 2014 database?
I am connecting to an Access 2007 database:
oleConnection = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\...\\Db.accdb");
What is the correct wording to connect to an SQL Server Express 2014 database?
bhs67Hello,
Please make sure you change RemoteServer with the computer name of the intended SQL Server server.
Make sure the SQL Server instance have enable TCP/IP and Named Pipes protocols. Use the following article to enable them:
http://msdn.microsoft.com/en-us/library/ms191294.aspx
Start SQL Server Browser Service using SQL Server Configuration Manager.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Version of SQL Server Express for a Secondary Site in Configuration Manager 2012 R2
Hi,
I want to install a secondary site in my Configuration Manager 2012 R2. I want to install the SQL Server Express in a diferente drive. To do so, I want to previous install the SQL Server Express.
Can I use the SQL Server 2014 Express?
Thanks in advance...
DmsousaSorry, going to be blunt here, but this is why "best practices" are useless. If you don't know the "why" of the best practice and when to apply it, it will cause you to do things that simply aren't necessary (or even harmful) by
blindly trying to apply them. It is simply is not necessary for secondary sites for perf or any other reason. Also, if this is a VM, then your virtual disks will most likely be on the same physical disks which means you do *not* in any way gain any perf benefits
anyway (perf benefits come from have additional physical spindles -- logical separation is just that *logical*).
You have far bigger challenges ahead of you, push the easy button on this one, let ConfigMgr deploy SQL Express for you and move on.
Jason | http://blog.configmgrftw.com | @jasonsandys -
SQL Server Express 2014 on Win8.1: Could not find the Database Engine startup handle
Hello,
I tried to follow all the similarly titled posts in this forum, yet no solution seems to work, so I hope I can find some up-to-date suggestion here (most of the older posts refer to versions from 2008 to 2012...).
I have installed Visual Studio 2013 (with the latest Update 2 RC) on a freshly installed development workstation with Win 8.1 with all its updates. Now I'd want to install SQL Server 2014 Express, but the setup keeps failing with the dreaded "Could
not find the Database Engine startup handle" error (the log follows below).
What I tried:
1) download again and repair. Same error.
2) completely uninstall by launching setup.exe /Action=uninstall (success), then rebooting the OS, then installing again. Same error. I did this twice, the second time I also manually removed any directory left out in C:\Program Files etc.
When I launch the setup, I select all the components for installation in the package SQLEXPRADV_x64_ENU.exe (1.12 GB, last downloaded today -Apr 3, 2014-), and accept all the defaults including the proposed services accounts. There is no preexisting
SQL Server instance, as expected.
The setup takes its time, and finally fails with the error quoted above. I really do not want to reformat my HD and fully reconfigure my workstation, which took about 3 days... Could anyone suggest a solution to have SQL Server 2014 setup so I can start
developing instead of wasting time in administering the system?
Thanks to all! The log follows.
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2061893607
Start time: 2014-04-03 18:30:58
End time: 2014-04-03 19:04:41
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for RS: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for SQLEngine: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for FullText: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for Replication: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Machine Properties:
Machine name: DIOMEDES
Machine processor count: 4
OS version: Windows 8
OS service pack:
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature
Language Edition Version Clustered Configured
Package properties:
Description: Microsoft SQL Server 2014
ProductName: SQL Server 2014
Type: RTM
Version: 12
SPLevel: 0
Installation location: C:\Users\Daniele\Downloads\SQLEXPRADV_x64_ENU\x64\setup\
Installation edition: Express
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: true
AGTSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Disabled
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CLTCTLRNAME: <empty>
CLTRESULTDIR: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: <empty>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
CTLRUSERS: <empty>
ENABLERANU: true
ENU: true
ERRORREPORTING: false
FEATURES: SQLENGINE, REPLICATION, FULLTEXT, RS, CONN, BC, SDK, BOL, SSMS, ADV_SSMS, LOCALDB
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: NT Service\MSSQLFDLauncher$SQLEXPRESS
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: true
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: SQLEXPRESS
INSTANCENAME: SQLEXPRESS
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: NT Service\ReportServer$SQLEXPRESS
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <empty>
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: Latin1_General_CI_AS
SQLSVCACCOUNT: NT Service\MSSQL$SQLEXPRESS
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: DIOMEDES\Daniele
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 0
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: MU
USEMICROSOFTUPDATE: false
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140403_183057\ConfigurationFile.ini
Detailed results:
Feature: Management Tools - Complete
Status: Passed
Feature: Client Tools Connectivity
Status: Passed
Feature: Client Tools SDK
Status: Passed
Feature: Client Tools Backwards Compatibility
Status: Passed
Feature: Management Tools - Basic
Status: Passed
Feature: Reporting Services - Native
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A0019
Error description: Could not find the Database Engine startup handle.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025
Feature: Database Engine Services
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A0019
Error description: Could not find the Database Engine startup handle.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025
Feature: Full-Text and Semantic Extractions for Search
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A0019
Error description: Could not find the Database Engine startup handle.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025
Feature: SQL Server Replication
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A0019
Error description: Could not find the Database Engine startup handle.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025
Feature: SQL Browser
Status: Passed
Feature: Documentation Components
Status: Passed
Feature: SQL Writer
Status: Passed
Feature: LocalDB
Status: Passed
Feature: Setup Support Files
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140403_183057\SystemConfigurationCheck_Report.htmThank you, it worked! I suppose that it was really your nr.3 which made the difference. I changed NT Service\MSSQL$SQLEXPRESS to NT AUTHORITY\System for the Data service. I'll then change it again as suggested (any suggestion about a "standard"
account to be used here?), even if this is a development workstation using SQL Server Express only as a local database for debugging, so security is not really a big concern.
Thanks for the feedback.Ya I know No3 was real step but just added more info so as to rule out any other possibility.
No not as such, you wont believe,quite few pf my clients I have worked for keep it with local system and they have not complained yet ,they are afraid to change account as few of them faced issue SQL Server not coming online due to logon failure( after changing
startup account to some domain a and that was happening due to some AD policy.But if you have nay plans to move Critical database in production which would be act as Database to some Internet facing application please follow my suggestion
of running SQL Server with Least privileged domain account.
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
SQL Server Express Performance Limitations With OGC Methods on Geometry Instances
I will front load my question. Specifically, I am wondering if any of the feature restrictions with SQL Server Express cause performance limitations/reductions with OGC methods on geometry instances, e.g., STIntersects? I have spent time reading
various documents about the different editions of SQL Server, including the Features Supported by the Editions of SQL Server 2014, but nothing is jumping out at me. The
limited information on spatial features in the aforementioned document implies spatial is the same across all editions. I am hoping this is wrong.
The situation.... I have roughly 200,000 tax parcels within 175 taxing districts. As part of a consistency check between what is stored in tax records for taxing district and what is identified spatially, I set up a basic point-in-polygon query
to identify the taxing district spatially and then count the number of parcels within in taxing district. Surprisingly, the query took 66 minutes to run. As I pointed out, this is being run on a test machine with SQL Server Express.
Some specifics.... I wrote the query a few different ways and compared the execution plans, and the optimizer always choose the same plan, which is good I guess since it means it is doing its job. The execution plans show a 'Clustered Index Seek
(Spatial)' being used and only costing 1%. Coming in at 75% cost is a Filter, which appears to be connected to the STIntersects predicate. I brute forced alternate execution plans using HINTS, but they only turned out worse, which I guess is also
good since it means the optimizer did choose a good plan. I experimented some with changing the spatial index parameters, but the impact of the options I tried was never that much. I ended up going with "Geometry Auto Grid" with 16 cells
per object.
So, why do I think 66 minutes is excessive? The reason is that I loaded the same data sets into PostgreSQL/PostGIS, used a default spatial index, and the same query ran in 5 minutes. Same machine, same data, SQL Server Express is 13x slower than
PostgreSQL. That is why I think 66 minutes is excessive.
Our organization is mostly an Oracle and SQL Server shop. Since more of my background and experience are with MS databases, I prefer to work with SQL Server. I really do want to understand what is happening here. Is there something I can
do different to get more performance out of SQL Server? Does spatial run slower on Express versus Standard or Enterprise? Given I did so little tuning in PostgreSQL, I still can't understand the results I am seeing.
I may or may not be able to strip the data down enough to be able to send it to someone.Tessalating the polygons (tax districts) is the answer!
Since my use of SQL Server Express was brought up as possibly contributing to the slow runtime, the first thing I did was download an evaluation version of Enterprise Edition. The runtime on Enterprise Edition dropped from 66 minutes to 57.5 minutes.
A reduction of 13% isn't anything to scoff at, but total runtime was still 11x longer than in PostgreSQL. Although Enterprise Edition had 4 cores available to it, it never really spun up more than 1 when executing the query, so it doesn't seem
to have been parallelizing the query much, if at all.
You asked about polygon complexity. Overall, a majority are fairly simple but there are some complex ones with one really complex polygon. Using the complexity index discussed in the reference thread, the tax districts had an average complexity
of 4.6 and a median of 2.7. One polygon had a complexity index of 120, which was skewing the average, as well as increasing the runtime I suspect. Below is a complexity index breakdown:
Index
NUM_TAX_DIST
1
6
<2
49
<3
44
<4
23
<5
11
<6
9
<7
9
<8
4
<9
1
<10
4
>=10
14
Before trying tessellation, I tweaked the spatial indexes in several different ways, but the runtimes never changed by more than a minute or two. I reset the spatial indexes to "geometry auto grid @ 32" and tried out your tessellation functions
using the default of 5000 vertices. Total runtime 2.3 minutes, a 96% reduction and twice as fast as PostgresSQL! Now that is more what I was expecting before i started.
I tried using different thresholds, 3,000 and 10,000 vertices but the runtimes were slightly slower, 3.5 and 3.3 minutes respectively. A threshold of 5000 definitely seems to be a sweet spot for the dataset I am using. As the thread you referenced
discussed, SQL Server spatial functions like STIntersect appear to be sensitive to the number of vertices of polygons.
After reading your comment, it reminded me of some discussions with Esri staff about ArcGIS doing the same thing in certain circumstances, but I didn't go as far as thinking to apply it here. So, thanks for the suggestion and code from another post.
Once I realized the SRID was hard coded to 0 in tvf_QuarterPolygon, I was able to update the code to set it to the same as the input shape, and then everything came together nicely. -
SQL Server Express 2014 Installation Completes with Failures and Repair Does Nothing to Help
I am attempting to install SQL Server Express 2014 on a development machine and as usual old versions of SQL and the remnants of them are a plague to the installation.
I have used to Revo Uninstaller to scrub the old installations and with my first attempt after some additional work on the registry I was able to get an instance to install and remarkably I was able to connect to the instance. However, I removed an application
reference to SQL Server 2008 after the SQL Express 2014 installation (through Control Panel > Programs > Programs and Features) and it stopped working immediately.
So I removed (uninstalled using Revo Uninstaller) every reference to any SQL Server application as well as removed all of the registry references (using Revo) and I can now install SQL Server Express 2014 with
"Feature" failures [Reporting Services, Database Engine Services, Full-Text and Semantic Extractions for Search and SQL
Server Replication] and of course it doesn't work.
Now when I attempt "Repair" the installation the process ends normally (no errors) and reports "Success" however SQL still has no instance and the services are not running nor are they visible when I open the "SQL Server Configuration
Manager".
This is the "Repair" log:
Overall summary:
Final result: Passed
Exit code (Decimal): 0
Start time: 2014-12-21 17:21:37
End time: 2014-12-21 17:29:10
Requested action: Repair
Machine Properties:
Machine name: EDWARD-PC2
Machine processor count: 4
OS version: Windows 7
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x86
Process architecture: 32 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature Language Edition Version Clustered Configured
SQL Server 2014 Management Tools - Basic 1033 Express Edition 12.0.2000.8 No Yes
SQL Server 2014 Management Tools - Complete 1033 Express Edition 12.0.2000.8 No Yes
SQL Server 2014 Client Tools Connectivity 1033 Express Edition 12.0.2000.8 No Yes
SQL Server 2014 Client Tools Backwards Compatibility 1033 Express Edition 12.0.2000.8 No Yes
SQL Server 2014 Client Tools SDK 1033 Express Edition 12.0.2000.8 No Yes
SQL Server 2014 LocalDB 1033 Express Edition 12.0.2000.8 No Yes
Package properties:
Description: Microsoft SQL Server 2014
ProductName: SQL Server 2014
Type: RTM
Version: 12
SPLevel: 0
Installation location: C:\Users\Edward\Downloads\SQLEXPRADV_x86_ENU\x86\setup\
Installation edition:
User Input Settings:
ACTION: Repair
AGTDOMAINGROUP: <empty>
AGTSVCACCOUNT: <empty>
AGTSVCPASSWORD: <empty>
AGTSVCSTARTUPTYPE: Manual
ASCONFIGDIR: Config
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
ENU: true
FAILOVERCLUSTERGROUP: <empty>
FAILOVERCLUSTERNETWORKNAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: false
INDICATEPROGRESS: false
INSTANCENAME: <empty>
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
QUIET: false
QUIETSIMPLE: false
SQLSVCACCOUNT: <empty>
SQLSVCPASSWORD: <empty>
UIMODE: AutoAdvance
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141221_172135\ConfigurationFile.ini
Detailed results:
Feature: Management Tools - Complete
Status: Passed
Feature: Client Tools Connectivity
Status: Passed
Feature: Client Tools SDK
Status: Passed
Feature: Client Tools Backwards Compatibility
Status: Passed
Feature: Management Tools - Basic
Status: Passed
Feature: SQL Browser
Status: Passed
Feature: Documentation Components
Status: Passed
Feature: SQL Writer
Status: Passed
Feature: LocalDB
Status: Passed
Feature: SQL Client Connectivity
Status: Passed
Feature: SQL Client Connectivity SDK
Status: Passed
Feature: Setup Support Files
Status: Passed
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141221_172135\SystemConfigurationCheck_Report.htm
However this is what the "SQL Sever Configuration Manager" look like:
Why does this appear to not be working properly? I can not connect the the "local" instance and I would guess that the service either does not exist or is not running.
Edward WalkerHello,
To my knowledge, Revo is not a supported way to uninstall SQL Server.
Please try to uninstall all you can using Control Panel -> Programs and Features, then perform a manual uninstall to
remove remnants. Try the following procedure:
1. Uninstall all SQL Server 2012 components you can using Control Panel -> Programs and Features
2. Backup the registry.
3. Delete the following keys in regedit:
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing
SQL Server.
5. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server.
6. Rename all the SQL Server folders in the computer like C:\Program Files\Microsoft SQL Server and subfolders.
After performing above procedure, try to reinstall SQL Server again.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Convert Existing MDB database files to SQL Server Express
Hi All,
Can some one please help me on this:
1) What is the current version of SQL Server Express?
2) HOw much SQL Server Express costs (figure about 500 branch servers)
3)Are there any Tools from Microsoft to convert Access 97 directly to SQL Server express, and how much do they cost?
4)Server Hardware requirements to run SQL Server Express - disk size, memory size, security settings, pre-requisite, service needed.
5)Maximum capacity / capabilities of SQL Server Express-max # of simultaneous users,tables,rows,database size.
6)Any installation instruction for SQL Server Express.
Thanks in Advance, Pls help
Thanks
TonyHi Tony,
Besides Bruce’s post, firstly, SQL Server Express is a free SQL Server edition,
you can download SQL Server 2014 Express directly from
this link and install it on your computer. For how to install SQL Server 2014 Express, please follow the steps in this similar
blog.
Secondly, for more information about hardware and software requirements for Installing SQL Server 2014 Express, please review this article:
https://msdn.microsoft.com/en-us/library/ms143506.aspx .
Thirdly, SQL Server Express has the following limitations:
• 1 physical processor
• 1 GB of RAM
• 4 GB database size per database in SQL Server 2005 Express and SQL Server 2008 Express , 10 GB database size per database in SQL Server 2008 R2 Express and higher versions of SQL Server Express.
However, there is no limit to the numbers of databases in SQL Server Express. And there is no technical limit to the number of connection that SQL Express can handle.
In addition, there are several methods to convert an Access database to SQL Server, such as using
SQL Server Import and Export Wizard and
SQL Server Migration Assistant for Access, they are both free tools. For more information about convert an Access database to SQL Server, please review this
KB article.
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support
Maybe you are looking for
-
Current Year and YTD in Report/Query
Hi to all the experts here, I have a report requirements to show the cost in the report for the current fiscal year and last fiscal year filtering by YTD month in the report as below when the user enter the month: 12.2010, the month: 07.2010 is the f
-
Itunes Match is not working for Windows 8.1
I recently purchased ITunes Match on my previous laptop. I got a new Windows 8 laptop and tried to add the ITunes Match onto it, but every time I try to access the ITunes Match page my computer says that ITunes has stopped working and it forces me to
-
IT_SORT table in REUSE_ALV_GRID_DISPLAY does not work.
Hi all!!! I'm displaying an ALV but when trying to display only the totals my IT_SORT table doesn't work. In my report I have this CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gd_repid i_ca
-
Aperture 3 : Pics managed or referenced : how can I find out ?
Hello, can someone please explain how I can find out if my prictures in the Aperture libary are referenced or managed ? Regards Andreas
-
Ejb, bc4j, client, NamingException
JDeveloper 3.1.1.2 Oracle 8i EJB I have successfully deployed my appModule to the database (test worked) Now I try to connect to the deployed module from my client application. I made following changes to my code: sessionInfo1.setAppModuleInfo(new Mo