question_id int64 1 1.16M | title stringlengths 10 191 | question_body stringlengths 6 2k | answer_body stringlengths 0 2.5k | tags stringclasses 73
values | question_score int64 -15 1.65k | answer_score int64 0 2.91k | view_count int64 4 1.24M | creation_date stringdate 2008-08-01 18:45:00 2025-06-19 04:44:02 | category stringclasses 12
values | source_site stringclasses 8
values |
|---|---|---|---|---|---|---|---|---|---|---|
1,025,167 | Powershell: unable to create new Hyper-v VM remotely | To simplify our current setup. We have SRV01, SRV02, and SRV03. All Windows Server 2016 with Hyper-V installed and joined to our domain. SRV01 host a shared folder "\\SRV01\VM-ONLINE-STORAGE\Test" All servers on same network subnet and their windows firewall is OFF. My goal is to create a new VM remotely using Powershe... | I got it fixed. It has something to do with AD delegation permission. The below webpage helped me fix the issue. https://argonsys.com/microsoft-cloud/library/hyper-v-authentication-in-windows-server-2016-for-managing-remote-hyper-v-servers-through-rsat/ | 1 | 0 | 426 | 2020-07-14T10:54:18.130 | infrastructure | serverfault.com | |
84,998 | Should I include all dummy variables or N-1 dummy variables (keep one as reference) in neural networks | I have a categorical variable with N factor levels (e.g. gender has two levels) in classification problem. I have converted it into dummy variables (male and female). I have to use neural network (nnet) to classify. I have two options - Include any N-1 dummy variables in the input data (e.g. include either male or fema... | I will answer the question in the Neural Network context (i.e. I won't talk about regularization in regression algorithms handles this problem). The problem of not dropping one of the encoded variables will cause multicollinearity. That is, one of the variables can be estimated using others. e.g. If you have a variable... | 1 | 1 | 995 | 2020-11-05T17:47:47.240 | data_quality | datascience.stackexchange.com | |
122,757 | Should I drop MS_DataCollectorInternalUser in msdb? | From SQL Server 2008, there is a user in [CODE] called [CODE] . This user has no login associated with this and can be considered as a orphan user. It's a security best practice to drop orphan users. The [CODE] cannot just be dropped using [CODE] TSQL command because it has granted a database permission [CODE] to a use... | I cannot find reference from Microsoft Website but according to the Blog post from Alfred Songy . MS_DataCollectorInternalUser has to do with the Data Collector It is a user account intentially created with no SQL Login and A user created without login obviously cannot connect to the database and therefore I don't see ... | 2 | 0 | 3,227 | 2015-12-03T07:52:07.700 | database_errors | dba.stackexchange.com | |
151,621 | RSAT on Windows 10 fails to add node to server 2016 cluster | I have been testing server 2016 failover clustering. I have 3 hyper-v VMs running server 2016 core. I installed the RSAT tools on Windows 10 Pro to use the failover clustering wizard. I cannot add a node to the 2016 cluster using the Win10 machine, getting an error about the operating systems being different. When I go... | The RSAT tool was updated with the general availability of Windows Server 2016. By going to the same link as the preview RSAT, https://www.microsoft.com/en-us/download/details.aspx?id=45520 , you can update your workstation with the new version. | 0 | 0 | 189 | 2016-10-06T18:36:25.273 | database_errors | dba.stackexchange.com | |
798,578 | nginx as reverse ssl proxy (Apache + Varnish) skips its own configuration | I have a new Ubuntu 14.04 installation with the following steps taken: Apache2 2.4.7 MariaDB last stable version PHP 7.0.9 (and several modules) Apache configured to work with PHP7-FPM * mod_rpaf working with Apache2 ** PHPMyAdmin 4.6.3 working correctly with PHP7.0.9. WordPress 4.6 *** Varnish 4.0 NginX 1.10.1 with ss... | You can try a couple of things around not messing around with the [CODE] file config a) Create your own config file in [CODE] and then enable it with a soft link in [CODE] b) disable [CODE] site entirely by deleting the [CODE] link in [CODE] or simply change the port of the [CODE] config so nginx listens in port 81 (fo... | 1 | 0 | 1,694 | 2016-08-23T13:09:54.080 | database_errors | serverfault.com | |
40,696 | Do I need a datalake in my use case? | My web application stores usage data, for example: tickets opened an closed tasks executed user scores etc. I need to show dashboards and reports for usage and performance trends, like: How many tickets where opened/closed in a period? what is the average tasks execution time? who is the most active user? which user ge... | The point of a "Data Lake" is to store unstructured data together, along with the related meta-data, all in one place. The data is usually stored in the format in which it was recorded i.e. the raw format. Data is then only extracted and processed for usage as required. There is a nice article that compares data wareho... | 1 | 2 | 61 | 2018-11-04T10:18:35.890 | bi_errors | datascience.stackexchange.com | |
370,440 | I can't connect to MySql from another machine | I have installed Apache, PHP, MySql on a Windows 2008 Server. The problem is that I am trying to connect to MySql from my home machine. I have enabled TCP/IP networking in the MySql Configuration Wizard and opened the port (3306) in the firewall (for my home ip). But when trying to connect with HeidiSql , I am getting ... | Look at the grants for your user. In MySQL, grants are defined by the couple login, host . Maybe your user is only allowed to connect from localhost. A [CODE] will show you if you are allowed to connect, or not. | 3 | 7 | 25,228 | 2012-03-16T13:31:28.357 | database_errors | serverfault.com | |
487,583 | Not all .htaccess files are read | I have used MAMP and Ubuntu server for years but have recently tried to use the built-in Apache Server on Mac OS X 10.7.5. My problem is some of my .htaccess files are being read and some are not. I have 2 sites and here are their vhost settings: [CODE] Site 1 works as it should but Site 2 does not. So I ran a test. In... | I seemed to have stumbled onto the answer accidently. I was looking in different folder in /etc/apache2/ and found saw a directory called users. In there was a .conf file with my username. In there it had just one that had AllowOverride set to None. This conf file must have been overriding the vhost. I set it to all an... | 2 | 0 | 275 | 2013-03-13T20:56:29.640 | infrastructure | serverfault.com | |
375,559 | Cron Expression Notation | I want to write a crontab entry to run every 30 minutes for the last week of every month. I know to do the final Sunday for instance the cron is: [CODE] When I try to comma separate the weekday field like so: [CODE] I get an error: [CODE] Is there a way to short hand this crontab expression, or do I need to make 7 sepa... | As the error message says you can't do this. You'll have to have your script check if today is within the last week of the month and exit/proceed as required. [CODE] Alternatively you could use the script below in your crontab - save it as [CODE] [CODE] Use it like this [CODE] Which says run [CODE] if the [CODE] script... | 1 | 1 | 539 | 2012-03-19T19:42:48.447 | infrastructure | serverfault.com | |
517,181 | Teamcity buildagent on mac, environment variable not visible to Teamcity? | Having problems setting up a Mac as a buildagent for TeamCity. It works for basic builds, but I'm unable to meet build requirements for our main build. Unmet requirements shown in Teamcity: env.NGINX_EXE exists (a few others too, but I'm gonna handle those when I get this one working) I've installed NGINX, and it's run... | There is a file [CODE] which passes variables to the [CODE] which the [CODE] agent runs under. Search for [CODE] on the teamcity site. For example this page | 0 | 1 | 1,971 | 2013-06-20T07:47:50.473 | infrastructure | serverfault.com | |
411,220 | linux routing or natting with ip on loopback interface as alias | Ive got [CODE] default route is given by zebra (192.168.3.1 or 192.168.4.1 -- failover) when external ip (192.168.1.100) tries to connect to 192.168.2.10 -> answered packets goes via 192.168.3.1 (where source ip for this is 192.168.3.20). This works correct. But i want source address to be 192.168.2.10. Main problem is... | lo on Linux is not the same as loopback on a Cisco. Any address assigned to lo on Linux must be used solely for the machine to send traffic to itself; the kernel will consider any packet with a source IP that matches one assigned to lo as martian and will be dropped at ingress - this is hardcoded behaviour. The kernel ... | 1 | 3 | 5,145 | 2012-07-25T20:09:55.420 | database_errors | serverfault.com | |
557,851 | Monitoring virtual host on ESX5 with Nagios | My question is how to monitor with Nagios, the performance and availiability (machine stopped) of several virtual hosts running in a ESX. All plugins I've found are for 3.x API, running commands or with SNMP, but none of these methods are valid with the Vmware ESX 5.0 | The CIM health checking python scripts all still work but the user must be an Administrator in ESXi. Otherwise you can always monitor the virtual servers/services themselves. | 2 | 0 | 151 | 2013-11-27T17:20:30.150 | pipeline_ops | serverfault.com | |
558,735 | How to preinstall a Windows 7 device driver or prevent install prompt? | I am trying to silently install Cisco IP Communicator software as part of a system deployment. For deployment, I am using KACE 2000 which basically lets you compile sets batch files and run them in a specific order after the OS is installed. For IP Communicator, I am using the installer switches to do a silent install,... | The solution I ended up using was preloading the certificates that were used to digitally sign the driver. If those certificates are in the computers certificate store then the driver installation prompt will not be displayed. | 3 | 2 | 1,096 | 2013-12-02T19:22:15.533 | pipeline_ops | serverfault.com | |
806,243 | Which drive in RAID has bad sectors? | I have 4 physical drives in a single virtual drive using an LSI MegaRaid SAS controller. It seems (at least) one of the drives has bad sectors because: io errors occur when attempting to back up some files running [CODE] reports some bad sectors I'm hoping that resolving the issue will be as simple as swapping out the ... | Smartmontools has extensions that allow it to poll a drive for SMART data through an LSI (as well as others) RAID array. Normally, this isn't something you can do as the RAID abstraction obscures direct interfaces with the drives. Smartmontools might not be installed on your machine. However, it is native to most "main... | 3 | 8 | 6,412 | 2016-09-30T04:14:32.347 | infrastructure | serverfault.com | |
978,085 | External website inaccessible, within domain due to a forward lookup zone with the same domain name as the website's domain name | We have a public facing website eg. https://www.abc.qa (hosted by a vendor) and we have a forward Lookup zone in our internal DNS named eg. abc.qa. The forward lookup zone was created, so that our web application can be accessed using eg. https://hostname.abc.qa URL. The primary internal domain is eg. abc.local. We are... | I was able to resolve the issue. Our website is hosted on AWS and with cloudfront in middle, it serves the cached the content. To resolve the issue, i created a cName record on our DNS server pointing it to our cloudfront host. The other solution was to point it directly to the admin portal of our website. | 0 | 0 | 713 | 2019-08-06T05:44:35.183 | infrastructure | serverfault.com | |
1,020,547 | Lsi MegaRaid sas 9271-8i raid-0 crash | I have 8 hhd , all of it have RAID-0. Yesterday one disk change status to configurate good, it's disk with OS. And now I can't start my server , import foreign configuration not work, and I can not discard cache it's not work too. How to reestablish server work. | You wipe and rebuild - you chose R0, by doing so you made the conscious decision that your data doesn't matter, at all, as you must have a ready-to-go mitigation right to hand. Well do that. | -1 | 5 | 125 | 2020-06-08T16:11:24.433 | infrastructure | serverfault.com | |
163,780 | Passing a value to a nested subquery | I have the following query (stripped down for brevity), the aim of which is to create the [CODE] value used to order the results: [CODE] The problem I'm having is that the second nested subquery (the one in the left join) is unable to find the column [CODE] from the initial select. From what I've found searching around... | To my knowledge, this limitation pertains to SQL specifically in MySQL. All the other SQL products that I am aware of do not have it. There does not appear to be a solution to this problem in general: you cannot force a column reference to be recognised deeper than one level in MySQL. However, there is an easy workarou... | 8 | 8 | 36,523 | 2017-02-09T18:12:39.927 | warehouse_errors | dba.stackexchange.com | |
324,923 | Getting ERROR: invalid transaction termination CONTEXT: PL/pgSQL function run(text,text,text,double precision) line 147 at COMMIT | I am trying to execute an [CODE] statement and, if there's an error then I rollback and retry the insert; otherwise I commit it to close the transaction. However, I am getting the error: "invalid transaction termination". The below code is converted code from Oracle to PostgreSQL. [CODE] | Your indentation is creative, but the problem is here: [CODE] When you enter a [CODE] / [CODE] block that has an [CODE] handler, PostgreSQL starts a subtransaction . [CODE] would close a subtransaction, so you cannot commit there. If you think about it, it is the only way to do that correctly, since everything after th... | 0 | 1 | 3,676 | 2023-03-20T08:00:44.187 | database_errors | dba.stackexchange.com | |
102,928 | Master Master replication not working showing | error from master 1 Last_SQL_Error: Error 'Cannot add or update a child row: a foreign key constraint fails ( [CODE] . [CODE] , CONSTRAINT [CODE] FOREIGN KEY ( [CODE] ) REFERENCES [CODE] ( [CODE] ) ON)' on query. Default database: 'stylanzo_live'. Query: 'INSERT INTO [CODE] ( [CODE] , [CODE] , [CODE] , [CODE] , [CODE] ... | If you are writing to both Masters, then you have found two reasons not to write to both masters. Instead, write only to one Master, and leave the other as a "hot standby". Discuss the details of inserting into [CODE] , maybe we can help you unravel it. There is a skip counter to get past something like a dup key and g... | -1 | 0 | 150 | 2015-06-01T09:10:41.260 | database_errors | dba.stackexchange.com | |
257,750 | Could once `max_standby_archive_delay` and `max_standby_streaming_delay` with value -1 can cause replication stop on heavy loads? | In my replication servers on a postgresql master-slave replication scheme on aws RDS I get the following error: [CODE] The cause, as far as I understood is that the replication happens simirary like a database migration. A sequence of queries is written something called WAL and then are being executed in a FIFO sequenc... | Yes, that is the idea. In the case of a replication conflict PostgreSQL has only two options: cancel the query delay the application of replicated changes. Setting [CODE] to -1 will delay replication indefinitely long. There are ways to reduce replication conflicts: Set [CODE] to remove replication conflicts caused by ... | 4 | 5 | 4,687 | 2020-01-20T09:51:16.493 | database_errors | dba.stackexchange.com | |
304,754 | How to implement a facade correctly | I have read multiple websites on this topic but none of them gave me a 'good' solution for the problem I am having. The problem is described in the following (related) questions: How do I couple the UI package with the rest of the system without too much coupling with classes inside the other packages (I am thinking of... | Regarding singletons None of the classes pictured here should be a singleton. The only class which should be a singleton is the main application class, which instantiates the two major classes that we see here: the "Tracking" class, which is your application logic (domain logic) and the "UI" class, which is your UI. An... | 4 | 5 | 1,338 | 2015-12-10T16:57:54.830 | api_errors | softwareengineering.stackexchange.com | |
37,457 | TestNG Listener from one xml file is applied to another | I have two xml files to run tests - api.xml and ui.xml In ui.xml I have TestNG Listener, but this Listener also is applied when API tests run. I run tests using testng.xml ui.xml [CODE] api.xml [CODE] testng.xml [CODE] DebugUiListener [CODE] What could be the problem? | I didn't find any clue in TestNG documentation but according to what I can see in my Idea IDE (however IDE does not always show the truth since they implement their own plugins and hence their own vision on how everything has to work) when you configure a master-suite it is still a single suite So looks like both your ... | 0 | 0 | 216 | 2019-01-25T15:05:51.663 | data_quality | sqa.stackexchange.com | |
827,359 | cpu 100% with tomcat 7 on Debian 8 | I'm having an issue with the default configuration of tomcat 7 on Debian 8. Problem: I got the cpu of my server, due to java process, jump to 100% and stay there for hours making the server slow. If I restart tomcat server the cpu goes again to 1%. After some hours the problem starts again. Java Application status: No ... | I had exactly the same problem with Debian 8, tomca7.0.56. For me uprading to the backport version solved it. I upgraded tomcat7, tomcat7-common, libtomcat7-java and libservlet3.0-java to version =7.0.73-1~bpo8+1 (like this way: apt-get install tomcat7=7.0.73-1~bpo8+1) I think we have a massive security issue with the ... | 0 | 1 | 1,727 | 2017-01-19T18:15:52.493 | infrastructure | serverfault.com | |
204,238 | script all triggers in a database | I have a few databases involved in replication as subscribers and they have triggers and are used by a different set of applications. Every time I need to reinitialise those database I need to script the triggers, permissions and indexes, apply the snapshot and then re-apply those triggers, indexes and permissions. Is ... | This seems a whole lot simpler than what you have: [CODE] When you're ready to create them again: [CODE] Yes, you won't be able to validate the entire script is there, because SSMS won't output the entire value of [CODE] . See this post for workarounds . Also, I don't know why you need the database as part of the dynam... | 1 | 2 | 4,963 | 2018-04-17T19:50:23.983 | database_errors | dba.stackexchange.com | |
328,052 | SSAS Backup to Remote Location | I followed the steps in the best answer on this question - How can I dynamically back up all SSAS databases on a given instance? - and can successfully create backups of our BI Cubes to a local drive on the server (Windows Server 2008 R2 running SQL Server 2008 R2 Standard), but no matter what user I attempt to execute... | Ok, this was the answer . The SSAS Server does the actual backup, not the SQL Agent or user executing the job, so it needs to be running as an appropriate user with permissions, rather than the SYSTEM account. I updated the service entry, restarted the server and all is fine. | 0 | 0 | 127 | 2023-06-08T13:33:45.363 | database_errors | dba.stackexchange.com | |
876,108 | Error repairing Exchange 2016 install on Windows 10 | I am trying to install Exchange 2016 CU6 on my Windows 10 machine (management tools only), but when I run the CU6 installer, nothing happens at all (splash screen appears, then disappears and no further dialogues or error messages). When I went to repair my CU1 installation, it says it has detected an incomplete instal... | I ended up tweaking the powershell scripts to get around this, as well as clearing out all traces of the previous pending installation. Once I did that, I was able to repair the CU1 install, and then update to CU6 using the CLI (GUI for some reason did not work). | 1 | 1 | 2,945 | 2017-09-29T09:36:08.407 | infrastructure | serverfault.com | |
152,469 | select in (select) allow to get duplicate values | I need help in one SQL query . I have select in select: [CODE] and I need to get in first select 609 rows with duplicates. But I only get 12 rows because the select in command ignores duplicate values in second select. I need to get certain values (609rows) not only to find what values I get two or more times. I will j... | The query that returns 609 rows apparently has only 12 distinct [CODE] values. If you use it as an [CODE] subquery matched against a unique column (which I am assuming [CODE] is), you can only get 12 rows as the result. If you want to get as many rows as the subquery returns, one way is to use the subquery as a derived... | 0 | 1 | 3,260 | 2016-10-17T10:28:52.340 | data_quality | dba.stackexchange.com | |
516,730 | Request tracker: Auto assign owner on reply | We recently migrated from Spiceworks to RT4. In Spiceworks, you could set it to where it auto assigns a ticket upon an tech's reply or use email tags to assign it to another tech. Is there a way to accomplish this functionality in RT4? I assume some perl is involved and I would like to get the web portal to auto assign... | To assign owner on reply you can create a scrip and have it run on Correspond or Comment or both. For the scrip action, you can see an example of setting owner on the community RT wiki . Variations are to only set it if the current owner is 'Nobody'. You can add more debug statements while experimenting to see what's h... | 2 | 2 | 1,295 | 2013-06-18T18:50:06.877 | infrastructure | serverfault.com | |
884,876 | Debugging rsync over SSH in verbose mode using tee to redirect stdout to log file | I have been having issues with various rsync operations over SSH, on a particular machine on our network, failing and giving errors like: [CODE] I found a similar post ( rsync - unexplained error ) for which one of the answers suggested running the SSH command used by rsync in verbose mode and redirecting the output, i... | Having done a bit more reading on the solution discussed in the answer to the question " Why is this tee losing stdout? ", it seems like the crucial change is replacing the pipe with redirection to a subshell containing the command that would otherwise be being piped into. (Thus, replacing: [CODE] with: [CODE] ) The re... | 1 | 1 | 6,098 | 2017-11-23T16:07:15.197 | infrastructure | serverfault.com | |
308,531 | Client side SQL monitor for Oracle database aplications | We have custom application that connects to an Oracle database. We need a tool that is capable of running on the client machine (Windows 10/11) and is able to capture all SQL sent to the database, and show how long it takes to get response. In the Windows 7 environment, we were able to use Quest Software SQL Monitor (F... | I don’t use windows but I can imagine that something like tcpdump als works on windows. With a little luck you can run go applications. If that is true, you might be able to use https://github.com/ora600pl/stado that is not exactly like the quest tools but it does show sql and their response times as seen by the client... | 0 | 0 | 121 | 2022-03-10T10:13:48.143 | database_errors | dba.stackexchange.com | |
15,891 | JMETER Cookies & Sessions | I am executing a scenario with JMETER in which I login to the application and logout In the Thread group I use the following settings: Number of Threads: 10 Ramp up Time : 20 Loop count: 5 I am not using HTTP Cookie Manager Component so I should get error HTTP request when 2nd thread try to login but scenario executes ... | See, if by error you mean that you are expecting a failed request (red color request response) because of not using the Cookie Manager, then it is never the case or this is not how JMeter works. Lets say you have the following scenario: User Login (Login page) User Detail Page (accessed after successful login) Now, for... | 1 | 1 | 6,549 | 2015-12-01T10:59:25.347 | data_quality | sqa.stackexchange.com | |
318,329 | Services Accounts | We have a service account that is a member of the domain admins group. This is something that makes me exceptionally uncomfortable. I am looking to change this as soon as possible but am fairly new to AD permissions. The main use of the service account is for LDAP queries so I have assigned the account Domain User memb... | The minimum granular permissions that you need to delegate this task is: [CODE] You should create a new security group, delegate these permissions to it using the Delegation Wizard, and then add the service account to the new group. | 5 | 3 | 130 | 2011-10-04T14:01:47.500 | infrastructure | serverfault.com | |
568,399 | Is it less secure to use a passphrase-removed key with apache? | I have a simple website with an ssl certificate and I noticed that when I would reboot apache was asking for the passphrase (causing the server to halt essentially). I did the following to remove it (fixing my issue w/ the reboot) openssl rsa -in foo.key -out foo.key.nopass The question I have is, does this in any way ... | In normal operation (ie, with an encrypted private key), the private key is known to the running webserver, but isn't present on-disc. In order to get a copy of the private key, an attacker would have to subvert the running webserver. If you leave the private key constantly decrypted on-disc, then (assuming you have th... | 1 | 3 | 73 | 2014-01-19T21:35:45.527 | api_errors | serverfault.com | |
820,193 | SaltStack: NamespacedDictWrapper object has no attribute | I get this message, and I have no clue why [CODE] What can be the root of this problem? The same sls-files works for a different host! | Answering my own question. The file pillar/foo-archiv.sls` exists. But the host [CODE] was missing in [CODE] . In our setup the file [CODE] gets included in [CODE] . | 3 | 5 | 4,995 | 2016-12-12T10:08:18.527 | infrastructure | serverfault.com | |
470,559 | Hyper-V Server 2012 - Acquisition of genuine ticket failed | I have been using Hyper-V Server 2012 (the free, core edition) for a few months now, and every day, the server dutifully generates this error in the Application log: [CODE] It doesn't affect anything, but I sure wouldn't mind getting rid of it if I could. Every day at 10AM, there it is, waiting for me in the event log.... | Contact Microsoft licensing. If your license is legit then licensing technical support is free. Since you are using hyper-v server there should be no question. | 1 | 0 | 3,671 | 2013-01-18T23:11:50.653 | infrastructure | serverfault.com | |
964,348 | Duplicate Edge transport servers display in ECP | I have Exchange 2016 with DAG configured in my environment. There are 2 DAG members and 1 Exchange Edge Transport Server. Today I changed exchange certificate and assigned services to it, it gave me a warning to re-subscribe exchange edge in your site. So I first remove previous subscription and apply new subscription ... | Please refer to this blog about “CNF:” object, it seems a duplicate object, I think you could delete one of them. And here is a detailed article . | 0 | 0 | 190 | 2019-04-24T06:06:26.033 | airflow_errors | serverfault.com | |
599,405 | Disable ClamAV for Amavis | I have a Postfix mail server, using Amavis and Spamassassin to check for unwanted e-mails. I have removed ClamAV because it'd basically freeze the whole server every time someone received an e-mail, and server-side virus-scanning does not seem to important for my use case. Spamassassin is still triggered by Amavis, and... | Since you want to disable virus checking entirely, the easiest way to do so is find the [CODE] line in the Amavis configuration files ( [CODE] or [CODE] ) and change it to this; [CODE] | 4 | 6 | 11,142 | 2014-05-29T11:57:10.937 | database_errors | serverfault.com | |
98,725 | MariaDB/InnoDB: What to do on "Locks in Status-Log but no locked table found" | We migrated lately from MySQL to MariaDB. [CODE] 10.0.13-MariaDB-log When executing this: [CODE] I get (shortened): [CODE] I guess this means that this transaction was running for several hours. However, when executing [CODE] , all tables show no-lock. When doing [CODE] , the result of the thread 119634 is: Command: SL... | You are right that the transaction is 'running' for several hours. This basically means you have a query that has failed to run 'commit' and is holding the transaction open. If you are running in the default [CODE] transaction isolation level, you will also see your 'history list length' growing large in the TRANSACTIO... | 1 | 2 | 1,641 | 2015-04-24T01:54:13.363 | database_errors | dba.stackexchange.com | |
29,406 | How to find dynamically loaded element using selenium webdriver FinnONe Automation | How can I use Selenium locators to find and click the Termination menu item below? It does not become visible until I've clicked through the parent menu items. Page code: [CODE] Screenshot: | The scenario to deal with this kind of element is Click on Menu element, submenu get visible now Click on submenu now So tho handle this you have to use [CODE] class. Use below example to handle the same : [CODE] Let me know if you have any trouble. | 0 | 2 | 1,609 | 2017-09-07T13:05:24.380 | data_quality | sqa.stackexchange.com | |
419,323 | Upholding business logic and invariants in an event sourced CQRS architecture | My understanding of a CQRS architecture is that a micro-service is split to two servers each with its own database such that the first server handles all the writes and the second server handles all the reads. Combining this architecture with event sourcing means that the write side will store events that keep track of... | Many people have been getting confused over what CQRS is. They look at CQRS as being an architecture; it is not. CQRS is a very simple pattern that enables many opportunities for architecture that may otherwise not exist. -- Greg Young, 2010 CQRS is "just" a pattern, the introduction of two "objects" where previously t... | 2 | 4 | 801 | 2020-11-24T21:08:35.777 | data_quality | softwareengineering.stackexchange.com | |
541,699 | NAT Gateway - Maximum connection limit | I know just enough networking to be dangerous. The nitty gritty low level details of NAT are not something I am particularly knowledgeable about. I accidentally found myself in a discussion earlier today about placing a bunch of our nodes behind a NAT Gateway. (1 public IP address and X private LAN addresses). I called... | Correct me if I'm wrong but this is the way I understand it. The limits are per client / server / port. So in light of that. 1) In TCP is a single source IP limited to 65536 MAX theoretical outgoing connections? No. I believe it's limited to 65536 theoretical max to the same destination IP. Windows workstations (non se... | 13 | 9 | 29,545 | 2013-09-25T23:39:44.617 | infrastructure | serverfault.com | |
208,923 | Auto-commit UPDATE Transaction On Linked Server | I would like to know more about what happens behind the scenes with an auto-commit transaction when performing a cross-server query on a linked server. I naïvely think that when executing an auto-commit transaction the compiler/SQL Server/something else just prepends all statements with a [CODE] and appends all stateme... | Given that a Linked Server is an external / separate connection, I would expect that it can be handled / managed separately, just like making an external / regular connection to any SQL Server (even back to the calling instance -- i.e. loop back) via [CODE] in SQLCLR. Being a separate connection, it is optional whether... | 2 | 2 | 1,502 | 2018-06-06T17:56:16.723 | database_errors | dba.stackexchange.com | |
100,064 | Do I have the wrong idea about software engineering? | I have a question which has been raised by my latest job (rather intern). Just to put things into context - I'm 21 and I've finished my 2nd year of university before that I've had around 2 years of experience doing sys admin/QA jobs and basically I can say that I've seen how different IT sectors operated. Flash forward... | Making software re-usable and bullet proof is not the driving force of software engineering. Engineering is about solving real world problems optimally within real world constraints . Most engineers would prefer to work on a Ferrari - but a station wagon needs just as much engineering, and the reason a station wagon do... | 26 | 33 | 2,083 | 2011-08-10T19:27:00.067 | api_errors | softwareengineering.stackexchange.com | |
422,141 | Exchange server issues - can't upgrade to SP3 - trying to migrate to Exchange 2010 | Our Exchange server is having a lot of issues. It can't get Windows Updates anymore (error 8000FFFF) and it has a lot of other issues that are all related (Server Manager error - Catastrophic failure exception hresult 8000FFFF). Everything I've read online about it says you pretty much have to re-install Windows to fix... | As a workaround to being unable to uninstall remove the Exchange files from the existing machine in order to do any service pack upgrades, I'd suggest the following steps to perform a seemingly in-place migration: Find a spare machine, or fire up a VM and install the OS. Join it to your domain and install Exchange 2007... | 1 | 0 | 1,901 | 2012-08-28T19:26:24.040 | infrastructure | serverfault.com | |
280,639 | Need advise on Indexaphobia: High value missing index with High Impact. When index is already there | I am trying to understand the true meaning of Missing index for this particular table when I already have index on it and how to address it. I have a heavily used table and is of approximately 2.5GB. Since its heavily used, a bit hesitant to create index which are not very much required(debatable). This table was heap ... | To clean up and simplify your question a little: The index you already have is on [LOGID], [RECEIVE_TIME] SQL Server is asking for an index on APT_ID, and it wants you to include LOGID, RECEIVE_TIME That is indeed a different index than you already have. Let's take the old example of the phone book. The white pages of ... | 0 | 2 | 633 | 2020-12-01T08:04:09.107 | database_errors | dba.stackexchange.com | |
540,325 | Copy Files/Folders on Windows Volumes Created from Mac | We are trying to migrate storage from one volume to another, and we are running into problems with folders and files created from Mac OSX. The current file storage is on windows, and unfortunately some of the users that connect to it from the Mac have named folders ending in spaces "My Folder " or files that end in "."... | As much of a love affair I have with Robocopy, it won't work for this like you said. Best way I found around this was to mount the drives on a mac and use "cp" from the terminal using the "-R" recursion tag. | 1 | 1 | 1,319 | 2013-09-19T21:29:51.947 | infrastructure | serverfault.com | |
21,724 | Is there any way to speed up a query with 3x UNION on the same large table? | Assuming that the following query is legitimate and executes successfully, is there any way to speed it up? [CODE] The four columns shown above are all of type [CODE] , non-sparse and nullable. I am using SQL Server 2008. Thanks! EDIT: Provided more info. I cannot add indices because it is a Stage table. Also, removing... | There are alternatives to @Remus Rusanu's CROSS APPLY suggestion . Even though I myself incline to using CROSS APPLY for your kind of problem, I think it may be worth knowing about other ways of achieving the same result without introducing multiple scans of the same table. [CODE] : [CODE] [CODE] to an inline view (ess... | 2 | 4 | 3,711 | 2012-07-30T20:56:09.693 | database_errors | dba.stackexchange.com | |
365,144 | Rewriting /latest produces server error | So I'm working on a site for a magazine, and I want the URL [CODE] to rewrite to the file [CODE] . I'm working on a cPanel hosting server, so I put a [CODE] in the [CODE] directory like so (important line is the 8th): [CODE] However, upon navigating to [CODE] , I get a [CODE] . I originally thought it was some problem ... | Your rewrite rule may be a non-sense to the server: [CODE] Means "if someone wants to access to something that begins with " [CODE] " then go to " [CODE] ". So the scenario is: you try to access to " [CODE] ", which is redirected to " [CODE] " then " [CODE] " is redirected to " [CODE] " and so on. It goes to an infinit... | 0 | 2 | 48 | 2012-03-01T03:32:39.553 | infrastructure | serverfault.com | |
74,444 | sklearn ColumnTransformer creates new columns in output when there are overlapping columns between steps | I need to process some dataframe columns in different steps using ColumnTransformer . The first step process the date columns (timestamp) imputing missing values and the second step applies scaling to all the numeric columns (including the dates columns). In output I get a number of columns which is the sum of the nume... | The description says- ".................the features generated by each transformer will be concatenated to form a single feature space " Based on this I would not expect it to "reduce" the number of columns. On top of my mind, another pipeline which computes on dates column and feeds its output to numeric column transf... | 1 | 1 | 1,184 | 2020-05-19T09:19:27.923 | data_quality | datascience.stackexchange.com | |
941,706 | Apache Start Fails due to missing mpm module | I originally posted this question on StackOverflow. Before it was taken down as off topic, the answer and comments were leading to MPM not being loaded I tried [CODE] but was given the error: E: Unable to locate package apache-mpm-prefork Below are all the steps I took today which led to the errors I am experiencing: -... | welcome to serverfault! As of Ubuntu 16.04 server the mpm-prefork module is included in the package apache2-bin. In order to install it you have to enter [CODE] After that you will have to enable the mpm_prefork module like this: [CODE] and then try again to start apache2: [CODE] The detailed error log is located here:... | 3 | 1 | 6,505 | 2018-11-26T19:29:08.640 | infrastructure | serverfault.com | |
295,864 | Wait state: Statistics | We have 200 databases in one instance of MariaDB with a total of 370.000 tables, since we upgraded to MariaDB 10.5.11, we see most of time passed by mysql is in wait states: Statistics. According MariaDB, it should be a brief state: Calculating statistics as part of deciding on a query execution plan. Usually a brief s... | If you are running out of memory dropping the innodb buffer pool size can be done. Looking at [CODE] vs [CODE] shows a very high cache ration. As swap/crashing is the alternate reducing this is recommended. Note mysqldump significantly trashes both innodb buffer pool and table cache. Maybe the swapping can explain the ... | 0 | 1 | 730 | 2021-07-19T13:01:52.283 | database_errors | dba.stackexchange.com | |
28,780 | Data Mining - Intent matching and classification of text | PROBLEM Suppose you have a list of 100,000+ google queries related to travel bookings. For example: [CODE] How can I extract the location i.e., London Classify the Line of Business i.e., flight, hotel, package, etc Classify the affinity i.e., luxury, family, city break, beach etc Use this info to record the frequency o... | The questions you have listed are more or less independent from each other. To extract location , you should be looking into the class of solutions called Named Entity Recognition. It is widely supported, and, for example, NLTK should have location extraction support for languages but English. The second task, the line... | 1 | 1 | 193 | 2018-03-08T00:27:18.173 | data_quality | datascience.stackexchange.com | |
647,041 | Migrate Users Directory on Windows Server 2008 | I have a 137 GB [CODE] drive on a Remote Desktop Services server that is full to the brink with user files. I have a 1.2TB [CODE] drive that is totally empty. I need to move the [CODE] directory from [CODE] to [CODE] . As usual, the Microsoft article on this is totally not helpful, and the Technet forums make me want t... | Yes, you can move or copy the directories without changing any of the permissions. I would use robocopy and the [CODE] and [CODE] switches. [CODE] will maintain the permissions (and other attributes) on the copied files, and [CODE] will do it in backup mode, so you don't need to take ownership or change permissions to ... | 1 | 2 | 1,576 | 2014-11-25T19:48:41.593 | infrastructure | serverfault.com | |
219,292 | Data Source connects but linked server cannot initialize data source object in MS SQL Server | I'm trying to create a linked server to an instance of MySQL. I've created a System DSN to the instance and that passes the connection test, but when I try to create a linked server using that data source, I get an error (specifically Cannot initialize data source object of OLE DB provider MSDASQL for linked server "My... | So after trying a ton of things with options in the driver, settings in the MSDASQL provider, etc. Replacing the MySQL ODBC driver with an older version worked immediately. This solved my issue. thanks! | 1 | 2 | 5,992 | 2018-10-04T15:25:12.113 | database_errors | dba.stackexchange.com | |
309,910 | Why is count(x.*) slower than count(*)? | [CODE] [CODE] The [CODE] here makes the [CODE] in the explain result read unnecessary row data. I thought they should be identical, but it seems not, why? | Logically, both are identical - because [CODE] always counts, even when all columns are [CODE] . But Postgres has a separate implementation for [CODE] . It does not bother with any expression at all and only considers the existence of live rows. That's slightly faster, which sums up to a relevant difference over many r... | 2 | 2 | 401 | 2022-03-18T10:04:38.433 | warehouse_errors | dba.stackexchange.com | |
263,824 | remote Mysql connections taking 5 seconds to establish | Setup is as follows, Ubuntu 8.04 server in DMZ running Mysql 5 Remote connections from php on windows machines outside the DMZ are taking 5 seconds to establish (at which point the speed of mysql is fast) Connections from localhost are "instant" Sounds like a standard dns issue to me so I have enabled skip-name-resolve... | Huh. Interesting issue. Take a look to /etc/nsswicth.conf - this file determines order of looking in system databases (users, passwords, hosts, etc). [CODE] line should look like [CODE] . You could also try to remove [CODE] . | 1 | 1 | 1,369 | 2011-04-27T09:56:51.280 | database_errors | serverfault.com | |
1,069,251 | Too many redirected error with Nginx on PHP | I have 2 node apps running on different ports and a PHP app. When I visit the node apps I get no errors but if I try to go to the PHP app (on /sourcebans) I get [CODE] How can I fix this? My config [CODE] | Remove the inappropriate 301 redirect from [CODE] to [CODE] . | 2 | 3 | 715 | 2021-07-11T05:38:40.753 | infrastructure | serverfault.com | |
856,420 | Best way to manually switch between front end servers? | I maintain a web application at work hosted on a cloud platform. I was hoping to use this kind of workflow. While the live site is running, prepare a new environment identical to the production environment, just with new code running on it. Test for a while and if it's found to be good, switch production over to the ne... | You can use Apache as a reverse proxy. It does SSL termination and can also proxy websockets from version 2.4 and up. In the easiest version (without any load balancing since you said traffic is "all front-ended by an application/webserver") you just add use this configuration: [CODE] To change your destination you jus... | 1 | 0 | 408 | 2017-06-17T22:30:12.760 | database_errors | serverfault.com | |
183,757 | Port SQL Server data to MySQL without Workbench | When using [CODE] to migrate data from [CODE] to [CODE] I ran into a bug that it won't escape apostrophes . In the interim I would like to still port that data over. Is there any simple way to do this? I've exported my data into a file with [CODE] statements but they don't match the syntax of [CODE] (I'm new to [CODE] ... | In retrospect it is probably nicer to just roll my own converter since [CODE] uses [CODE] instead of [CODE] like [CODE] . So, what I'm going to do is use a [CODE] script like so: [CODE] This will export all the data from my [CODE] database and put them in files and then I will import those files into [CODE] . Which I h... | 2 | 1 | 374 | 2017-08-17T17:07:00.807 | database_errors | dba.stackexchange.com | |
659,079 | SimpleSAMLphp OpenID Consumer | I'm using SimpleSAMLphp as an OpenID Consumer and no openID provider I tried seems to work. I always get the following error: [CODE] or: [CODE] I tried my ID's with other web pages and they work fine. I'm Using apache 2.2 & php5.3 and a cert from valid CA. Any clues on how I should approach the problem ? anyone got the... | my authsources is just defult values plus yahoo : [CODE] | 0 | 0 | 465 | 2015-01-13T09:51:42.850 | infrastructure | serverfault.com | |
306,633 | Migrate legacy requirements to BDD | Q: What is the best way to move a large company to Cucumber with at least 15 years of legacy software requirements maintained in a requirements database? Currently considering: 1) Migrate Everything Downside: we don't have unlimited time/budget, we have to move forward to survive, we can't stop everything and GC 100% o... | I made the mistake of stripping a room down to the studs when I replaced its windows. It's an old house. The room was in bad shape. At every step along the way, I ran into issues. An old pipe crumbled in my hand. The now-dangling twenty five pound plumbing vent fell and crashed through the kitchen ceiling. (Luckily, no... | 11 | 8 | 559 | 2016-01-06T04:13:02.860 | api_errors | softwareengineering.stackexchange.com | |
522,013 | PHP-FPM SuExecUserGroup not working | I have installed php, apache, and fastcgi_handler by: [CODE] I managed to make it work by updating the relevant lines in /etc/apache2/modules.d/70_mod_php5.conf to: [CODE] and /etc/conf.d/apache2 to [CODE] In my document root, I have the following file to verify the installation: [CODE] I then have the following vhost:... | With PHP-FPM, SuExec is no longer needed if you want to change the uid of your PHP processes. You can use the directives 'user' and 'group' of the php-fpm configuration file to perform the same thing. | 2 | 1 | 2,216 | 2013-07-09T18:28:50.563 | infrastructure | serverfault.com | |
857,951 | Google Cloud SQL / App Engine concurrency limits | I've been using Google App Engine to host my APIs and keep banging up against the limitation of concurrent database connections. The docs say that you can only have up to 12 concurrent connections per "app engine instance" ( https://cloud.google.com/sql/faq#sizeqps ) but I'm not quite sure what that means. I'm using Go... | An instance is the basic building block of your App Engine application and refers to a machine running a version of your code on one of the services that make up your App Engine application. One of the features of App Engine is the ability to scale your application up or down to meet the demand. This is done by creatin... | 2 | 2 | 735 | 2017-06-26T17:31:40.690 | api_errors | serverfault.com | |
34,579 | One CPU in a 32-core system is getting to 100% usage and hurting performance | I am experiencing a problem with one server. It has 32 cores and seems to be well-configured in all aspects (memory, hard disk drives...). Performance Dashboard is not showing blocks or deadlocks and no waiting tasks. All queries seem to be performing well. From time to time (every 5-6 minutes) one of the cores gets up... | What process is using that CPU? You need to monitor the [CODE] object and figure out which instance (ie.process) is driving CPU up. Also is important to distinguish between privileged (kernel) vs. user time. Also important to see if is not [CODE] by any chance. The purpose of the exercise it o establish if is a hardwar... | 4 | 4 | 330 | 2013-02-12T10:23:13.910 | database_errors | dba.stackexchange.com | |
509,604 | Problems with Rewriting URLs having fcgid enabled | First some information about my server: Apache2 Version: 2.4 Modules: php5 : disabled; rewrite : enabled; suexec : enabled; fcgid : enabled; Php Version: 5.3.3 I am currently creating a website using CodeIgniter, i would like to rewrite my URL's to 'hide' the index.php from the browser I already tried these 2 solutions... | Okay found a solution. i don't know exactly why, but adding a questionmark before the slash in index.php/$1 is working fine now... didn't work yesterday tough O_o [CODE] Could anyone explain to my why it has to be there? | 0 | 0 | 250 | 2013-05-21T15:59:17.470 | infrastructure | serverfault.com | |
1,061,222 | How do i schedule the built-in windows memory diagnostics from a server core installation? | How do i schedule the built-in windows memory diagnostics from a server core installation? mdsched.exe does not seem to be included in Server Core 2019 | This command worked for me on Hyper-V Server 2019: - [CODE] It sets the memory diagnostic to boot and execute at the next server restart. After exiting the diagnostic the server will restart to Windows again. Microsoft documentation for bcdedit is here BCDEdit Options Reference . The [CODE] is a well-known boot entry i... | 0 | 3 | 512 | 2021-04-22T14:23:14.550 | infrastructure | serverfault.com | |
85,657 | Why should main() be short? | I've been programming for over 9 years, and according to the advice of my first programming teacher, I always keep my [CODE] function extremely short. At first I had no idea why. I just obeyed without understanding, much to the delight of my professors. After gaining experience, I realized that if I designed my code co... | You cannot export [CODE] from a library, but you can export [CODE] , and then anyone using that library can "call" Python many times with different arguments in the same program. At that point, [CODE] becomes just another consumer of the library, little more than a wrapper for the library function; it calls [CODE] just... | 94 | 137 | 12,078 | 2011-06-20T21:23:13.773 | api_errors | softwareengineering.stackexchange.com | |
1,012,552 | SMTP server not sending DSN | Is the outgoing smtp server expected to notify sender of failure in upstream transfer giving this scenario?: User A tries to send email message via his Outgoing SMTP (A-SMTP) server to recipient B. Outgoing SMTP (A-SMTP) server accepts message and notifies the sender of succesfull trasmit. Hovewer when A-SMTP contacts ... | It is a temporary error. A-SMTP will retry and if it is not fixed eventually deliver "delay" and "undeliverable" NDRs to user A. | 0 | 0 | 458 | 2020-04-16T10:05:11.900 | api_errors | serverfault.com | |
383,969 | OpenLDAP on CentOS 6.2 (@ localhost) | I'm trying to configure openldap on CentOS 6.2, I'm just testing openldap on my server at home, so I don't have any DNS server and stuff like that. I already installed openldap using the following configuration: [CODE] and the dc values as: [CODE] I already imported all the users and groups from my system to ldap witho... | Oh BTW, when I go to phpLDAPadmin on my browser, like I said above I can't using any of my accounts, but I can access to all my ldap details using 'Anonymous'. that's weird, right? Thank you in advance!. | 1 | 1 | 865 | 2012-04-27T22:32:54.483 | infrastructure | serverfault.com | |
104,639 | Is this acceptable practice for a many to many? | As a newbie in database design, I have a question about many-to-many relationship practice. This question is actually a follow up question of this question , but I found it too big to explain in a comment. The design should be like this(picture below): A [CODE] can have multiple [CODE] A [CODE] can have multiple [CODE]... | I notice that your specifications have turned a bit intricate (intentionally, right?), and I consider that this is a beneficial fact since this kind of scenarios will help you broaden your perspective on relational design. Regarding such situation, I am going to suggest you two similar methods to deal with these new co... | 3 | 4 | 1,670 | 2015-06-20T06:49:02.210 | warehouse_errors | dba.stackexchange.com | |
374,227 | PHP max_execution_time, what is the best tune for large uploaded files | I have a WordPress installed and I use a web form to upload images in my web site. The web form allowing the end user to upload more than one files at a time. The problem is that one of my users had that error : Fatal error: Maximum execution time of 30 seconds exceeded in /home/ ACOUNT /public_html/wp-includes/media.p... | I'm guessing from the path in the error message that this is a Unix/Linux system (MSWindows handles the timeout very differently ). While bandwidth (and latency!) has a big impact on the time taken to process the request, the PHP clock only starts when the PHP interpreter is invoked - this won't be until the webserver ... | 1 | 3 | 13,449 | 2012-03-28T06:56:26.483 | infrastructure | serverfault.com | |
261,439 | mysql error code 1292 | We are running kea DHCP server with MySQL DB and today we encounter following error and after googling everyone saying it could be MySQL bug so wanted to see if it's really a bug or implementation issue. MariaDB-server-10.2.15-1.el7.centos.x86_64 (3 node galera cluster) [CODE] | This is likely to be a problem with daylight saving time: In the US (and possibly other places) the hour between 02:00am and 03:00am on 8th March 2020 does not exist because the clocks are moved forward one hour at 02:00am to 03:00am. | 1 | 1 | 550 | 2020-03-07T22:11:08.700 | database_errors | dba.stackexchange.com | |
73,332 | MySQL InnoDB table accepts Non-Existent Foreign Key | Using EasyPHP 14.1 VC11 and phpMyAdmin (4.1.4) to create a website project in my home computer. The MySQL version is 5.6.15 according to the EasyPHP administration page. Working on Windows 7 64-bit. I've created the tables I needed and specified each foreign key in the "Relation view" (on Structure tab). All the tables... | Please check that the [CODE] is in the table design of your table B. EXAMPLE [CODE] Facts Table A is the table [CODE] Table B is the table [CODE] [CODE] requires [CODE] in [CODE] to reference a row in [CODE] with the same [CODE] Your Original Question [CODE] You need a foreign key reference [CODE] The SQL to do this wo... | 3 | 1 | 2,166 | 2014-08-06T16:55:21.030 | database_errors | dba.stackexchange.com | |
990,538 | ssh login using public keys for users that do not (yet) exist | In Linux (e.g., Ubuntu 18.04), how can I configure [CODE] to allow logins using public keys for OS users that do not yet exist? For example: On server: /etc/ssh/sshd_config has [CODE] [CODE] [CODE] [CODE] On client: ssh foo@server In this scenario, the server does NOT have a [CODE] account in [CODE] , but I'd like to c... | The simple answer is that you can't do this without writing your own plugin for PAM. Depending on your business needs, it may actually make more sense to hook the box to an LDAP backend for the user database. To get a little more specific, [CODE] is going to look to PAM to authenticate the user. If the user database do... | 11 | 14 | 3,042 | 2019-11-04T17:00:26.647 | infrastructure | serverfault.com | |
898,124 | app.yaml isn't updated when I deploy (Google App engine/Google Cloud Platform) | This is my default app.yaml file: [CODE] When I deploy with my updated app.yaml file, the file is just reset to the previous, default one. This is what I try: [CODE] UPDATED BELOW: OK so I got this one above to work now. It seemed the api-service had two app.yaml files and I had to change in both. This now has a config... | There are some options mixed from configurations for two different runtimes. Every option for [CODE] is described in here . [CODE] and [CODE] are not mentioned for the custom runtime because they are part of the Java runtime here . [CODE] doesn't exist in any of previously mentioned configurations and I suspect you wan... | 1 | 1 | 967 | 2018-02-21T01:06:55.137 | infrastructure | serverfault.com | |
143,241 | Why do temporal tables log the begin time of the transaction? | When updating a row in a temporal table the old values for the row are stored in the history table with the transaction begin time as the [CODE] . The new values in the current table will have the transaction begin time as the [CODE] . [CODE] and [CODE] are [CODE] columns used by temporal tables to record when a row wa... | I believe that this is indeed a design flaw, albeit one that is not specific to SQL Server 2016, as all other existing implementations of temporal tables (as far as I know) have the same flaw. The problems that can arise with temporal tables because of this are fairly severe; the scenario in your example is mild compar... | 12 | 4 | 3,231 | 2016-07-07T14:04:27.920 | warehouse_errors | dba.stackexchange.com | |
141,406 | How to load entire database into memory? | I want to load my entire database into memory, but how can I do this? I have about 256 GB memory and my database is about 200 GB, so I can easily handle in memory. When I do [CODE] sqlserver automatically load table into memory and after this I'm able to use table very fast, but I want to know how can I load my entire ... | I want to load my entire database into memory, but how can I do this? Before figuring out "how" to do something, it is often best to be clear on "why" that something should be done. So, why exactly do you want to load your entire database into memory? Memory is a finite resource, so it needs to be used efficiently / wi... | 2 | 5 | 13,790 | 2016-06-16T10:52:47.233 | warehouse_errors | dba.stackexchange.com | |
87,974 | ASA firewall, Cisco AnyConnect VPN on Linux - fails with "AnyConnect package unavailable or corrupted" | AnyConnect works fine with Windows XP. On Ubuntu Linux 9.10 32 bit, I downloaded anyconnect-linux-2.4.0202-k9.tar.gz, installed it, and tried to connect to the same ASA firewall. It failed with: [CODE] Then I downloaded anyconnect-linux-2.4.0202-k9.pkg from cisco.com and installed it on the ASA's flash: [CODE] Tried ag... | Nevermind, my mistake. It's not enough to upload the package to the ASA flash, you have to actually declare it in the config as an AnyConnect image file, otherwise it won't work. Configuring the Security Appliance to Download the AnyConnect Client | 1 | 1 | 3,496 | 2009-11-24T22:20:53.840 | data_quality | serverfault.com | |
517,927 | VPN site-to-site with rv180 poor connection (4 Mbps) | I have speed problems with 2 cisco rv180 using VPN Site-to-Site. According to cisco specifications, the IPsec Throughput is 50 Mbps. I have done many tests using Iperf on both sides (NY ans SC) and all I have is 4 Mbps of IPsec Throughput. The internet speed for SC are: Download:50 Mbps Upload: 4 Mpbs, for NY: Download... | I'm wondering if the internet speeds have something to do with the VPN's bad performance.> You mean outside the following: The internet speed for SC are: Download:50 Mbps Upload: 4 Mpbs, Where you say yourself you are limited to 4mbps upload from there. OBVIOUSLY you only can get the smallest speed of any element. So, ... | 0 | 4 | 745 | 2013-06-23T16:16:00.767 | api_errors | serverfault.com | |
957,340 | Outlook 2013 - AutoArchive folder settings (permanently delete) not being observed | I have Outlook 2013 on Windows 10 connecting to an Exchange mailbox (running Exchange 2016). By default I don't archive e-mails. I have a set of folders (contained under the same root folder) that I want to deleted e-mails according to custom ages per folder. I have set these folders up with custom archive properties. ... | This seems like it is still a problem in 2022 with Office 365. Thanks for this article. I was attempting to do exactly what you were and running into the same problem. I stumbled across this post after going through pages of links and trying dozens of other "fixes". Your workaround worked for me. Thanks!!! | 0 | 1 | 342 | 2019-03-08T10:21:18.497 | hadoop_errors | serverfault.com | |
658,729 | Organizational Access To Google Apps From China | I was tasked in deploying Google Apps for business and I have multiple offices in China which has to be on it. Anyone knows how can I bypass china's deep packet inspection? Given my company's health Mpls is very expensive now. Constantly connecting to vpn poses issues such as having all 500 users in China to log in eve... | I'm afraid not. Proxy solutions will fail due to the inspection, so the only way is a VPN. | 0 | 2 | 394 | 2015-01-11T12:56:42.493 | api_errors | serverfault.com | |
1,077,642 | Browser downloads the file instead of opening php files | So, I'm posting an answer, because after the twice clean-reinstall, I have set things a but differently (to my point of view). Like I said above, I face a dilemma, since none of the config I have is the same as to any other answers I could find. For instance : My /etc/nginx folder is basically constituted as followed :... | To configure php you have to have an version of php-fpm installed on your system. And add this snippet to your nginx conf in the [CODE] block. You have to change [CODE] to the version you have installed on your system. [CODE] | 0 | 0 | 4,053 | 2021-09-15T13:25:33.703 | infrastructure | serverfault.com | |
118,973 | Reading ASYNC_NETWORK_IO wait stats | I was troubleshooting some bad performance for a client yesterday and identified that there was a missing index for a particular set of queries that were heavily used (this was for an ERP applicaton: Microsoft Dynamics NAV) After adding these indexes database performance for the areas that were giving the client grief ... | While the ASYNC_NETWORK_IO wait type is usually a consequence of the application design, the network issues can also cause the stockpiling of the ASYNC_NETWORK_IO wait type. It is advised to check the following, regarding the network issues: Check network bandwidth between the SQL Server and client Make sure that all n... | 4 | 3 | 2,732 | 2015-10-23T08:37:29.673 | database_errors | dba.stackexchange.com | |
341,463 | Windows can't remove hard disk safely | Every week I will copy the backups to external USB hard disk connecting it to windows server 2008 R2. Most of the time I will face the below message while trying to unmount/eject the external hard disk. Acknowledging the prompt I check if any window of HD is open and close if any but it always prompts the same while tr... | I use a utility by the name of [CODE] for this (available from a gazillion file distribution sites). It will tell you what is keeping the file, folder or drive open and provides you with the ability to break those locks. Just use it with a bit of discretion. | 0 | 2 | 1,755 | 2011-12-16T03:38:52.443 | database_errors | serverfault.com | |
832,056 | what (code=exited, status=1/FAILURE) ? service nginx status | I just found an error in the state of nginx. This error does not prevent anything. It does not give me problems. Everything is started correctly. Nginx -t It did not return any syntax errors. I only see it in the nginx status sale. Service nginx status. Or Systemctl status nginx Error: [CODE] Error resulted. I simply d... | [CODE] This line is saying that the quit process failed.(see the [CODE] option in there). It simply means that it failed to stop, which most likely means that it wasn't running in the first place :) The only thing you really need to worry about is seeing the service as not running once you've attempted to start it. | 2 | 2 | 23,529 | 2017-02-11T21:04:59.727 | infrastructure | serverfault.com | |
328,499 | Run a perl script as a windows 7 service | I have a perl script which is compiled using pp, to be run as a windows service on windows 7 machines. I looked at the thread http://www.perlmonks.org/index.pl?node%5Fid=230377 but of little use because most of them weren't clear and the solutions suggested in that were to create executables and not actually for runnin... | You can create a service in Windows 7 by using the [CODE] command from the command line as an administrator. Here's how you do it. Go to Start -> All Programs -> Accessories and then right-click on "Command Prompt". From the pop-up menu choose "Run as administrator". Once in the command prompt use the following command... | 2 | 1 | 1,857 | 2011-11-07T14:57:41.147 | infrastructure | serverfault.com | |
15,172 | Speed up search across multiple columns | We have a table: [CODE] Now, we have a user search that search across three columns first_name,last_name and work_place. If a user enters a query like: "Bill Gates" we have to search following conditions either First name, last name or work place is "Bill Gates" OR first name is bill, last name gates first name bill, w... | You could try something like this to reduce the ORs. This was validated on SQL Server so you may need to tweak a bit: [CODE] Seems like some data validation is called for overall though. | 4 | 3 | 5,595 | 2012-03-16T15:26:27.797 | database_errors | dba.stackexchange.com | |
632,666 | Rails - Nginx not caching images | I've got a VPS where I'm running my Rails app using Nginx and Unicorn. I was successful to add expires headers to JS and CSS files, however I cannot force Nginx to cache images as well (according to YSlow and Google PageSpeed Insights). Here's my server block: [CODE] The last piece of code is how I have acheived chachi... | You have two location blocks matching images : [CODE] And [CODE] Nginx will stop at the first matching regex location block so the second location block is never used for jpg, jpeg, png, gif and ico files. Update : details for the fallback caching [CODE] | 2 | 1 | 1,800 | 2014-10-01T09:03:28.590 | infrastructure | serverfault.com | |
153,747 | Memory utilization at 98%, why not 100%? | I wonder why SQL Server does not use all available memory - 100% when I am quite sure there is a memory bottleneck. For example, one server I administer starts with using 91% of memory and gradually increases up to 98 but not 100. Increase trend is as follows after a restart at 23:00: 58% after restart and reaches 79% ... | Community Wiki answer generated from question comments by Shanky and Shawn Melton Out of 64 GB on the server, SQL Server is using 60 GB and the rest (4 GB) is used by the OS. This is plain and simple. Since you have not set [CODE] , it can also use 61 GB and can also trim down to 58 GB. This is managed automatically. I... | 3 | 4 | 2,597 | 2016-10-31T07:27:37.820 | database_errors | dba.stackexchange.com | |
440,384 | How to setup mx record on registrar? | I am using namesilo.com domain registration and am trying to setup an MX record to point back to my linux server so I can install postfix. But these settings do not work: Is there anything else I need to do? If I ping mx.wishd.me I get nothing. [CODE] | You've mixed up the "name" and the "address value". Also you've failed to define the [CODE] for your mailsystem. You'll need these 2 records. [CODE] | 2 | 5 | 968 | 2012-10-19T21:08:14.743 | infrastructure | serverfault.com | |
222,442 | Serving images from another hostname vs Apache overload for the rewrites | We are trying to improve further the speed of some sites with older HTML in order as well to obtain better SEO results. We have now applied some minify measures, combined html, css etc. We use a small virtualized infrastructure and we've always wanted to use a light + standar http server configuration so the first one ... | to redirect main.com/image.jpg (I understand we'll have to do a 301) to cdn.main.com/image.jpg This is a bad idea, don't do it. Your long question is kind of hard to follow. As I understand it, you're worried about the server load, not how fast the site loads for your end users. If you're worried about server capacity,... | 0 | 1 | 2,052 | 2011-01-14T13:03:57.657 | infrastructure | serverfault.com | |
58,719 | NLP to detect duplicates for very technical language | I have the following scenario, to detect duplicate products based on the description fields. The Description Field contains product technical name, dimensions, characteristics. My model needs to consider that different annotation and abbreviations might have been used for technical names, text errors in data entries, s... | If you think fuzzy matching does not work, you basically have two options: Unsupervised: Try topic modeling to find „similar“ products. The problem is that you will need to pre-define the number of products (groups, aka „topics“), which can be a problem. Also topic modeling will only work well if there are sufficient d... | 0 | 0 | 1,900 | 2019-09-05T09:40:05.773 | data_quality | datascience.stackexchange.com | |
1,061,657 | Apache WebSockets "400 proxy error" | We're trying to present the WebSocket-enabled interface from a remote device on our website. I've configured the WebSocket tunnel in Apache, but I'm getting a "400 Proxy Error" in Firefox (in Chrome: "Websocket connection to ... failed"), and the WebSocket upgrade fails (the upgrade request never reaches the remote dev... | I wasn't able to resolve the issue with Apache, so I switched to handling the proxying in our haproxy frontend, with SSL termination, and that worked. | 0 | 0 | 485 | 2021-04-26T20:31:29.993 | api_errors | serverfault.com | |
241,280 | Omiting schema names to manage access to SQL Server databases more flexibly | When applications hardcode a schema name, [CODE] , it reduces the DBA's ability to migrate the data as needed. Is it safe and more flexible for applications to omit schema names? I know you will say this is "opinion based," but it is a critical issue to managing databases. | You appear to understand this, but just in case... you do not always have to specify the schema, as long as the schema is the user's default schema. So you can handle this at the login level of SQL Server. A login can be set to default to, say, the schema 'MySchema'. For this login, the table [CODE] would be the defaul... | 0 | 0 | 721 | 2019-06-24T14:31:04.357 | database_errors | dba.stackexchange.com | |
45,969 | Most efficient way for snapshotting Windows (no VM) | As the software I'm writing is using instrument I/O, I cannot use virtual machines to test my software in different configurations. Therefore I'm looking for the best way to make snapshots at different states, and restore them quickly for tests. What tools do you use? Right now I see: Windows system restore Clonezilla ... | You could take images of your os and use something like norton ghost to restore them. Ghost is nice because after you have created your images you can place them in a network repository for ease of access. The restore process is pretty fast as well. The downside is you will need to spend the time to create each of the ... | 3 | 4 | 152 | 2011-02-09T18:09:28.757 | database_errors | softwareengineering.stackexchange.com | |
44,883 | Deep network not able to learn imbalanced data beyond the dominant class | I have data with 5 output classes. The training data has the following no of samples for these 5 classes: [706326, 32211, 2856, 3050, 901] I am using the following keras (tf.keras) code: [CODE] The first line on class_weight is taken from one of the answers in to this question: How to set class weights for imbalanced c... | 1) A five-layer neural network is one heck of a complex model for a data set with less than 1 million points. (I’m trying to find a good link for this, but the intuition is that your choice of model should be driven by the complexity of the available data, and not by what you think the real target function is like.) If... | 13 | 9 | 13,581 | 2019-02-01T00:02:15.120 | data_quality | datascience.stackexchange.com | |
250,184 | Mariadb query time extremely increased after upgrade from 10.2 to 10.4 | After upgrading from Mariadb 10.2 to 10.4 extremely increased query time. On 10.2 query time is 0.5s. On 10.4 query time is 14s. Also query plan has changed too. 10.2: [CODE] 10.4 [CODE] Is it possible to return to previous query plan ? optimizer_switch has default values on both servers. | Almost always [CODE] can be improved on by using a composite index. Adding an index can be done without dealing with the ORM. | 1 | 1 | 177 | 2019-10-03T12:50:43.003 | database_errors | dba.stackexchange.com | |
648,031 | How to connect to an AWS RDS database (deployed in VPC) with an SQL client? | I am new to AWS and trying to set up and initialize an RDS instance. Since I have a newly created account, it does not support EC2-Classic, which (from what I understand) means that my RDS instance must be deployed into a private subnet in a VPC. However, once the RDS instance created, how can I connect to it from the ... | One solution (but not the only solution!) is to use what's called a Bastion Host. A Bastion Host is an ultra-low-powered server that sits in your public subnet and is the only server that allows inbound SSH connections. This server should be thoroughly hardened, and depending on your level of paranoia, there are a few ... | 7 | 11 | 10,892 | 2014-11-30T06:44:03.500 | infrastructure | serverfault.com | |
450,557 | Migrating ODBC information through a batch file | I am a desktop support technician currently working on a large scale migration project across multiple sites. I am looking at a way to transfer ODBC entries from Windows XP to Windows 7. If anyone knows of a program or anything prebuilt that already does this, please redirect me. I've already looked but haven't found a... | Yes, you're on the right track. There are actually two registry keys you'll be interested in depending on if you've set custom TCP ports for the ODBC connections, etc: HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\ HKLM\SOFTWARE\Wow6432Node\Microsoft\MSSQLServer\Client\ HKLM is where System DSNs are stored. HKCU is where Use... | 1 | 1 | 2,944 | 2012-11-20T17:21:56.207 | database_errors | serverfault.com | |
42,544 | Writing Better Stubs To Local Behaviour Testing | I have recently faced an embarrassing bug in PPE and want to improve my testing strategy so that I can mitigate such bugs in future during local testing itself. I have an API that interacts with a downstream service to invalidate a previously created quote for an order. [CODE] You cannot use the passed user-token to ca... | This question requires more clarity but, I would want to add something here that could help other testers and developers who are passionate about quality. The first question is Are service tokens getting created each time dynamically ? if so why are you hard coding that in your scripts ? – And to answer your question a... | 0 | 1 | 60 | 2020-02-14T08:12:44.670 | data_quality | sqa.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.